@font-face {
  font-family: "Lato";
  src: url("../fonts/lato-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../fonts/lato-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../fonts/lato-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0d0d0d;
  --bg-2: #141414;
  --card: #1a1a1a;
  --card-2: #202020;
  --line: rgba(245, 166, 35, 0.16);
  --line-soft: rgba(255, 255, 255, 0.07);
  --amber: #f5a623;
  --gold: #e8a317;
  --orange: #ff9f1c;
  --text: #f4f2ee;
  --muted: #cfcbc3;
  --dark-on-gold: #140d00;
  --radius: 16px;
  --header-h: 68px;
  --grad: linear-gradient(135deg, #ff9f1c 0%, #f5a623 50%, #e8a317 100%);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: clip;
}

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

a {
  color: var(--amber);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--orange);
}

a:focus-visible,
summary:focus-visible,
.nav-toggle:focus-visible + .nav-btn {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 8px;
}

h1,
h2,
h3 {
  color: #fff;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: break-word;
}

p,
li,
td,
th {
  overflow-wrap: break-word;
}

strong {
  color: #fff;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 2000;
  background: var(--amber);
  color: var(--dark-on-gold);
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 1160px;
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 0 18px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex-shrink: 0;
}

.logo-link img {
  width: auto;
  height: 40px;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nav-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-btn:hover {
  border-color: var(--amber);
  background: var(--card-2);
}

.nav-btn span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle:checked + .nav-btn span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle:checked + .nav-btn span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked + .nav-btn span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 4px;
  padding: 12px 18px 20px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}

.nav-toggle:checked ~ .nav {
  display: flex;
}

.nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  background: rgba(245, 166, 35, 0.1);
  color: var(--amber);
}

.nav .cta {
  justify-content: center;
  margin-top: 8px;
}

.cta,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--grad);
  color: var(--dark-on-gold);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 26px rgba(255, 159, 28, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  text-align: center;
}

.cta:hover,
.btn-primary:hover {
  color: var(--dark-on-gold);
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 159, 28, 0.45);
}

.nav a.cta,
.nav a.cta:hover {
  color: var(--dark-on-gold);
  background: var(--grad);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1.5px solid rgba(245, 166, 35, 0.55);
  color: var(--amber);
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-align: center;
}

.btn-ghost:hover {
  background: rgba(245, 166, 35, 0.1);
  border-color: var(--orange);
  color: var(--orange);
}

.hero {
  position: relative;
  padding: 44px 0 52px;
  background:
    radial-gradient(ellipse 70% 60% at 10% 0%, rgba(255, 159, 28, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(232, 163, 23, 0.1), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(245, 166, 35, 0.08);
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(1.65rem, 6vw, 2.75rem);
  margin-bottom: 16px;
}

.hero h1 span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 26px;
  max-width: 620px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-cta a {
  flex: 1 1 200px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line-soft);
}

.stat strong {
  display: block;
  font-size: 1.25rem;
  color: var(--amber);
}

.stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-img img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line-soft);
}

.section-alt {
  background: var(--bg-2);
}

.section h2 {
  position: relative;
  font-size: clamp(1.4rem, 4.6vw, 2rem);
  margin-bottom: 18px;
  padding-bottom: 14px;
}

.section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad);
}

.section h3 {
  font-size: 1.2rem;
  margin: 30px 0 12px;
  color: var(--amber);
}

.section p {
  margin-bottom: 16px;
  color: var(--text);
  max-width: 860px;
}

.section .intro {
  font-size: 1.06rem;
  color: var(--muted);
}

.section ul,
.section ol {
  margin: 0 0 20px;
  max-width: 860px;
}

.list-check {
  list-style: none;
}

.list-check li {
  position: relative;
  padding: 8px 0 8px 34px;
  border-bottom: 1px solid var(--line-soft);
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(-45deg);
}

.steps {
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  counter-increment: step;
  padding: 14px 16px 14px 62px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line-soft);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad);
  color: var(--dark-on-gold);
  font-weight: 700;
}

.hl {
  margin: 22px 0;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  background: rgba(245, 166, 35, 0.06);
  max-width: 860px;
}

.hl p:last-child {
  margin-bottom: 0;
}

.banner {
  width: 100%;
  margin-top: 26px;
  border-radius: 18px;
  border: 1px solid var(--line-soft);
}

.table-wrap {
  margin: 22px 0 26px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

thead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

tbody tr {
  display: block;
  margin-bottom: 12px;
  padding: 8px 16px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line-soft);
}

tbody td {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  text-align: right;
}

tbody td:last-child {
  border-bottom: 0;
}

tbody td::before {
  content: attr(data-label);
  flex: 0 0 42%;
  color: var(--muted);
  font-weight: 600;
  text-align: left;
}

.code {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 8px;
  border: 1px dashed rgba(245, 166, 35, 0.6);
  background: rgba(245, 166, 35, 0.08);
  color: var(--amber);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.bonus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 26px 0;
}

.bonus-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #1f1a12 0%, var(--card) 55%);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bonus-card:hover {
  transform: translateY(-3px);
  border-color: var(--amber);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}

.bonus-card .pct {
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.bonus-card .meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.bonus-card .cta {
  width: 100%;
  margin-top: auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.card {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line-soft);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

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

.section .card h3 {
  margin: 0 0 8px;
}

.section .card p {
  margin: 0;
  color: var(--muted);
}

.resp {
  margin-top: 20px;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  max-width: 860px;
}

.faq {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

.faq details {
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  transition: border-color 0.2s ease;
}

.faq details[open],
.faq details:hover {
  border-color: var(--line);
}

.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 14px 56px 14px 18px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #fff;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.12);
  color: var(--amber);
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq .answer {
  padding: 0 18px 18px;
  color: var(--muted);
}

.cta-band {
  padding: 44px 0;
  background:
    radial-gradient(ellipse 60% 120% at 50% 0%, rgba(255, 159, 28, 0.16), transparent 70%),
    var(--bg);
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
}

.cta-band p {
  margin: 0 auto 18px;
  max-width: 640px;
  font-size: 1.1rem;
}

.footer {
  padding: 44px 0 28px;
  background: #0a0a0a;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.footer p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 12px;
}

.footer-title {
  color: #fff;
  font-weight: 700;
  margin-bottom: 6px;
}

.footer-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.88rem;
}

.age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 2px solid var(--amber);
  color: var(--amber);
  font-weight: 700;
}

.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.to-top::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-left: 3px solid var(--dark-on-gold);
  border-top: 3px solid var(--dark-on-gold);
  transform: rotate(45deg);
}

.to-top:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
}

@supports (animation-timeline: scroll()) {
  .to-top {
    animation: to-top-reveal linear both;
    animation-timeline: scroll(root);
    animation-range: 0 480px;
  }

  @keyframes to-top-reveal {
    from {
      opacity: 0;
      visibility: hidden;
    }

    to {
      opacity: 1;
      visibility: visible;
    }
  }
}

.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 56px 18px;
  text-align: center;
}

.error-code {
  font-size: clamp(4rem, 20vw, 7rem);
  font-weight: 700;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.error-page h1 {
  font-size: clamp(1.4rem, 5vw, 2rem);
  margin-bottom: 12px;
}

.error-page p {
  color: var(--muted);
  margin: 0 auto 26px;
  max-width: 480px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.redirect-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  text-align: center;
}

.redirect-page p {
  margin-bottom: 18px;
  color: var(--muted);
}

@media (min-width: 600px) {
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .container,
  .header-inner {
    padding: 0 28px;
  }

  .section {
    padding: 72px 0;
  }

  thead {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    clip-path: none;
  }

  .table-wrap {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--card);
    overflow: hidden;
  }

  th {
    padding: 14px 16px;
    background: rgba(245, 166, 35, 0.1);
    color: var(--amber);
    font-weight: 700;
    text-align: left;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  tbody tr {
    display: table-row;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    transition: background 0.2s ease;
  }

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

  tbody tr:hover {
    background: rgba(245, 166, 35, 0.07);
  }

  tbody td {
    display: table-cell;
    padding: 13px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line-soft);
  }

  tbody tr:last-child td {
    border-bottom: 0;
  }

  tbody td::before {
    content: none;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 72px 0 80px;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }

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

  .to-top {
    right: 28px;
    bottom: 28px;
  }
}

@media (min-width: 1180px) {
  .nav-btn {
    display: none;
  }

  .nav,
  .nav-toggle:checked ~ .nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }

  .nav a {
    min-height: 44px;
    padding: 8px 11px;
    font-size: 0.92rem;
    color: var(--muted);
  }

  .nav .cta {
    margin: 0 0 0 10px;
    padding: 10px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 6px;
}

.section-cta .btn-primary {
  flex: 0 1 auto;
}

@media (max-width: 599px) {
  .section-cta .btn-primary {
    flex: 1 1 100%;
  }
}
