:root {
  --bg: #030a19;
  --bg-soft: #07152b;
  --ink: #e8f6ff;
  --muted: #9cc7e0;
  --line: #2f5e87;
  --accent: #78d2ff;
  --accent-soft: #56b5e6;
  --cream: #0b1e38;
  --glass: rgba(8, 28, 52, 0.68);
  --shadow: 0 22px 48px rgba(1, 10, 24, 0.48);
  --radius: 22px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1000px 520px at 12% -12%, rgba(35, 197, 255, 0.22), transparent 60%),
    radial-gradient(1100px 560px at 88% 4%, rgba(92, 255, 198, 0.16), transparent 62%),
    linear-gradient(180deg, var(--bg), var(--bg-soft));
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Icy global scrollbar theme */
html {
  scrollbar-width: thin;
  scrollbar-color: #8ee7ff #051227;
}

html::-webkit-scrollbar {
  width: 12px;
}

html::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #031022, #081a33);
}

html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #a8f3ff, #6fc9f6);
  border-radius: 999px;
  border: 2px solid #061a31;
}

html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #c5f8ff, #88dcff);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(8px 8px at 14% 18%, rgba(201, 245, 255, 0.3), transparent 65%),
    radial-gradient(8px 8px at 82% 24%, rgba(123, 232, 255, 0.28), transparent 68%),
    radial-gradient(8px 8px at 48% 74%, rgba(160, 242, 219, 0.26), transparent 68%);
  animation: dust 20s linear infinite;
  z-index: -1;
}
@keyframes dust { from { transform: translateY(0); } to { transform: translateY(-22px); } }
.home {
  position: relative;
  isolation: isolate;
}
.home::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 10, 22, 0.78), rgba(5, 12, 24, 0.86)),
    url("../img/background.jpg") center top / cover no-repeat;
  transform: none;
  z-index: -3;
}
.home::before {
  z-index: -2;
}

a { color: inherit; text-decoration: none; }
.shell { width: min(1180px, 92vw); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(4, 22, 42, 0.8);
  border-bottom: 1px solid rgba(70, 143, 191, 0.35);
}
.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 12px 0;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); object-fit: cover; }
.brand span { display: grid; line-height: 1.05; }
.brand strong { font-size: .95rem; letter-spacing: .04em; }
.brand small { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.site-nav { justify-self: end; display: flex; gap: 8px; flex-wrap: wrap; }
.site-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.site-nav a:hover, .site-nav a.active {
  background: rgba(13, 45, 74, 0.92);
  border-color: var(--line);
  transform: translateY(-1px);
}
.site-nav.compact a { padding: 8px 12px; font-size: .75rem; }

.menu-toggle {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0b2748;
}
.menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 999px; background: var(--accent); margin: 4px auto; }

.section { padding: 44px 0; }
.hero-home { padding: 56px 0 24px; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 16px; align-items: stretch; }
.hero-copy h1, h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; margin: 0 0 10px; }
.hero-copy h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.06; }
.kicker { margin: 0 0 10px; color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .72rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.hero-actions.center { justify-content: center; }

.glass-card {
  border: 1px solid rgba(85, 158, 207, 0.35);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.glass-card::after {
  content: "";
  position: absolute;
  inset: auto -35% -65% -35%;
  height: 220px;
  background: radial-gradient(closest-side, rgba(91, 221, 255, 0.25), transparent);
  animation: sweep 11s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sweep { 0%, 100% { transform: translateX(-6%); } 50% { transform: translateX(6%); } }

.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.kpi-row div { border: 1px solid var(--line); border-radius: 14px; padding: 10px; background: rgba(9, 35, 62, .6); }
.kpi-row strong { display: block; font-size: 1.08rem; }
.kpi-row span { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }

.dot-list { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.dot-list li { position: relative; padding-left: 18px; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: .58em; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(180deg, #7ff5eb, #5db7ff); }

.btn {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 10px 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .74rem;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary {
  color: #02213a;
  background: linear-gradient(145deg, #7ee9ff, #4ca9da);
  box-shadow: 0 12px 20px rgba(48, 155, 217, 0.35);
}
.btn-soft {
  background: #0a2a4d;
  border-color: var(--line);
  color: #c9ecff;
}

.split-cards, .game-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.split-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card, .game-card {
  border: 1px solid rgba(79, 151, 198, 0.42);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(8, 31, 58, 0.92), rgba(10, 42, 73, 0.92));
  box-shadow: var(--shadow);
  padding: 20px;
}
.feature-card img, .game-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #3b7399;
  margin-bottom: 12px;
}
.game-card-locked {
  opacity: 0.92;
  border-style: dashed;
}
.game-card-locked .btn[disabled] {
  opacity: 0.8;
  cursor: not-allowed;
}
.lift { transition: transform .25s ease, box-shadow .25s ease; }
.lift:hover { transform: translateY(-4px); box-shadow: 0 26px 44px rgba(4, 17, 38, 0.48); }
.link-chip { display: inline-flex; margin-top: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; background: rgba(10, 42, 73, .8); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }

.games-layout-alt {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
  align-items: stretch;
}
.game-spotlight {
  border: 1px solid rgba(96, 174, 215, 0.5);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(9, 35, 61, 0.92), rgba(8, 24, 44, 0.9));
  box-shadow: 0 20px 38px rgba(3, 14, 33, 0.52);
}
.game-spotlight img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}
.game-spotlight-body {
  padding: 18px;
}
.game-spotlight-body h2 {
  margin-bottom: 8px;
}
.game-spotlight-body p {
  margin: 0;
  color: #c7e3f3;
}
.game-side-stack {
  display: grid;
  gap: 14px;
}
.game-side-stack .game-card img {
  height: 210px;
}

.policy-strip { text-align: center; }
.heading-row { display: flex; justify-content: space-between; gap: 14px; align-items: end; flex-wrap: wrap; }
.balance-badge { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(10, 42, 73, .8); font-weight: 700; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.card-grid .glass-card, .card-grid article { border: 1px solid var(--line); border-radius: 16px; background: rgba(9, 37, 64, 0.8); padding: 16px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat-grid article { border: 1px solid var(--line); background: rgba(8, 33, 58, .85); border-radius: 14px; padding: 12px; }
.stat-grid span { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.stat-grid strong { font-size: 1.35rem; }
.progress-bar { margin-top: 10px; height: 10px; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: rgba(8, 31, 53, 0.8); }
.progress-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #52d4ff, #69f1d0); transition: width .3s ease; }
.route-line { color: var(--muted); margin-top: 10px; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.toolbar .btn.active { outline: 2px solid rgba(92, 224, 255, 0.4); }

.form-grid { display: grid; gap: 8px; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(9, 36, 62, 0.8);
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
#contactStatus { border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: rgba(9, 36, 62, 0.7); }

.faq-list { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid rgba(99, 177, 221, 0.46);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(11, 43, 72, 0.9), rgba(7, 23, 43, 0.88));
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(181, 240, 255, 0.14);
}
.faq-item button {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  color: #eaf8ff;
  padding: 14px 16px;
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;
}
.faq-item .answer {
  display: none;
  padding: 0 16px 14px;
  color: #bddbed;
}
.faq-item.open {
  border-color: rgba(152, 230, 255, 0.8);
  box-shadow: 0 10px 18px rgba(2, 13, 30, 0.4), inset 0 1px 0 rgba(193, 245, 255, 0.2);
}
.faq-item.open .answer { display: block; }

.footer {
  margin-top: 30px;
  padding: 30px 0 26px;
  border-top: 1px solid rgba(112, 198, 235, 0.34);
  background:
    radial-gradient(520px 150px at 12% -30%, rgba(120, 223, 255, 0.18), transparent 62%),
    radial-gradient(460px 140px at 88% -40%, rgba(104, 255, 224, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(5, 16, 34, 0.9), rgba(2, 10, 22, 0.96));
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(560px, 92vw);
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(167, 241, 255, 0.9), transparent);
  box-shadow: 0 0 18px rgba(129, 230, 255, 0.55);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: stretch;
}
.footer-grid > * {
  border: 1px solid rgba(92, 166, 204, 0.4);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(10, 33, 58, 0.84), rgba(6, 18, 36, 0.84));
  box-shadow: inset 0 1px 0 rgba(171, 240, 255, 0.16);
  padding: 12px 14px;
}
.footer-grid p {
  margin: 0;
  color: #c7e3f3;
  line-height: 1.5;
}
.footer-grid strong {
  display: inline-block;
  margin-bottom: 4px;
  letter-spacing: 0.08em;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
}
.footer-links a {
  font-size: .74rem;
  color: #dff5ff;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(111, 196, 232, 0.46);
  background: linear-gradient(180deg, rgba(13, 46, 78, 0.9), rgba(7, 22, 41, 0.88));
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.footer-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(161, 235, 255, 0.86);
  box-shadow: 0 8px 16px rgba(1, 13, 30, 0.5), 0 0 10px rgba(128, 229, 255, 0.24);
}

.overlay { position: fixed; inset: 0; background: rgba(3, 12, 24, 0.75); display: none; align-items: center; justify-content: center; z-index: 60; }
.overlay.show { display: flex; }
.overlay-card { width: min(520px, 90vw); border-radius: 20px; border: 1px solid rgba(85, 158, 207, 0.45); background: #072241; box-shadow: var(--shadow); padding: 24px; text-align: center; }

.cookie-box { position: fixed; right: 16px; bottom: 16px; width: min(340px, 92vw); border-radius: 16px; border: 1px solid var(--line); background: #072241; box-shadow: var(--shadow); padding: 14px; display: none; z-index: 55; }
.cookie-box.show { display: block; animation: rise .3s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 1; transform: none; transition: none; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: calc(100% + 8px); right: 4vw; left: 4vw; border: 1px solid var(--line); border-radius: 16px; padding: 10px; background: #082746; }
  .site-nav.show { display: grid; }
  .split-cards-3 { grid-template-columns: 1fr; }
  .games-layout-alt { grid-template-columns: 1fr; }
  .game-spotlight img { height: 280px; }
  .game-side-stack .game-card img { height: 240px; }
  .hero-grid, .split-cards, .game-grid-2, .card-grid, .stat-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Home redesign: premium layout + interactive sections */
.hero-premium {
  padding-top: 62px;
}
.hero-grid-premium {
  gap: 20px;
  align-items: stretch;
}
.hero-main-card {
  background:
    radial-gradient(circle at 16% 18%, rgba(123, 245, 255, 0.18), transparent 50%),
    linear-gradient(160deg, rgba(12, 44, 77, 0.86), rgba(12, 25, 53, 0.9));
}
.hero-side-stack {
  display: grid;
  gap: 14px;
}
.live-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.live-grid article {
  border: 1px solid rgba(117, 189, 233, 0.38);
  border-radius: 14px;
  background: rgba(8, 35, 67, 0.78);
  padding: 12px;
}
.live-grid span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.live-grid strong {
  font-size: 1.08rem;
}
.live-note {
  margin: 0;
  color: #bfddf0;
}
.kpi-row-premium strong {
  font-size: 1.24rem;
}
.home-heading h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
}
.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.feature-tile {
  border: 1px solid rgba(90, 166, 210, 0.4);
  border-radius: 18px;
  background:
    radial-gradient(circle at 85% -20%, rgba(114, 237, 255, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(8, 34, 60, 0.94), rgba(10, 46, 79, 0.9));
  box-shadow: 0 18px 34px rgba(2, 13, 32, 0.46);
  padding: 18px;
}
.feature-tile h3 {
  margin-bottom: 8px;
}
.feature-tile p {
  margin: 0;
  color: #b7d8ec;
}
.planner-shell {
  display: grid;
  gap: 16px;
}
.planner-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  flex-wrap: wrap;
}
.planner-head p {
  margin: 0;
  color: #b7d8ec;
  max-width: 700px;
}
.mode-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mode-row .btn.active {
  color: #06223d;
  background: linear-gradient(145deg, #7ef0ff, #6ac2ff);
  border-color: transparent;
}
.planner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 12px;
  align-items: stretch;
}
.planner-control {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(88, 161, 205, 0.42);
  border-radius: 16px;
  padding: 14px;
  background: rgba(9, 37, 65, 0.76);
}
.planner-control span {
  font-size: 0.85rem;
  color: #cae6f7;
}
.planner-control input {
  width: 100%;
}
.planner-result {
  border: 1px solid rgba(88, 161, 205, 0.46);
  border-radius: 16px;
  padding: 14px;
  background: rgba(10, 42, 72, 0.8);
}
.planner-result span {
  display: block;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
}
.planner-result strong {
  display: block;
  font-size: 2rem;
  line-height: 1.1;
}
.planner-result small {
  display: block;
  margin-top: 6px;
  color: #c6e2f3;
}
.compare-shell {
  display: grid;
  gap: 12px;
}
.compare-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.compare-tab {
  border: 1px solid rgba(92, 164, 206, 0.5);
  background: rgba(9, 36, 62, 0.82);
  color: #d7f0ff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  cursor: pointer;
}
.compare-tab.active {
  color: #07243d;
  background: linear-gradient(145deg, #91f1ff, #6bc2fa);
  border-color: transparent;
}
.compare-panel {
  display: none;
  border: 1px solid rgba(84, 157, 201, 0.44);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(9, 35, 61, 0.92), rgba(8, 24, 44, 0.9));
  box-shadow: 0 18px 34px rgba(4, 16, 36, 0.46);
  padding: 18px;
}
.compare-panel.active {
  display: block;
}
.compare-list p {
  margin: 0 0 8px;
  color: #bddbed;
}
.compare-list strong {
  color: #ebf9ff;
}
.roadmap-shell {
  display: grid;
  gap: 14px;
}
.roadmap-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.road-step {
  border: 1px solid rgba(91, 163, 207, 0.48);
  border-radius: 12px;
  background: rgba(9, 38, 65, 0.8);
  color: #d9f1ff;
  min-height: 44px;
  font-weight: 800;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.road-step.active {
  color: #08263e;
  background: linear-gradient(145deg, #a0f5ff, #7ed4ff);
  border-color: transparent;
}
.road-detail {
  border: 1px solid rgba(90, 161, 205, 0.42);
  border-radius: 16px;
  background: rgba(8, 33, 58, 0.82);
  padding: 16px;
}
.road-detail h3 {
  margin-bottom: 8px;
}
.road-detail p {
  margin: 0;
  color: #bddbec;
}

@media (max-width: 980px) {
  .live-grid,
  .home-feature-grid,
  .planner-grid,
  .roadmap-steps {
    grid-template-columns: 1fr;
  }
  .compare-tab,
  .road-step {
    width: 100%;
  }
}



