:root {
  --bg: #0b1115;
  --surface: #141c20;
  --chip: #1b2428;
  --line: #223036;
  --btn2: #2f3d44;
  --lime: #cff26e;
  --lime-hover: #ddf993;
  --ink: #0b1115;
  --champ: #e3c58c;
  --text: #edf2ef;
  --muted: #a9b4b2;
  --radius: 18px;
  --maxw: 1200px;
  /* side gap = half of the previous layout (1200px box, 24px padding) at any viewport */
  --wrap: calc(50vw + 600px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--lime);
}

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 17, 21, 0.94);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}

.header--active {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.header__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 12px;
}

.header__logo img {
  height: 40px;
  width: auto;
}

.header-navigation {
  display: flex;
  gap: 10px;
  margin: 0 auto;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--chip);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}

.chip svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  flex: none;
}

.chip:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.header__actions {
  display: flex;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}

.btn--login {
  background: var(--btn2);
  color: var(--text);
}

.btn--login:hover {
  background: #3a4b53;
}

.btn--reg {
  background: var(--lime);
  color: var(--ink);
}

.btn--reg:hover {
  background: var(--lime-hover);
  transform: translateY(-1px);
}

/* ---------- hero ---------- */
.hero {
  max-width: var(--wrap);
  margin: 32px auto 0;
  padding: 0 12px;
}

.hero__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.hero__img {
  width: 100%;
}

.hero__body {
  padding: 22px 22px 26px;
}

.hero__eyebrow {
  color: var(--champ);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hero__title {
  font-size: clamp(28px, 4.4vw, 60px);
  line-height: 1.04;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero__sub {
  font-size: clamp(17px, 1.9vw, 26px);
  font-weight: 700;
  line-height: 1.3;
}

.hero__cta {
  margin-top: 22px;
}

.hero--compact .hero__title {
  font-size: clamp(26px, 3.3vw, 44px);
}

.hero--compact .hero__sub {
  font-size: clamp(16px, 1.5vw, 22px);
}

/* ---------- content ---------- */
.content {
  max-width: var(--wrap);
  margin: 24px auto;
  padding: 0 12px;
}

.content__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 4.5vw, 60px);
}

.content h1 {
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 24px;
}

.content h2 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 800;
  margin: 48px 0 18px;
  padding-left: 16px;
  border-left: 4px solid var(--lime);
}

.content h3 {
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.3;
  font-weight: 700;
  color: var(--lime);
  margin: 30px 0 12px;
}

.content p,
.content li {
  color: var(--muted);
  font-size: 17px;
}

.content p {
  margin-bottom: 16px;
}

.content ul,
.content ol {
  margin: 0 0 20px 22px;
}

.content li {
  margin-bottom: 6px;
  padding-left: 4px;
}

.content li::marker {
  color: var(--lime);
  font-weight: 800;
}

.content a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content a:hover {
  color: var(--lime-hover);
}

/* tables without JS: plain table inside a scroll container */
.table-wrap {
  overflow-x: auto;
  margin: 22px 0 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.content table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15px;
}

.content th {
  background: var(--chip);
  color: var(--lime);
  text-align: left;
  font-weight: 700;
  padding: 12px 16px;
  white-space: nowrap;
}

.content td {
  color: var(--text);
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.content td:first-child {
  white-space: nowrap;
  color: var(--lime);
  font-weight: 600;
}

.content tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}

/* wide image with welcome-bonus panel */
.promo {
  position: relative;
  overflow: hidden;
  margin: 26px 0 30px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.promo__img {
  width: 100%;
}

.promo__panel {
  padding: 20px 20px 22px;
}

.content .promo__eyebrow {
  color: var(--champ);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.content .promo__title {
  color: var(--text);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 12px;
}

.content .promo__list {
  list-style: none;
  margin: 0 0 16px;
}

.content .promo__list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 15px;
}

.promo__step {
  color: var(--lime);
  font-weight: 700;
  white-space: nowrap;
}

.promo__code {
  padding: 3px 8px;
  border: 1px dashed var(--lime);
  border-radius: 8px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.content .promo__cta {
  color: var(--ink);
  text-decoration: none;
}

/* table of contents */
.toc {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  padding: 22px 26px;
  margin: 30px 0 10px;
}

.toc__title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.content .toc ol {
  list-style: none;
  counter-reset: toc;
  columns: 2;
  column-gap: 40px;
  margin: 0;
}

.content .toc li {
  counter-increment: toc;
  break-inside: avoid;
  padding: 5px 0;
  margin: 0;
}

.content .toc li::before {
  content: counter(toc) ". ";
  color: var(--lime);
  font-weight: 800;
}

.content .toc a {
  color: var(--text);
  text-decoration: none;
}

.content .toc a:hover {
  color: var(--lime);
}

/* promo cards */
.cards {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 26px 0 22px;
}

.cards__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1b2428, #15242a);
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.content .btn {
  text-decoration: none;
}

.content .cards__item {
  color: var(--text);
  text-decoration: none;
}

.cards__item:hover {
  border-color: var(--lime);
  transform: translateY(-2px);
}

.cards__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(207, 242, 110, 0.12);
  color: var(--lime);
}

.cards__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.cards__text {
  line-height: 1.35;
}

/* FAQ accordion, no JS */
.faq__item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  margin-bottom: 12px;
}

.faq__item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 58px 18px 20px;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lime);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.faq__item[open] summary::after {
  content: "\2013";
}

.content .faq__q {
  margin: 0;
  font-size: 18px;
  color: var(--text);
}

.faq__a {
  padding: 0 20px 6px;
}

/* ---------- final CTA ---------- */
.start {
  max-width: var(--wrap);
  margin: 0 auto 40px;
  padding: 0 12px;
}

.start__card {
  text-align: center;
  padding: 44px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: radial-gradient(circle at 18% 0%, rgba(207, 242, 110, 0.18) 0%, rgba(207, 242, 110, 0) 55%),
    linear-gradient(135deg, #1b2428, #0f1a1f);
}

.start__title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  margin-bottom: 8px;
}

.start__description {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 22px;
}

/* ---------- footer ---------- */
.footer {
  background: #070b0e;
  border-top: 1px solid var(--line);
  padding: 36px 24px 40px;
}

.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer__logo img {
  height: 32px;
  width: auto;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}

.footer__nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer__nav a:hover {
  color: var(--lime);
}

.footer__text,
.footer__disclaimer {
  max-width: 720px;
  font-size: 14px;
  color: var(--muted);
}

.footer__age {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-right: 6px;
  border-radius: 50%;
  border: 2px solid var(--lime);
  color: var(--lime);
  font-weight: 900;
  font-size: 12px;
  vertical-align: middle;
}

/* ---------- responsive ---------- */
@media (min-width: 768px) {
  .hero__body {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 5.5%;
    background: linear-gradient(90deg, rgba(11, 17, 21, 0.9) 0%, rgba(11, 17, 21, 0.6) 58%, rgba(11, 17, 21, 0) 100%);
  }
}

@media (min-width: 1024px) {
  .promo__panel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 46%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 0 3.5%;
  }

  .content .promo__cta {
    align-self: flex-start;
  }
}

@media (max-width: 1180px) {
  .header__inner {
    flex-wrap: wrap;
  }

  .header__actions {
    margin-left: auto;
  }

  .header-navigation {
    order: 3;
    width: 100%;
    margin: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .header-navigation::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 767px) {
  .hero {
    margin-top: 18px;
    padding: 0 7px;
  }

  .content {
    padding: 0 7px;
  }

  .start {
    padding: 0 7px;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content .toc ol {
    columns: 1;
  }

  .content p,
  .content li {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .header__inner {
    padding: 10px 7px;
    gap: 8px;
  }

  .content .promo__list li {
    grid-template-columns: 1fr auto;
    gap: 4px 10px;
  }

  .promo__step {
    grid-column: 1 / -1;
  }

  .header__logo img {
    height: 24px;
  }

  .header__actions {
    gap: 6px;
  }

  .header__actions .btn {
    padding: 9px 10px;
    font-size: 11px;
    letter-spacing: 0.03em;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}
