/* ==========================================================================
   Prizmplay Gaming — gold theme
   ========================================================================== */

:root {
  --bg: #0c0805;
  --bg-2: #140d07;
  --surface: #1b130b;
  --surface-2: #241a0f;
  --line: rgba(255, 205, 90, 0.16);
  --line-strong: rgba(255, 205, 90, 0.35);

  --gold-1: #fff3c4;
  --gold-2: #ffd66b;
  --gold-3: #f5b82e;
  --gold-4: #c98a12;
  --gold-5: #8a5a06;
  --gold-grad: linear-gradient(180deg, var(--gold-1) 0%, var(--gold-2) 35%, var(--gold-3) 65%, var(--gold-4) 100%);
  --gold-btn: linear-gradient(180deg, #ffe48f 0%, #f7c33c 45%, #e2a41c 100%);

  --magenta: #e2399b;
  --text: #f6eedf;
  --muted: #b9a98c;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  --glow: 0 0 0 1px var(--line-strong), 0 10px 40px -10px rgba(245, 184, 46, 0.45);

  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: var(--gold-1); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold-2); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 12px rgba(245, 184, 46, 0.35));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 15px/1 var(--font-display);
  padding: 14px 22px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-gold {
  background: var(--gold-btn); color: #2a1800;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 -2px 0 rgba(0,0,0,.15) inset, 0 8px 24px -8px rgba(245, 184, 46, .7);
}
.btn-gold:hover { color: #1a0f00; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 12px 32px -8px rgba(245, 184, 46, .9); }
.btn-ghost { background: rgba(255, 214, 107, .06); color: var(--gold-1); box-shadow: 0 0 0 1.5px var(--line-strong) inset; }
.btn-ghost:hover { background: rgba(255, 214, 107, .14); color: #fff; }
.btn-dark { background: #1a1006; color: var(--gold-2); }
.btn-dark:hover { background: #000; color: var(--gold-1); }
.btn-outline-dark { background: transparent; color: #2a1800; box-shadow: 0 0 0 2px rgba(42, 24, 0, .55) inset; }
.btn-outline-dark:hover { background: rgba(42, 24, 0, .1); color: #1a0f00; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 8, 5, .78);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { width: 150px; height: auto; border-radius: 10px; }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a:not(.btn) {
  color: var(--text); font: 600 15px var(--font-display); padding: 10px 14px; border-radius: 999px;
  transition: color .2s, background .2s;
}
.site-nav a:not(.btn):hover { color: var(--gold-2); background: rgba(255, 214, 107, .06); }
.site-nav a[aria-current="page"] { color: var(--gold-2); }
.site-nav .btn { margin-left: 8px; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--gold-2); border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .brand img { width: 124px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px; background: rgba(14, 9, 5, .97); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s ease;
  }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a:not(.btn) { padding: 14px 16px; font-size: 17px; }
  .site-nav .btn { margin: 8px 0 0; padding: 15px; }
}

/* ---------- Hero ---------- */
.hero, .page-hero { position: relative; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 120%; pointer-events: none;
  background:
    radial-gradient(40% 50% at 75% 40%, rgba(245, 184, 46, .22), transparent 70%),
    radial-gradient(30% 40% at 15% 20%, rgba(226, 57, 155, .12), transparent 70%),
    radial-gradient(50% 50% at 50% 100%, rgba(201, 138, 18, .12), transparent 70%);
}
.hero::after, .page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 214, 107, .5) 1px, transparent 1.5px);
  background-size: 34px 34px;
  mask-image: radial-gradient(60% 60% at 70% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 60% at 70% 40%, #000, transparent 75%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding-block: 72px 88px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px var(--font-display); letter-spacing: .06em; text-transform: uppercase;
  color: var(--gold-2); padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 214, 107, .07); box-shadow: 0 0 0 1px var(--line) inset;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } }

.hero h1 { font-size: clamp(38px, 5.6vw, 66px); font-weight: 800; margin: 22px 0 20px; }
.hero h1 .gold-text { font-style: italic; font-weight: 900; padding-right: .08em; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 560px; }
.lead strong { color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero-ticks { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-weight: 500; }
.hero-ticks li { display: flex; align-items: center; gap: 8px; }
.hero-ticks li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  box-shadow: 0 0 10px rgba(245, 184, 46, .5);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a1800' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat, var(--gold-btn);
}

.hero-art { position: relative; }
.hero-frame {
  position: relative; border-radius: 28px; padding: 3px;
  background: linear-gradient(140deg, var(--gold-1), var(--gold-4) 40%, var(--gold-5) 60%, var(--gold-2));
  box-shadow: 0 30px 80px -20px rgba(245, 184, 46, .45), 0 0 120px -30px rgba(226, 57, 155, .4);
  transform: rotate(1.5deg);
  animation: float 7s ease-in-out infinite;
}
.hero-frame img { border-radius: 25px; width: 100%; }
@keyframes float { 50% { transform: rotate(1.5deg) translateY(-10px); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-block: 44px 64px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-cta, .hero-ticks { justify-content: center; }
  .hero-art { max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (max-width: 480px) {
  .hero-cta { width: 100%; flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}

/* ---------- Hero "We accept" row ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.accept { margin: 6px 0 4px; }
.accept-label { font: 700 13px var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-3); margin: 0 0 10px; }
.accept-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 520px; }
.pay-badge.pay-mini {
  width: 58px; height: 38px; margin: 0; border-radius: 9px; gap: 3px; padding: 0 6px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 6px 14px -8px rgba(0, 0, 0, .9);
  transition: transform .2s ease;
}
.accept-row li:hover .pay-mini { transform: translateY(-3px); }
.pay-mini .pay-logo svg { height: 20px; }
.pay-mini .pay-logo-applepay svg { height: 26px; }
.pay-mini .pay-logo-googlepay svg { height: 17px; }
.pay-mini .pay-logo-bitcoin svg, .pay-mini .pay-logo-tether svg { height: 17px; }
.pay-mini .pay-logo-text { display: none; }
.pay-mini .pay-wordmark { font-size: 15px; }
.pay-mini .line-icon { width: 22px; height: 22px; }
@media (max-width: 900px) { .accept { display: flex; flex-direction: column; align-items: center; } .accept-row { justify-content: center; } }

/* ---------- Stats ---------- */
.stats {
  position: relative;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 36px 12px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num { font: italic 900 clamp(36px, 4.6vw, 54px)/1 var(--font-display); }
.stat-label { margin-top: 10px; color: var(--muted); font-weight: 500; font-size: 15px; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat { padding: 26px 8px; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-alt { background: radial-gradient(70% 60% at 50% 0%, rgba(245, 184, 46, .08), transparent 70%), var(--bg-2); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.section-head h2 .gold-text { font-style: italic; font-weight: 900; padding-right: .06em; }
.section-head p:last-child { color: var(--muted); font-size: 17px; margin: 0; }
.kicker { font: 700 13px var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-3); margin-bottom: 12px; }
@media (max-width: 640px) { .section { padding: 68px 0; } .section-head { margin-bottom: 36px; } }

/* ---------- Announcement bar ---------- */
.announce {
  position: relative; overflow: hidden; color: #2a1800; font-size: 14px; text-align: center;
  background: linear-gradient(90deg, #d7930f, #ffe48f 30%, #f5b82e 60%, #d7930f);
  background-size: 200% 100%; animation: announce-slide 8s linear infinite;
}
@keyframes announce-slide { to { background-position: -200% 0; } }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 12px; padding-block: 9px; }
.announce strong { font-family: var(--font-display); font-weight: 800; }
.announce-spark { font-size: 12px; animation: spark 1.6s ease-in-out infinite; }
@keyframes spark { 50% { transform: scale(1.4) rotate(45deg); } }
@media (max-width: 560px) { .announce-sub { display: none; } .announce { font-size: 13px; } }

/* ---------- Rebrand (old -> new) in hero ---------- */
.rb-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); z-index: 2; white-space: nowrap;
  font: 700 12px var(--font-display); letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; background: #2a2118; color: var(--muted); box-shadow: 0 0 0 1px var(--line-strong);
}
.rb-tag-new { background: var(--gold-btn); color: #2a1800; box-shadow: 0 6px 18px -6px rgba(245, 184, 46, .8); }
.hero-new-tag { top: -14px; font-size: 13px; padding: 7px 18px; }

.hero-old {
  position: absolute; left: -54px; bottom: 34px; z-index: 3; margin: 0; width: 168px;
  transform: rotate(-7deg);
}
.hero-old img {
  width: 100%; border-radius: 18px; border: 3px solid #3a2e22;
  filter: saturate(.6) brightness(.85);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .9);
}
.hero-old .rb-arrow {
  position: absolute; left: calc(100% - 6px); top: 50%; transform: translateY(-50%) rotate(7deg);
  padding: 9px 10px 9px 6px; border-radius: 999px; background: rgba(12, 8, 5, .88);
  box-shadow: 0 0 0 1px var(--line-strong), 0 8px 20px -6px rgba(0, 0, 0, .8);
}

.rb-arrow { display: flex; gap: 2px; }
.rb-arrow span {
  width: 18px; height: 18px; border: solid var(--gold-2); border-width: 0 4px 4px 0; border-radius: 3px;
  transform: rotate(-45deg); opacity: .2; animation: rb-chev 1.4s ease-in-out infinite;
}
.rb-arrow span:nth-child(2) { animation-delay: .2s; }
.rb-arrow span:nth-child(3) { animation-delay: .4s; }
@keyframes rb-chev { 40% { opacity: 1; filter: drop-shadow(0 0 8px rgba(245, 184, 46, .9)); } }

@media (max-width: 900px) {
  .hero-art { padding-left: 34px; }
  .hero-old { left: 0; bottom: 18px; width: 120px; }
  .eyebrow { font-size: 11px; letter-spacing: .04em; }
  .rb-arrow span { width: 14px; height: 14px; border-width: 0 3px 3px 0; }
}
@media (max-width: 420px) {
  .hero-old { width: 96px; left: 0; }
  .hero-old .rb-tag { font-size: 10px; padding: 5px 10px; }
}

/* ---------- Payments ---------- */
.pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pay-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.pay-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--glow); }
.pay-badge {
  height: 72px; border-radius: 14px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 10px 26px -12px rgba(0, 0, 0, .8);
  transition: transform .25s ease;
}
.pay-card:hover .pay-badge { transform: scale(1.03); }
.pay-logo svg { display: block; height: 44px; width: auto; }
.pay-logo-applepay svg { height: 46px; }
.pay-logo-googlepay svg { height: 34px; }
.pay-logo-cashapp svg, .pay-logo-paypal svg { height: 30px; }
.pay-logo-bitcoin svg, .pay-logo-tether svg { height: 36px; }
.pay-logo-text { font: 800 22px/1 var(--font-display); letter-spacing: -.01em; }
.pay-wordmark { font: 800 34px/1 var(--font-display); letter-spacing: -.03em; }
.pay-badge .line-icon { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pay-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--gold-btn); box-shadow: 0 8px 24px -8px rgba(245, 184, 46, .7);
}
.pay-icon svg { width: 28px; height: 28px; fill: none; stroke: #2a1800; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pay-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.pay-card p { color: var(--muted); margin: 0; font-size: 15px; }

.perks {
  margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 214, 107, .03);
}
.perk { display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; }
.perk + .perk { border-left: 1px solid var(--line); }
.perk svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--gold-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.perk strong { display: block; font-family: var(--font-display); font-size: 17px; }
.perk span { color: var(--muted); font-size: 15px; }

@media (max-width: 960px) { .pay-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .perks { grid-template-columns: 1fr; }
  .perk + .perk { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 420px) { .pay-grid { grid-template-columns: 1fr; } }

/* ---------- Games ---------- */
.games-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.game-card {
  --accent: hsl(var(--hue) 85% 55%);
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 18px 18px 20px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.game-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--glow); }
.game-art {
  position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 12px; margin-bottom: 16px;
  display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(60% 70% at 50% 45%, hsl(var(--hue) 85% 55% / .55), transparent 70%),
    radial-gradient(120% 90% at 50% 120%, rgba(245, 184, 46, .35), transparent 60%),
    linear-gradient(160deg, #2a1d0e, #120b05);
  box-shadow: 0 0 0 1px rgba(255, 214, 107, .22) inset;
}
.game-art::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-conic-gradient(from 0deg at 50% 45%, rgba(255, 230, 160, .07) 0 10deg, transparent 10deg 20deg);
  transition: transform 1.2s ease;
}
.game-card:hover .game-art::before { transform: rotate(30deg) scale(1.2); }
.game-emoji { position: relative; font-size: clamp(44px, 5vw, 58px); line-height: 1; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .55)); transition: transform .3s ease; }
.game-card:hover .game-emoji { transform: scale(1.12) rotate(-4deg); }
.game-card h3 { font-size: 19px; font-weight: 800; letter-spacing: .01em; margin-bottom: 14px; }
.game-card .btn { margin-top: auto; padding: 12px 18px; }

@media (max-width: 960px) { .games-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .games-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .game-card { padding: 12px 12px 14px; } .game-card h3 { font-size: 16px; } .game-card .btn { font-size: 14px; padding: 11px 10px; } }

/* ---------- Broken-link help ---------- */
.link-help {
  margin-top: 28px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 18px 22px; border-radius: var(--radius); border: 1px solid var(--line-strong);
  background: linear-gradient(120deg, rgba(255, 214, 107, .1), rgba(255, 214, 107, .02));
}
.link-help svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--gold-2); stroke-width: 2; stroke-linecap: round; }
.link-help p { margin: 0; flex: 1; min-width: 220px; color: var(--muted); }
.link-help strong { color: var(--gold-1); }
@media (max-width: 560px) { .link-help { flex-direction: column; text-align: center; } .link-help .btn { width: 100%; } }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step {
  position: relative; padding: 34px 28px 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
}
.step-num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 18px;
  font: italic 900 24px var(--font-display); color: #2a1800; background: var(--gold-btn);
  box-shadow: 0 0 0 6px rgba(245, 184, 46, .12), 0 8px 24px -6px rgba(245, 184, 46, .7);
}
.step h3 { font-size: 21px; font-weight: 700; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 96px; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  border-radius: 26px; padding: 44px 48px; color: #2a1800;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(255, 255, 255, .45), transparent 60%),
    linear-gradient(120deg, #ffe48f, #f5b82e 55%, #d7930f);
  box-shadow: 0 30px 70px -25px rgba(245, 184, 46, .6);
}
.wrap.cta-inner { max-width: calc(1200px - 56px); }
.cta-inner h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 900; font-style: italic; margin-bottom: 6px; }
.cta-inner p { margin: 0; font-weight: 500; font-size: 17px; opacity: .85; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .cta-band { padding-bottom: 68px; }
  .cta-inner { margin: 0 16px; width: auto; padding: 32px 22px; text-align: center; justify-content: center; }
  .cta-actions { width: 100%; flex-direction: column; }
  .cta-actions .btn { width: 100%; white-space: normal; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #080503; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand img { width: 180px; border-radius: 12px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); max-width: 340px; }
.site-footer h3 { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-3); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--muted); }
.site-footer ul a { color: var(--text); }
.site-footer ul a:hover { color: var(--gold-2); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 24px 32px; display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.footer-bottom p { margin: 0; }
.age { display: flex; align-items: center; gap: 10px; max-width: 720px; }
.badge-18 { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--gold-3); color: var(--gold-2); font: 800 13px var(--font-display); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Rules page ---------- */
.page-hero { border-bottom: 1px solid var(--line); }
.page-hero .wrap { position: relative; z-index: 1; padding-block: 72px 60px; text-align: center; }
.page-hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; }
.page-hero h1 .gold-text { font-style: italic; font-weight: 900; padding-right: .06em; }
.page-hero .lead { margin: 0 auto 14px; }
.updated { color: var(--gold-3); font-size: 14px; font-weight: 600; margin: 0; }

.rules-section { padding-top: 56px; }
.rules-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc-title { font: 700 12px var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-3); }
.toc nav { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { color: var(--muted); padding: 8px 0 8px 16px; margin-left: -1px; border-left: 2px solid transparent; font-weight: 500; font-size: 15px; transition: color .2s, border-color .2s; }
.toc a:hover, .toc a.active { color: var(--gold-2); border-left-color: var(--gold-2); }

.rules-body { min-width: 0; display: grid; gap: 22px; }
.rule-block {
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: 30px 32px;
}
.rule-block h2 { display: flex; align-items: center; gap: 14px; font-size: 24px; font-weight: 700; margin-bottom: 18px; }
.rule-icon { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--gold-btn); }
.rule-icon svg { width: 22px; height: 22px; fill: none; stroke: #2a1800; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rule-note {
  background: rgba(226, 57, 155, .08); border: 1px solid rgba(226, 57, 155, .3);
  border-radius: var(--radius-sm); padding: 14px 18px; font-size: 15px; color: #f3d9e8;
}
.rule-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rule-list li { position: relative; padding-left: 30px; color: #e3d6bf; }
.rule-list li::before {
  content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; transform: rotate(45deg);
  background: var(--gold-btn); box-shadow: 0 0 8px rgba(245, 184, 46, .6);
}
.rule-list strong { color: var(--gold-1); font-weight: 600; }

.callout {
  display: flex; gap: 16px; align-items: flex-start;
  border-radius: var(--radius); padding: 24px 26px;
  background: rgba(255, 214, 107, .05); border: 1px solid var(--line-strong);
}
.callout > svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--gold-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.callout strong { font-family: var(--font-display); font-size: 18px; display: block; margin-bottom: 6px; color: var(--gold-1); }
.callout p { margin: 0; color: var(--muted); }
.callout ul { margin: 0; padding-left: 18px; color: #e3d6bf; display: grid; gap: 4px; }
.callout ul strong { display: inline; font-family: inherit; font-size: inherit; margin: 0; }
.callout-key { background: linear-gradient(120deg, rgba(255, 214, 107, .12), rgba(255, 214, 107, .03)); }

@media (max-width: 900px) {
  .rules-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
  .toc nav { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
  .toc a { border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; margin: 0; font-size: 14px; }
  .toc a:hover { border-color: var(--gold-2); }
}
@media (max-width: 560px) {
  .rule-block { padding: 22px 18px; }
  .rule-block h2 { font-size: 20px; }
  .callout { padding: 20px 18px; }
  .page-hero .wrap { padding-block: 52px 44px; }
}

/* ---------- Promo banners (rules page) ---------- */
.promos { display: grid; gap: 18px; }
.promo {
  --c1: #f5b82e; --c2: #e2399b;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; min-height: 300px;
  padding: 34px 40px; border-radius: 22px; color: var(--text);
  background: #07080f;
  box-shadow: 0 20px 60px -20px rgba(245, 184, 46, .55);
  transition: transform .25s ease, box-shadow .25s ease;
}
.promo-alt { --c1: #e2399b; --c2: #f5b82e; box-shadow: 0 20px 60px -20px rgba(255, 120, 40, .55); }
.promo:hover { transform: translateY(-4px); color: var(--text); }
.promo-art { position: absolute; inset: 0 0 0 auto; width: 62%; z-index: -2; }
.promo-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s ease; }
.promo:hover .promo-art img { transform: scale(1.05); }
.promo-art::after { /* fade art into the dark left side */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #07080f 0%, rgba(7, 8, 15, .7) 25%, transparent 60%);
}
.promo-body { position: relative; display: flex; flex-direction: column; align-items: flex-start; max-width: 440px; }
/* animated gold border */
.promo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--ang, 0deg), var(--c1), #fff3c4, var(--c2), var(--c1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin-border 4s linear infinite;
}
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin-border { to { --ang: 360deg; } }
/* sweeping shine */
.promo-shine {
  position: absolute; inset: -50% auto -50% -60%; width: 40%; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255, 243, 196, .22), transparent);
  transform: rotate(20deg); animation: shine 3.6s ease-in-out infinite;
}
.promo-alt .promo-shine { animation-delay: 1.8s; }
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }

.promo-tag {
  font: 700 12px var(--font-display); letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; color: #2a1800; background: var(--gold-btn);
  box-shadow: 0 6px 18px -6px rgba(245, 184, 46, .8);
}
.promo-num {
  display: flex; flex-direction: column; align-items: flex-start;
  font: italic 900 clamp(64px, 9vw, 104px)/.95 var(--font-display); margin: 16px 0 4px; padding-right: .08em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 22px rgba(245, 184, 46, .55));
  animation: pop 2.4s ease-in-out infinite;
}
.promo-num small { font-size: 18px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 2px; }
@keyframes pop { 50% { transform: scale(1.05); filter: drop-shadow(0 4px 32px rgba(245, 184, 46, .85)); } }
.promo-title { font: 800 26px/1.15 var(--font-display); }
.promo-sub { color: var(--muted); margin: 4px 0 22px; }
.promo .btn { pointer-events: none; }
.promo-terms { text-align: center; color: var(--muted); font-size: 14px; margin: 0; }
@media (max-width: 640px) {
  .promo { flex-direction: column; justify-content: flex-end; min-height: 520px; padding: 24px 22px 26px; }
  .promo-art { inset: 0 0 auto 0; width: 100%; height: 62%; }
  .promo-art::after { background: linear-gradient(0deg, #07080f 0%, rgba(7, 8, 15, .5) 30%, transparent 65%); }
  .promo-body { align-items: center; text-align: center; max-width: none; width: 100%; }
  .promo-num { align-items: center; }
}

/* ---------- Auth pages (signup / login / account) ---------- */
.auth { position: relative; overflow: hidden; min-height: calc(100vh - var(--header-h) - 40px); }
.auth-wrap { position: relative; z-index: 1; display: flex; justify-content: center; padding-block: 56px 80px; }
.auth-card {
  width: 100%; max-width: 480px; padding: 36px 34px 32px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(36, 26, 15, .92), rgba(27, 19, 11, .92));
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), 0 0 80px -40px rgba(245, 184, 46, .5);
}
.auth-head { text-align: center; margin-bottom: 24px; }
.auth-head .promo-tag { display: inline-block; margin-bottom: 14px; }
.auth-head h1 { font-size: clamp(30px, 4vw, 38px); font-weight: 800; margin-bottom: 8px; }
.auth-head h1 .gold-text { font-style: italic; font-weight: 900; padding-right: .06em; }
.auth-head p { color: var(--muted); margin: 0; }
.auth-form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > span:first-child { font: 600 14px var(--font-display); color: var(--text); }
.field small { color: var(--muted); font-size: 13px; }
.req { color: var(--gold-3); font-style: normal; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 420px) { .field-row { grid-template-columns: 1fr; gap: 16px; } }
.auth-form input::placeholder { color: #6f6250; }
.auth-form input[type="text"], .auth-form input[type="email"], .auth-form input[type="tel"], .auth-form input[type="password"] {
  width: 100%; font: 500 16px var(--font-body); color: var(--text);
  background: #100a05; border: 1px solid var(--line-strong); border-radius: 12px; padding: 13px 15px;
  transition: border-color .2s, box-shadow .2s;
}
.auth-form input:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 4px rgba(245, 184, 46, .18); }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 70px !important; }
.pw-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  border: 0; background: rgba(255, 214, 107, .1); color: var(--gold-2); cursor: pointer;
  font: 600 13px var(--font-display); padding: 6px 10px; border-radius: 8px;
}
.pw-toggle:hover { background: rgba(255, 214, 107, .2); }
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 15px; cursor: pointer; }
.check input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--gold-3); flex: none; }
.check strong { color: var(--text); }
.field-error { color: #ff8a8a; font-size: 13.5px; margin: -4px 0 0; }
.check + .field-error { margin-top: -10px; }
.alert { border-radius: 12px; padding: 13px 16px; margin-bottom: 18px; font-size: 15px; }
.alert-error { background: rgba(255, 80, 80, .1); border: 1px solid rgba(255, 110, 110, .4); color: #ffc2c2; }
.alert-ok { background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .4); color: #c6f6d5; }
.auth-form .btn-block { margin-top: 6px; }
.auth-foot { text-align: center; color: var(--muted); font-size: 14px; margin: 0; }
@media (max-width: 480px) { .auth-card { padding: 28px 20px 24px; } .auth-wrap { padding-block: 32px 56px; } }

.account-wrap { position: relative; z-index: 1; padding-block: 56px 80px; max-width: 960px; }
.account-head { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.account-head h1 { font-size: clamp(30px, 4.5vw, 44px); font-weight: 800; margin: 0 0 6px; }
.account-head h1 .gold-text { font-style: italic; font-weight: 900; padding-right: .06em; }
.account-head p { margin: 0; color: var(--muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.avatar {
  width: 72px; height: 72px; flex: none; border-radius: 50%; display: grid; place-items: center;
  font: italic 900 26px var(--font-display); color: #2a1800; background: var(--gold-btn);
  box-shadow: 0 0 0 5px rgba(245, 184, 46, .15), 0 10px 30px -8px rgba(245, 184, 46, .7);
}
.role-badge { font: 700 11px var(--font-display); letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.role-user { background: rgba(255, 214, 107, .12); color: var(--gold-2); box-shadow: 0 0 0 1px var(--line-strong) inset; }
.role-admin { background: linear-gradient(90deg, var(--magenta), #9b4dff); color: #fff; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.account-card {
  padding: 28px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.account-card h2 { font-size: 21px; font-weight: 700; margin-bottom: 16px; }
.details { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0 0 22px; }
.details dt { color: var(--muted); }
.details dd { margin: 0; font-weight: 600; word-break: break-word; }
.account-cta { border-color: var(--line-strong); background: linear-gradient(140deg, rgba(255, 214, 107, .12), rgba(27, 19, 11, 1) 60%); }
.account-cta p { color: var(--muted); }
.account-cta strong { color: var(--gold-1); }
.cta-stack { display: grid; gap: 10px; margin-top: 18px; }
.account-wrap > .alert { margin-bottom: 24px; }
@media (max-width: 720px) { .account-grid { grid-template-columns: 1fr; } .avatar { width: 58px; height: 58px; font-size: 26px; } }

.nav-account { gap: 8px; padding-left: 6px; }
.nav-avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #2a1800; color: var(--gold-2); font: italic 900 13px var(--font-display); }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: 120px 0; }
.not-found h1 { font-size: clamp(72px, 14vw, 140px); font-style: italic; font-weight: 900; margin: 0; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
