﻿@import url("https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&family=Teko:wght@500;600;700&display=swap");

:root {
  --bg: #060b1b;
  --bg-soft: #0c142d;
  --panel: #101b36;
  --panel-2: #152248;
  --line: rgba(117, 164, 255, 0.26);
  --text: #f4f7ff;
  --muted: #9bb0d8;
  --accent: #34e3ff;
  --accent-2: #ff4b6e;
  --gold: #ffd166;
  --success: #44d289;
  --danger: #ff6f7c;
  --radius: 18px;
  --shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
  --container: min(1140px, 92vw);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Chakra Petch", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 12% -20%, rgba(52, 227, 255, 0.18), transparent 40%),
    radial-gradient(circle at 86% 118%, rgba(255, 75, 110, 0.18), transparent 45%),
    linear-gradient(160deg, #040715 0%, #060b1b 46%, #0a1228 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body.lock-scroll {
  overflow: hidden;
}

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

ul {
  list-style: none;
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.bg-scene {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(120, 160, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 255, 0.07) 1px, transparent 1px);
  background-size: 45px 45px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 85%);
  animation: drift 28s linear infinite;
}

.bg-stars,
.bg-stars::before,
.bg-stars::after {
  content: "";
  position: absolute;
  inset: -10%;
  background-repeat: repeat;
  background-size: 330px 330px;
  opacity: 0.42;
}

.bg-stars {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.96) 1px, transparent 1.8px);
  animation: twinkle 15s linear infinite;
}

.bg-stars::before {
  background-image: radial-gradient(circle, rgba(52, 227, 255, 0.9) 1.1px, transparent 2px);
  transform: scale(1.1);
  animation: twinkle 23s linear reverse infinite;
}

.bg-stars::after {
  background-image: radial-gradient(circle, rgba(255, 75, 110, 0.86) 1.2px, transparent 2.1px);
  transform: scale(1.2);
  animation: twinkle 31s linear infinite;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
}

.bg-orb.a {
  width: 260px;
  height: 260px;
  top: 8%;
  left: 6%;
  background: radial-gradient(circle at 30% 30%, rgba(52, 227, 255, 0.62), rgba(52, 227, 255, 0));
  animation: floatOrb 12s ease-in-out infinite;
}

.bg-orb.b {
  width: 320px;
  height: 320px;
  right: 8%;
  bottom: 12%;
  background: radial-gradient(circle at 50% 40%, rgba(255, 75, 110, 0.52), rgba(255, 75, 110, 0));
  animation: floatOrb 15s ease-in-out infinite reverse;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid rgba(126, 168, 255, 0.2);
  backdrop-filter: blur(9px);
  background: rgba(5, 9, 23, 0.82);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(52, 227, 255, 0.72), rgba(255, 75, 110, 0.72), transparent);
}

.nav-wrap {
  width: var(--container);
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  font-family: "Teko", sans-serif;
  font-size: clamp(1.8rem, 3.8vw, 2.2rem);
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.brand span {
  color: var(--accent);
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 12px;
  border-radius: 999px;
  transition: 0.25s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(133, 187, 255, 0.3);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(132, 182, 255, 0.48);
  background: rgba(14, 25, 50, 0.9);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-left: auto;
}

.player-chip {
  margin-left: 12px;
  border: 1px solid rgba(133, 182, 255, 0.36);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  color: #d2def7;
  background: rgba(11, 22, 48, 0.78);
  white-space: nowrap;
}

.player-chip strong {
  color: var(--gold);
  font-size: 0.92rem;
}

.page-hero {
  padding: clamp(56px, 10vw, 102px) 0 40px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
}

.hero-card {
  background: linear-gradient(148deg, rgba(16, 27, 54, 0.85), rgba(10, 20, 42, 0.86));
  border: 1px solid rgba(124, 170, 255, 0.24);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 38px);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -25%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(52, 227, 255, 0.22), transparent 74%);
  pointer-events: none;
}

.hero-kicker {
  display: inline-flex;
  gap: 9px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(129, 177, 255, 0.38);
  background: rgba(53, 79, 152, 0.26);
  color: #d7e3ff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-title {
  font-family: "Teko", sans-serif;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-title span {
  color: var(--accent);
  text-shadow: 0 0 18px rgba(52, 227, 255, 0.35);
}

.hero-lead {
  color: #d8e3fb;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.52;
  max-width: 65ch;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  --btn-bg: rgba(15, 29, 64, 0.8);
  --btn-line: rgba(130, 179, 255, 0.46);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--btn-line);
  border-radius: 12px;
  min-height: 48px;
  padding: 0 20px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text);
  background: var(--btn-bg);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34);
  border-color: rgba(170, 205, 255, 0.7);
}

.btn-primary {
  --btn-bg: linear-gradient(95deg, #ff4b6e, #ff6c8a);
  --btn-line: rgba(255, 144, 166, 0.72);
}

.btn-secondary {
  --btn-bg: linear-gradient(100deg, rgba(32, 58, 122, 0.82), rgba(22, 43, 96, 0.82));
}

.btn-accent {
  --btn-bg: linear-gradient(95deg, #20bfdb, #34e3ff);
  --btn-line: rgba(132, 243, 255, 0.62);
  color: #051022;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.badge {
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(128, 174, 255, 0.44);
  color: #d4e0f9;
  background: rgba(20, 34, 68, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  font-weight: 600;
}

.badge.danger {
  border-color: rgba(255, 121, 146, 0.62);
  color: #ffdbe2;
  background: rgba(124, 31, 56, 0.5);
}

.glow-frame {
  border: 1px solid rgba(144, 189, 255, 0.28);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), var(--shadow);
  background: linear-gradient(162deg, rgba(12, 21, 45, 0.87), rgba(8, 16, 36, 0.85));
  position: relative;
  overflow: hidden;
}

.glow-frame::after {
  content: "";
  position: absolute;
  inset: auto -30% -56% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 75, 110, 0.33), transparent 67%);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  position: relative;
  z-index: 1;
}

.metric {
  border: 1px solid rgba(127, 175, 255, 0.22);
  border-radius: 14px;
  padding: 14px 15px;
  background: rgba(13, 24, 49, 0.78);
}

.metric strong {
  display: block;
  color: var(--accent);
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.metric span {
  color: #c9d8f5;
  font-size: 0.92rem;
}

.section {
  padding: clamp(44px, 9vw, 90px) 0;
}

.section-title {
  font-family: "Teko", sans-serif;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.section-title span {
  color: var(--accent-2);
}

.section-lead {
  color: #c8d5f2;
  font-size: 1.02rem;
  line-height: 1.48;
  max-width: 82ch;
  margin-bottom: 24px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.panel {
  position: relative;
  background: linear-gradient(165deg, rgba(17, 29, 58, 0.86), rgba(11, 20, 42, 0.88));
  border: 1px solid rgba(126, 171, 255, 0.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(52, 227, 255, 0.07), transparent 36%, rgba(255, 75, 110, 0.07));
  pointer-events: none;
}

.panel-inner {
  position: relative;
  z-index: 1;
  padding: 18px;
}

.game-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.game-visual {
  height: 192px;
  border-radius: 14px;
  border: 1px solid rgba(143, 190, 255, 0.26);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.game-visual::before,
.game-visual::after {
  content: "";
  position: absolute;
  inset: 0;
}

.game-visual::before {
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.14), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.09), transparent 36%);
}

.game-visual::after {
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06) 2px, transparent 2px, transparent 14px);
  mix-blend-mode: screen;
}

.game-visual.runes {
  background: linear-gradient(135deg, #1f2d6e, #0d1737 56%, #173f6f);
}

.game-visual.treasure {
  background: linear-gradient(140deg, #352212, #101e42 55%, #0d172f);
}

.game-visual.cards {
  background: linear-gradient(130deg, #2a1a4f, #102040 60%, #0a1430);
}

.game-title {
  font-family: "Teko", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 2rem;
  line-height: 0.95;
  margin-bottom: 8px;
}

.game-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.game-tags span {
  font-size: 0.74rem;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(18, 32, 66, 0.9);
  border: 1px solid rgba(130, 180, 255, 0.35);
  color: #c6d5f7;
  letter-spacing: 0.06em;
}

.game-copy {
  color: #c8d8f3;
  line-height: 1.45;
  flex-grow: 1;
  margin-bottom: 16px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.info-list li {
  padding: 11px 0;
  border-bottom: 1px dashed rgba(129, 176, 255, 0.22);
  color: #d2def8;
}

.info-list li:last-child {
  border-bottom: 0;
}

.info-list strong {
  color: var(--accent);
  font-weight: 700;
}

.timeline {
  position: relative;
  margin-left: 6px;
  padding-left: 22px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(var(--accent), transparent 70%);
}

.timeline-item {
  position: relative;
  padding: 0 0 24px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 5px rgba(255, 75, 110, 0.2);
}

.timeline-item h3 {
  font-family: "Teko", sans-serif;
  font-size: 1.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
}

.timeline-item p {
  color: #cbd9f4;
  line-height: 1.45;
}

.faq-stack {
  display: grid;
  gap: 11px;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid rgba(130, 178, 255, 0.28);
  background: rgba(14, 24, 51, 0.82);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border: 0;
  cursor: pointer;
  background: none;
  color: var(--text);
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.faq-question span {
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 18px 16px;
  color: #cddbf7;
  line-height: 1.48;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 18px;
}

.form-stack {
  display: grid;
  gap: 13px;
}

.input,
.textarea,
.select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(130, 179, 255, 0.36);
  padding: 13px 14px;
  background: rgba(8, 16, 34, 0.86);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.textarea {
  min-height: 140px;
  resize: vertical;
}

.input:focus,
.textarea:focus,
.select:focus {
  outline: 2px solid rgba(52, 227, 255, 0.32);
  border-color: rgba(130, 238, 255, 0.75);
}

.notice {
  border-radius: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(136, 184, 255, 0.34);
  background: rgba(16, 28, 57, 0.82);
  color: #d6e3ff;
  line-height: 1.4;
}

.notice.success {
  border-color: rgba(102, 219, 158, 0.52);
  background: rgba(22, 61, 49, 0.65);
}

.notice.warn {
  border-color: rgba(255, 209, 102, 0.58);
  background: rgba(66, 50, 21, 0.66);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  border-radius: 14px;
  border: 1px solid rgba(129, 176, 255, 0.28);
  background: rgba(14, 25, 50, 0.84);
  padding: 16px;
}

.stat-card strong {
  display: block;
  color: var(--gold);
  font-size: 1.8rem;
  font-family: "Teko", sans-serif;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.stat-card span {
  color: #c2d2f0;
  font-size: 0.92rem;
}

.review-card {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(129, 177, 255, 0.28);
  background: rgba(12, 22, 46, 0.84);
}

.review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
}

.review-head strong {
  font-size: 1.06rem;
}

.stars {
  color: #ffe08a;
  letter-spacing: 0.08em;
}

.review-card p {
  color: #cbdbf6;
  line-height: 1.45;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.achievement {
  border-radius: 14px;
  border: 1px solid rgba(128, 176, 255, 0.26);
  background: rgba(12, 22, 45, 0.84);
  padding: 16px;
  opacity: 0.62;
  transition: 0.25s ease;
}

.achievement.unlocked {
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(102, 221, 170, 0.38), 0 12px 24px rgba(0, 0, 0, 0.32);
}

.achievement h3 {
  font-family: "Teko", sans-serif;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.achievement p {
  color: #c8d8f4;
  line-height: 1.4;
  margin-bottom: 10px;
}

.achievement small {
  color: #98add6;
}

.progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
  margin-top: 10px;
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #34e3ff, #44d289);
  transition: width 0.45s ease;
}

.legal {
  display: grid;
  gap: 16px;
}

.legal h2,
.legal h3 {
  font-family: "Teko", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.legal h2 {
  font-size: 2.2rem;
}

.legal h3 {
  font-size: 1.6rem;
}

.legal p,
.legal li {
  color: #ccd9f4;
  line-height: 1.5;
}

.legal ul {
  list-style: disc;
  margin-left: 20px;
  display: grid;
  gap: 8px;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid rgba(129, 176, 255, 0.22);
  background: rgba(6, 12, 29, 0.9);
}

.footer-inner {
  width: var(--container);
  margin: 0 auto;
  padding: 28px 0 34px;
  display: grid;
  gap: 18px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #b8caed;
  border: 1px solid rgba(128, 176, 255, 0.2);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.82rem;
}

.footer-copy {
  color: #a8bddf;
  line-height: 1.4;
  font-size: 0.92rem;
}

.footer-alert {
  border-radius: 12px;
  border: 1px solid rgba(255, 109, 136, 0.5);
  padding: 11px 13px;
  background: rgba(85, 18, 39, 0.46);
  color: #ffe3ea;
  font-size: 0.9rem;
  line-height: 1.4;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(3, 5, 14, 0.92);
  backdrop-filter: blur(8px);
}

.age-gate.hidden {
  display: none;
}

.age-box {
  width: min(620px, 100%);
  border-radius: 20px;
  border: 1px solid rgba(132, 181, 255, 0.36);
  background: linear-gradient(150deg, rgba(17, 28, 58, 0.96), rgba(9, 16, 36, 0.97));
  box-shadow: var(--shadow);
  padding: clamp(18px, 4vw, 28px);
}

.age-box h2 {
  font-family: "Teko", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.age-box p {
  color: #ccdbf6;
  line-height: 1.5;
  margin-bottom: 14px;
}

.age-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.toast-wrap {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 115;
  display: grid;
  gap: 10px;
}

.toast {
  min-width: 280px;
  max-width: 360px;
  border-radius: 12px;
  border: 1px solid rgba(127, 176, 255, 0.32);
  background: rgba(9, 18, 40, 0.93);
  padding: 12px 13px;
  color: #d6e4ff;
  box-shadow: var(--shadow);
  animation: toastIn 0.28s ease;
}

.toast.success {
  border-color: rgba(102, 221, 170, 0.5);
}

.toast.warn {
  border-color: rgba(255, 209, 102, 0.5);
}

.game-image {
  border-radius: 15px;
  margin-bottom: 15px;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(45px);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.26;
    transform: translateY(0) scale(1);
  }
  50% {
    opacity: 0.5;
    transform: translateY(-18px) scale(1.04);
  }
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(8px, -14px, 0);
  }
}

@media (max-width: 1090px) {
  .hero-layout,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 900px) {
  .player-chip {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: 72px 10px auto;
    margin: 0;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(133, 182, 255, 0.3);
    background: rgba(7, 14, 34, 0.97);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

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

  .nav-links a {
    border-radius: 10px;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .grid.two,
  .grid.three,
  .achievement-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    padding: 20px;
  }

  .footer-top {
    flex-direction: column;
  }

  .hero-actions,
  .age-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .toast {
    min-width: 0;
    width: min(92vw, 360px);
  }
}
