:root {
  --bg: #0f0c0a;
  --stone: #1a1512;
  --stone-2: #231c17;
  --border: #3a2e22;
  --text: #efe4cf;
  --muted: #a8977c;
  --gold: #d9a94a;
  --gold-bright: #f3cf7a;
  --gold-deep: #8a6420;
  --gold-soft: rgba(217, 169, 74, 0.12);
  --parchment: #ead9b4;
  --parchment-2: #d9c08e;
  --ink: #2b1d10;
  --ink-soft: #5a4128;
  --crimson: #8e1b1b;
  --crimson-bright: #b52a2a;
  --royal: #4b1f7a;
  --royal-bright: #7a3fc2;
  --silver: #cfd3da;
  --bronze: #c27a3e;
  --radius: 10px;
  --display: "Cinzel", Georgia, serif;
  --deco: "Cinzel Decorative", "Cinzel", Georgia, serif;
  --body: "EB Garamond", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(217, 169, 74, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 40%, rgba(142, 27, 27, 0.10), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
main { overflow-x: clip; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.center { text-align: center; }
.gold { color: var(--gold-bright); }

.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* Ornamental divider */
.divider { display: flex; align-items: center; gap: 18px; color: var(--gold); margin-block: 16px; }
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-deep), transparent);
}
.divider span { font-size: 22px; text-shadow: 0 0 12px rgba(217, 169, 74, 0.5); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 6px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.15s, filter 0.15s, box-shadow 0.15s;
  cursor: pointer;
  border: 0;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-gold {
  color: #2a1a06;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 0 rgba(0, 0, 0, 0.25), 0 6px 20px rgba(217, 169, 74, 0.2);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-gold:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 30px rgba(217, 169, 74, 0.4); }
.btn-ghost { color: var(--gold-bright); border: 1px solid var(--gold-deep); background: rgba(0, 0, 0, 0.25); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-royal { color: #fff; background: linear-gradient(180deg, var(--royal-bright), var(--royal)); border: 1px solid rgba(243, 207, 122, 0.35); }
.btn-crimson {
  color: #fbeedd;
  background: linear-gradient(180deg, var(--crimson-bright), var(--crimson));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 4px 14px rgba(80, 10, 10, 0.4);
}
.btn-discord {
  color: #fff;
  background: linear-gradient(180deg, #7b86ff, #5865f2 55%, #3c45b8);
  border: 1px solid rgba(243, 207, 122, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 20px rgba(88, 101, 242, 0.3);
}
.btn-discord:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 8px 30px rgba(88, 101, 242, 0.5); }
.btn-icon { display: inline-grid; place-items: center; }
.btn-icon svg { width: 20px; height: 20px; }
.offer-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.offer-btns .btn { padding-inline: 10px; }
.btn-sm { padding: 9px 16px; font-size: 12px; }
.btn-block { width: 100%; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 12, 10, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(217, 169, 74, 0.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--deco); font-weight: 700; font-size: 20px; color: var(--gold-bright); }
.brand-mark { height: 28px; width: auto; filter: drop-shadow(0 0 6px rgba(243, 207, 122, 0.35)); }
/* the gold logo used inline like an ornament */
.glyph-logo { display: inline-block; height: 1.35em; width: auto; vertical-align: -0.35em; margin-inline: 0.15em; filter: drop-shadow(0 0 4px rgba(243, 207, 122, 0.35)); }
.seal img { width: 60%; height: auto; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.5)); }
.pennant i img { width: 34px; height: auto; display: block; }
.nav-links { display: flex; gap: 32px; font-family: var(--display); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.nav-links a:hover { color: var(--gold-bright); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-live .btn-icon svg { width: 15px; height: 15px; }
/* Hall of Fame: its own glowing button so it reads as a separate page */
.nav-hall {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  overflow: hidden;
  font: 700 12px var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold-bright);
  background: linear-gradient(180deg, rgba(243, 207, 122, 0.16), rgba(217, 169, 74, 0.05));
  border: 1px solid var(--gold);
  box-shadow: 0 0 12px rgba(243, 207, 122, 0.35), inset 0 0 10px rgba(243, 207, 122, 0.12);
  animation: hallGlow 2.8s ease-in-out infinite;
}
.nav-hall span { font-size: 14px; }
.nav-hall::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 246, 214, 0.45) 50%, transparent 65%);
  translate: -120% 0;
  animation: hallSheen 4s ease-in-out infinite;
}
.nav-hall:hover, .nav-hall.active { color: #2a1a06; background: linear-gradient(180deg, var(--gold-bright), var(--gold)); }
@keyframes hallGlow { 50% { box-shadow: 0 0 22px rgba(243, 207, 122, 0.65), inset 0 0 12px rgba(243, 207, 122, 0.2); } }
@keyframes hallSheen { 60%, 100% { translate: 120% 0; } }
@media (prefers-reduced-motion: reduce) { .nav-hall, .nav-hall::after { animation: none; } }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 80px 0 56px;
}
.hero h1 {
  font-family: var(--deco);
  font-weight: 900;
  font-size: clamp(42px, 6.6vw, 82px);
  background: linear-gradient(180deg, #fff2c9 10%, var(--gold-bright) 45%, var(--gold) 70%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.6));
}
.tagline { font-family: var(--display); font-size: 20px; letter-spacing: 0.04em; color: var(--parchment-2); margin: 10px 0 16px; }
.intro { color: var(--muted); font-size: 20px; max-width: 50ch; }
.code-row { display: flex; align-items: center; gap: 14px; margin: 28px 0; flex-wrap: wrap; }
.code-label { font-family: var(--display); color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.16em; }
.code-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font: 700 22px var(--display);
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  background: var(--gold-soft);
  border: 1px dashed var(--gold);
  border-radius: 6px;
  cursor: pointer;
}
.code-chip:hover { background: rgba(217, 169, 74, 0.2); }
.copied { font-family: var(--display); color: var(--gold-bright); font-size: 14px; }
.hero-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 460px; }
.hero-ctas > .btn { grid-column: 1 / -1; }
.cta-pair { display: contents; }
.cta-pair .btn { padding-inline: 12px; font-size: 14px; }
.hero-ctas .btn-royal { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 6px 20px rgba(122, 63, 194, 0.3); }

.hero-pic { position: relative; display: grid; justify-items: center; isolation: isolate; }
.hero-pic > .shield, .hero-pic > .banner-ribbon { position: relative; z-index: 2; }
.hero-glow {
  position: absolute;
  inset: -10% -20%;
  z-index: -1;
  background: radial-gradient(circle at 50% 45%, rgba(243, 160, 60, 0.28), rgba(142, 27, 27, 0.12) 40%, transparent 65%);
  animation: flicker 4s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { opacity: 0.85; scale: 1; }
  30% { opacity: 1; scale: 1.03; }
  55% { opacity: 0.75; scale: 0.99; }
  80% { opacity: 0.95; scale: 1.02; }
}
.hero-swords {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 170%;
  translate: -50% -47%;
  z-index: 0;
  color: var(--gold);
  opacity: 0.22;
  pointer-events: none;
}
.embers { position: absolute; inset: -10% -15% 0; z-index: 1; pointer-events: none; overflow: hidden; }
.embers i {
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  background: #ffb347;
  box-shadow: 0 0 6px 2px rgba(255, 140, 40, 0.7);
  opacity: 0;
  animation: ember linear infinite;
}
@keyframes ember {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 0.9; }
  70% { opacity: 0.6; }
  100% { transform: translate(var(--drift), -520px); opacity: 0; }
}

.socials { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.social {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--gold-bright);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--gold-deep);
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.social:hover { border-color: var(--gold); background: var(--gold-soft); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.social-yeet { width: auto; padding: 0 14px; border-radius: 999px; }
.social-yeet svg { width: 50px; height: 14px; }
.yeet-word { display: inline-block; vertical-align: -0.04em; line-height: 0; }
.yeet-word svg { height: 0.74em; width: auto; aspect-ratio: 83 / 22; overflow: visible; }
.shield {
  width: min(340px, 72vw);
  aspect-ratio: 5 / 6;
  padding: 8px;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold-deep) 50%, var(--gold) 80%, #fff0c0);
  clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
}
.shield-inner {
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%);
  background: radial-gradient(circle at 50% 35%, var(--royal), #1a0d2b 75%);
  display: grid;
  place-items: start center;
  padding-top: 10%;
}
.shield-inner img { width: 80%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55)); }
.banner-ribbon {
  position: relative;
  margin-top: -36px;
  padding: 10px 40px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fbeedd;
  background: linear-gradient(180deg, var(--crimson-bright), var(--crimson));
  clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%, 6% 50%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

/* Sections */
.section { padding: 40px 0 48px; }
.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 40px); }

/* Offers — parchment scrolls */
.offers { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 26px; align-items: stretch; padding-block: 24px; }
.section-sub { margin-top: 10px; font-size: 20px; color: var(--muted); }
.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 28px 28px;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, 0.35), transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(120, 80, 30, 0.25), transparent 60%),
    linear-gradient(180deg, var(--parchment), var(--parchment-2));
  border-radius: 4px;
  box-shadow: inset 0 0 40px rgba(110, 70, 20, 0.35), 0 18px 40px rgba(0, 0, 0, 0.5);
  outline: 1px solid rgba(90, 60, 25, 0.35);
  outline-offset: -10px;
  transition: transform 0.2s;
}
.offer:hover { transform: translateY(-4px) rotate(-0.3deg); }
.offer.featured {
  margin-block: -24px;
  padding: 46px 30px 32px;
  box-shadow: inset 0 0 40px rgba(110, 70, 20, 0.35), 0 0 0 2px var(--gold), 0 0 60px rgba(217, 169, 74, 0.25), 0 24px 60px rgba(0, 0, 0, 0.6);
}
.offer.featured:hover { transform: translateY(-4px); }
.offer.featured h3 { font-size: 27px; }
.offer-ribbon {
  position: absolute;
  top: -16px;
  left: 50%;
  translate: -50% 0;
  padding: 7px 34px;
  font: 700 13px var(--display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #2a1a06;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 60%, var(--gold-deep));
  clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%, 6% 50%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.offer-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: 18px;
  padding: 10px 16px;
  color: var(--ink);
  background: rgba(255, 250, 235, 0.45);
  border: 2px dashed var(--crimson);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
}
.offer-code:hover { background: rgba(255, 250, 235, 0.75); }
.offer-code span { font: 600 12px var(--display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); min-width: 64px; text-align: left; }
.offer-code b { font: 800 26px var(--display); letter-spacing: 0.08em; color: var(--crimson); }
.offer-code svg { color: var(--crimson); }
.offer-live {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
  border: 1px solid rgba(90, 60, 25, 0.35);
  border-radius: 6px;
  background: rgba(255, 250, 235, 0.3);
}
.offer-live div { padding: 8px 6px; text-align: center; }
.offer-live div + div { border-left: 1px solid rgba(90, 60, 25, 0.3); }
.offer-live span { display: block; font: 600 10px var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.offer-live b { font: 800 18px var(--display); color: var(--crimson); }
.seal {
  position: absolute;
  top: -18px;
  right: 22px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #f3d9b0;
  font-size: 22px;
  background: radial-gradient(circle at 35% 30%, #c43a3a, var(--crimson) 60%, #5a0e0e);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5), inset 0 -3px 6px rgba(0, 0, 0, 0.3);
}
.tag {
  align-self: flex-start;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 10px;
}
.offer h3 { font-size: 23px; color: var(--ink); }
.offer ol { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 12px; flex: 1; align-content: start; }
.offer li { display: flex; gap: 12px; align-items: center; color: var(--ink-soft); font-size: 18px; line-height: 1.3; }
.offer li i {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font: 700 12px var(--display);
  font-style: normal;
  color: var(--crimson);
  border: 1.5px solid var(--crimson);
  border-radius: 50%;
}

/* Royal Treasury */
.treasury {
  position: relative;
  padding: 40px;
  background:
    radial-gradient(ellipse 50% 70% at 0% 0%, rgba(217, 169, 74, 0.12), transparent 70%),
    linear-gradient(180deg, var(--stone-2), var(--stone));
  border: 1px solid var(--gold-deep);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 6px var(--stone), inset 0 0 0 7px rgba(217, 169, 74, 0.25), 0 24px 60px rgba(0, 0, 0, 0.5);
}
.treasury-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.treasury h2 { font-size: clamp(26px, 3.6vw, 36px); }
.weekly-amount { display: flex; align-items: center; gap: 18px; margin: 22px 0 28px; }
.coins { width: 104px; flex: none; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 18px rgba(217, 169, 74, 0.25)); }
.weekly-amount strong {
  display: block;
  font: 800 clamp(52px, 6.5vw, 76px) / 1 var(--display);
  background: linear-gradient(180deg, #fff2c9, var(--gold-bright) 40%, var(--gold) 70%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.weekly-amount span, .week-row span {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.week { padding: 20px; border: 1px solid var(--border); border-radius: 8px; background: rgba(0, 0, 0, 0.25); }
.week-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.week-row b { font: 700 24px var(--display); color: var(--gold-bright); font-variant-numeric: tabular-nums; }
.week-bar { position: relative; height: 16px; margin: 12px 0 0; border-radius: 999px; background: rgba(0, 0, 0, 0.5); border: 1px solid var(--gold-deep); overflow: hidden; }
.week-bar i {
  position: relative;
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold) 60%, var(--gold-bright));
  box-shadow: 0 0 14px rgba(243, 207, 122, 0.55);
  transition: width 1s linear;
  overflow: hidden;
}
.week-bar i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 251, 232, 0.55) 50%, transparent 70%);
  translate: -100% 0;
  animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine { 60%, 100% { translate: 100% 0; } }
.week-row { position: relative; }
.w-pop {
  position: absolute;
  right: 0;
  top: -6px;
  font: 800 16px var(--display);
  color: #3ddc7e;
  text-shadow: 0 0 10px rgba(61, 220, 126, 0.7);
  pointer-events: none;
  animation: popUp 2.6s ease-out forwards;
}
@keyframes popUp { 0% { opacity: 0; translate: 0 8px; } 15% { opacity: 1; translate: 0 -10px; } 100% { opacity: 0; translate: 0 -34px; } }
/* Past the weekly amount: the chest overflows */
.week.overflow { border-color: var(--gold); box-shadow: 0 0 24px rgba(243, 207, 122, 0.25), inset 0 0 30px rgba(217, 169, 74, 0.08); }
.week.overflow .week-row b { color: #fff3c4; text-shadow: 0 0 12px rgba(243, 207, 122, 0.8); }
.week.overflow .week-bar { border-color: var(--gold-bright); overflow: visible; box-shadow: 0 0 16px rgba(243, 207, 122, 0.6); }
.week.overflow .week-bar i { background: linear-gradient(90deg, var(--gold), var(--gold-bright), #fff3c4, var(--gold-bright), var(--gold)); background-size: 200% 100%; animation: overflowFlow 2.4s linear infinite; }
@keyframes overflowFlow { to { background-position: 200% 0; } }
.week.overflow .week-bar::after {
  /* coins spilling over the end of the bar */
  content: "●  ●  ●";
  position: absolute;
  right: -6px;
  top: -14px;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--gold-bright);
  text-shadow: 0 0 6px rgba(243, 207, 122, 0.9);
  animation: spill 1.6s ease-in infinite;
}
@keyframes spill { 0% { translate: 0 0; opacity: 1; } 100% { translate: 10px 26px; opacity: 0; } }
.w-over {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  font: 700 12px var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2a1a06;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  box-shadow: 0 0 16px rgba(243, 207, 122, 0.5);
}
@media (prefers-reduced-motion: reduce) { .week.overflow .week-bar i, .week.overflow .week-bar::after, .w-pop { animation: none; } }

/* Gift ticker */
.ledger { display: flex; flex-direction: column; min-width: 0; }
.ledger-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ledger h3 { font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.ledger-live { display: inline-flex; align-items: center; gap: 8px; font: 600 11px var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ledger-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--crimson-bright); box-shadow: 0 0 8px var(--crimson-bright); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.ticker {
  position: relative;
  height: 330px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ticker.rolling { mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); }
.ticker-track { list-style: none; padding: 0; margin: 0; }
.ticker.rolling .ticker-track { animation: roll linear infinite; }
.ticker.rolling:hover .ticker-track { animation-play-state: paused; }
@keyframes roll { to { transform: translateY(-50%); } }
.ticker li {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 14px;
  align-items: center;
  height: 72px;
  border-bottom: 1px dashed var(--border);
}
.pile { display: grid; place-items: center; width: 84px; height: 60px; }
.pile svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.5)); }
.pile.t1 svg { transform: scale(0.7); }
.pile.t2 svg { transform: scale(0.92); }
.pile.t3 svg { transform: scale(1.12); }
.pile.t4 svg { transform: scale(1.15); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 10px rgba(243, 207, 122, 0.55)); }
.pile.t4 .sparkle { animation: twinkle 1.8s ease-in-out infinite; transform-origin: 52px 16px; }
@keyframes twinkle { 50% { opacity: 0.2; scale: 0.6; } }
.l-main { display: grid; min-width: 0; }
.l-to { font: 700 18px var(--display); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.l-tier { color: var(--gold); font-size: 16px; font-style: italic; }
.ticker li:has(.t4) .l-tier { color: var(--gold-bright); font-weight: 600; }
.l-date { color: var(--muted); font-size: 15px; }
.ticker li.l-empty { display: block; height: auto; padding: 18px 0; color: var(--muted); font-style: italic; }

/* Hall of Fame spotlight on the home page */
.hof-spot-wrap { padding: 8px 0 56px; }
.hof-spot {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px 32px 18px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  background:
    radial-gradient(ellipse 50% 120% at 100% 50%, rgba(46, 230, 120, 0.08), transparent 70%),
    radial-gradient(ellipse 60% 140% at 0% 50%, rgba(122, 63, 194, 0.25), transparent 70%),
    linear-gradient(180deg, var(--stone-2), var(--stone));
  box-shadow: 0 0 30px rgba(243, 207, 122, 0.12), 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hof-spot:hover { transform: translateY(-3px); box-shadow: 0 0 40px rgba(243, 207, 122, 0.25), 0 24px 60px rgba(0, 0, 0, 0.55); }
.hof-spot-shot { padding: 6px; border-radius: 6px; background: linear-gradient(145deg, #fff2c9, var(--gold) 30%, var(--gold-deep) 60%, var(--gold)); }
.hof-spot-shot img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.hof-spot-info, .hof-spot-win, .hof-spot-shot { transition: opacity 0.35s ease; }
.hof-spot-shot .shot-frame::before { transition: background-image 0s; }
.hof-spot.swap .hof-spot-info, .hof-spot.swap .hof-spot-win, .hof-spot.swap .hof-spot-shot { opacity: 0; }
.hof-spot-info { display: grid; gap: 4px; min-width: 0; }
.hof-spot-info .eyebrow { margin-bottom: 2px; }
.hof-spot-name { font: 700 clamp(24px, 3vw, 32px) var(--display); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hof-spot-game { color: var(--muted); font-style: italic; font-size: 18px; }
.hof-spot-game b { font-style: normal; font-family: var(--display); color: var(--parchment-2); }
.hof-spot-win { display: grid; justify-items: end; gap: 2px; text-align: right; }
.hof-spot-win > span:first-child { font: 700 12px var(--display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.hof-spot-win strong {
  font: 800 clamp(34px, 4vw, 48px) / 1.05 var(--display);
  color: #3ddc7e;
  text-shadow: 0 0 12px rgba(46, 230, 120, 0.6), 0 0 28px rgba(46, 230, 120, 0.3);
}
.hof-spot-cta { margin-top: 6px; font: 700 13px var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-bright); }
.hof-spot:hover .hof-spot-cta { text-decoration: underline; }

/* Leaderboard — Hall of Champions */
.board-section {
  padding: 80px 0 40px;
  margin-top: 40px;
  border-top: 1px solid var(--gold-deep);
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(122, 63, 194, 0.35), transparent 70%),
    linear-gradient(180deg, #1d0f2e, var(--bg) 85%);
}
.board-section .section-head h2 { color: var(--gold-bright); }
.timer-label { margin-top: 18px; font-family: var(--display); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--parchment-2); }
.timer { display: inline-flex; gap: 10px; margin-top: 12px; }
.timer div {
  min-width: 72px;
  padding: 10px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--gold-deep);
}
.timer b { display: block; font: 700 28px var(--display); color: var(--gold-bright); }
.timer span { font-family: var(--display); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.period { width: min(520px, 100%); margin: 22px auto 0; }
.period-bar { height: 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.45); border: 1px solid var(--gold-deep); overflow: hidden; }
.period-bar i {
  position: relative;
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #5b2a92, var(--royal-bright) 55%, var(--gold-bright));
  box-shadow: 0 0 12px rgba(122, 63, 194, 0.7);
  transition: width 1s linear;
}
.period-bar i::after {
  /* glowing tip at the current moment */
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 14px;
  height: 14px;
  translate: 0 -50%;
  border-radius: 50%;
  background: radial-gradient(circle, #fff6d6, var(--gold-bright) 45%, transparent 70%);
}
.period-labels { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; font-family: var(--display); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.period-labels b { color: var(--gold-bright); font-weight: 700; }

.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: end; margin: 64px 0 36px; }
.pod {
  position: relative;
  padding: 2px;
  text-align: center;
  background: linear-gradient(180deg, var(--gold-deep), #5a4012);
  clip-path: polygon(0 0, 100% 0, 100% 84%, 50% 100%, 0 84%);
}
.pod-body {
  padding: 36px 20px 64px;
  background: linear-gradient(180deg, rgba(75, 31, 122, 0.95), #1a0d2b);
  clip-path: polygon(0 0, 100% 0, 100% 84%, 50% 100%, 0 84%);
}
.pod-1 { background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep)); }
.pod-1 .pod-body { padding: 52px 20px 80px; background: linear-gradient(180deg, #5b2a92, #1a0d2b); }
.pod-wrap { position: relative; }
.crown {
  position: absolute;
  top: -44px;
  left: 50%;
  translate: -50% 0;
  width: 72px;
  color: var(--gold-bright);
  filter: drop-shadow(0 0 14px rgba(243, 207, 122, 0.6));
  z-index: 2;
}
.pod-badge {
  width: 46px;
  height: 46px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font: 800 20px var(--display);
  color: #24170a;
  border: 2px solid rgba(0, 0, 0, 0.35);
}
.pod-badge.gold { background: radial-gradient(circle at 35% 30%, #fff3c4, var(--gold)); box-shadow: 0 0 22px rgba(243, 207, 122, 0.6); }
.pod-badge.silver { background: radial-gradient(circle at 35% 30%, #fff, var(--silver)); }
.pod-badge.bronze { background: radial-gradient(circle at 35% 30%, #ffd0a6, var(--bronze)); }
.pod-tier { width: 52px; height: 52px; object-fit: contain; margin: 0 auto 10px; }
.pod-1 .pod-tier { width: 66px; height: 66px; }
.pod-name { font: 700 20px var(--display); margin-bottom: 14px; word-break: break-all; color: var(--text); }
.pod-label { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.pod-score { font: 600 19px var(--display); margin: 2px 0 12px; }
.pod-prize { font: 800 34px var(--display); color: var(--gold-bright); text-shadow: 0 0 22px rgba(243, 207, 122, 0.35); }
.pod-1 .pod-prize { font-size: 42px; }

.table-card {
  border-radius: var(--radius);
  background: rgba(26, 21, 18, 0.9);
  border: 1px solid var(--gold-deep);
  overflow: hidden;
}
.lb-table { width: 100%; border-collapse: collapse; }
.lb-table th, .lb-table td { padding: 14px 20px; text-align: left; }
.lb-table th { font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); background: var(--stone-2); }
.lb-table tbody tr { border-top: 1px solid var(--border); }
.lb-table tbody tr:hover { background: rgba(217, 169, 74, 0.06); }
.lb-table .num { text-align: right; font-family: var(--display); font-variant-numeric: tabular-nums; }
.lb-table td.center { text-align: center; padding: 28px; font-style: italic; }
.lb-table td a { color: var(--gold-bright); }
.rank { font-family: var(--display); font-weight: 700; color: var(--muted); }
.player { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.player img { width: 22px; height: 22px; object-fit: contain; }
.prize { color: var(--gold-bright); font-weight: 700; }
.lb-table tr.extra { display: none; }
.table-card.expanded tr.extra { display: table-row; }
.lb-more {
  display: block;
  width: 100%;
  padding: 12px;
  font: 600 13px var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: var(--stone-2);
  border: 0;
  border-top: 1px solid var(--border);
  cursor: pointer;
}
.lb-more:hover { background: rgba(217, 169, 74, 0.08); }
.lb-scroll { position: relative; max-height: 560px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--gold-deep) transparent; }
.lb-scroll::-webkit-scrollbar { width: 8px; }
.lb-scroll::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 4px; }
.lb-table thead th { position: sticky; top: 0; z-index: 1; }
.table-card { position: relative; }
.lb-scroll.can-scroll::after {
  /* fade pinned to the bottom of the box, hinting there's more to scroll */
  content: "";
  position: sticky;
  bottom: 0;
  display: block;
  height: 48px;
  margin-top: -48px;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(26, 21, 18, 0.95));
}
.lb-table tr.prize-line { border-top: 0; }
.lb-table tr.prize-line td { padding: 0 20px; height: 34px; text-align: center; background: rgba(142, 27, 27, 0.18); border-top: 1px solid var(--crimson); }
.lb-table tr.prize-line span { font: 600 11px var(--display); letter-spacing: 0.18em; text-transform: uppercase; color: #e7a3a3; }
.lb-table tr.prize-line:hover { background: none; }
.lb-cta { display: grid; justify-items: center; gap: 12px; margin-top: 28px; }
.lb-foot { text-align: center; font-size: 15px; }
.lb-foot a { color: var(--gold-bright); }

/* Legendary Wins — wide coverflow of clips */
.clips-section { padding: 88px 0 72px; overflow: hidden; }
.clips-section .section-head h2 { color: var(--gold-bright); }
.flow {
  --card-w: min(880px, 80vw);
  --peek: 0.24; /* how far side cards slide out from behind the center card */
  position: relative;
  height: calc(var(--card-w) * 9 / 16 + 40px);
  perspective: 1800px;
  outline: none;
  touch-action: pan-y;
}
.flow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: calc(var(--card-w) * 1.1);
  height: 50px;
  translate: -50% 0;
  background: radial-gradient(ellipse at center, rgba(217, 169, 74, 0.3), transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}
.flow-track { position: absolute; inset: 0; transform-style: preserve-3d; }
.flow-card {
  position: absolute;
  top: 10px;
  left: 50%;
  width: var(--card-w);
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--gold-deep);
  background: var(--stone-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  transition: transform 0.8s cubic-bezier(0.22, 0.8, 0.22, 1), filter 0.8s, opacity 0.8s, border-color 0.4s;
  cursor: pointer;
  user-select: none;
}
.flow-card[data-pos="center"] {
  z-index: 3;
  transform: translateX(-50%);
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(243, 207, 122, 0.3), 0 0 60px rgba(217, 169, 74, 0.3), 0 30px 70px rgba(0, 0, 0, 0.7);
}
.flow-card[data-pos="left"],
.flow-card[data-pos="right"] { z-index: 2; filter: brightness(0.45) saturate(0.8); }
.flow-card[data-pos="left"] { transform: translateX(calc(-50% - var(--peek) * 100%)) translateZ(-220px) rotateY(24deg); }
.flow-card[data-pos="right"] { transform: translateX(calc(-50% + var(--peek) * 100%)) translateZ(-220px) rotateY(-24deg); }
.flow-card[data-pos="far-left"],
.flow-card[data-pos="far-right"] { z-index: 1; opacity: 0; pointer-events: none; }
.flow-card[data-pos="far-left"] { transform: translateX(calc(-50% - 50%)) translateZ(-500px) rotateY(30deg); }
.flow-card[data-pos="far-right"] { transform: translateX(calc(-50% + 50%)) translateZ(-500px) rotateY(-30deg); }
.flow-card[data-pos="left"]:hover,
.flow-card[data-pos="right"]:hover { filter: brightness(0.65); }

.flow-media {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, var(--royal), #140a22 75%) center / cover no-repeat;
}
.flow-media iframe, .flow-media video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; background: #000; }
.clip-sigil { font-size: 72px; color: var(--gold); opacity: 0.5; text-shadow: 0 0 24px rgba(217, 169, 74, 0.6); }
.clip-play {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  padding-left: 6px;
  border-radius: 50%;
  font-size: 30px;
  color: #fbeedd;
  background: radial-gradient(circle at 35% 30%, #c43a3a, var(--crimson) 65%, #5a0e0e);
  border: 2px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 30px rgba(196, 58, 58, 0.4);
  cursor: pointer;
  opacity: 0;
  scale: 0.8;
  transition: opacity 0.4s, scale 0.4s;
}
.flow-card[data-pos="center"] .clip-play { opacity: 1; scale: 1; }
.flow-card[data-pos="center"]:hover .clip-play { scale: 1.08; }
.flow-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  gap: 2px;
  padding: 48px 26px 20px;
  background: linear-gradient(180deg, transparent, rgba(10, 6, 3, 0.85) 55%);
  pointer-events: none;
}
.flow-card.playing .flow-info { opacity: 0; }
.clip-game { font-family: var(--display); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.clip-title { font: 700 26px var(--display); color: var(--text); line-height: 1.15; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8); }
.clip-win { font: 800 24px var(--display); color: var(--gold-bright); }

.carousel-ctrls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 18px; padding-inline: 16px; }
.ctrl {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font: 700 26px/1 var(--display);
  color: var(--gold-bright);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--gold-deep);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.ctrl:hover { border-color: var(--gold); background: var(--gold-soft); }
.flow-dots { display: flex; gap: 10px; }
.flow-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--gold-deep);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}
.flow-dots button.on { width: 28px; border-radius: 999px; background: var(--gold); border-color: var(--gold); }

/* ===== Hall of Fame page ===== */
.nav-links a.active { color: var(--gold-bright); }
.hall-hero { position: relative; text-align: center; padding: 90px 0 40px; }
.hall-hero h1 {
  font-family: var(--deco);
  font-weight: 900;
  font-size: clamp(44px, 8vw, 96px);
  background: linear-gradient(180deg, #fff2c9 10%, var(--gold-bright) 45%, var(--gold) 70%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.6));
}
.hall-sub { max-width: 56ch; margin: 14px auto 0; color: var(--muted); font-size: 20px; }
.pennant {
  position: absolute;
  top: 0;
  width: 84px;
  height: 230px;
  display: grid;
  place-items: center;
  padding-top: 40px;
  align-content: start;
  color: var(--gold-bright);
  font-size: 30px;
  background: linear-gradient(180deg, var(--crimson-bright), var(--crimson) 60%, #5a0e0e);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 84%, 0 100%);
  box-shadow: inset 0 0 0 3px rgba(243, 207, 122, 0.4);
  transform-origin: top center;
  animation: sway 6s ease-in-out infinite;
}
.pennant::before { content: ""; position: absolute; inset: 6px 6px 18px; clip-path: inherit; border: 2px solid rgba(243, 207, 122, 0.55); }
.pennant.left { left: 2%; }
.pennant.right { right: 2%; animation-delay: -3s; }
@keyframes sway { 50% { rotate: 1.6deg; } }
.hall-scroll { display: grid; justify-items: center; gap: 6px; margin-top: 34px; font: 600 11px var(--display); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.hall-scroll i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: drip 2s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { scale: 1 0; } 50% { scale: 1 1; } 100% { scale: 1 1; opacity: 0; } }

/* Timeline of wins */
.fame { position: relative; display: grid; gap: 110px; padding: 60px 0 100px; }
.fame::before {
  /* the gold spine down the middle */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  translate: -50% 0;
  background: linear-gradient(transparent, var(--gold-deep) 6%, var(--gold-deep) 94%, transparent);
}
.fame-entry { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 84px; align-items: center; }
.fame-node {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font: 800 16px var(--display);
  color: #2a1a06;
  background: radial-gradient(circle at 35% 30%, #fff3c4, var(--gold) 60%, var(--gold-deep));
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--gold-deep), 0 0 24px rgba(243, 207, 122, 0.4);
  scale: 0;
  transition: scale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
}
.fame-shot {
  position: relative;
  margin: 0;
  padding: 10px;
  border-radius: 6px;
  background: linear-gradient(145deg, #fff2c9, var(--gold) 25%, var(--gold-deep) 55%, var(--gold) 80%, #fff0c0);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(217, 169, 74, 0.15);
  opacity: 0;
  transform: translateX(-60px) rotate(-2deg);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 0.8, 0.22, 1);
}
.fame-shot::before,
.fame-shot::after {
  /* corner flourishes: the gold logo */
  content: "";
  position: absolute;
  width: 26px;
  height: 30px;
  background: url("assets/logo-gold.png") center / contain no-repeat;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7));
  z-index: 1;
}
.fame-shot::before { top: -16px; left: -12px; }
.fame-shot::after { bottom: -16px; right: -12px; }
.shot-frame {
  /* every screenshot sits whole in a 16:9 frame; odd shapes (phone screenshots) get a blurred backdrop */
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 3px;
  border: 2px solid #3a2a0c;
  background: #0b0806;
}
.shot-frame::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: var(--shot) center / cover no-repeat;
  filter: blur(18px) brightness(0.55);
}
.fame-shot img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.fame-plaque {
  position: relative;
  padding: 34px 32px 30px;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, 0.35), transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(120, 80, 30, 0.25), transparent 60%),
    linear-gradient(180deg, var(--parchment), var(--parchment-2));
  border-radius: 4px;
  box-shadow: inset 0 0 40px rgba(110, 70, 20, 0.35), 0 18px 40px rgba(0, 0, 0, 0.5);
  outline: 1px solid rgba(90, 60, 25, 0.35);
  outline-offset: -10px;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.9s ease 0.15s, transform 0.9s cubic-bezier(0.22, 0.8, 0.22, 1) 0.15s;
}
.fame-entry.flip .fame-shot { order: 2; transform: translateX(60px) rotate(2deg); }
.fame-entry.flip .fame-plaque { transform: translateX(-60px); }
.fame-entry.in .fame-shot { opacity: 1; transform: none; }
.fame-entry.in .fame-plaque { opacity: 1; transform: none; }
.fame-entry.in .fame-node { scale: 1; }

.fame-no { font: 700 12px var(--display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--crimson); }
.fame-name { font-size: clamp(26px, 3vw, 36px); color: var(--ink); margin: 4px 0 12px; word-break: break-word; }
.fame-rank { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.rank-badge {
  --metal: linear-gradient(135deg, #8a6420, #ffe9a8 28%, #c8932f 48%, #fff6d0 68%, #8a6420);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  font: 800 12px var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2a1606;
  background: var(--metal);
  border: 1px solid rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -2px 3px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.25);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}
.rank-badge i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-style: normal;
  font-size: 13px;
  background: var(--metal);
  border: 1px solid rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), inset 0 -2px 3px rgba(0, 0, 0, 0.3);
}
/* Platinum: cool, bright white metal for the top players */
.r-platinum {
  --metal: linear-gradient(135deg, #8e98a6, #ffffff 26%, #c9d1dc 46%, #f7fbff 64%, #9aa5b3);
  color: #1b2330;
}
.rank-points { display: inline-flex; align-items: center; gap: 6px; font-size: 17px; color: var(--ink-soft); }
.rank-points img { width: 24px; height: 24px; object-fit: contain; }
.rank-points b { font: 800 18px var(--display); color: var(--ink); }
.fame-game { font-size: 19px; color: var(--ink-soft); font-style: italic; }
.fame-game b { font-style: normal; font-family: var(--display); color: var(--ink); }
.fame-win { margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(90, 60, 25, 0.45); }
.fame-win span { display: block; font: 700 12px var(--display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.fame-win strong {
  display: block;
  font: 800 clamp(40px, 4.6vw, 58px) / 1.05 var(--display);
  color: #10a14d;
  text-shadow: 0 0 1px #05612b, 0 0 10px rgba(46, 230, 120, 0.75), 0 0 26px rgba(46, 230, 120, 0.45);
  animation: winGlow 2.8s ease-in-out infinite;
}
@keyframes winGlow { 50% { text-shadow: 0 0 1px #05612b, 0 0 14px rgba(46, 230, 120, 0.95), 0 0 36px rgba(46, 230, 120, 0.6); } }
@media (prefers-reduced-motion: reduce) { .fame-win strong { animation: none; } }

.hall-cta { padding: 0 0 90px; }
.hall-cta-card {
  text-align: center;
  padding: 44px 28px;
  border: 1px solid var(--gold-deep);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(122, 63, 194, 0.3), transparent 70%),
    linear-gradient(180deg, var(--stone-2), var(--stone));
  box-shadow: inset 0 0 0 6px var(--stone), inset 0 0 0 7px rgba(217, 169, 74, 0.25);
}
.hall-cta-card h2 { font-size: clamp(26px, 3.6vw, 38px); color: var(--gold-bright); margin-bottom: 8px; }
.hall-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }

@media (max-width: 900px) {
  .pennant { width: 56px; height: 150px; font-size: 20px; padding-top: 24px; }
  .fame { gap: 70px; padding-left: 34px; }
  .fame::before { left: 14px; translate: 0 0; }
  .fame-entry { grid-template-columns: 1fr; gap: 22px; }
  .fame-entry.flip .fame-shot { order: 0; }
  .fame-node { top: 0; left: -34px; translate: 0 0; width: 30px; height: 30px; font-size: 11px; border-width: 2px; }
  .fame-shot, .fame-entry.flip .fame-shot { transform: translateY(40px); }
  .fame-plaque, .fame-entry.flip .fame-plaque { transform: translateY(40px); }
}
@media (max-width: 640px) {
  .hall-hero { padding-top: 56px; }
  .pennant { display: none; }
  .hall-sub { font-size: 17px; }
  .fame-plaque { padding: 26px 20px 22px; }
  .fame-shot { padding: 6px; }
  .hall-cta-btns .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pennant, .hall-scroll i { animation: none; }
}

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 32px 0 40px; font-size: 15px; color: var(--parchment-2); }
.footer p + p { margin-top: 10px; }

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; text-align: center; }
  .hero-pic { order: -1; }
  .shield { width: min(230px, 60vw); }
  .socials { justify-content: center; }
  .intro { margin-inline: auto; }
  .code-row { justify-content: center; }
  .hero-ctas { margin-inline: auto; }
  .offers { grid-template-columns: 1fr; gap: 34px; max-width: 520px; margin-inline: auto; }
  .treasury-grid { grid-template-columns: 1fr; gap: 32px; }
  .hof-spot { grid-template-columns: 1fr; gap: 16px; padding: 16px; text-align: center; }
  .hof-spot-shot { max-width: 480px; width: 100%; justify-self: center; }
  .hof-spot-info { justify-items: center; }
  .hof-spot-win { justify-items: center; text-align: center; }
  .offer.featured { order: -1; margin-block: 0; }
  .offers { padding-block: 16px 0; }
  .podium { grid-template-columns: 1fr 1fr; gap: 40px 14px; max-width: 520px; margin-inline: auto; }
  .pod-wrap:has(.pod-1) { order: -1; grid-column: 1 / -1; width: 78%; justify-self: center; }
  .pod-wrap:has(.pod-3) { order: 1; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 28px 0 40px; gap: 20px; }
  .shield { width: 150px; padding: 5px; }
  .banner-ribbon { margin-top: -22px; padding: 7px 28px; font-size: 11px; }
  .hero h1 { font-size: 40px; }
  .tagline { font-size: 17px; margin: 6px 0 10px; }
  .intro { font-size: 17px; }
  .code-row { margin: 18px 0; gap: 10px; }
  .code-chip { font-size: 19px; padding: 8px 16px; }
  .hero-ctas { max-width: none; }
  .cta-pair .btn { padding-inline: 6px; font-size: 12.5px; letter-spacing: 0.04em; gap: 6px; }
  .cta-pair .btn-icon svg { width: 17px; height: 17px; }
  .offers { gap: 30px; }
  .offer { padding: 28px 20px 22px; }
  .offer.featured { padding: 38px 20px 24px; }
  .offer h3, .offer.featured h3 { font-size: 22px; }
  .offer ol { margin: 16px 0 20px; gap: 9px; }
  .offer li { font-size: 17px; }
  .offer li i { width: 26px; height: 26px; font-size: 11px; }
  .seal { width: 46px; height: 46px; font-size: 19px; top: -14px; right: 16px; }
  .section-sub { font-size: 17px; }
  .hero-pic { width: 100%; overflow: clip; overflow-clip-margin: 0; padding-top: 8px; }
  .hero-swords { width: 280px; opacity: 0.28; }
  .hero-glow, .embers { inset: 0; }
  .brand { font-size: 17px; }
  .nav-inner { gap: 10px; }
  .nav-actions { gap: 8px; }
  .nav-hall { padding: 7px 11px; font-size: 10.5px; letter-spacing: 0.08em; gap: 5px; }
  .nav-live { padding: 8px 10px; }
  .nav-live-text { display: none; }
  .treasury { padding: 26px 18px; }
  .weekly-amount { gap: 12px; margin: 16px 0 20px; }
  .coins { width: 72px; }
  .week { padding: 16px 14px; }
  .week-row b { font-size: 20px; }
  .ticker { height: 300px; }
  .ticker li { grid-template-columns: 64px 1fr auto; gap: 10px; height: 64px; }
  .pile { width: 64px; height: 48px; }
  .l-to { font-size: 16px; }
  .l-tier { font-size: 15px; }
  .l-date { font-size: 13px; }
  .lb-table th, .lb-table td { padding: 12px; }
  .lb-table th:nth-child(3), .lb-table td:nth-child(3) { display: none; }
  .timer div { min-width: 60px; }
  .flow { --card-w: 84vw; --peek: 0.1; perspective: 1000px; }
  .clip-play { width: 60px; height: 60px; font-size: 22px; }
  .flow-info { padding: 36px 14px 12px; }
  .clip-title { font-size: 18px; }
  .clip-game { font-size: 10px; }
  .board-section { padding-top: 56px; }
  .podium { margin-top: 52px; }
  .pod-body { padding: 26px 10px 44px; }
  .pod-1 .pod-body { padding: 34px 14px 56px; }
  .pod-badge { width: 36px; height: 36px; font-size: 16px; }
  .pod-tier { width: 40px; height: 40px; }
  .pod-1 .pod-tier { width: 52px; height: 52px; }
  .pod-name { font-size: 16px; margin-bottom: 10px; }
  .pod-score { font-size: 16px; }
  .pod-prize { font-size: 26px; }
  .pod-1 .pod-prize { font-size: 36px; }
  .crown { width: 58px; top: -36px; }
  .lb-cta .btn { width: 100%; }
}
