@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Orbitron:wght@400;500;600;700;800&display=swap");
:root {
  --bg: #0a0f1a;
  --bg-deep: #060a12;
  --bg-soft: #121c2e;
  --surface: #162236;
  --surface-alt: #1e3048;
  --surface-light: #f0f6fc;
  --text: #e8f1fa;
  --text-muted: #94adc4;
  --text-dark: #1a2d42;
  --accent: #00d4aa;
  --accent-strong: #00f5c4;
  --accent-warm: #ff7b4a;
  --accent-warm-strong: #ff5733;
  --success: #4ade80;
  --warning: #fbbf24;
  --danger: #f87171;
  --checker-a: #142640;
  --checker-b: #1c3a58;
  --checker-c: #f4f9fd;
  --checker-d: #e2eef8;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 16px 44px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 12px 28px rgba(0, 8, 16, 0.35);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--text);
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  background:
    radial-gradient(ellipse at 5% -15%, rgba(0, 212, 170, 0.18), transparent 48%),
    radial-gradient(ellipse at 95% 5%, rgba(255, 123, 74, 0.12), transparent 38%),
    linear-gradient(175deg, var(--bg) 0%, var(--bg-deep) 100%);
  line-height: 1.65;
  min-height: 100vh;
  font-weight: 500;
}
body.light-page {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(0, 212, 170, 0.14), transparent 42%),
    radial-gradient(ellipse at 100% 100%, rgba(255, 123, 74, 0.1), transparent 48%),
    #f7fbff;
  color: var(--text-dark);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: min(1140px, 90vw);
  margin: 0 auto;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  background: #fff;
  color: #000;
  padding: 0.5rem 0.8rem;
  z-index: 10000;
  border-radius: 6px;
}
.skip-link:focus {
  left: 1rem;
}
.top-age-banner {
  text-align: center;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  background: linear-gradient(140deg, #c41e4a, #921842);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
body.light-page .top-age-banner {
  color: #fff;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 15, 26, 0.88);
  backdrop-filter: blur(14px);
}
body.light-page .site-header {
  background: rgba(247, 251, 255, 0.9);
  border-bottom: 1px solid rgba(26, 45, 66, 0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.brand-name {
  font-size: 1.05rem;
  font-family: 'Orbitron', 'Rajdhani', sans-serif;
}
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: inherit;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.2s ease;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.main-nav a {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-muted);
  padding: 0.42rem 0.55rem;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}
body.light-page .main-nav a {
  color: #3d5a72;
}
.main-nav a:hover,
.main-nav a[aria-current='page'] {
  color: var(--text);
  background: rgba(0, 212, 170, 0.12);
}
body.light-page .main-nav a:hover,
body.light-page .main-nav a[aria-current='page'] {
  color: #122638;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.coins-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  font-weight: 700;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.07);
}
body.light-page .coins-pill {
  background: rgba(26, 45, 66, 0.08);
}
.btn {
  border: 0;
  border-radius: 10px;
  padding: 0.78rem 1.1rem;
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: transform 0.2s ease, filter 0.2s ease;
  font-family: inherit;
}
.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.btn-primary {
  color: #fff;
  background: linear-gradient(140deg, var(--accent), var(--accent-warm-strong));
  box-shadow: 0 6px 20px rgba(0, 212, 170, 0.25);
}
.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
body.light-page .btn-secondary {
  color: #1a3350;
  background: #e6f0fa;
  border-color: #c4d8eb;
}
.btn-outline {
  color: inherit;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
body.light-page .btn-outline {
  border-color: rgba(26, 45, 66, 0.28);
}
.hero {
  padding: 4.5rem 0 2.8rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2.2rem;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(0, 212, 170, 0.18);
  color: #7fffd4;
  margin-bottom: 1.3rem;
}
body.light-page .badge {
  background: #d4f5ed;
  color: #0a6b5c;
}
h1,
h2,
h3,
h4 {
  font-family: 'Orbitron', 'Rajdhani', sans-serif;
  letter-spacing: 0.015em;
  line-height: 1.18;
  margin: 0 0 1rem;
}
h1 {
  font-size: clamp(1.9rem, 4.6vw, 3.8rem);
}
.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}
body.light-page .hero p {
  color: #4a6478;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}
.stats-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.stats-inline .stat {
  min-width: 145px;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
body.light-page .stats-inline .stat {
  background: rgba(26, 45, 66, 0.06);
  border-color: rgba(26, 45, 66, 0.08);
}
.stats-inline strong {
  display: block;
  font-size: 1.32rem;
  color: #fff;
}
body.light-page .stats-inline strong {
  color: #162236;
}
.stats-inline span {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.visual-card {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
}
.visual-board {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.65rem;
  background:
    linear-gradient(130deg, rgba(0, 212, 170, 0.14), rgba(255, 123, 74, 0.12)),
    var(--bg-soft);
}
.visual-board-art {
  position: relative;
  display: block;
  padding: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 212, 170, 0.28), transparent 38%),
    radial-gradient(circle at 85% 18%, rgba(255, 123, 74, 0.18), transparent 40%),
    #121c2e;
}
.visual-hero-image {
  width: 100%;
  height: auto;
  display: block;
}
@keyframes slideUp {
  from {
    transform: translateY(12px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.section {
  padding: 2.4rem 0;
}
.section-head {
  max-width: 740px;
  margin-bottom: 1.3rem;
}
.section-head p {
  color: var(--text-muted);
  margin: 0;
}
body.light-page .section-head p {
  color: #506a80;
}
.checker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.checker-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.checker-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.checker-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 8, 16, 0.42);
}
.checker-grid.dark .checker-card:nth-child(odd) {
  background: var(--checker-a);
}
.checker-grid.dark .checker-card:nth-child(even) {
  background: var(--checker-b);
}
.checker-grid.light .checker-card:nth-child(odd) {
  background: var(--checker-c);
}
.checker-grid.light .checker-card:nth-child(even) {
  background: var(--checker-d);
}
.checker-grid.light .checker-card {
  border-color: rgba(18, 38, 54, 0.06);
  color: #183148;
}
body:not(.light-page):not(.game-universe) .checker-grid.light .checker-card:nth-child(odd) {
  background: #163856;
}
body:not(.light-page):not(.game-universe) .checker-grid.light .checker-card:nth-child(even) {
  background: #1e4868;
}
body:not(.light-page):not(.game-universe) .checker-grid.light .checker-card {
  border-color: rgba(168, 200, 238, 0.24);
  color: #e4f2ff;
}
body:not(.light-page):not(.game-universe) .checker-grid.light .checker-card .btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #f0f8ff;
}
.checker-card h3,
.checker-card h4 {
  margin-bottom: 0.5rem;
}
.checker-card p {
  margin: 0;
  color: inherit;
  opacity: 0.88;
}
.checker-card img {
  border-radius: 8px;
  margin-top: 0.8rem;
}
.list-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
}
body.light-page .pill {
  background: rgba(24, 49, 72, 0.07);
}
.cta-band {
  margin-top: 2.2rem;
  padding: 1.3rem;
  border-radius: var(--radius-md);
  background: linear-gradient(130deg, rgba(0, 212, 170, 0.16), rgba(255, 123, 74, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}
body.light-page .cta-band {
  border-color: rgba(24, 49, 72, 0.1);
}
.cta-band h3 {
  margin-bottom: 0.3rem;
}
.cta-band p {
  margin: 0;
  color: var(--text-muted);
}
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.8rem 0 2.4rem;
  background: rgba(0, 0, 0, 0.22);
}
body.light-page .site-footer {
  border-top-color: rgba(24, 49, 72, 0.1);
  background: rgba(24, 49, 72, 0.03);
}
.footer-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1.4fr 1fr 1fr;
}
.footer-grid h4 {
  margin: 0 0 0.65rem;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-logo {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: cover;
}
.footer-grid p,
.footer-grid li {
  color: var(--text-muted);
}
body.light-page .footer-grid p,
body.light-page .footer-grid li {
  color: #546e82;
}
.footer-grid ul {
  margin: 0;
  padding-left: 1rem;
  list-style: none;
}
.footer-grid ul li {
  margin-bottom: 0.3rem;
}
.footer-grid ul a:hover {
  color: var(--accent);
}
.footer-bottom {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: var(--text-muted);
}
body.light-page .footer-bottom {
  border-top-color: rgba(24, 49, 72, 0.1);
  color: #607888;
}
.footer-contact-line {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #e8f6ff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.footer-contact-line a {
  color: #7fffd4;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-contact-line a:hover {
  color: #a8ffe8;
}
body.light-page .footer-contact-line {
  color: #223d54;
  background: rgba(24, 49, 72, 0.05);
  border-color: rgba(24, 49, 72, 0.14);
}
body.light-page .footer-contact-line a {
  color: #0e7d6e;
}
#age-gate {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 10, 18, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
#age-gate.active {
  display: flex;
}
.gate-card {
  max-width: 520px;
  border-radius: 16px;
  background: linear-gradient(140deg, #122438, #0e1c2c);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}
.gate-card h2 {
  margin-bottom: 0.8rem;
}
.gate-card p {
  color: #b8d0e2;
  margin-bottom: 1.2rem;
}
.gate-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}
#cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 1800;
  width: min(840px, 92vw);
  background: rgba(10, 15, 26, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 1rem;
  display: none;
}
body.light-page #cookie-banner {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(24, 49, 72, 0.18);
}
#cookie-banner.active {
  display: block;
}
.cookie-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}
.cookie-row p {
  margin: 0;
  color: var(--text-muted);
  flex: 1;
  min-width: 250px;
}
body.light-page .cookie-row p {
  color: #4a6478;
}
#toast-area {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2100;
  display: grid;
  gap: 0.55rem;
}
.toast {
  min-width: 190px;
  max-width: 310px;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  background: rgba(10, 20, 34, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f0f8ff;
  font-size: 0.88rem;
  box-shadow: var(--shadow-card);
  animation: slideUp 0.3s ease;
}
.toast.good {
  border-color: rgba(74, 222, 128, 0.6);
}
.toast.warn {
  border-color: rgba(251, 191, 36, 0.6);
}
.toast.bad {
  border-color: rgba(248, 113, 113, 0.6);
}
.hidden {
  display: none;
}
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .checker-grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 5vw 1rem;
    background: rgba(10, 15, 26, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  body.light-page .main-nav {
    background: rgba(247, 251, 255, 0.98);
    border-bottom-color: rgba(24, 49, 72, 0.12);
  }
  .main-nav.open {
    display: flex;
  }
  .nav-toggle {
    display: inline-block;
  }
}
@media (max-width: 680px) {
  .header-inner {
    min-height: 68px;
    flex-wrap: wrap;
    padding: 0.45rem 0;
  }
  .header-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .checker-grid,
  .checker-grid.cols-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-band {
    flex-direction: column;
    text-align: center;
  }
  .cta-band .btn {
    width: 100%;
  }
}
.game-page-intro {
  padding: 3rem 0 2rem;
}
.game-grid {
  display: grid;
  gap: 1.2rem;
}
.game-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.3rem;
  box-shadow: var(--shadow-card);
}
.game-card h2 {
  margin-bottom: 0.5rem;
}
.game-card p {
  margin-top: 0;
  color: var(--text-muted);
}
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.achievement {
  padding: 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease;
}
.achievement:hover {
  transform: translateY(-2px);
}
.achievement.locked {
  opacity: 0.65;
}
.achievement.unlocked {
  border-color: rgba(74, 222, 128, 0.5);
  background: rgba(74, 222, 128, 0.12);
}
.achievement h3 {
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}
.achievement time {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}
body.light-page .achievement {
  border-color: rgba(24, 49, 72, 0.12);
  background: rgba(24, 49, 72, 0.04);
}
body.light-page .achievement.unlocked {
  background: rgba(74, 222, 128, 0.15);
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.1rem;
}
.kpi {
  border-radius: 10px;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.kpi strong {
  font-size: 1.4rem;
  display: block;
  color: #fff;
}
.kpi span {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.faq-list {
  display: grid;
  gap: 0.8rem;
}
.faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.15rem 1rem;
}
body.light-page .faq-list details {
  border-color: rgba(20, 48, 68, 0.1);
  background: rgba(20, 48, 68, 0.04);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.85rem 0;
}
.faq-list p {
  margin: 0 0 0.95rem;
  color: var(--text-muted);
}
body.light-page .faq-list p {
  color: #526c80;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
label {
  font-weight: 700;
  font-size: 0.88rem;
  display: block;
  margin-bottom: 0.38rem;
}
.field {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  border-radius: 8px;
  padding: 0.78rem;
  font: inherit;
  transition: border-color 0.2s ease;
}
.field:focus {
  outline: none;
  border-color: var(--accent);
}
body.light-page .field {
  border-color: rgba(24, 49, 72, 0.14);
  background: #fff;
}
textarea.field {
  min-height: 140px;
  resize: vertical;
}
.check-row {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.88rem;
}
.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}
body.light-page .form-note {
  color: #506a80;
}
.legal-content {
  display: grid;
  gap: 1.1rem;
}
.legal-box {
  padding: 1.1rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(24, 49, 72, 0.12);
  background: rgba(24, 49, 72, 0.04);
}
.legal-box h2,
.legal-box h3 {
  margin-bottom: 0.55rem;
}
.legal-box p,
.legal-box li {
  color: #607a90;
}
.legal-box ul {
  margin: 0.35rem 0 0;
  padding-left: 1.25rem;
}
.timeline {
  position: relative;
  margin: 1.6rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-warm));
}
.timeline-item {
  position: relative;
  padding-left: 48px;
  margin-bottom: 1.3rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 5px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--accent);
}
.timeline-item h3 {
  margin-bottom: 0.38rem;
}
.timeline-item p {
  margin: 0;
  color: var(--text-muted);
}
body.light-page .timeline-item p {
  color: #516b7e;
}
@media (max-width: 680px) {
  .achievements-grid,
  .kpi-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
}
@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Orbitron:wght@400;500;600;700;800&display=swap");
:root {
  --bg: #0a0f1a;
  --bg-deep: #060a12;
  --bg-soft: #121c2e;
  --surface: #162236;
  --surface-alt: #1e3048;
  --surface-light: #f0f6fc;
  --text: #e8f1fa;
  --text-muted: #94adc4;
  --text-dark: #1a2d42;
  --accent: #00d4aa;
  --accent-strong: #00f5c4;
  --accent-warm: #ff7b4a;
  --accent-warm-strong: #ff5733;
  --success: #4ade80;
  --warning: #fbbf24;
  --danger: #f87171;
  --checker-a: #142640;
  --checker-b: #1c3a58;
  --checker-c: #f4f9fd;
  --checker-d: #e2eef8;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 16px 44px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 12px 28px rgba(0, 8, 16, 0.35);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--text);
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  background:
    radial-gradient(ellipse at 5% -15%, rgba(0, 212, 170, 0.18), transparent 48%),
    radial-gradient(ellipse at 95% 5%, rgba(255, 123, 74, 0.12), transparent 38%),
    linear-gradient(175deg, var(--bg) 0%, var(--bg-deep) 100%);
  line-height: 1.65;
  min-height: 100vh;
  font-weight: 500;
}
body.light-page {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(0, 212, 170, 0.14), transparent 42%),
    radial-gradient(ellipse at 100% 100%, rgba(255, 123, 74, 0.1), transparent 48%),
    #f7fbff;
  color: var(--text-dark);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: min(1140px, 90vw);
  margin: 0 auto;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  background: #fff;
  color: #000;
  padding: 0.5rem 0.8rem;
  z-index: 10000;
  border-radius: 6px;
}
.skip-link:focus {
  left: 1rem;
}
.top-age-banner {
  text-align: center;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  background: linear-gradient(140deg, #c41e4a, #921842);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
body.light-page .top-age-banner {
  color: #fff;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 15, 26, 0.88);
  backdrop-filter: blur(14px);
}
body.light-page .site-header {
  background: rgba(247, 251, 255, 0.9);
  border-bottom: 1px solid rgba(26, 45, 66, 0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.brand-name {
  font-size: 1.05rem;
  font-family: 'Orbitron', 'Rajdhani', sans-serif;
}
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: inherit;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.2s ease;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.main-nav a {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-muted);
  padding: 0.42rem 0.55rem;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}
body.light-page .main-nav a {
  color: #3d5a72;
}
.main-nav a:hover,
.main-nav a[aria-current='page'] {
  color: var(--text);
  background: rgba(0, 212, 170, 0.12);
}
body.light-page .main-nav a:hover,
body.light-page .main-nav a[aria-current='page'] {
  color: #122638;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.coins-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  font-weight: 700;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.07);
}
body.light-page .coins-pill {
  background: rgba(26, 45, 66, 0.08);
}
.btn {
  border: 0;
  border-radius: 10px;
  padding: 0.78rem 1.1rem;
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: transform 0.2s ease, filter 0.2s ease;
  font-family: inherit;
}
.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.btn-primary {
  color: #fff;
  background: linear-gradient(140deg, var(--accent), var(--accent-warm-strong));
  box-shadow: 0 6px 20px rgba(0, 212, 170, 0.25);
}
.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
body.light-page .btn-secondary {
  color: #1a3350;
  background: #e6f0fa;
  border-color: #c4d8eb;
}
.btn-outline {
  color: inherit;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
body.light-page .btn-outline {
  border-color: rgba(26, 45, 66, 0.28);
}
.hero {
  padding: 4.5rem 0 2.8rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2.2rem;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(0, 212, 170, 0.18);
  color: #7fffd4;
  margin-bottom: 1.3rem;
}
body.light-page .badge {
  background: #d4f5ed;
  color: #0a6b5c;
}
h1,
h2,
h3,
h4 {
  font-family: 'Orbitron', 'Rajdhani', sans-serif;
  letter-spacing: 0.015em;
  line-height: 1.18;
  margin: 0 0 1rem;
}
h1 {
  font-size: clamp(1.9rem, 4.6vw, 3.8rem);
}
h2 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}
h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}
.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}
body.light-page .hero p {
  color: #4a6478;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}
.stats-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.stats-inline .stat {
  min-width: 145px;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
body.light-page .stats-inline .stat {
  background: rgba(26, 45, 66, 0.06);
  border-color: rgba(26, 45, 66, 0.08);
}
.stats-inline strong {
  display: block;
  font-size: 1.32rem;
  color: #fff;
}
body.light-page .stats-inline strong {
  color: #162236;
}
.stats-inline span {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.visual-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
}
.visual-board {
  padding: 1.4rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.65rem;
  min-height: 400px;
  background:
    linear-gradient(130deg, rgba(0, 212, 170, 0.14), rgba(255, 123, 74, 0.12)),
    var(--bg-soft);
}
.visual-board-art {
  position: relative;
  display: block;
  padding: 0;
  min-height: 400px;
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 212, 170, 0.28), transparent 38%),
    radial-gradient(circle at 85% 18%, rgba(255, 123, 74, 0.18), transparent 40%),
    #121c2e;
}
.visual-hero-image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}
.section {
  padding: 2.4rem 0;
}
.section-head {
  max-width: 740px;
  margin-bottom: 1.3rem;
}
.section-head h2 {
  margin-bottom: 0.5rem;
}
.section-head p {
  color: var(--text-muted);
  margin: 0;
}
body.light-page .section-head p {
  color: #506a80;
}
.checker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.checker-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.checker-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.checker-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 8, 16, 0.42);
}
.checker-grid.dark .checker-card:nth-child(odd) {
  background: var(--checker-a);
}
.checker-grid.dark .checker-card:nth-child(even) {
  background: var(--checker-b);
}
.checker-grid.light .checker-card:nth-child(odd) {
  background: var(--checker-c);
}
.checker-grid.light .checker-card:nth-child(even) {
  background: var(--checker-d);
}
.checker-grid.light .checker-card {
  border-color: rgba(18, 38, 54, 0.06);
  color: #183148;
}
body:not(.light-page):not(.game-universe) .checker-grid.light .checker-card:nth-child(odd) {
  background: #163856;
}
body:not(.light-page):not(.game-universe) .checker-grid.light .checker-card:nth-child(even) {
  background: #1e4868;
}
body:not(.light-page):not(.game-universe) .checker-grid.light .checker-card {
  border-color: rgba(168, 200, 238, 0.24);
  color: #e4f2ff;
}
body:not(.light-page):not(.game-universe) .checker-grid.light .checker-card .btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #f0f8ff;
}
.checker-card h3,
.checker-card h4 {
  margin-bottom: 0.5rem;
}
.checker-card p {
  margin: 0;
  color: inherit;
  opacity: 0.88;
}
.checker-card img {
  border-radius: 8px;
  margin-top: 0.8rem;
}
.list-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
}
body.light-page .pill {
  background: rgba(24, 49, 72, 0.07);
}
.cta-band {
  margin-top: 2.2rem;
  padding: 1.3rem;
  border-radius: var(--radius-md);
  background: linear-gradient(130deg, rgba(0, 212, 170, 0.16), rgba(255, 123, 74, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}
body.light-page .cta-band {
  border-color: rgba(24, 49, 72, 0.1);
}
.cta-band h3 {
  margin-bottom: 0.3rem;
}
.cta-band p {
  margin: 0;
  color: var(--text-muted);
}
.timeline {
  position: relative;
  margin: 1.6rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-warm));
  border-radius: 3px;
}
.timeline-item {
  position: relative;
  padding-left: 48px;
  margin-bottom: 1.3rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 5px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.2);
}
.timeline-item h3 {
  margin-bottom: 0.38rem;
}
.timeline-item p {
  margin: 0;
  color: var(--text-muted);
}
body.light-page .timeline-item p {
  color: #516b7e;
}
.faq-list {
  display: grid;
  gap: 0.8rem;
}
.faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.15rem 1rem;
  transition: background 0.2s ease;
}
.faq-list details[open] {
  background: rgba(255, 255, 255, 0.08);
}
body.light-page .faq-list details {
  border-color: rgba(20, 48, 68, 0.1);
  background: rgba(20, 48, 68, 0.04);
}
body.light-page .faq-list details[open] {
  background: rgba(20, 48, 68, 0.07);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.85rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-list summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list p {
  margin: 0 0 0.95rem;
  color: var(--text-muted);
}
body.light-page .faq-list p {
  color: #526c80;
}
.faq-list a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faq-list a:hover {
  color: var(--accent-strong);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
label {
  font-weight: 700;
  font-size: 0.88rem;
  display: block;
  margin-bottom: 0.38rem;
}
.field {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  border-radius: 8px;
  padding: 0.78rem;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.15);
}
body.light-page .field {
  border-color: rgba(24, 49, 72, 0.14);
  background: #fff;
}
body.light-page .field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.12);
}
select.field {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394adc4' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2.5rem;
}
textarea.field {
  min-height: 140px;
  resize: vertical;
}
.check-row {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.88rem;
}
.check-row input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}
body.light-page .form-note {
  color: #506a80;
}
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.achievement {
  padding: 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.achievement:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.achievement.locked {
  opacity: 0.65;
}
.achievement.unlocked {
  border-color: rgba(74, 222, 128, 0.5);
  background: rgba(74, 222, 128, 0.12);
}
.achievement h3 {
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}
.achievement p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.achievement time {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}
.achievement.unlocked time {
  color: var(--success);
}
body.light-page .achievement {
  border-color: rgba(24, 49, 72, 0.12);
  background: rgba(24, 49, 72, 0.04);
}
body.light-page .achievement.unlocked {
  background: rgba(74, 222, 128, 0.15);
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.1rem;
}
.kpi {
  border-radius: 10px;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  transition: transform 0.2s ease;
}
.kpi:hover {
  transform: translateY(-2px);
}
.kpi strong {
  font-size: 1.4rem;
  display: block;
  color: #fff;
  font-family: 'Orbitron', 'Rajdhani', sans-serif;
}
.kpi span {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.arcade-wrap {
  width: min(1200px, 92vw);
  margin: 0 auto;
}
.arcade-hero {
  padding: 2.8rem 0 1.2rem;
}
.arcade-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  margin-bottom: 0.6rem;
}
.arcade-hero p {
  color: var(--text-muted);
  max-width: 900px;
  margin: 0;
}
.arcade-topbar {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-start;
}
.balance-chip,
.status-chip,
.live-chip {
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}
.balance-chip strong,
.status-chip strong,
.live-chip strong {
  color: #fff;
}
.live-chip {
  background: linear-gradient(140deg, rgba(255, 139, 92, 0.22), rgba(255, 202, 124, 0.12));
  border-color: rgba(255, 180, 100, 0.3);
}
.glass-panel {
  border-radius: 20px;
  border: 1px solid rgba(161, 195, 237, 0.18);
  background:
    linear-gradient(140deg, rgba(14, 32, 56, 0.9), rgba(10, 24, 42, 0.92));
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.game-guide-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.1rem;
  margin-top: 1rem;
}
.rule-stack {
  display: grid;
  gap: 0.8rem;
}
.rule-card {
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid rgba(161, 195, 237, 0.18);
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
}
.rule-card:hover {
  background: rgba(255, 255, 255, 0.08);
}
.rule-card h3 {
  margin-bottom: 0.5rem;
  color: var(--accent);
}
.rule-card p {
  margin: 0 0 0.6rem;
  color: var(--text-muted);
}
.rule-card ul {
  margin: 0.3rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}
.rule-card ul li {
  margin-bottom: 0.25rem;
}
.launch-row {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.launch-row .btn {
  width: 100%;
  justify-content: center;
}
.game-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.game-line .pill {
  background: rgba(255, 255, 255, 0.08);
  color: #c8e0f4;
}
.gallery-grid-enhanced {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}
.gallery-game {
  border-radius: 16px;
  padding: 0.9rem;
  border: 1px solid rgba(161, 195, 237, 0.18);
  background:
    linear-gradient(140deg, rgba(16, 36, 60, 0.92), rgba(12, 26, 44, 0.94));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery-game:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.gallery-game img {
  border-radius: 10px;
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.gallery-game h3 {
  margin: 0.7rem 0 0.35rem;
  font-size: 1.1rem;
}
.gallery-game p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.8rem 0 2.4rem;
  background: rgba(0, 0, 0, 0.22);
}
body.light-page .site-footer {
  border-top-color: rgba(24, 49, 72, 0.1);
  background: rgba(24, 49, 72, 0.03);
}
.footer-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1.4fr 1fr 1fr;
}
.footer-grid h4 {
  margin: 0 0 0.65rem;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-logo {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: cover;
}
.footer-grid p,
.footer-grid li {
  color: var(--text-muted);
}
body.light-page .footer-grid p,
body.light-page .footer-grid li {
  color: #546e82;
}
.footer-grid ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.footer-grid ul li {
  margin-bottom: 0.35rem;
}
.footer-grid ul a:hover {
  color: var(--accent);
}
.footer-bottom {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: var(--text-muted);
}
body.light-page .footer-bottom {
  border-top-color: rgba(24, 49, 72, 0.1);
  color: #607888;
}
.footer-contact-line {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #e8f6ff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.footer-contact-line a {
  color: #7fffd4;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-contact-line a:hover {
  color: #a8ffe8;
}
body.light-page .footer-contact-line {
  color: #223d54;
  background: rgba(24, 49, 72, 0.05);
  border-color: rgba(24, 49, 72, 0.14);
}
body.light-page .footer-contact-line a {
  color: #0e7d6e;
}
#age-gate {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 10, 18, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
#age-gate.active {
  display: flex;
}
.gate-card {
  max-width: 520px;
  border-radius: 16px;
  background: linear-gradient(140deg, #142438, #0e1c2c);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}
.gate-card h2 {
  margin-bottom: 0.8rem;
}
.gate-card p {
  color: #b8d0e2;
  margin-bottom: 1.2rem;
}
.gate-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}
#cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 1800;
  width: min(840px, 92vw);
  background: rgba(10, 15, 26, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 1rem;
  display: none;
}
body.light-page #cookie-banner {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(24, 49, 72, 0.18);
}
#cookie-banner.active {
  display: block;
}
.cookie-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}
.cookie-row p {
  margin: 0;
  color: var(--text-muted);
  flex: 1;
  min-width: 250px;
}
body.light-page .cookie-row p {
  color: #4a6478;
}
.cookie-row a {
  color: var(--accent);
  text-decoration: underline;
}
#toast-area {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2100;
  display: grid;
  gap: 0.55rem;
}
.toast {
  min-width: 190px;
  max-width: 310px;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  background: rgba(10, 20, 34, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f0f8ff;
  font-size: 0.88rem;
  box-shadow: var(--shadow-card);
  animation: slideUp 0.3s ease;
}
.toast.good {
  border-color: rgba(74, 222, 128, 0.6);
}
.toast.warn {
  border-color: rgba(251, 191, 36, 0.6);
}
.toast.bad {
  border-color: rgba(248, 113, 113, 0.6);
}
@keyframes slideUp {
  from {
    transform: translateY(12px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.hidden {
  display: none;
}
.legal-content {
  display: grid;
  gap: 1.1rem;
}
.legal-box {
  padding: 1.1rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(24, 49, 72, 0.12);
  background: rgba(24, 49, 72, 0.04);
}
.legal-box h2,
.legal-box h3 {
  margin-bottom: 0.55rem;
}
.legal-box p,
.legal-box li {
  color: #607a90;
}
.legal-box ul {
  margin: 0.35rem 0 0;
  padding-left: 1.25rem;
}
@media (max-width: 1100px) {
  .game-guide-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid-enhanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .checker-grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .achievements-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 5vw 1rem;
    background: rgba(10, 15, 26, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  body.light-page .main-nav {
    background: rgba(247, 251, 255, 0.98);
    border-bottom-color: rgba(24, 49, 72, 0.12);
  }
  .main-nav.open {
    display: flex;
  }
  .nav-toggle {
    display: inline-block;
  }
}
@media (max-width: 680px) {
  .header-inner {
    min-height: 68px;
    flex-wrap: wrap;
    padding: 0.45rem 0;
  }
  .header-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .checker-grid,
  .checker-grid.cols-3,
  .footer-grid,
  .achievements-grid,
  .kpi-grid,
  .form-grid,
  .gallery-grid-enhanced {
    grid-template-columns: 1fr;
  }
  .cta-band {
    flex-direction: column;
    text-align: center;
  }
  .cta-band .btn {
    width: 100%;
  }
  .arcade-topbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .launch-row .btn {
    width: 100%;
  }
  .hero {
    padding: 3rem 0 2rem;
  }
}
.slot-stage {
  padding: 1.2rem;
}
.slot-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.slot-cell {
  min-height: 120px;
  border-radius: 14px;
  border: 1px solid rgba(158, 193, 235, 0.2);
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.08), transparent 60%),
    linear-gradient(145deg, rgba(16, 40, 70, 0.85), rgba(12, 28, 50, 0.9));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.slot-cell .symbol {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
  transition: transform 0.15s ease;
}
.slot-cell .symbol-name {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #a8c8e8;
  font-weight: 700;
  opacity: 0.8;
}
.slot-cell.spin-flash {
  transform: scale(0.96);
  border-color: rgba(0, 212, 170, 0.5);
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.3);
}
.slot-cell.spin-flash .symbol {
  transform: scale(1.1);
}
.slot-cell.win {
  border-color: rgba(255, 200, 100, 0.85);
  box-shadow:
    0 0 0 2px rgba(255, 200, 100, 0.4),
    0 0 25px rgba(255, 200, 100, 0.35);
  animation: winPulse 0.6s ease infinite alternate;
}
@keyframes winPulse {
  from {
    box-shadow: 0 0 0 2px rgba(255, 200, 100, 0.4), 0 0 25px rgba(255, 200, 100, 0.35);
  }
  to {
    box-shadow: 0 0 0 3px rgba(255, 200, 100, 0.6), 0 0 35px rgba(255, 200, 100, 0.5);
  }
}
.slot-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}
.bet-cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}
.bet-cluster strong {
  font-size: 1.4rem;
  color: #ffcd7e;
  min-width: 50px;
  text-align: center;
  font-family: 'Orbitron', 'Rajdhani', sans-serif;
}
.round-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 199, 109, 0.7);
  background: rgba(10, 28, 52, 0.85);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.round-btn:hover {
  transform: scale(1.08);
  background: rgba(255, 199, 109, 0.2);
}
.round-btn:active {
  transform: scale(0.95);
}
.spin-main-btn {
  min-width: 180px;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(145deg, #f4b34f, #d48f2d);
  border: 0;
  border-radius: 14px;
  padding: 0.95rem 1.4rem;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(203, 136, 33, 0.35);
  font-family: 'Orbitron', 'Rajdhani', sans-serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.spin-main-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(203, 136, 33, 0.45);
}
.spin-main-btn:active {
  transform: translateY(0);
}
.spin-main-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.aux-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.aux-buttons button {
  border-radius: 8px;
  border: 1px solid rgba(177, 209, 249, 0.35);
  background: rgba(10, 28, 52, 0.75);
  color: #c8e0f8;
  font-weight: 700;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.aux-buttons button:hover {
  background: rgba(177, 209, 249, 0.15);
  border-color: rgba(177, 209, 249, 0.5);
}
.game-line {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.game-line .pill {
  background: rgba(255, 255, 255, 0.08);
  color: #c4daf0;
}
.game-log {
  margin-top: 1rem;
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(167, 198, 237, 0.2);
  background: rgba(6, 18, 34, 0.6);
  padding: 0.75rem 0.9rem;
  color: #a8c8e4;
  font-size: 0.92rem;
}
.game-meta-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}
.game-meta-grid .kpi {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(163, 198, 235, 0.18);
  text-align: center;
  padding: 0.8rem 0.6rem;
}
.game-meta-grid .kpi strong {
  color: #fff;
  font-family: 'Orbitron', 'Rajdhani', sans-serif;
}
.payout-board {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.payout-board article {
  border-radius: 12px;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(167, 198, 237, 0.18);
}
.payout-board h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: var(--accent);
}
.payout-board p {
  margin: 0;
  color: #a8c8e4;
  font-size: 0.88rem;
}
.payline-list {
  margin-top: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(157, 190, 231, 0.18);
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
}
.payline-list strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #d0e4f8;
}
.payline-list ol {
  margin: 0;
  padding-left: 1.2rem;
  color: #a0bcd8;
  font-size: 0.88rem;
}
.payline-list ol li {
  margin-bottom: 0.2rem;
}
.wheel-stage {
  padding: 1.2rem;
}
.wheel-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: center;
}
.wheel-box {
  display: flex;
  justify-content: center;
  align-items: center;
}
.wheel-shell-xl {
  position: relative;
  width: min(380px, 75vw);
  aspect-ratio: 1 / 1;
}
.wheel-rotor {
  position: absolute;
  inset: 0;
  transition: transform 5s cubic-bezier(0.15, 0.92, 0.14, 1);
}
#wheel-xl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 10px solid rgba(179, 214, 250, 0.28);
  background: conic-gradient(
    #ff9966 0deg 30deg,
    #ff8fab 30deg 60deg,
    #7be0c3 60deg 90deg,
    #61dafb 90deg 120deg,
    #b399ff 120deg 150deg,
    #ffd166 150deg 180deg,
    #4ade80 180deg 210deg,
    #74d8ff 210deg 240deg,
    #ffb56b 240deg 270deg,
    #89f0c2 270deg 300deg,
    #f4a261 300deg 330deg,
    #c8a2ff 330deg 360deg
  );
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.1),
    0 20px 50px rgba(0, 0, 0, 0.4);
}
.wheel-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.wheel-label {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 0.22rem 0.4rem;
  border-radius: 6px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  color: #0e2240;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(14, 34, 64, 0.2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.wheel-pointer-xl {
  position: absolute;
  top: -8px;
  left: calc(50% - 14px);
  z-index: 10;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 26px solid #fff;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}
.wheel-center-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: 100px;
  height: 100px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(10, 20, 38, 0.94);
  border: 3px solid rgba(255, 210, 130, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #ffd89e;
  font-family: 'Orbitron', 'Rajdhani', sans-serif;
  line-height: 1.2;
}
.wheel-panel {
  border-radius: 16px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(161, 195, 237, 0.18);
}
.wheel-panel h3 {
  margin: 0 0 0.5rem;
}
.wheel-controls {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.toggle-btn {
  border-radius: 8px;
  border: 1px solid rgba(255, 200, 110, 0.55);
  background: rgba(255, 198, 102, 0.12);
  color: #ffe0b0;
  font-weight: 700;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  font-size: 0.88rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.toggle-btn:hover {
  background: rgba(255, 198, 102, 0.22);
}
.toggle-btn.active {
  background: rgba(255, 198, 102, 0.32);
  border-color: rgba(255, 200, 110, 0.8);
}
.segment-chip-grid {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
}
.segment-chip {
  border-radius: 8px;
  padding: 0.38rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(165, 198, 239, 0.18);
  text-align: center;
  color: #c0d8f0;
}
.wheel-result-box {
  margin-top: 0.9rem;
  min-height: 60px;
  border-radius: 10px;
  border: 1px solid rgba(167, 198, 237, 0.18);
  background: rgba(6, 18, 34, 0.55);
  padding: 0.7rem 0.85rem;
  color: #a8c8e4;
  font-size: 0.9rem;
}
.memory-stage-enhanced {
  padding: 1.2rem;
}
.memory-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.mode-switch {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(163, 199, 239, 0.22);
  overflow: hidden;
}
.mode-switch button {
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  color: #c0d8f0;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.88rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.mode-switch button:hover {
  background: rgba(255, 255, 255, 0.12);
}
.mode-switch button.active {
  background: linear-gradient(145deg, var(--accent), #17a8df);
  color: #fff;
}
.memory-board-enhanced {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.memory-tile {
  position: relative;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  perspective: 1000px;
  aspect-ratio: 1 / 1;
  padding: 0;
}
.memory-tile-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.45s ease;
}
.memory-tile.flipped .memory-tile-inner,
.memory-tile.matched .memory-tile-inner {
  transform: rotateY(180deg);
}
.memory-face {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.memory-face.front {
  border: 1px solid rgba(160, 197, 237, 0.22);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.14), transparent 50%),
    linear-gradient(145deg, #1a3d5c, #122a42);
}
.memory-face.back {
  transform: rotateY(180deg);
  border: 1px solid rgba(255, 210, 120, 0.5);
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.18), transparent 55%),
    linear-gradient(145deg, #2a5278, #163a58);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}
.memory-tile.matched .memory-face.back {
  border-color: rgba(74, 222, 128, 0.6);
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.4), 0 0 16px rgba(74, 222, 128, 0.3);
}
.memory-front-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  color: #f0f8ff;
  text-shadow: 0 0 10px rgba(167, 240, 255, 0.6);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.3), transparent 55%),
    linear-gradient(145deg, #30d4c0, #2878f0);
  border: 1px solid rgba(230, 248, 255, 0.7);
  box-shadow:
    0 0 0 2px rgba(18, 42, 68, 0.4),
    0 8px 18px rgba(10, 22, 38, 0.45),
    0 0 14px rgba(80, 200, 255, 0.4);
}
.memory-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}
.memory-metrics .kpi {
  border: 1px solid rgba(163, 199, 239, 0.18);
  text-align: center;
}
.memory-metrics .kpi strong {
  font-family: 'Orbitron', 'Rajdhani', sans-serif;
}
@media (max-width: 1100px) {
  .wheel-layout {
    grid-template-columns: 1fr;
  }
  .wheel-box {
    order: -1;
  }
  .game-meta-grid,
  .memory-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .slot-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .slot-cell {
    min-height: 90px;
  }
  .slot-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .bet-cluster {
    justify-content: center;
  }
  .spin-main-btn {
    width: 100%;
  }
  .aux-buttons {
    justify-content: center;
  }
  .payout-board {
    grid-template-columns: 1fr;
  }
  .segment-chip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 580px) {
  .slot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .game-meta-grid,
  .memory-metrics {
    grid-template-columns: 1fr;
  }
  .memory-top {
    flex-direction: column;
    align-items: stretch;
  }
  .mode-switch {
    justify-content: center;
  }
  .aux-buttons {
    justify-content: center;
  }
}