:root {
  --bg: #061426;
  --bg-deep: #020913;
  --panel: #0b2140;
  --panel-soft: #102b50;
  --gold: #f6c453;
  --gold-deep: #ce8f18;
  --emerald: #19d38a;
  --text: #f7f9fc;
  --muted: #a8b6ca;
  --line: rgba(143, 177, 213, 0.24);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(25, 211, 138, 0.08), transparent 32rem),
    linear-gradient(180deg, var(--bg-deep), var(--bg) 24rem, #07172b);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  pointer-events: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

.shell {
  width: min(calc(100% - 32px), var(--shell));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 14px;
  color: #061426;
  background: var(--gold);
  border-radius: 8px;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 12, 25, 0.9);
  backdrop-filter: blur(18px);
}

.header-main {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 12px;
  align-items: center;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  width: fit-content;
  font-size: clamp(1.35rem, 5vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.brand strong {
  color: var(--gold);
}

.logo-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #061426;
  background: linear-gradient(135deg, #ffe39a, var(--gold-deep));
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(246, 196, 83, 0.24);
  font-size: 1rem;
  letter-spacing: 0;
}

.menu-toggle {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  cursor: pointer;
}

.main-nav {
  position: absolute;
  top: 72px;
  right: 16px;
  left: 16px;
  display: none;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #07172b;
  box-shadow: var(--shadow);
}

.main-nav.is-open {
  display: grid;
}

.main-nav a {
  min-height: 44px;
  padding: 10px 12px;
  color: var(--muted);
  border-radius: 10px;
  font-weight: 750;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(246, 196, 83, 0.1);
}

.header-actions {
  display: none;
  gap: 8px;
  justify-self: end;
}

.page-home .header-main {
  grid-template-columns: auto 1fr auto;
  gap: 8px;
}

.page-home .brand {
  gap: 0;
  font-size: clamp(1.45rem, 7vw, 2rem);
  text-transform: uppercase;
}

.page-home .brand strong {
  font-style: italic;
}

.page-home .logo-mark,
.page-home .menu-toggle,
.page-home .main-nav {
  display: none;
}

.page-home .header-actions {
  display: flex;
  gap: 6px;
}

.page-home .header-actions .button {
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.68rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.button,
.cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 850;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.cta:hover {
  transform: translateY(-2px);
}

.button-gold,
.cta-primary {
  color: #061426;
  background: linear-gradient(135deg, #ffe39a, var(--gold) 48%, #d69419);
  box-shadow: 0 14px 36px rgba(246, 196, 83, 0.22);
}

.button-ghost,
.cta-secondary {
  color: var(--text);
  border-color: rgba(246, 196, 83, 0.6);
  background: rgba(7, 23, 43, 0.72);
}

.hero {
  position: relative;
  display: grid;
  min-height: 540px;
  align-items: center;
  overflow: hidden;
  background: var(--bg-deep);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 9, 19, 0.08), rgba(2, 9, 19, 0.4) 62%, var(--bg-deep)),
    linear-gradient(90deg, rgba(2, 9, 19, 0.98) 0%, rgba(2, 9, 19, 0.82) 42%, rgba(2, 9, 19, 0.08) 78%);
  content: "";
}

.hero-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  max-width: var(--shell);
  min-height: inherit;
  padding-block: 54px 76px;
}

.hero-copy {
  width: 100%;
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: var(--gold);
  content: "";
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 10vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 10vw, 4.65rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.hero-title-line {
  display: block;
}

.hero-title-line-light {
  color: var(--text);
}

.hero-title-line-gold {
  margin-top: 5px;
  color: var(--gold);
}

.page-lead {
  max-width: 700px;
  margin: 20px 0 0;
  color: #d4dfec;
  font-size: clamp(1rem, 3vw, 1.2rem);
}

.hero-lead {
  max-width: 520px;
  margin: 18px 0 0;
  color: #e4ebf5;
  font-size: clamp(0.98rem, 3.8vw, 1.18rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero .cta-primary {
  width: min(100%, 320px);
  min-height: 58px;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
}

.hero-dots {
  display: flex;
  width: min(100%, 320px);
  gap: 15px;
  justify-content: center;
  margin-top: 22px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  background: #738297;
  border-radius: 50%;
}

.hero-dot.is-active {
  background: var(--gold);
  box-shadow: 0 0 18px rgba(246, 196, 83, 0.55);
}

.hero-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.trust-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(calc(100% - 24px), var(--shell));
  margin: -28px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(9, 30, 59, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.trust-item {
  display: grid;
  gap: 8px;
  place-items: center;
  min-height: 112px;
  padding: 14px 4px;
  text-align: center;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.trust-icon {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--emerald);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.trust-item:nth-child(even) .trust-icon {
  stroke: var(--gold);
}

.trust-item strong {
  font-size: clamp(0.62rem, 2.65vw, 0.82rem);
  line-height: 1.25;
}

.section {
  padding-block: 68px;
}

.section-tight {
  padding-block: 44px;
}

.section-heading {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.8rem, 7vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 560px;
  margin: 10px 0 0;
  color: var(--muted);
}

.text-link {
  color: var(--gold);
  font-weight: 800;
  white-space: nowrap;
}

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

.game-card {
  position: relative;
  min-height: 238px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.game-card img {
  width: 100%;
  height: 100%;
  min-height: 238px;
  object-fit: cover;
  transition: transform 260ms ease;
}

.game-card:hover img {
  transform: scale(1.045);
}

.game-card::after {
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(transparent, rgba(2, 9, 19, 0.94));
  content: "";
}

.game-card-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  gap: 4px;
  padding: 16px;
}

.game-card-overlay strong {
  color: var(--gold);
  font-size: clamp(0.9rem, 3vw, 1.16rem);
}

.game-card-overlay small {
  display: none;
  color: #d5dfeb;
}

.benefit-panel {
  display: grid;
  gap: 22px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(246, 196, 83, 0.25);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 0% 0%, rgba(246, 196, 83, 0.14), transparent 24rem),
    linear-gradient(135deg, #0c2443, #07182e);
  box-shadow: var(--shadow);
}

.benefit-copy h2,
.responsible-card h2,
.content-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 6vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.benefit-copy p,
.responsible-card p,
.content-card p {
  color: var(--muted);
}

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

.benefit-item {
  min-height: 124px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(3, 14, 28, 0.54);
}

.benefit-item span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 10px;
  color: var(--emerald);
  border: 1px solid rgba(25, 211, 138, 0.35);
  border-radius: 12px;
  font-weight: 900;
}

.benefit-item strong {
  display: block;
}

.benefit-item small {
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 12px;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 24px 20px 22px 76px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(16, 43, 80, 0.8), rgba(6, 20, 38, 0.84));
  counter-increment: step;
}

.step-card::before {
  position: absolute;
  top: 22px;
  left: 20px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #061426;
  background: var(--gold);
  border-radius: 50%;
  content: counter(step);
  font-weight: 950;
}

.step-card h3 {
  margin: 0 0 6px;
}

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

.responsible-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(25, 211, 138, 0.35);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(6, 66, 58, 0.72), rgba(7, 24, 46, 0.94));
}

.age-badge {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  color: var(--emerald);
  border: 3px solid var(--emerald);
  border-radius: 24px;
  font-size: 1.55rem;
  font-weight: 950;
  transform: rotate(-4deg);
}

.faq-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.faq-item + .faq-item {
  border-top: 1px solid var(--line);
}

.faq-item button {
  display: flex;
  width: 100%;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-weight: 780;
}

.faq-item button span:last-child {
  color: var(--gold);
  font-size: 1.35rem;
}

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

.faq-panel p {
  margin: 0;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 52px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.86rem;
  white-space: nowrap;
}

.breadcrumbs a:last-child {
  overflow: hidden;
  color: var(--text);
  text-overflow: ellipsis;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 58px 46px;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 90% 20%, rgba(246, 196, 83, 0.12), transparent 24rem),
    linear-gradient(135deg, rgba(10, 37, 70, 0.92), rgba(2, 9, 19, 0.94));
}

.page-hero h1 {
  max-width: 940px;
  font-size: clamp(2.2rem, 8vw, 4.8rem);
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.content-layout {
  display: grid;
  gap: 18px;
}

.content-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 33, 64, 0.72);
}

.content-card h2 {
  font-size: clamp(1.45rem, 5vw, 2.15rem);
}

.content-card p {
  margin: 0 0 14px;
}

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

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 12px 14px 12px 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(3, 14, 28, 0.48);
}

.check-list li::before {
  position: absolute;
  top: 12px;
  left: 14px;
  color: var(--emerald);
  content: "✓";
  font-weight: 950;
}

.inline-cta {
  display: grid;
  gap: 16px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(246, 196, 83, 0.35);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(45, 33, 8, 0.86), rgba(11, 33, 64, 0.84));
}

.inline-cta h2,
.inline-cta p {
  margin: 0;
}

.inline-cta p {
  color: var(--muted);
}

.guide-card {
  display: grid;
  gap: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.guide-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.guide-card-content {
  padding: 0 20px 22px;
}

.guide-card-content h2 {
  margin: 0 0 10px;
}

.guide-card-content p {
  color: var(--muted);
}

.article-shell {
  width: min(calc(100% - 32px), 860px);
  margin-inline: auto;
}

.article-header {
  padding-block: 46px 28px;
}

.article-header h1 {
  margin: 0;
  font-size: clamp(2.15rem, 8vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.article-cover {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-cover img {
  width: 100%;
  aspect-ratio: 15 / 8;
  object-fit: cover;
}

.article-body {
  padding-block: 34px 64px;
  color: #dce6f1;
  font-size: 1.04rem;
}

.article-body h2 {
  margin: 42px 0 12px;
  color: var(--text);
  font-size: clamp(1.55rem, 5vw, 2.25rem);
  line-height: 1.15;
}

.article-body h3 {
  margin: 30px 0 10px;
  color: var(--gold);
}

.article-body p,
.article-body li {
  color: #c9d6e5;
}

.article-body a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body .inline-cta a {
  color: #061426;
  text-decoration: none;
}

.article-body blockquote {
  margin: 28px 0;
  padding: 18px 20px;
  color: #dce6f1;
  border-left: 4px solid var(--emerald);
  border-radius: 0 14px 14px 0;
  background: rgba(25, 211, 138, 0.08);
}

.article-nav {
  display: grid;
  gap: 12px;
  padding-block: 24px 64px;
}

.article-nav > div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel);
}

.article-nav small {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
}

.site-footer {
  padding: 56px 0 108px;
  border-top: 1px solid var(--line);
  background: #020a14;
}

.footer-grid {
  display: grid;
  gap: 30px;
}

.footer-grid h2 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 1rem;
}

.footer-grid a:not(.brand) {
  display: block;
  width: fit-content;
  min-height: 34px;
  color: var(--muted);
}

.footer-grid p {
  max-width: 350px;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 20px;
  color: #8394aa;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
}

.mobile-cta {
  position: fixed;
  right: max(8px, env(safe-area-inset-right));
  bottom: max(8px, env(safe-area-inset-bottom));
  left: max(8px, env(safe-area-inset-left));
  z-index: 120;
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(246, 196, 83, 0.55);
  border-radius: 16px;
  background: rgba(3, 12, 25, 0.94);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
}

.mobile-cta a {
  display: grid;
  min-height: 58px;
  place-items: center;
  padding: 7px;
  font-size: 0.75rem;
  font-weight: 850;
  text-align: center;
}

.mobile-cta a span {
  color: var(--gold);
}

.mobile-cta-primary {
  color: #061426;
  background: linear-gradient(135deg, #ffe39a, var(--gold), #d69419);
  font-size: 0.9rem !important;
}

@media (min-width: 620px) {
  .shell {
    width: min(calc(100% - 48px), var(--shell));
  }

  .trust-strip {
    width: min(calc(100% - 48px), var(--shell));
  }

  .game-card-overlay small {
    display: block;
  }

  .benefit-panel,
  .responsible-card,
  .inline-cta {
    grid-template-columns: 0.9fr 1.4fr;
    align-items: center;
    padding: 36px;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .content-layout .content-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .guide-card {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
  }

  .guide-card img {
    height: 100%;
    min-height: 270px;
  }

  .guide-card-content {
    padding: 28px 30px 28px 0;
  }

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

  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}

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

  .game-card,
  .game-card img {
    min-height: 350px;
  }
}

@media (min-width: 980px) {
  .header-main {
    grid-template-columns: auto 1fr auto;
    min-height: 80px;
  }

  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: flex;
    gap: 2px;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .main-nav a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding-inline: 10px;
    font-size: 0.86rem;
  }

  .header-actions {
    display: flex;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding-block: 76px 96px;
  }

  .trust-strip {
    margin-top: -32px;
  }

  .page-home .brand {
    font-size: 2.15rem;
  }

  .page-home .header-actions {
    gap: 12px;
  }

  .page-home .header-actions .button {
    min-height: 50px;
    padding-inline: 24px;
    border-radius: 12px;
    font-size: 0.86rem;
  }

  .page-home .button-gold {
    min-width: 150px;
  }

  .page-home .button-ghost {
    min-width: 124px;
  }

  .section {
    padding-block: 96px;
  }

  .section-tight {
    padding-block: 62px;
  }

  .mobile-cta {
    display: none;
  }

  .site-footer {
    padding-bottom: 42px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
