:root {
  --bg: #060806;
  --bg-raise: #0A0D0A;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #EDF2EE;
  --text-dim: #8C978E;
  --green: #51D35F;
  --green-bright: #7BE164;
  --green-ink: #052B0C;
  --green-dim: rgba(81, 211, 95, 0.35);
  --gold: #FFD900;
  --radius: 14px;
  --radius-lg: 20px;
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 900px 480px at 78% -8%, rgba(81, 211, 95, 0.07), transparent 60%),
    radial-gradient(ellipse 700px 420px at 6% 38%, rgba(81, 211, 95, 0.04), transparent 60%),
    radial-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: auto, auto, 28px 28px;
  pointer-events: none;
}

/* ===== Scroll interactions ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--green-deep), var(--green), var(--green-bright));
  box-shadow: 0 0 12px rgba(81, 211, 95, 0.5);
  z-index: 200;
  pointer-events: none;
  will-change: transform;
}
.nav { transition: box-shadow 0.3s ease, background 0.3s ease; }
.nav.scrolled { box-shadow: 0 10px 34px -14px rgba(0, 0, 0, 0.7); background: rgba(6, 8, 6, 0.86); }

/* Scroll reveal — a clean fade only. No movement, so nothing shifts or
   overlaps as it comes into view. */
.reveal {
  opacity: 0;
  transition: opacity 0.55s ease;
}
.reveal.in {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .scroll-progress { display: none; }
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}

p { line-height: 1.7; color: var(--text-dim); margin: 0 0 1em; }
p strong { color: var(--text); font-weight: 600; }

.hl { color: var(--green); }

.kicker {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--green);
  margin: 0 0 16px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 13px 26px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-out), background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); transition-duration: 0.08s; }
.btn-primary {
  background: var(--green);
  color: var(--green-ink);
}
.btn-primary:hover {
  background: var(--green-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px -10px rgba(81, 211, 95, 0.55);
}
.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--green-dim);
  color: var(--green);
  transform: translateY(-1px);
}
.btn-nav { padding: 10px 20px; font-size: 0.85rem; }
.btn-big { padding: 15px 32px; font-size: 0.98rem; }
.btn:disabled { opacity: 0.5; cursor: wait; transform: none; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 8, 6, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 15px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-icon { width: 26px; height: 26px; border-radius: 6px; }
.brand-text { display: flex; align-items: baseline; gap: 9px; }

/* ===== Inline icons ===== */
.ico { width: 18px; height: 18px; vertical-align: -3px; }
.ico-lg { width: 24px; height: 24px; vertical-align: -5px; }
.h-ico { width: 30px; height: 30px; vertical-align: -6px; margin-right: 10px; }
.feature-index img { width: 20px; height: 20px; }

/* check-style bullet lists */
.featured-points.icons li { padding-left: 26px; }
.featured-points.icons li::before { display: none; }
.featured-points.icons li img {
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 17px;
  height: 17px;
}

/* ===== Gamepasses ===== */
.pass-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.3s var(--ease-spring), border-color 0.25s ease;
}
.pass-card:hover { transform: translateY(-4px); border-color: var(--green-dim); }
.pass-icon {
  width: 44px;
  height: 44px;
  padding: 9px;
  background: rgba(81, 211, 95, 0.06);
  border: 1px solid var(--green-dim);
  border-radius: 12px;
  margin-bottom: 10px;
}
.pass-icon img { width: 100%; height: 100%; display: block; }
.pass-card h3 { font-size: 1.05rem; margin: 0; }
.pass-card p { font-size: 0.87rem; margin: 0; }
.pass-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 9px;
}
.pass-note img { width: 18px; height: 18px; }
.brand-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: #fff;
}
.brand-logo em {
  font-style: normal;
  color: var(--green);
  display: inline-block;
  transform: skew(-10deg);
}
.brand-sub {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.5em;
  color: var(--green);
}
.nav-links { display: flex; gap: 2px; flex: 1; justify-content: center; }
.nav-links a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-dim);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.is-current { color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-signin {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s ease;
}
.nav-signin:hover { color: var(--green); }

/* ===== Page header (subpages) ===== */
.page-head {
  max-width: 1180px;
  margin: 0 auto;
  padding: 84px 28px 8px;
}
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.025em; }
.section-tight { padding-top: 40px; }
.section-foot { margin-top: 32px; text-align: center; }
.crumb {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 16px;
}
.crumb a { color: var(--green); }
.crumb a:hover { text-decoration: underline; }

/* ===== Hero spotlight (home) ===== */
.spotlight {
  display: block;
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
  transition: transform 0.3s var(--ease-spring), border-color 0.25s ease;
}
.spotlight:hover { transform: translateY(-4px); border-color: var(--green-dim); }
.spotlight-media { aspect-ratio: 768 / 432; background: #040504; }
.spotlight-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spotlight-body { padding: 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.spotlight-kicker {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
}
.spotlight-name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: #fff; }
.spotlight-desc { font-size: 0.88rem; color: var(--text-dim); line-height: 1.6; }
.spotlight-link {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--green);
}

/* ===== Project cards (home preview) ===== */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), border-color 0.25s ease;
}
.project-card[href]:hover { transform: translateY(-4px); border-color: var(--green-dim); }
.project-media { aspect-ratio: 768 / 432; background: #040504; position: relative; }
.project-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-media-mystery { display: grid; place-items: center; background: var(--bg-raise); }
.project-media-mystery span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.6rem;
  color: var(--green);
  opacity: 0.7;
}
.project-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.project-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.project-title-row h3, .project-title-row h2 { margin: 0; font-size: 1.15rem; }
.project-body p { font-size: 0.88rem; margin: 0; }
.project-link {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--green);
}

/* ===== Project rows (projects page) ===== */
.project-row {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 18px;
  transition: transform 0.3s var(--ease-spring), border-color 0.25s ease;
}
a.project-row:hover { transform: translateY(-3px); border-color: var(--green-dim); }
.project-row-media { position: relative; min-height: 220px; background: #040504; }
.project-row-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-row-media.project-media-mystery { display: grid; place-items: center; position: static; }
.project-row-body { padding: 34px 38px; display: flex; flex-direction: column; gap: 10px; }
.project-row-body .project-title-row { justify-content: flex-start; gap: 14px; }
.project-row-body h2 { font-size: 1.5rem; }
.project-row-meta {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0;
}
.project-row-body > p:not(.project-row-meta) { font-size: 0.93rem; margin: 0; }
.project-row .project-link { margin-top: 6px; padding-top: 0; }

/* ===== Hero ===== */
.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 28px 72px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 3.9rem); letter-spacing: -0.025em; }
.lead { font-size: 1.06rem; max-width: 48ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 40px; }

.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  max-width: 460px;
}
.stat { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.stat + .stat { border-left: 1px solid var(--border); padding-left: 24px; }
.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; }

/* Hero slot card */
.slot {
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.slot-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.slot-live {
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.slot-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }
.slot-reel {
  height: 112px;
  display: grid;
  place-items: center;
  background: #040504;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.slot-reel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #040504, transparent 32%, transparent 68%, #040504);
  pointer-events: none;
}
.slot-name {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.02em;
}
.slot-name.is-landed { animation: land 0.45s var(--ease-spring); text-shadow: 0 0 28px currentColor; }
@keyframes land {
  from { transform: scale(0.6) translateY(14px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.slot-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 0.76rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

/* ===== Ticker ===== */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-raise);
  padding: 13px 0;
}
.ticker-track {
  display: flex;
  gap: 46px;
  width: max-content;
  animation: scroll 46s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
}
.ticker-track span { opacity: 0.82; }
.ticker-track span::after { content: "·"; margin-left: 46px; color: rgba(255, 255, 255, 0.18); }
@keyframes scroll { to { transform: translateX(calc(-100% / 3)); } }

/* ===== Sections ===== */
.section { max-width: 1180px; margin: 0 auto; padding: 92px 28px; }
.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.section-sub { font-size: 1rem; max-width: 60ch; }
.big-odds {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.4vw, 3.8rem);
  letter-spacing: -0.02em;
  margin: 10px 0 16px;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

/* ===== Featured game ===== */
.featured-game {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
.featured-media { position: relative; min-height: 340px; }
.featured-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-info { padding: 44px 46px; display: flex; flex-direction: column; gap: 16px; }
.featured-title-row { display: flex; align-items: center; gap: 16px; }
.featured-icon { width: 60px; height: 60px; border-radius: 14px; border: 1px solid var(--border); }
.featured-title-row h3 { font-size: 1.6rem; margin: 0; }
.featured-meta { font-size: 0.82rem; color: var(--text-dim); }
.featured-desc { font-size: 0.96rem; margin: 0; }
.featured-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.featured-points li {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}
.featured-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--green);
}
.featured-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.more-games { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mini-game {
  display: grid;
  grid-template-columns: 190px 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.3s var(--ease-spring);
}
.mini-game:hover { border-color: var(--green-dim); transform: translateY(-3px); }
.mini-thumb { position: relative; min-height: 140px; }
.mini-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.4) brightness(0.55); }
.mini-thumb-mystery { display: grid; place-items: center; background: var(--bg-raise); }
.mini-thumb-mystery span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.4rem;
  color: var(--green);
  opacity: 0.7;
}
.mini-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 5px; }
.mini-body h3 { font-size: 1.1rem; margin: 0; }
.mini-body p { font-size: 0.87rem; margin: 0 0 10px; }
.tag {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 5px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.tag-live { background: rgba(81, 211, 95, 0.08); border-color: var(--green-dim); color: var(--green); }
.inline-link { color: var(--green); font-weight: 500; }
.inline-link:hover { text-decoration: underline; }

/* ===== Simulator ===== */
.sim {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 38px;
  text-align: center;
}
.sim.is-shaking { animation: shake 0.45s ease; }
@keyframes shake {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(var(--shake, 4px), calc(var(--shake, 4px) * -0.6)); }
  40% { transform: translate(calc(var(--shake, 4px) * -1), calc(var(--shake, 4px) * 0.5)); }
  60% { transform: translate(calc(var(--shake, 4px) * 0.7), var(--shake, 4px)); }
  80% { transform: translate(calc(var(--shake, 4px) * -0.5), calc(var(--shake, 4px) * -0.4)); }
}
.sim-window {
  height: 96px;
  display: grid;
  place-items: center;
  background: #040504;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 18px;
  overflow: hidden;
}
.sim-placeholder { color: var(--text-dim); font-size: 0.9rem; }
.sim-frame {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.8vw, 2.1rem);
  letter-spacing: 0.08em;
}
.sim-landed { animation: land 0.45s var(--ease-spring); text-shadow: 0 0 24px currentColor; }
.sim-result { min-height: 28px; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 20px; }
.sim-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  background: #040504;
  border: 1px solid var(--rc, var(--border));
  border-radius: 10px;
  padding: 10px 20px;
  box-shadow: 0 0 24px -8px var(--rc, transparent);
  animation: land 0.4s var(--ease-spring);
}
.sim-tag-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--rc, var(--text));
  font-variant-numeric: tabular-nums;
}
.sim-tag-facts { font-size: 0.78rem; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.sim-badge {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 7px 14px;
  animation: land 0.45s var(--ease-spring);
}
.sim-badge-lucky { background: rgba(255, 217, 0, 0.07); border: 1px solid rgba(255, 217, 0, 0.35); color: var(--gold); }
.sim-badge-unique { background: rgba(0, 255, 170, 0.06); border: 1px solid rgba(0, 255, 170, 0.35); color: #00FFAA; }
.sim-controls { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.sim-luck { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.sim-luck-label { font-size: 0.84rem; font-weight: 500; color: var(--text-dim); }
.sim-luck-opts {
  display: inline-flex;
  gap: 4px;
  background: #040504;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
}
.luck-opt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-dim);
  background: transparent;
  border: 0;
  border-radius: 7px;
  padding: 7px 14px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  font-variant-numeric: tabular-nums;
}
.luck-opt:hover { color: var(--text); }
.luck-opt.is-active { background: var(--green); color: var(--green-ink); }
.sim-meta { font-size: 0.8rem; margin: 18px 0 0; font-variant-numeric: tabular-nums; }
.sim-banner {
  margin-top: 18px;
  border-radius: 10px;
  padding: 13px 18px;
  font-weight: 500;
  font-size: 0.86rem;
  animation: land 0.45s var(--ease-spring);
}
/* Exact in-game announcement colors */
.sim-banner-global { background: rgba(149, 0, 255, 0.1); border: 1px solid #9500FF; color: #D9A6FF; }
.sim-banner-server { background: rgba(255, 129, 245, 0.07); border: 1px solid #FF81F5; color: #FF81F5; }

/* ===== Rarity grid ===== */
.rarity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rarity-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 166px;
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), border-color 0.25s ease, box-shadow 0.3s var(--ease-out);
  box-shadow: 0 0 var(--glow-r, 0px) calc(var(--glow-r, 0px) / 7) var(--glow-c, transparent);
}
.rarity-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--rc);
  opacity: 0.9;
}
.rarity-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.rarity-elite { animation: elite 3.6s ease-in-out infinite; }
@keyframes elite {
  0%, 100% { box-shadow: 0 0 var(--glow-r, 18px) calc(var(--glow-r, 18px) / 7) var(--glow-c, transparent); }
  50% { box-shadow: 0 0 calc(var(--glow-r, 18px) * 1.55) calc(var(--glow-r, 18px) / 3.6) var(--glow-c, transparent); }
}
.rarity-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rarity-chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 5px 13px;
  border-radius: 7px;
  background: #050805;
  border: 1px solid var(--rc);
  color: var(--rc);
}
.rarity-star {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.76rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rarity-odds {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.rarity-facts { font-size: 0.76rem; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.rarity-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.r-badge {
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 4px 9px;
}
.r-badge-server { background: rgba(255, 129, 245, 0.06); border: 1px solid rgba(255, 129, 245, 0.4); color: #FF81F5; }
.r-badge-global { background: rgba(149, 0, 255, 0.08); border: 1px solid rgba(149, 0, 255, 0.5); color: #C77DFF; }
.r-badge-unique { background: rgba(0, 255, 170, 0.05); border: 1px solid rgba(0, 255, 170, 0.35); color: #00FFAA; }

/* One-of-a-kind grail row */
.rarity-grail-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.rarity-grail-head .grail-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: #00FFAA;
}
.rarity-grail-head .grail-sub { font-size: 0.85rem; color: var(--text-dim); }
.rarity-grail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rarity-grail .rarity-card { min-height: 180px; }

/* ===== Theme grid ===== */
.theme-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.theme-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.28s var(--ease-spring), border-color 0.25s ease, box-shadow 0.3s var(--ease-out);
}
.theme-chip:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 32px -18px rgba(0, 0, 0, 0.7);
}
.theme-swatch {
  display: block;
  height: 70px;
  width: 100%;
  position: relative;
}
.theme-swatch::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25), inset 0 0 40px rgba(0, 0, 0, 0.12);
}
.theme-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px 13px;
}
.theme-name { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; }
.theme-stars {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ===== Effects + potions ===== */
.loot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.loot-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}
.loot-title { font-size: 1.5rem; }
.effect-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.effect-chip {
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 13px;
  color: var(--text);
  transition: border-color 0.2s ease, transform 0.25s var(--ease-spring);
  font-variant-numeric: tabular-nums;
}
.effect-chip:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.effect-chip em { font-style: normal; color: var(--text-dim); margin-left: 4px; }
.effect-exclusive { border-color: rgba(200, 0, 255, 0.45); background: rgba(200, 0, 255, 0.06); }
.effect-exclusive em { color: #C800FF; }
.potion-list { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.potion-row {
  display: grid;
  grid-template-columns: 12px auto 1fr auto;
  align-items: center;
  gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 15px;
  transition: border-color 0.2s ease, transform 0.25s var(--ease-spring);
}
.potion-row:hover { transform: translateX(4px); border-color: var(--border-strong); }
.potion-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pc); box-shadow: 0 0 10px var(--pc); }
.potion-name { font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; white-space: nowrap; }
.potion-desc { font-size: 0.78rem; color: var(--text-dim); }
.potion-src {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-dim);
  text-align: right;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== World / economy banners ===== */
.world-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.world-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.world-points { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.world-points li {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.55;
  padding-left: 18px;
  position: relative;
}
.world-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--green);
}
.world-visual { position: relative; display: grid; place-items: center; min-height: 240px; }
.listing {
  position: relative;
  z-index: 2;
  background: var(--bg-raise);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 240px;
  transform: rotate(-2deg);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.8);
  transition: transform 0.35s var(--ease-spring);
}
.listing:hover { transform: rotate(0deg) scale(1.02); }
.listing-back { position: absolute; z-index: 1; transform: rotate(4deg) translate(36px, 24px) scale(0.93); opacity: 0.6; }
.listing-kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
}
.listing-name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: #fff; }
.listing-odds { font-size: 0.82rem; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.listing-note {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

/* ===== Screenshot carousel ===== */
.carousel { margin-top: 28px; }
.carousel-viewport {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #040504;
  aspect-ratio: 16 / 9;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s var(--ease-out);
}
.slide {
  position: relative;
  margin: 0;
  min-width: 100%;
  height: 100%;
}
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 46px 26px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(6, 8, 6, 0.72);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.25s var(--ease-spring);
}
.carousel-arrow:hover {
  background: var(--green);
  color: var(--green-ink);
  border-color: var(--green);
  transform: translateY(-50%) scale(1.08);
}
.carousel-arrow:active { transform: translateY(-50%) scale(0.96); }
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }
.carousel-counter {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: rgba(6, 8, 6, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 5px 12px;
  font-variant-numeric: tabular-nums;
}
.carousel-thumbs { display: flex; gap: 10px; margin-top: 14px; }
.carousel-thumb {
  flex: 1;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 0;
  background: none;
  opacity: 0.45;
  transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-spring);
}
.carousel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-thumb:hover { opacity: 0.8; transform: translateY(-2px); }
.carousel-thumb.is-active { opacity: 1; border-color: var(--green); }

/* ===== Feature cards ===== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.3s var(--ease-spring), border-color 0.25s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--green-dim); }
.feature-index {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--green);
  background: rgba(81, 211, 95, 0.06);
  border: 1px solid var(--green-dim);
  border-radius: 9px;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.1rem; }
.feature-card p { font-size: 0.9rem; margin: 0; }

/* ===== Social ===== */
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.social-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.3s var(--ease-spring), border-color 0.25s ease;
  position: relative;
}
.social-card::after {
  content: "→";
  position: absolute;
  top: 24px;
  right: 26px;
  color: var(--text-dim);
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.25s var(--ease-spring);
}
.social-card:hover { transform: translateY(-3px); border-color: var(--green-dim); }
.social-card:hover::after { color: var(--green); transform: translate(3px, -3px); }
.social-name { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.social-handle { font-size: 0.8rem; color: var(--text-dim); }

/* ===== CTA ===== */
.cta { max-width: 1180px; margin: 0 auto; padding: 20px 28px 110px; }
.cta-card {
  text-align: center;
  background:
    radial-gradient(ellipse 620px 300px at 50% 0%, rgba(81, 211, 95, 0.08), transparent 65%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 80px 40px;
}
.cta-card h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 32px; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); background: var(--bg-raise); }
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 28px 44px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.footer-brand .brand-logo { font-size: 1.15rem; }
.footer-tagline { font-size: 0.86rem; margin: 0; }
.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 16px;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-dim);
  padding: 5px 0;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--green); }
.footer-legal { border-top: 1px solid var(--border); }
.footer-legal p {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 28px;
  font-size: 0.74rem;
  color: var(--text-dim);
}

/* ===== Auth pages (sign in / create account) ===== */
.auth-wrap {
  min-height: calc(100vh - 67px);
  display: grid;
  place-items: center;
  padding: 56px 24px 80px;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 38px;
}
.auth-head { text-align: center; margin-bottom: 26px; }
.auth-head .kicker { margin-bottom: 10px; }
.auth-head h1 { font-size: 1.7rem; }
.auth-head p { font-size: 0.92rem; margin: 8px 0 0; }
.auth-oauth { display: flex; flex-direction: column; gap: 10px; }
.oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.25s var(--ease-spring), background 0.2s ease;
}
.oauth-btn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, 0.05); }
.oauth-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.oauth-discord:hover { border-color: #5865F2; }
.oauth-roblox:hover { border-color: #E2231A; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  color: var(--text-dim);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 7px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: #040504;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(81, 211, 95, 0.14);
}
.field input::placeholder, .field textarea::placeholder { color: #55605a; }
.field-error { display: none; font-size: 0.76rem; color: #ff7a7a; margin-top: 6px; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #ff7a7a; }
.field.invalid .field-error { display: block; }
.field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.checkbox { display: inline-flex; align-items: center; gap: 8px; color: var(--text-dim); cursor: pointer; }
.checkbox input { width: 16px; height: 16px; accent-color: var(--green); flex-shrink: 0; }
.link-green { color: var(--green); font-weight: 500; }
.link-green:hover { text-decoration: underline; }
.btn-full { width: 100%; }
.auth-alt { text-align: center; font-size: 0.88rem; color: var(--text-dim); margin-top: 20px; }
.pw-meter { height: 5px; border-radius: 3px; background: var(--border); margin-top: 9px; overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; border-radius: 3px; transition: width 0.3s ease, background 0.3s ease; }
.pw-hint { font-size: 0.74rem; color: var(--text-dim); margin-top: 6px; }
.auth-notice {
  margin-top: 22px;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.55;
}
.auth-notice strong { color: var(--text); font-weight: 600; }
.form-note {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--green-dim);
  background: rgba(81, 211, 95, 0.06);
  color: var(--green);
  font-size: 0.88rem;
  line-height: 1.5;
}
.form-note.show { display: block; animation: land 0.4s var(--ease-spring); }
.form-note.warn { border-color: rgba(255, 200, 90, 0.4); background: rgba(255, 200, 90, 0.06); color: #ffca5c; }

/* ===== Support / help center ===== */
.support-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 56px; }
.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.3s var(--ease-spring), border-color 0.25s ease;
}
.support-card:hover { transform: translateY(-4px); border-color: var(--green-dim); }
.support-card h3 { font-size: 1.1rem; margin: 0; }
.support-card p { font-size: 0.9rem; margin: 0; flex: 1; }
.support-card .support-link { margin-top: 10px; font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; color: var(--green); }
.support-ico {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(81, 211, 95, 0.06);
  border: 1px solid var(--green-dim);
  border-radius: 12px;
  margin-bottom: 10px;
}
.support-ico svg { width: 22px; height: 22px; color: var(--green); }

.faq { max-width: 840px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq-item.open { border-color: var(--green-dim); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 19px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q::after {
  content: "+";
  color: var(--green);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out); }
.faq-item.open .faq-a { max-height: 340px; }
.faq-a-inner { padding: 0 22px 20px; }
.faq-a-inner p { margin: 0; font-size: 0.92rem; }
.faq-a-inner p + p { margin-top: 10px; }

.support-contact { max-width: 640px; }

/* ===== Cinematic video hero ===== */
.hero-cine {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-cine-media { position: absolute; inset: 0; z-index: 0; }
.hero-cine-media video,
.hero-cine-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-cine-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,8,6,0.5) 0%, rgba(6,8,6,0.25) 38%, rgba(6,8,6,0.96) 100%),
    radial-gradient(ellipse 90% 70% at 30% 40%, transparent 40%, rgba(6,8,6,0.55));
}
.hero-cine-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  padding: 0 28px 68px;
}
.hero-cine .kicker { color: var(--green); }
.hero-cine h1 {
  font-size: clamp(2.7rem, 6.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}
.hero-cine h1 .hl { text-shadow: 0 0 34px rgba(81, 211, 95, 0.55); }
.hero-cine .lead { font-size: 1.12rem; max-width: 50ch; color: #cdd6cf; }
.hero-cine-actions { display: flex; gap: 13px; flex-wrap: wrap; margin: 26px 0 8px; }

/* Game-page hero variant */
.hero-cine.hero-game { min-height: 74vh; align-items: center; }
.hero-game .hero-cine-inner { padding-top: 42px; padding-bottom: 50px; }
.hero-game .crumb { color: #cdd6cf; margin-bottom: 18px; }
.hero-game .crumb a { color: var(--green); }
.hero-game .crumb a:hover { text-decoration: underline; }
.game-hero-title { display: flex; align-items: center; gap: 20px; }
.game-hero-icon {
  width: 88px; height: 88px;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 16px 34px -12px rgba(0, 0, 0, 0.75);
  flex-shrink: 0;
}
.game-hero-title h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); margin: 0; letter-spacing: -0.025em; text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6); }
.game-hero-title .lead { margin: 8px 0 0; max-width: 48ch; }
@media (max-width: 560px) {
  .game-hero-title { flex-direction: column; align-items: flex-start; gap: 14px; }
  .game-hero-icon { width: 64px; height: 64px; }
}

/* ===== Live counters ===== */
.counters { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.counter {
  background: rgba(10, 13, 10, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 15px 22px;
  min-width: 148px;
}
.counter-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.counter-value.is-live { color: var(--green); text-shadow: 0 0 18px rgba(81, 211, 95, 0.55); }
.counter-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-dim);
}
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: livepulse 1.6s ease-in-out infinite;
}
@keyframes livepulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.7); } }

/* ===== Interactive game cards ===== */
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.game-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.35s var(--ease-spring), border-color 0.25s ease, box-shadow 0.35s var(--ease-out);
}
.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--green-dim);
  box-shadow: 0 28px 56px -26px rgba(81, 211, 95, 0.4);
}
.game-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.game-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease-out); }
.game-card:hover .game-card-media img { transform: scale(1.08); }
.game-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  background: rgba(6, 8, 6, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 5px 11px;
}
.game-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 20px;
  background: linear-gradient(180deg, transparent 30%, rgba(6, 8, 6, 0.9));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.game-card:hover .game-card-overlay,
.game-card:focus-within .game-card-overlay { opacity: 1; }
.game-card-stats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  transform: translateY(10px);
  transition: transform 0.35s var(--ease-out);
}
.game-card:hover .game-card-stats { transform: translateY(0); }
.game-card-stats span { font-size: 0.78rem; color: var(--text-dim); }
.game-card-stats b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #fff; font-variant-numeric: tabular-nums; }
.game-card-overlay .btn { align-self: flex-start; }
.game-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
}
.game-card-foot h3 { margin: 0; font-size: 1.15rem; }
.game-card-link { transition: color 0.2s ease; }
.game-card-link:hover { color: var(--green); }
.game-card-role { font-size: 0.82rem; color: var(--text-dim); line-height: 1.5; }

/* ===== Founder / dev avatar render ===== */
.founder {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 40px 44px;
  margin-bottom: 20px;
}
.founder-render {
  position: relative;
  display: grid;
  place-items: end center;
  aspect-ratio: 1;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 60% 40% at 50% 88%, rgba(81, 211, 95, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(81, 211, 95, 0.05), transparent);
  border: 1px solid var(--border);
  overflow: hidden;
}
.founder-render img {
  width: 88%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.55));
  transition: transform 0.4s var(--ease-out);
}
.founder:hover .founder-render img { transform: translateY(-6px) scale(1.03); }
.founder-name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.founder-role { color: var(--green); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; }
.founder-bio { font-size: 0.98rem; }

/* ===== Button shine micro-interaction ===== */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease-out);
  pointer-events: none;
}
.btn-primary:hover::after { left: 130%; }

/* ===== Custom cursor (desktop, fine pointer only) ===== */
@media (hover: hover) and (pointer: fine) {
  body.has-cursor,
  body.has-cursor a,
  body.has-cursor button,
  body.has-cursor .btn,
  body.has-cursor [role="button"] { cursor: none; }
  body.has-cursor input,
  body.has-cursor textarea,
  body.has-cursor select { cursor: auto; }
  .cursor-dot,
  .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    z-index: 9999;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
  }
  .cursor-dot { width: 7px; height: 7px; background: var(--green); box-shadow: 0 0 10px var(--green); }
  .cursor-ring {
    width: 34px; height: 34px;
    border: 1.5px solid rgba(81, 211, 95, 0.55);
    transition: width 0.22s ease, height 0.22s ease, background 0.22s ease, border-color 0.22s ease, opacity 0.2s ease;
  }
  .cursor-ring.is-hover { width: 54px; height: 54px; background: rgba(81, 211, 95, 0.1); border-color: var(--green); }
  .cursor-ring.is-down { width: 26px; height: 26px; }
}

/* ===== Audio toggle ===== */
.audio-toggle {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 150;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(10, 13, 10, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.25s var(--ease-spring);
}
.audio-toggle:hover { color: var(--green); border-color: var(--green-dim); transform: scale(1.07); }
.audio-toggle.on { color: var(--green); border-color: var(--green); box-shadow: 0 0 18px -4px rgba(81, 211, 95, 0.5); }
.audio-bars { display: flex; gap: 2.5px; align-items: center; height: 16px; }
.audio-bars span { width: 3px; height: 5px; background: currentColor; border-radius: 2px; }
.audio-toggle.on .audio-bars span { animation: eq 0.9s ease-in-out infinite; }
.audio-bars span:nth-child(2) { animation-delay: 0.18s; }
.audio-bars span:nth-child(3) { animation-delay: 0.36s; }
.audio-bars span:nth-child(4) { animation-delay: 0.12s; }
@keyframes eq { 0%, 100% { height: 5px; } 50% { height: 16px; } }

/* ===== Discord live widget ===== */
.discord-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 460px;
  margin: 0 auto 20px;
}
.discord-head { display: flex; align-items: center; gap: 14px; }
.discord-logo {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: #5865F2;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.discord-logo svg { width: 26px; height: 26px; color: #fff; }
.discord-title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.discord-sub { font-size: 0.82rem; color: var(--text-dim); }
.discord-counts { display: flex; gap: 26px; }
.discord-count b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.discord-count span { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); display: flex; align-items: center; gap: 6px; }
.discord-online b { color: var(--green); }

/* ===== 3D medallion (CSS 3D, draggable) ===== */
.medallion-wrap { display: grid; place-items: center; gap: 14px; }
.medallion-stage { perspective: 1000px; cursor: grab; padding: 10px; }
.medallion-stage:active { cursor: grabbing; }
.medallion {
  width: 190px; height: 190px;
  position: relative;
  transform-style: preserve-3d;
  animation: spin3d 16s linear infinite;
}
.medallion.dragging { animation: none; }
.medallion-face {
  position: absolute; inset: 0;
  border-radius: 50%;
  backface-visibility: hidden;
  display: grid; place-items: center;
  border: 4px solid var(--green);
  box-shadow: 0 0 46px rgba(81, 211, 95, 0.4), inset 0 0 34px rgba(81, 211, 95, 0.22);
}
.medallion-front { background: radial-gradient(circle at 34% 28%, #1a2a1c, #070b07 72%); }
.medallion-front span { font-family: var(--font-display); font-weight: 700; font-size: 4.4rem; color: var(--green); text-shadow: 0 0 22px var(--green); }
.medallion-back { background: radial-gradient(circle at 34% 28%, #1a2a1c, #070b07 72%); transform: rotateY(180deg); }
.medallion-back span { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.08em; color: #fff; }
.medallion-back span em { font-style: normal; color: var(--green); }
.medallion-hint { font-size: 0.78rem; color: var(--text-dim); }
@keyframes spin3d { to { transform: rotateY(360deg); } }

/* ===== Easter egg modal ===== */
.egg-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}
.egg-modal.open { display: grid; animation: eggfade 0.3s ease; }
@keyframes eggfade { from { opacity: 0; } to { opacity: 1; } }
.egg-card {
  background: var(--surface);
  border: 1px solid var(--green-dim);
  border-radius: 22px;
  padding: 40px 36px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 70px -12px rgba(81, 211, 95, 0.5);
  animation: land 0.4s var(--ease-spring);
}
.egg-card h3 { font-size: 1.5rem; }
.egg-reel {
  height: 70px;
  display: grid; place-items: center;
  margin: 18px 0;
  background: #040504;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-mono, monospace);
  font-weight: 700;
  font-size: 1.6rem;
}
.egg-code {
  display: inline-block;
  margin: 6px 0 4px;
  padding: 10px 20px;
  font-family: var(--font-mono, monospace);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  color: var(--green);
  background: rgba(81, 211, 95, 0.08);
  border: 1px dashed var(--green);
  border-radius: 10px;
}
.egg-close {
  position: absolute;
  top: 18px; right: 22px;
  background: none; border: 0;
  color: var(--text-dim);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .rarity-elite, .slot-live::before,
  .medallion, .audio-toggle.on .audio-bars span, .live-dot { animation: none !important; }
  * { transition-duration: 0.01ms !important; }
}

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 56px; gap: 56px; }
  .featured-game { grid-template-columns: 1fr; }
  .featured-media { min-height: 220px; }
  .featured-info { padding: 32px 28px; }
  .more-games { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .project-row { grid-template-columns: 1fr; }
  .project-row-media { min-height: 180px; }
  .project-row-body { padding: 26px 26px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .pass-grid { grid-template-columns: 1fr 1fr; }
  .rarity-grid { grid-template-columns: 1fr 1fr; }
  .rarity-grail { grid-template-columns: 1fr; }
  .theme-grid { grid-template-columns: repeat(3, 1fr); }
  .loot-cols { grid-template-columns: 1fr; }
  .world-banner { grid-template-columns: 1fr; padding: 40px 30px; }
  .social-grid { grid-template-columns: 1fr 1fr; }
  .support-cards { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: 1fr; text-align: center; padding: 34px 28px; }
  .founder-render { max-width: 220px; margin: 0 auto; }
  .founder-role { margin-top: 4px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .rarity-grid { grid-template-columns: 1fr; }
  .theme-grid { grid-template-columns: 1fr 1fr; }
  .social-grid { grid-template-columns: 1fr; }
  .pass-grid { grid-template-columns: 1fr; }
  .theme-grid { grid-template-columns: 1fr 1fr; }
  .game-grid { grid-template-columns: 1fr; }
  .nav-signin { display: none; }
  .auth-card { padding: 32px 24px; }
  .hero-cine { min-height: 84vh; }
  .counter { min-width: calc(50% - 6px); flex: 1; }
  .mini-game { grid-template-columns: 1fr; }
  .mini-thumb { min-height: 140px; }
  .potion-row { grid-template-columns: 12px auto 1fr; }
  .potion-src { display: none; }
  .carousel-arrow { width: 38px; height: 38px; font-size: 1.3rem; }
  .slide figcaption { font-size: 0.85rem; padding: 34px 18px 16px; }
  .btn-big { width: 100%; }
  .hero-stats { max-width: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
