:root {
  --bg0: #050812;
  --bg1: #0b1020;
  --panel: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.08);
  --ink: #f5f7ff;
  --muted: #b9c3ea;
  --muted2: #93a0cd;
  --cyan: #45f2ff;
  --pink: #ff5dde;
  --lime: #b8ff43;
  --amber: #ffd166;
  --danger: #ff6b84;
  --ok: #65ffbe;
  --r1: 12px;
  --r2: 18px;
  --maxw: 1180px;
  --display: "Audiowide", "Trebuchet MS", sans-serif;
  --body: "Space Grotesk", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.5;
  background:
    linear-gradient(180deg, rgba(3, 5, 10, 0.78), rgba(5, 8, 16, 0.9)),
    url("../img/background.jpg") center center / cover no-repeat fixed,
    radial-gradient(circle at 15% 12%, rgba(69, 242, 255, 0.16), transparent 34%),
    radial-gradient(circle at 85% 14%, rgba(255, 93, 222, 0.14), transparent 34%),
    radial-gradient(circle at 50% 120%, rgba(184, 255, 67, 0.08), transparent 42%),
    linear-gradient(180deg, #0a0f1d, #050812 60%, #04060c);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 25%, black 40%, transparent 100%);
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 16%, rgba(69,242,255,0.08), transparent 36%),
    radial-gradient(circle at 82% 18%, rgba(255,93,222,0.08), transparent 34%),
    radial-gradient(circle at 50% 82%, rgba(184,255,67,0.04), transparent 42%);
  filter: blur(8px);
}

.meteor-layer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  opacity: 0.72;
}

.meteor-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(69, 242, 255, 0.03), transparent 32%),
    radial-gradient(circle at 78% 16%, rgba(255, 93, 222, 0.03), transparent 30%),
    radial-gradient(circle at 52% 38%, rgba(255, 255, 255, 0.02), transparent 34%);
  filter: blur(2px);
}

.meteor {
  position: absolute;
  height: 2px;
  width: var(--len, 120px);
  border-radius: 999px;
  opacity: 0;
  transform-origin: right center;
  transform: translate3d(0, 0, 0) rotate(var(--angle, 135deg));
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    var(--trail, rgba(69, 242, 255, 0.18)) 30%,
    var(--trail-strong, rgba(69, 242, 255, 0.9)) 75%,
    rgba(255, 255, 255, 0.78)
  );
  box-shadow:
    0 0 5px var(--shadow, rgba(69, 242, 255, 0.14)),
    0 0 12px var(--shadow-soft, rgba(69, 242, 255, 0.06));
  filter: saturate(0.92);
  will-change: transform, opacity;
  animation: meteorFall var(--dur, 9s) linear infinite;
  animation-delay: var(--delay, 0s);
}

.meteor::before {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translate(50%, -50%);
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 0 7px var(--shadow, rgba(69, 242, 255, 0.22)),
    0 0 14px var(--shadow-soft, rgba(69, 242, 255, 0.1));
}

.meteor::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 26px;
  height: 12px;
  transform: translate(25%, -50%);
  border-radius: 999px;
  background: radial-gradient(circle at 15% 50%, rgba(255,255,255,0.55), transparent 72%);
  filter: blur(5px);
  opacity: 0.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 8px 10px;
  z-index: 999;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(4, 7, 14, 0.95), rgba(4, 7, 14, 0.78));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  width: min(var(--maxw), calc(100% - 24px));
  margin: 0 auto;
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), transparent 35%),
    radial-gradient(circle at 70% 70%, rgba(184,255,67,0.6), transparent 45%),
    linear-gradient(145deg, rgba(69,242,255,0.2), rgba(255,93,222,0.2));
  box-shadow: 0 0 0 1px rgba(69,242,255,0.25), 0 0 18px rgba(69,242,255,0.18);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(69, 242, 255, 0.3);
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(69,242,255,0.06), rgba(255,93,222,0.04));
  z-index: 2;
  pointer-events: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
  display: block;
  transform: scale(1.02);
  filter: saturate(1.08) contrast(1.04);
}

.brand-copy strong {
  display: block;
  font-family: var(--display);
  letter-spacing: 0.04em;
  font-size: 0.94rem;
}

.brand-copy span {
  display: block;
  color: var(--muted2);
  font-size: 0.73rem;
}

.site-nav {
  display: flex;
  justify-content: center;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 9px 11px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: 0.16s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(69, 242, 255, 0.07);
  border-color: rgba(69, 242, 255, 0.16);
  color: var(--ink);
  outline: none;
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 93, 222, 0.09);
  border-color: rgba(255, 93, 222, 0.2);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.coin-pill,
.age-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
}

.coin-pill {
  gap: 6px;
  color: var(--muted);
}

.coin-pill strong {
  color: var(--amber);
}

.age-pill {
  border-radius: 10px;
  color: #ffd6df;
  background: rgba(255, 107, 132, 0.08);
  border-color: rgba(255, 107, 132, 0.22);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 0;
  position: relative;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--ink);
  border-radius: 5px;
  transition: 0.2s ease;
}

.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

main {
  flex: 1 1 auto;
}

.page {
  width: min(var(--maxw), calc(100% - 24px));
  margin: 0 auto;
  padding: 22px 0 40px;
}

.page-head {
  margin-bottom: 14px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(69, 242, 255, 0.08);
  border: 1px solid rgba(69, 242, 255, 0.16);
  color: var(--ink);
  font-size: 0.8rem;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(69, 242, 255, 0.7);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-top: 12px;
  letter-spacing: 0.02em;
}

.page-subtitle {
  margin-top: 8px;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 72ch;
}

.hero {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 14px;
}

.panel,
.surface,
.card,
.game-panel {
  background: linear-gradient(180deg, rgba(20, 26, 48, 0.94), rgba(8, 12, 24, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r2);
}

.hero-copy {
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  left: -40px;
  top: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 242, 255, 0.15), transparent 70%);
  animation: pulse 7s ease-in-out infinite;
}

.hero-copy::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -60px;
  top: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 93, 222, 0.13), transparent 70%);
  animation: pulse 8s ease-in-out infinite reverse;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.hero-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.button {
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: 0.16s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
  outline: none;
}

.button[aria-pressed="true"] {
  background: linear-gradient(180deg, rgba(69, 242, 255, 0.2), rgba(255, 93, 222, 0.08));
  border-color: rgba(69, 242, 255, 0.28);
  box-shadow: 0 0 18px rgba(69,242,255,0.08);
}

.button-primary {
  background: linear-gradient(180deg, rgba(69, 242, 255, 0.18), rgba(69, 242, 255, 0.06));
  border-color: rgba(69, 242, 255, 0.28);
  box-shadow: 0 0 22px rgba(69, 242, 255, 0.08);
}

.button-pink {
  background: linear-gradient(180deg, rgba(255, 93, 222, 0.18), rgba(255, 93, 222, 0.06));
  border-color: rgba(255, 93, 222, 0.28);
  box-shadow: 0 0 22px rgba(255, 93, 222, 0.08);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.02);
}

button,
.button,
.relic,
.rune-card,
.nav-toggle {
  touch-action: manipulation;
}

button:disabled,
.button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.rune-card:focus-visible,
.relic:focus-visible {
  outline: 2px solid rgba(69, 242, 255, 0.55);
  outline-offset: 2px;
}

.page-head > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.page-head > * + * {
  margin-top: 10px;
}

.surface > *:first-child,
.card > *:first-child,
.footer-disclaimer > *:first-child,
.age-card > *:first-child {
  margin-top: 0;
}

.surface > *,
.card > *,
.footer-disclaimer > *,
.age-card > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.surface > *:last-child,
.card > *:last-child,
.footer-disclaimer > *:last-child,
.age-card > *:last-child {
  margin-bottom: 0;
}

.surface > * + *,
.footer-disclaimer > * + *,
.age-card > * + * {
  margin-top: 10px;
}

.card:not(.game-card) > * + * {
  margin-top: 8px;
}

.surface > .section-title,
.surface > .mini-title,
.card > h3 {
  margin-bottom: 0;
}

.surface > .page-subtitle {
  margin-top: 0;
}

.surface .hero-actions,
.card .hero-actions,
.game-sidebar .hero-actions {
  margin-top: 10px;
}

.surface > .badge-row,
.card > .badge-row {
  margin-top: 10px;
}

.surface > .grid-2,
.surface > .grid-3,
.surface > .stat-grid,
.surface > .table-wrap,
.surface > .timeline,
.surface > .faq-item,
.surface > .achievements-grid,
.surface > .form-grid {
  margin-top: 12px;
}

.surface > .notice,
.surface > .disclaimer-box,
.surface > .cta-strip {
  margin-top: 12px;
}

.legal article > *,
.content article > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.legal article > * + *,
.content article > * + * {
  margin-top: 12px;
}

.legal article > h2,
.content article > h2 {
  margin-top: 18px;
}

.legal article > h2:first-child,
.content article > h2:first-child {
  margin-top: 0;
}

.hero-side {
  padding: 14px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.hero-board {
  min-height: 250px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(6, 9, 18, 0.22), rgba(6, 9, 18, 0.62)),
    url("../img/main.jpg") center center / cover no-repeat,
    radial-gradient(circle at 20% 20%, rgba(69,242,255,0.14), transparent 35%),
    radial-gradient(circle at 78% 20%, rgba(255,93,222,0.13), transparent 35%),
    radial-gradient(circle at 50% 85%, rgba(184,255,67,0.07), transparent 45%),
    rgba(255,255,255,0.02);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 0 30px rgba(69,242,255,0.06);
}

.hero-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at 50% 48%, black 45%, transparent 90%);
}

.hero-board::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,10,20,0.06), rgba(6,10,20,0.22) 44%, rgba(6,10,20,0.64)),
    radial-gradient(circle at 50% 20%, rgba(255,255,255,0.04), transparent 52%);
  pointer-events: none;
}

.hero-board .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: float 8s ease-in-out infinite;
}

.hero-board .orb.c1 {
  width: 100px;
  height: 100px;
  left: 12%;
  top: 16%;
  background: radial-gradient(circle, rgba(69,242,255,0.42), transparent 72%);
}

.hero-board .orb.c2 {
  width: 118px;
  height: 118px;
  right: 12%;
  top: 20%;
  background: radial-gradient(circle, rgba(255,93,222,0.38), transparent 72%);
  animation-delay: 0.6s;
}

.hero-board .orb.c3 {
  width: 150px;
  height: 150px;
  left: 34%;
  bottom: -18px;
  background: radial-gradient(circle, rgba(184,255,67,0.18), transparent 72%);
  animation-duration: 10s;
}

.hero-board .tiles {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.hero-board .tile {
  min-height: 62px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(6, 10, 20, 0.48);
  backdrop-filter: blur(7px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8px;
  color: #d6e7ff;
  font-size: 0.82rem;
  animation: lift 6.6s ease-in-out infinite;
}

.hero-board .tile:nth-child(2) { animation-delay: 0.5s; }
.hero-board .tile:nth-child(3) { animation-delay: 1s; }

.stat-grid,
.grid-2,
.grid-3 {
  display: grid;
  gap: 12px;
}

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

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

.stat-card {
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
  padding: 10px;
}

.stat-card strong {
  display: block;
  font-family: var(--display);
  font-size: 1.12rem;
}

.stat-card span {
  color: var(--muted2);
  font-size: 0.82rem;
}

.badge-row,
.game-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge,
.game-chip {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  color: var(--muted);
  font-size: 0.78rem;
}

.notice,
.disclaimer-box {
  border-radius: 14px;
  padding: 11px 12px;
  font-size: 0.9rem;
}

.notice {
  border: 1px solid rgba(255, 209, 102, 0.24);
  background: rgba(255, 209, 102, 0.06);
  color: #ffe4ac;
}

.disclaimer-box {
  border: 1px solid rgba(255, 107, 132, 0.24);
  background: rgba(255, 107, 132, 0.06);
  color: #ffd5de;
}

.section {
  margin-top: 14px;
}

.section-title {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.12rem;
}

.surface,
.card,
.game-panel {
  padding: 14px;
}

.card {
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  left: -30px;
  top: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 242, 255, 0.1), transparent 72%);
}

.card > * {
  position: relative;
  z-index: 1;
}

.card h3 {
  font-family: var(--display);
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.game-card {
  display: grid;
  gap: 10px;
  grid-template-rows: auto auto 1fr auto;
}

.game-visual {
  min-height: 148px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  background:
    radial-gradient(circle at 18% 20%, rgba(69,242,255,0.14), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(255,93,222,0.14), transparent 35%),
    linear-gradient(160deg, rgba(69,242,255,0.06), rgba(255,93,222,0.04) 55%, rgba(184,255,67,0.03));
  position: relative;
  overflow: hidden;
}

.game-visual::selection {
  background: transparent;
}

.game-visual--relic {
  background:
    linear-gradient(180deg, rgba(5, 8, 16, 0.12), rgba(5, 8, 16, 0.38)),
    url("../img/sky-relic.jpg") center center / cover no-repeat;
}

.game-visual--spin {
  background:
    linear-gradient(180deg, rgba(5, 8, 16, 0.12), rgba(5, 8, 16, 0.36)),
    url("../img/neon-spinforge.jpg") center center / cover no-repeat;
}

.game-visual--duel {
  background:
    linear-gradient(180deg, rgba(5, 8, 16, 0.12), rgba(5, 8, 16, 0.36)),
    url("../img/rune-duel.jpg") center center / cover no-repeat;
}

.game-visual::before,
.game-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
}

.game-visual::before {
  width: 110px;
  height: 110px;
  left: -10px;
  top: -8px;
  background: radial-gradient(circle, rgba(69,242,255,0.24), transparent 72%);
  animation: float 8s ease-in-out infinite;
}

.game-visual::after {
  width: 130px;
  height: 130px;
  right: -15px;
  bottom: -18px;
  background: radial-gradient(circle, rgba(255,93,222,0.22), transparent 72%);
  animation: float 9.5s ease-in-out infinite reverse;
}

.feature-list,
.tick-list,
.legal-list,
.timeline,
.mini-list,
.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li,
.tick-list li,
.legal-list li,
.mini-list li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  margin: 6px 0;
}

.feature-list li::before,
.tick-list li::before,
.legal-list li::before,
.mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(69,242,255,0.6);
}

.timeline li {
  margin: 8px 0;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
  padding: 11px 12px;
}

.timeline-title {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-weight: 700;
}

.timeline-title .step {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #08101b;
  background: linear-gradient(180deg, var(--cyan), #d0ffff);
  box-shadow: 0 0 16px rgba(69,242,255,0.28);
  font-size: 0.84rem;
}

.timeline-title .date {
  color: var(--muted2);
  font-size: 0.86rem;
  font-weight: 500;
}

.timeline li p {
  margin: 6px 0 0;
  color: var(--muted);
}

.review-card blockquote {
  margin: 0;
  color: var(--ink);
}

.review-card footer {
  margin-top: 8px;
  color: var(--muted2);
  font-size: 0.86rem;
}

.rating {
  color: var(--amber);
  letter-spacing: 0.08em;
  font-size: 0.88rem;
}

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

.achievement-item {
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  padding: 10px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.achievement-item.locked {
  opacity: 0.62;
}

.achievement-item.unlocked {
  border-color: rgba(101,255,190,0.24);
  box-shadow: 0 0 0 1px rgba(101,255,190,0.08), 0 0 18px rgba(101,255,190,0.06);
}

.achievement-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(69,242,255,0.22);
  background: linear-gradient(180deg, rgba(69,242,255,0.16), rgba(255,93,222,0.08));
  box-shadow: 0 0 16px rgba(69,242,255,0.08);
  font-size: 1.1rem;
}

.achievement-meta strong {
  display: block;
}

.achievement-meta p {
  margin: 2px 0 0;
  color: var(--muted2);
  font-size: 0.84rem;
}

.achievement-status {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  font-size: 0.76rem;
}

.achievement-item.unlocked .achievement-status {
  color: #d2ffef;
  background: rgba(101,255,190,0.08);
  border-color: rgba(101,255,190,0.24);
}

.faq-item {
  margin: 8px 0;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 11px 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  font-weight: 600;
}

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

.faq-item summary::after {
  content: "+";
  font-family: var(--display);
  color: var(--cyan);
  transition: 0.16s ease;
}

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

.faq-body {
  padding: 0 12px 12px;
  color: var(--muted);
}

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

.form-field {
  display: grid;
  gap: 5px;
}

.form-span-2 {
  grid-column: span 2;
}

.form-field label {
  color: var(--muted);
  font-size: 0.86rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  padding: 10px 12px;
  color: var(--ink);
  outline: none;
  transition: 0.16s ease;
}

.form-field select option,
.form-field select optgroup {
  color: #0f1629;
  background: #f4f7ff;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(69,242,255,0.28);
  box-shadow: 0 0 0 3px rgba(69,242,255,0.08);
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.fineprint {
  color: var(--muted2);
  font-size: 0.82rem;
}

.form-status {
  margin-top: 6px;
  min-height: 1.2rem;
  color: var(--ok);
  font-size: 0.88rem;
}

.form-status.is-error {
  color: #ffd5de;
}

.table-wrap {
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: rgba(255,255,255,0.01);
}

th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

th {
  background: rgba(255,255,255,0.03);
}

td {
  color: var(--muted);
}

.cta-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(69,242,255,0.16);
  background: linear-gradient(180deg, rgba(69,242,255,0.07), rgba(255,255,255,0.02));
}

.cta-strip p {
  margin: 0;
  color: var(--muted);
}

.game-page {
  display: grid;
  gap: 12px;
}

.game-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 12px;
  align-items: start;
}

.game-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 10px;
}

.game-header h2 {
  font-family: var(--display);
  font-size: 1rem;
}

.score-row,
.game-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.game-controls {
  margin-top: 12px;
}

.game-controls + .fineprint {
  margin-top: 8px;
}

.score-pill {
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font-size: 0.8rem;
}

.score-pill strong {
  color: var(--ink);
}

.game-sidebar {
  display: grid;
  gap: 10px;
}

.game-photo-card {
  position: relative;
  overflow: hidden;
}

.showcase-photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255,255,255,0.02);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 0 22px rgba(69,242,255,0.04);
}

.showcase-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  filter: saturate(1.06) contrast(1.02);
}

.showcase-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 16, 0.05), rgba(5, 8, 16, 0.14) 40%, rgba(5, 8, 16, 0.5)),
    radial-gradient(circle at 20% 20%, rgba(69,242,255,0.12), transparent 38%),
    radial-gradient(circle at 80% 20%, rgba(255,93,222,0.12), transparent 36%);
  pointer-events: none;
}

.showcase-photo::after {
  content: "";
  position: absolute;
  inset: auto 8px 8px 8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(69,242,255,0.7), rgba(255,93,222,0.6), rgba(184,255,67,0.6));
  box-shadow: 0 0 14px rgba(69,242,255,0.18);
}

.showcase-photo-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(6,10,20,0.58);
  backdrop-filter: blur(6px);
  color: #e6f4ff;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

.showcase-photo-caption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
}

.showcase-photo-caption strong {
  color: var(--ink);
}

.game-vector-card {
  position: relative;
  overflow: hidden;
}

.game-vector-card::before,
.game-vector-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(14px);
  opacity: 0.65;
}

.game-vector-card::before {
  width: 180px;
  height: 180px;
  left: -30px;
  top: -50px;
  background: radial-gradient(circle, rgba(69, 242, 255, 0.18), transparent 70%);
}

.game-vector-card::after {
  width: 180px;
  height: 180px;
  right: -34px;
  bottom: -56px;
  background: radial-gradient(circle, rgba(255, 93, 222, 0.16), transparent 70%);
}

.vector-stage {
  position: relative;
  min-height: 180px;
  aspect-ratio: 16 / 8;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 18% 18%, rgba(69,242,255,0.1), transparent 35%),
    radial-gradient(circle at 80% 18%, rgba(255,93,222,0.1), transparent 35%),
    rgba(255, 255, 255, 0.02);
  overflow: hidden;
  padding: 10px;
  display: grid;
  align-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 0 20px rgba(69,242,255,0.04);
}

.vector-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.7;
  mask-image: radial-gradient(circle at 50% 50%, black 42%, transparent 92%);
}

.vector-stage svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

.vector-caption {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.vector-caption strong {
  color: var(--ink);
}

.neon-svg .glow-cyan {
  stroke: rgba(69, 242, 255, 0.95);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(69,242,255,0.45));
}

.neon-svg .glow-pink {
  stroke: rgba(255, 93, 222, 0.95);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(255,93,222,0.38));
}

.neon-svg .glow-lime {
  stroke: rgba(184, 255, 67, 0.9);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(184,255,67,0.35));
}

.neon-svg .fill-cyan {
  fill: rgba(69, 242, 255, 0.12);
  filter: drop-shadow(0 0 10px rgba(69,242,255,0.22));
}

.neon-svg .fill-pink {
  fill: rgba(255, 93, 222, 0.12);
  filter: drop-shadow(0 0 10px rgba(255,93,222,0.22));
}

.neon-svg .fill-amber {
  fill: rgba(255, 209, 102, 0.14);
  filter: drop-shadow(0 0 10px rgba(255,209,102,0.18));
}

.neon-svg .dot-cyan { fill: rgba(69, 242, 255, 0.95); filter: drop-shadow(0 0 8px rgba(69,242,255,0.55)); }
.neon-svg .dot-pink { fill: rgba(255, 93, 222, 0.95); filter: drop-shadow(0 0 8px rgba(255,93,222,0.5)); }
.neon-svg .dot-lime { fill: rgba(184, 255, 67, 0.95); filter: drop-shadow(0 0 8px rgba(184,255,67,0.45)); }
.neon-svg .soft-line { stroke: rgba(255,255,255,0.18); fill: none; stroke-linecap: round; stroke-linejoin: round; }

.game-vector-card--relic .vector-stage {
  background:
    radial-gradient(circle at 20% 18%, rgba(69,242,255,0.12), transparent 38%),
    radial-gradient(circle at 78% 20%, rgba(184,255,67,0.08), transparent 40%),
    radial-gradient(circle at 82% 80%, rgba(255,93,222,0.09), transparent 40%),
    rgba(255,255,255,0.02);
}

.game-vector-card--spin .vector-stage {
  background:
    radial-gradient(circle at 16% 20%, rgba(69,242,255,0.11), transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(255,209,102,0.06), transparent 45%),
    radial-gradient(circle at 84% 18%, rgba(255,93,222,0.1), transparent 35%),
    rgba(255,255,255,0.02);
}

.game-vector-card--duel .vector-stage {
  background:
    radial-gradient(circle at 20% 20%, rgba(69,242,255,0.12), transparent 36%),
    radial-gradient(circle at 80% 20%, rgba(255,93,222,0.12), transparent 36%),
    radial-gradient(circle at 50% 86%, rgba(184,255,67,0.07), transparent 45%),
    rgba(255,255,255,0.02);
}

.mini-title {
  margin: 0 0 6px;
  font-size: 0.9rem;
  font-weight: 700;
}

.mini-list li {
  padding-left: 14px;
  margin: 8px 0;
  font-size: 0.86rem;
}

.mini-list li::before {
  top: 0.52em;
  width: 6px;
  height: 6px;
}

.site-footer {
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(7,10,18,0.85), rgba(5,7,13,0.95));
}

.footer-inner {
  width: min(var(--maxw), calc(100% - 24px));
  margin: 0 auto;
  padding: 14px 0 16px;
  display: grid;
  gap: 12px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
}

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

.footer-nav a {
  color: var(--muted);
  font-size: 0.88rem;
  padding: 3px 0;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--ink);
  outline: none;
}

.footer-disclaimer {
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015)),
    radial-gradient(circle at 14% 18%, rgba(69,242,255,0.05), transparent 36%),
    radial-gradient(circle at 82% 20%, rgba(255,93,222,0.05), transparent 34%);
  padding: 11px 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-brandline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(69,242,255,0.22);
  box-shadow: 0 0 18px rgba(69,242,255,0.08);
  background: rgba(0,0,0,0.35);
}

.footer-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 56%;
}

.footer-brandcopy {
  display: grid;
  gap: 2px;
}

.footer-brandcopy strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}

.footer-brandcopy span {
  color: var(--muted2);
  font-size: 0.76rem;
}

.footer-disclaimer strong {
  color: #ffe4ea;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted2);
  font-size: 0.8rem;
}

.toast-stack {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 120;
  display: grid;
  gap: 8px;
  pointer-events: none;
}

.toast {
  min-width: 230px;
  max-width: 360px;
  pointer-events: auto;
  border-radius: 14px;
  border: 1px solid rgba(69,242,255,0.22);
  background: rgba(8, 13, 25, 0.94);
  box-shadow: 0 12px 26px rgba(0,0,0,0.35), 0 0 26px rgba(69,242,255,0.1);
  padding: 10px 12px;
  opacity: 0;
  transform: translateY(8px);
  animation: toastIn 0.22s ease forwards;
}

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

.toast.success {
  border-color: rgba(101,255,190,0.26);
}

.toast strong {
  display: block;
  margin-bottom: 2px;
}

.toast p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgba(3,5,10,0.78);
  backdrop-filter: blur(10px);
}

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

.age-card {
  width: min(560px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(19, 27, 50, 0.97), rgba(8, 11, 22, 0.98));
  box-shadow: 0 18px 44px rgba(0,0,0,0.45), 0 0 34px rgba(255,93,222,0.08);
  padding: 14px;
}

.age-card h2 {
  font-family: var(--display);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.age-card p {
  margin: 6px 0;
  color: var(--muted);
}

.age-card .actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.muted { color: var(--muted2); }
.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(69,242,255,0.3), rgba(255,93,222,0.3), transparent);
  margin: 8px 0;
}

/* Game 1: Relic Rush */
.relic-arena {
  position: relative;
  min-height: 410px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 16%, rgba(69,242,255,0.14), transparent 35%),
    radial-gradient(circle at 85% 18%, rgba(255,93,222,0.14), transparent 35%),
    linear-gradient(180deg, rgba(15, 22, 42, 0.98), rgba(8, 11, 22, 0.98));
}

.relic-lanes {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.relic-lane {
  position: relative;
  border-left: 1px solid rgba(255,255,255,0.04);
}

.relic-lane:first-child {
  border-left: none;
}

.relic-lane::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: 8%;
  bottom: 8%;
  border-radius: 999px;
  border: 1px dashed rgba(255,255,255,0.04);
}

.relic {
  position: absolute;
  left: 50%;
  width: 68px;
  height: 68px;
  transform: translateX(-50%);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background:
    radial-gradient(circle at 30% 26%, rgba(255,255,255,0.85), transparent 30%),
    radial-gradient(circle at 72% 72%, rgba(184,255,67,0.28), transparent 45%),
    linear-gradient(160deg, rgba(69,242,255,0.14), rgba(255,93,222,0.12));
  box-shadow: 0 8px 18px rgba(0,0,0,0.28), 0 0 18px rgba(69,242,255,0.1);
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
  animation: relicPulse 1.3s ease-in-out infinite;
}

.relic:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 20px rgba(0,0,0,0.28), 0 0 22px rgba(69,242,255,0.16);
}

.relic::before {
  content: "✦";
  color: #dbfcff;
  font-size: 1.35rem;
  text-shadow: 0 0 10px rgba(69,242,255,0.6);
}

.relic.golden {
  background:
    radial-gradient(circle at 30% 26%, rgba(255,255,255,0.9), transparent 30%),
    radial-gradient(circle at 72% 72%, rgba(255,209,102,0.34), transparent 45%),
    linear-gradient(160deg, rgba(255,209,102,0.18), rgba(255,93,222,0.1));
  box-shadow: 0 8px 18px rgba(0,0,0,0.28), 0 0 20px rgba(255,209,102,0.16);
}

.relic.bomb {
  background:
    radial-gradient(circle at 30% 26%, rgba(255,255,255,0.75), transparent 30%),
    radial-gradient(circle at 72% 72%, rgba(255,107,132,0.34), transparent 45%),
    linear-gradient(160deg, rgba(255,107,132,0.16), rgba(90,23,40,0.12));
  box-shadow: 0 8px 18px rgba(0,0,0,0.28), 0 0 20px rgba(255,107,132,0.16);
}

.relic.bomb::before {
  content: "!";
  font-family: var(--display);
  color: #ffe5eb;
}

.relic.pop {
  animation: relicPop 0.24s ease forwards;
}

.arena-overlay {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 4;
}

.combo-meter {
  min-width: 170px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(5,8,16,0.55);
  padding: 8px 10px;
}

.combo-meter .label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.79rem;
}

.combo-meter .bar {
  margin-top: 6px;
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
}

.combo-meter .bar > span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  box-shadow: 0 0 12px rgba(69,242,255,0.3);
  transition: width 0.14s linear;
}

.floating-text {
  position: absolute;
  transform: translate(-50%, -50%);
  font-weight: 700;
  pointer-events: none;
  z-index: 6;
  animation: floatScore 0.7s ease forwards;
}

.floating-text.good { color: #d9ffff; }
.floating-text.great { color: #ffe4a1; }
.floating-text.bad { color: #ffd4df; }

/* Game 2: Spinforge */
.spin-stage {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 14%, rgba(69,242,255,0.12), transparent 36%),
    radial-gradient(circle at 84% 15%, rgba(255,93,222,0.12), transparent 36%),
    linear-gradient(180deg, rgba(14, 19, 37, 0.98), rgba(8, 12, 22, 0.98));
}

.spin-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
}

.spin-machine {
  position: relative;
  z-index: 1;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  padding: 12px;
}

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

.reel {
  position: relative;
  height: 246px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
}

.reel::before,
.reel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 54px;
  z-index: 2;
  pointer-events: none;
}

.reel::before {
  top: 0;
  background: linear-gradient(180deg, rgba(8,12,22,0.92), transparent);
}

.reel::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(8,12,22,0.92), transparent);
}

.reel-track {
  position: absolute;
  inset: 0 0 auto;
  transition: transform 0.9s cubic-bezier(.14,.8,.12,1);
}

.spin-machine.is-spinning .reel-track {
  transition: transform 0.09s linear;
}

.symbol {
  height: 82px;
  display: grid;
  place-items: center;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  font-family: var(--display);
  color: var(--ink);
  position: relative;
}

.symbol::before {
  content: attr(data-icon);
  display: block;
  font-size: 1.75rem;
  margin-bottom: 4px;
  filter: drop-shadow(0 0 10px rgba(69,242,255,0.14));
}

.symbol span {
  font-size: 0.72rem;
  color: var(--muted2);
}

.symbol.highlight {
  background: linear-gradient(180deg, rgba(69,242,255,0.13), rgba(255,93,222,0.08));
  box-shadow: inset 0 0 0 1px rgba(69,242,255,0.2);
}

.payline {
  position: absolute;
  left: 12px;
  right: 12px;
  top: calc(50% - 41px);
  height: 82px;
  z-index: 3;
  pointer-events: none;
  border-radius: 12px;
  border: 2px solid rgba(255,209,102,0.22);
  box-shadow: 0 0 22px rgba(255,209,102,0.1), inset 0 0 14px rgba(255,209,102,0.04);
}

.spin-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 4;
}

.spin-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0;
  box-shadow: 0 0 10px rgba(69,242,255,0.4);
  animation: particle 0.8s ease forwards;
}

.spin-result-panel {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.spin-result-panel p {
  margin: 0;
  color: var(--muted);
}

/* Game 3: Rune Duel Blitz */
.duel-stage {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 16%, rgba(69,242,255,0.12), transparent 35%),
    radial-gradient(circle at 80% 16%, rgba(255,93,222,0.12), transparent 35%),
    linear-gradient(180deg, rgba(14, 19, 36, 0.98), rgba(8, 11, 21, 0.98));
}

.duel-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
}

.duelist-card {
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  padding: 10px;
  position: relative;
  overflow: hidden;
}

.duelist-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 130px;
  height: 90px;
  background: radial-gradient(circle at 25% 30%, rgba(69,242,255,0.08), transparent 70%);
  pointer-events: none;
}

.duelist-card:last-child::before {
  background: radial-gradient(circle at 25% 30%, rgba(255,93,222,0.08), transparent 70%);
}

.duelist-card h3 {
  font-family: var(--display);
  font-size: 0.95rem;
}

.hp-bar {
  margin-top: 8px;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
}

.hp-bar span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #65ffbe, #45f2ff);
  box-shadow: 0 0 12px rgba(101,255,190,0.18);
  transition: width 0.25s ease;
}

.duel-hand {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.rune-card {
  min-height: 110px;
  perspective: 700px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: transform 0.16s ease;
}

.rune-card:disabled {
  cursor: default;
}

.rune-card:not(:disabled):hover {
  transform: translateY(-2px);
}

.rune-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.28s ease;
}

.rune-card.is-revealed .rune-card-inner {
  transform: rotateY(180deg);
}

.rune-face,
.rune-back {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  backface-visibility: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8px;
}

.rune-back {
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.08), transparent 40%),
    linear-gradient(160deg, rgba(69,242,255,0.12), rgba(255,93,222,0.1));
}

.rune-back::before {
  content: "◈";
  color: var(--cyan);
  font-size: 1.3rem;
  text-shadow: 0 0 10px rgba(69,242,255,0.4);
}

.rune-face {
  transform: rotateY(180deg);
  background: rgba(255,255,255,0.03);
}

.rune-face strong {
  display: block;
  font-size: 0.84rem;
}

.rune-face span {
  display: block;
  margin-top: 2px;
  color: var(--muted2);
  font-size: 0.72rem;
}

.duel-center {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.versus-mark {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at 35% 30%, rgba(69,242,255,0.2), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(255,93,222,0.16), transparent 48%),
    rgba(255,255,255,0.02);
  box-shadow: 0 0 16px rgba(69,242,255,0.1);
}

.reaction-zone {
  margin-top: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  padding: 10px;
}

.reaction-label {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
}

.meter-track {
  margin-top: 8px;
  height: 16px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  position: relative;
}

.meter-target {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 42%;
  width: 16%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(101,255,190,0.5), rgba(69,242,255,0.45));
  box-shadow: 0 0 10px rgba(101,255,190,0.16);
}

.meter-pointer {
  position: absolute;
  top: -2px;
  width: 18px;
  height: 20px;
  left: 0%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #d4e9ff);
  box-shadow: 0 0 10px rgba(255,255,255,0.35);
}

.round-log {
  margin-top: 10px;
  max-height: 180px;
  overflow: auto;
  display: grid;
  gap: 6px;
}

.round-log p {
  margin: 0;
  padding: 8px 9px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.02);
  color: var(--muted);
  font-size: 0.84rem;
}

/* Animations */
@keyframes pulse {
  0%, 100% { transform: scale(0.98); opacity: 0.85; }
  50% { transform: scale(1.05); opacity: 1; }
}

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

@keyframes lift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

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

@keyframes relicPulse {
  0%, 100% { transform: translateX(-50%) scale(0.98); }
  50% { transform: translateX(-50%) scale(1.03); }
}

@keyframes relicPop {
  to { transform: translateX(-50%) scale(1.2); opacity: 0; }
}

@keyframes floatScore {
  0% { opacity: 0; transform: translate(-50%, -30%); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -120%); }
}

@keyframes particle {
  0% { opacity: 0; transform: translate3d(0,0,0) scale(0.4); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--dx), var(--dy), 0) scale(1.1); }
}

@keyframes meteorFall {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(var(--angle, 145deg)) scaleX(0.88);
  }
  6% {
    opacity: var(--opacity, 0.95);
  }
  78% {
    opacity: var(--opacity, 0.95);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--dx, -680px), var(--dy, 520px), 0) rotate(var(--angle, 145deg)) scaleX(1.06);
  }
}

/* Responsive */
@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: auto auto;
    grid-template-areas: "brand actions" "nav nav";
    padding: 6px 0;
  }
  .brand { grid-area: brand; }
  .header-actions { grid-area: actions; justify-self: end; }
  .site-nav { grid-area: nav; justify-content: flex-start; }
  .hero { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body {
    background-attachment: scroll;
  }
  .header-inner {
    grid-template-columns: 1fr auto auto;
    grid-template-areas: "brand actions toggle";
    min-height: 64px;
    gap: 6px;
  }
  .nav-toggle { display: inline-block; grid-area: toggle; }
  .site-nav { display: none; grid-area: nav; margin-top: 4px; }
  .site-header.nav-open .header-inner {
    grid-template-areas: "brand actions toggle" "nav nav nav";
  }
  .site-header.nav-open .site-nav { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 6px;
    border-radius: 14px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
  }
  .meteor-layer {
    opacity: 0.72;
  }
  .meteor::before {
    width: 6px;
    height: 6px;
  }
  .meteor::after {
    width: 26px;
    height: 12px;
  }
  .site-nav a { justify-content: space-between; }
  .page {
    width: calc(100% - 16px);
    padding: 16px 0 26px;
  }
  .hero-copy,
  .hero-side,
  .surface,
  .card,
  .game-panel,
  .spin-stage,
  .duel-stage {
    padding: 12px;
  }
  .grid-2,
  .grid-3,
  .stat-grid,
  .form-grid,
  .achievements-grid {
    grid-template-columns: 1fr;
  }
  .form-span-2 { grid-column: auto; }
  .hero-board .tiles { grid-template-columns: 1fr; }
  .cta-strip { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
  .footer-brandline {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .footer-logo {
    width: 44px;
    height: 44px;
  }
  .vector-stage { min-height: 150px; padding: 8px; }
  .vector-caption { font-size: 0.82rem; }
  .relic-arena { min-height: 350px; }
  .relic { width: 56px; height: 56px; }
  .reel-window { gap: 6px; }
  .reel { height: 216px; }
  .symbol { height: 72px; }
  .payline { top: calc(50% - 36px); height: 72px; }
  .duel-grid { grid-template-columns: 1fr; }
  .duel-center { order: -1; }
  .spin-result-panel { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .meteor-layer {
    display: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
