:root {
  --x-bg: #0c1024;
  --x-bg-alt: #131937;
  --x-surface: #1d2750;
  --x-text: #ecf2ff;
  --x-muted: #b5c0ea;
  --x-primary: #5f6bff;
  --x-primary-2: #8958ff;
  --x-accent: #1fe0c1;
  --x-danger: #ff5f83;
  --x-border: rgba(255, 255, 255, 0.12);
  --x-shadow: 0 16px 34px rgba(6, 8, 22, 0.34);
  --x-radius: 16px;
  --x-content-max: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  background: linear-gradient(165deg, var(--x-bg) 0%, var(--x-bg-alt) 48%, #101834 100%);
  color: var(--x-text);
  line-height: 1.68;
  letter-spacing: 0.01em;
}

.x-wrap {
  width: min(100% - 2.4rem, var(--x-content-max));
  margin-inline: auto;
}

.x-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--x-border);
  backdrop-filter: blur(10px);
  background: rgba(11, 16, 37, 0.88);
}

.x-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1.2rem;
}

.x-brand {
  color: var(--x-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.x-nav-btn {
  display: none;
  border: 0;
  background: transparent;
  color: var(--x-text);
  font-size: 1.45rem;
  cursor: pointer;
}

.x-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.x-link {
  color: var(--x-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  opacity: 0.92;
}

.x-link:hover {
  color: var(--x-accent);
}

.x-main {
  padding: 2.2rem 0 4rem;
}

.x-panel {
  background: linear-gradient(170deg, rgba(95, 107, 255, 0.2) 0%, rgba(29, 39, 80, 0.75) 40%, rgba(29, 39, 80, 0.94) 100%);
  border: 1px solid var(--x-border);
  border-radius: var(--x-radius);
  box-shadow: var(--x-shadow);
  padding: 1.6rem;
}

.x-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.x-h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.2vw, 2.7rem);
  line-height: 1.2;
}

.x-h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.x-copy {
  margin: 0 0 1rem;
  color: var(--x-muted);
}

.x-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(132deg, #ff5f83 0%, #ff8f3f 35%, #5f6bff 100%);
  box-shadow: 0 10px 26px rgba(255, 106, 130, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: transform 260ms ease-in-out, filter 260ms ease-in-out, box-shadow 260ms ease-in-out;
}

.x-cta:hover {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.08) saturate(1.15);
  box-shadow: 0 14px 30px rgba(84, 101, 255, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

.x-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.x-card {
  border: 1px solid var(--x-border);
  border-radius: 14px;
  background: rgba(10, 15, 34, 0.38);
  padding: 1rem;
}

.x-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.03rem;
}

.x-imgbox {
  border-radius: 14px;
  border: 1px solid var(--x-border);
  background: radial-gradient(circle at top right, rgba(31, 224, 193, 0.16), rgba(95, 107, 255, 0.15) 50%, rgba(19, 25, 55, 0.88) 100%);
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.x-imgrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.1rem;
}

.x-imgrow img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--x-border);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.45rem;
}

.x-section {
  margin-top: 1.8rem;
}

.x-table {
  width: 100%;
  border-collapse: collapse;
}

.x-table th,
.x-table td {
  border: 1px solid var(--x-border);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

.x-table th {
  background: rgba(95, 107, 255, 0.18);
}

.x-crumbs {
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
}

.x-crumbs a {
  color: var(--x-accent);
}

.x-footer {
  margin-top: 2.5rem;
  border-top: 1px solid var(--x-border);
  padding: 1.5rem 0 2.2rem;
}

.x-fine {
  color: var(--x-muted);
  font-size: 0.92rem;
}

@media (max-width: 1040px) {
  .x-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 790px) {
  .x-nav-btn {
    display: inline-flex;
  }

  .x-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 76px;
    border: 1px solid var(--x-border);
    border-radius: 14px;
    background: rgba(12, 17, 40, 0.98);
    display: none;
    padding: 0.9rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .x-nav.x-open {
    display: flex;
  }

  .x-wrap {
    width: min(100% - 1.5rem, var(--x-content-max));
  }

  .x-card-list {
    grid-template-columns: 1fr;
  }
}
