/* ============================================================
   VAULT — Riftbound TCG Intelligence
   The page itself is a foil rare. Ruthless. Opulent. Electric.
   True black, metallic gold, holographic sheen on scroll.
   ============================================================ */

/* --- Animatable custom properties --- */
@property --holo-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@property --foil-x {
  syntax: '<percentage>';
  initial-value: 50%;
  inherits: false;
}

@property --foil-y {
  syntax: '<percentage>';
  initial-value: 50%;
  inherits: false;
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ============================================================
   ACCESSIBILITY — Skip link and focus styles
   ============================================================ */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 10000;
  padding: 10px 20px;
  background: var(--gold);
  color: var(--black-void);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 6px 6px;
  transition: top 0.2s var(--ease-sharp);
}

.skip-link:focus {
  top: 0;
}

/* Golden focus ring on all interactive elements */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Suppress outline on mouse click (only show for keyboard) */
:focus:not(:focus-visible) {
  outline: none;
}

/* ============================================================
   SCROLL PROGRESS BAR — Gold line at the very top
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold), var(--gold-bright));
  z-index: 9999;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(200, 155, 60, 0.4), 0 0 2px rgba(200, 155, 60, 0.8);
}

/* ============================================================
   CURSOR AMBIENT LIGHT — Golden glow follows the mouse
   ============================================================ */
.cursor-light {
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 155, 60, 0.04) 0%, rgba(200, 155, 60, 0.015) 30%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

/* ============================================================
   SECTION REVEAL SYSTEM — Scroll-triggered entrance
   ============================================================ */
.pulse-section,
.edge-section,
.source-gates-section,
.install-section,
.privacy-section,
.trophy-section,
.rift-radar,
.urgency-band {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.pulse-section.is-revealed,
.edge-section.is-revealed,
.source-gates-section.is-revealed,
.install-section.is-revealed,
.privacy-section.is-revealed,
.trophy-section.is-revealed,
.rift-radar.is-revealed,
.urgency-band.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Brand Tokens --- */
:root {
  /* Gold hierarchy (the money palette) */
  --gold-bright: #F0E6D2;
  --gold: #C89B3C;
  --gold-dim: #785A28;
  --gold-deep: #463714;

  /* Accent (used sparingly for energy) */
  --cyan: #0AC8B9;
  --cyan-dim: #06847A;
  --purple: #9333EA;
  --purple-dim: #6B21A8;
  --region-piltover: #F0C15A;
  --region-zaun: #0AC8B9;
  --region-ionia: #D946EF;
  --region-noxus: #E11D48;
  --region-jungle: #22C55E;

  /* Riftbound rarity/treatment cues */
  --rarity-common: #A97B48;
  --rarity-uncommon: #C9D3DF;
  --rarity-rare: #F0C15A;
  --rarity-epic: #B56CFF;
  --rarity-alt: #0AC8B9;
  --rarity-overnumber: #F472B6;
  --rarity-signature: #F0E6D2;

  /* Surfaces (true black, not navy) */
  --black-void: #0A0A0F;
  --black-deep: #0E0E14;
  --black-surface: #14141C;
  --black-elevated: #1A1A24;
  --black-card: #1E1E28;

  /* Text */
  --text-primary: #F0E6D2;
  --text-secondary: rgba(240, 230, 210, 0.55);
  --text-tertiary: rgba(240, 230, 210, 0.62);
  --text-faint: rgba(240, 230, 210, 0.38);

  /* Status */
  --green-up: #2ECC71;
  --red-down: #E74C3C;

  /* Typography */
  --font-display: 'Sora', system-ui, -apple-system, sans-serif;
  --font-base: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Motion */
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-sharp: cubic-bezier(0.22, 1, 0.36, 1);

  /* Shadows */
  --shadow-card: 0 2px 4px rgba(0,0,0,0.5), 0 8px 24px rgba(0,0,0,0.3), 0 0 0 1px rgba(200,155,60,0.04);
  --shadow-card-hover: 0 4px 12px rgba(0,0,0,0.6), 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(200,155,60,0.12);
  --shadow-gold: 0 4px 24px rgba(200, 155, 60, 0.15), 0 0 0 1px rgba(200, 155, 60, 0.25);
  --shadow-gold-hover: 0 8px 40px rgba(200, 155, 60, 0.25), 0 0 0 1px rgba(200, 155, 60, 0.4);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--text-secondary);
  background: var(--black-void);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HEADER — Razor thin, gold accent, the vault door
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(10, 10, 15, 0.94);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(200, 155, 60, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: text-shadow 0.3s var(--ease-default);
}

.logo:hover {
  text-shadow: 0 0 12px rgba(200, 155, 60, 0.4);
}

.logo-divider {
  width: 1px;
  height: 16px;
  background: rgba(200, 155, 60, 0.2);
}

.logo-sub {
  font-family: var(--font-base);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease-default);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-sharp);
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ============================================================
   HERO — True black, holographic foil, the money shot
   ============================================================ */
.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: center;
  background: var(--black-void);
  overflow: hidden;
  padding: 100px 0 80px;
}

/* Holographic foil overlay — the page IS a premium card */
.hero-foil {
  position: absolute;
  inset: 0;
  background:
    conic-gradient(
      from var(--holo-angle) at var(--foil-x) var(--foil-y),
      rgba(200, 155, 60, 0.03) 0deg,
      rgba(147, 51, 234, 0.02) 60deg,
      rgba(10, 200, 185, 0.02) 120deg,
      rgba(200, 155, 60, 0.03) 180deg,
      rgba(147, 51, 234, 0.02) 240deg,
      rgba(10, 200, 185, 0.02) 300deg,
      rgba(200, 155, 60, 0.03) 360deg
    );
  animation: foil-rotate 12s linear infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

@keyframes foil-rotate {
  to { --holo-angle: 360deg; }
}

/* Deep gold radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 15%;
  width: 800px;
  height: 600px;
  background:
    radial-gradient(ellipse 400px 300px at 50% 50%, rgba(200, 155, 60, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 250px 250px at 70% 40%, rgba(147, 51, 234, 0.02) 0%, transparent 70%);
  pointer-events: none;
}

/* Secondary ambient */
.hero::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 600px;
  height: 500px;
  background: radial-gradient(ellipse 350px 300px at 50% 50%, rgba(200, 155, 60, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* Metallic particle field */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 4px rgba(200, 155, 60, 0.5);
  animation: particle-drift 6s ease-in-out infinite;
}

.particle:nth-child(1)  { top: 10%; right: 15%; animation-delay: 0s; opacity: 0.7; }
.particle:nth-child(2)  { top: 25%; right: 8%;  animation-delay: 1.2s; width: 3px; height: 3px; }
.particle:nth-child(3)  { top: 45%; right: 20%; animation-delay: 2.4s; opacity: 0.5; }
.particle:nth-child(4)  { top: 65%; right: 5%;  animation-delay: 0.6s; }
.particle:nth-child(5)  { top: 18%; right: 28%; animation-delay: 3.0s; width: 1.5px; height: 1.5px; }
.particle:nth-child(6)  { top: 40%; right: 10%; animation-delay: 1.8s; }
.particle:nth-child(7)  { top: 55%; right: 25%; animation-delay: 4.2s; opacity: 0.4; }
.particle:nth-child(8)  { top: 32%; right: 3%;  animation-delay: 0.9s; width: 2.5px; height: 2.5px; }
.particle:nth-child(9)  { top: 75%; right: 18%; animation-delay: 2.1s; }
.particle:nth-child(10) { top: 8%;  right: 35%; animation-delay: 3.6s; opacity: 0.3; }

@keyframes particle-drift {
  0%, 100% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }
  20% {
    opacity: 0.8;
    transform: translateY(-10px) scale(1);
  }
  80% {
    opacity: 0.4;
    transform: translateY(-30px) scale(0.7);
  }
}

/* Price chart visualization (right side hero) */
.hero-chart {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  height: 300px;
  opacity: 0.85;
  pointer-events: none;
}

.hero-chart svg {
  width: 100%;
  height: 100%;
}

/* Animated chart line drawing */
.chart-line {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: draw-chart 2s var(--ease-sharp) 0.8s forwards;
}

@keyframes draw-chart {
  to { stroke-dashoffset: 0; }
}

/* Pulsing price dot */
.price-dot {
  animation: price-pulse 2s ease-in-out infinite;
}

.price-dot-ring {
  animation: price-ring 2s ease-in-out infinite;
}

@keyframes price-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes price-ring {
  0%, 100% { r: 8; opacity: 0.3; }
  50% { r: 12; opacity: 0; }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-super {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold-dim);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(50px, 8vw, 86px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 0.92;
  margin-bottom: 28px;
  text-transform: uppercase;
  display: inline-flex;
  white-space: nowrap;

  text-shadow: none;
  filter: drop-shadow(0 0 40px rgba(200, 155, 60, 0.15));
  transition: filter 0.4s var(--ease-default);
}

/* Individual character reveal */
.hero-title__char {
  display: inline-block;
  background: linear-gradient(175deg, var(--gold-bright) 0%, var(--gold) 45%, var(--gold-dim) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(40px) rotateX(-40deg);
  animation: char-reveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes char-reveal {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

.hero-title:hover {
  filter: drop-shadow(0 0 60px rgba(200, 155, 60, 0.3));
}

.hero-title:hover .hero-title__char {
  background: conic-gradient(
    from var(--holo-angle),
    var(--gold-bright),
    var(--cyan),
    var(--purple),
    var(--gold),
    var(--gold-bright)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: holo-spin 3s linear infinite;
}

@keyframes holo-spin {
  to { --holo-angle: 360deg; }
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 15px;
  color: var(--text-tertiary);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 36px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dim) 100%);
  color: var(--black-void);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s var(--ease-default);
  box-shadow: var(--shadow-gold);
}

.hero-cta:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-gold-hover);
}

.hero-cta:active {
  transform: scale(0.97);
}

/* CTA shimmer sweep on hover */
.hero-cta {
  position: relative;
  overflow: hidden;
}

.hero-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 45%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.3) 55%,
    transparent 70%
  );
  transition: none;
  pointer-events: none;
}

.hero-cta:hover::after {
  animation: cta-shimmer 0.7s var(--ease-out) forwards;
}

@keyframes cta-shimmer {
  from { left: -100%; }
  to { left: 150%; }
}

.hero-cta-note {
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}

.hero-status-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
  max-width: 680px;
}

.set-wave {
  position: relative;
  min-height: 148px;
  padding: 15px 14px 14px;
  border-radius: 10px;
  border: 1px solid rgba(200, 155, 60, 0.08);
  background:
    linear-gradient(180deg, rgba(240, 230, 210, 0.035), transparent 46%),
    rgba(14, 14, 20, 0.82);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(240, 230, 210, 0.02);
  overflow: hidden;
}

.set-wave::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--gold);
  opacity: 0.8;
}

.set-wave::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 34%, rgba(240, 230, 210, 0.05) 48%, transparent 62%);
  transform: translateX(-120%);
  pointer-events: none;
}

.set-wave:hover::after {
  animation: foil-flash 0.8s var(--ease-out) both;
}

.set-wave--origins::before { background: linear-gradient(90deg, var(--gold), var(--rarity-overnumber)); }
.set-wave--spirit::before { background: linear-gradient(90deg, var(--purple), var(--cyan)); }
.set-wave--unleashed::before { background: linear-gradient(90deg, var(--region-jungle), var(--region-noxus)); }

.set-wave__label {
  display: inline-flex;
  margin-bottom: 9px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.set-wave--spirit .set-wave__label { color: var(--purple); }
.set-wave--unleashed .set-wave__label { color: var(--region-jungle); }

.set-wave strong {
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1.2;
  color: var(--text-primary);
}

.set-wave p {
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-tertiary);
}

/* ============================================================
   URGENCY BAND — Social proof, numbers that create FOMO
   ============================================================ */
.urgency-band {
  background: var(--black-deep);
  border-top: 1px solid rgba(200, 155, 60, 0.06);
  border-bottom: 1px solid rgba(200, 155, 60, 0.06);
  padding: 28px 24px;
  overflow: hidden;
}

.urgency-band__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.urgency-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 32px;
}

.urgency-stat__value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.urgency-stat--alt .urgency-stat__value {
  color: var(--rarity-alt);
  text-shadow: 0 0 18px rgba(10, 200, 185, 0.18);
}

.urgency-stat--overnumber .urgency-stat__value {
  color: var(--rarity-overnumber);
  text-shadow: 0 0 18px rgba(244, 114, 182, 0.18);
}

.urgency-stat--vault .urgency-stat__value {
  color: var(--region-jungle);
  text-shadow: 0 0 18px rgba(34, 197, 94, 0.18);
}

.urgency-stat--champion .urgency-stat__value {
  color: var(--region-piltover);
  text-shadow: 0 0 18px rgba(240, 193, 90, 0.2);
}

.urgency-stat__label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
}

.urgency-divider {
  width: 1px;
  height: 36px;
  background: rgba(200, 155, 60, 0.1);
  flex-shrink: 0;
}

/* ============================================================
   BREATH — The pause that makes the punch land
   ============================================================ */
.breath-section {
  height: 22vh;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--black-void) 0%, #0C0C12 50%, var(--black-void) 100%);
  position: relative;
}

.breath-text {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: transparent;
  font-style: italic;
  text-align: center;
  max-width: 500px;
  padding: 0 24px;
  transition: color 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.breath-text.is-visible {
  color: transparent;
  background: linear-gradient(
    90deg,
    rgba(168, 144, 96, 0.4) 0%,
    rgba(168, 144, 96, 0.4) 35%,
    rgba(240, 230, 210, 0.72) 50%,
    rgba(168, 144, 96, 0.4) 65%,
    rgba(168, 144, 96, 0.4) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: breath-shimmer 6s ease-in-out infinite;
}

@keyframes breath-shimmer {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: -100% 0; }
}

/* ============================================================
   TROPHY CARD — The object of desire, parallax holographic
   ============================================================ */
.trophy-section {
  padding: 100px 0 120px;
  background: var(--black-void);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.trophy-section > .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(320px, 440px);
  align-items: center;
  justify-content: center;
  gap: 72px;
}

.trophy-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200, 155, 60, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.trophy-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.trophy-card__inner {
  width: 300px;
  height: 426px;
  transition: transform 0.1s ease-out;
  transform-style: preserve-3d;
}

.trophy-card__frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  border: 1.5px solid rgba(200, 155, 60, 0.2);
  background: var(--black-surface);
  overflow: hidden;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.5),
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(200, 155, 60, 0.08),
    inset 0 0 40px rgba(200, 155, 60, 0.02);
}

/* Ornamental corners */
.trophy-corner {
  position: absolute;
  width: 32px;
  height: 32px;
  color: var(--gold);
  opacity: 0.4;
  z-index: 2;
}

.trophy-corner--tl { top: 6px; left: 6px; }
.trophy-corner--tr { top: 6px; right: 6px; }
.trophy-corner--bl { bottom: 6px; left: 6px; }
.trophy-corner--br { bottom: 6px; right: 6px; }

/* Card art area — handcrafted Riftbound market card */
.trophy-card__art {
  position: absolute;
  inset: 20px;
  border-radius: 8px;
  background:
    radial-gradient(ellipse 80% 42% at 50% 20%, rgba(240, 230, 210, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 45% 52% at 25% 62%, rgba(10, 200, 185, 0.12) 0%, transparent 62%),
    radial-gradient(ellipse 42% 52% at 74% 58%, rgba(147, 51, 234, 0.14) 0%, transparent 60%),
    linear-gradient(145deg, rgba(200, 155, 60, 0.12) 0%, rgba(20, 20, 28, 0.94) 44%, rgba(10, 10, 15, 0.98) 100%);
  border: 1px solid rgba(200, 155, 60, 0.16);
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(240, 230, 210, 0.04),
    inset 0 0 28px rgba(10, 200, 185, 0.035),
    inset 0 -24px 40px rgba(0, 0, 0, 0.35);
}

.trophy-card__art::before {
  content: '';
  position: absolute;
  inset: -40%;
  background:
    repeating-linear-gradient(
      115deg,
      transparent 0 12px,
      rgba(240, 230, 210, 0.018) 12px 13px
    ),
    conic-gradient(
      from var(--holo-angle),
      rgba(200, 155, 60, 0.02),
      rgba(10, 200, 185, 0.025),
      rgba(147, 51, 234, 0.025),
      rgba(200, 155, 60, 0.02)
    );
  animation: trophy-foil-drift 9s linear infinite;
  mix-blend-mode: screen;
}

.trophy-card__art::after {
  content: '';
  position: absolute;
  inset: 44px 18px 54px;
  border: 1px solid rgba(200, 155, 60, 0.1);
  border-radius: 999px 999px 34px 34px;
  background:
    radial-gradient(circle at 50% 26%, rgba(240, 230, 210, 0.08) 0%, transparent 34%),
    linear-gradient(180deg, transparent 0%, rgba(200, 155, 60, 0.035) 100%);
  pointer-events: none;
}

@keyframes trophy-foil-drift {
  to { transform: rotate(360deg); }
}

.trophy-card__topline,
.trophy-card__footer {
  position: absolute;
  left: 10px;
  right: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 230, 210, 0.62);
}

.trophy-card__topline {
  top: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(200, 155, 60, 0.1);
}

.trophy-card__sigils {
  position: absolute;
  top: 34px;
  left: 12px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.trophy-card__sigil {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 800;
  background: rgba(10, 10, 15, 0.78);
  border: 1px solid currentColor;
  box-shadow: 0 0 12px currentColor;
}

.trophy-card__sigil--gold { color: rgba(200, 155, 60, 0.75); }
.trophy-card__sigil--cyan { color: rgba(10, 200, 185, 0.72); }
.trophy-card__sigil--purple { color: rgba(147, 51, 234, 0.72); }

.trophy-card__champion {
  position: absolute;
  inset: 58px 38px 70px;
  z-index: 3;
}

.trophy-card__champion-aura {
  position: absolute;
  inset: -18px -26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(240, 230, 210, 0.12) 0%, transparent 36%),
    radial-gradient(circle at 38% 58%, rgba(10, 200, 185, 0.1) 0%, transparent 42%),
    radial-gradient(circle at 62% 58%, rgba(147, 51, 234, 0.1) 0%, transparent 42%);
  filter: blur(1px);
}

.trophy-card__champion-head,
.trophy-card__champion-body,
.trophy-card__champion-blade {
  position: absolute;
  left: 50%;
  display: block;
  background: linear-gradient(180deg, rgba(240, 230, 210, 0.82), rgba(200, 155, 60, 0.18));
  box-shadow: 0 0 18px rgba(200, 155, 60, 0.18);
}

.trophy-card__champion-head {
  top: 22px;
  width: 36px;
  height: 36px;
  transform: translateX(-50%) rotate(45deg);
  border-radius: 42% 42% 48% 48%;
}

.trophy-card__champion-body {
  top: 62px;
  width: 82px;
  height: 112px;
  transform: translateX(-50%);
  clip-path: polygon(50% 0, 78% 22%, 100% 100%, 0 100%, 22% 22%);
}

.trophy-card__champion-blade {
  top: 66px;
  width: 8px;
  height: 118px;
  transform-origin: top center;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(10, 200, 185, 0.76), rgba(147, 51, 234, 0.18));
}

.trophy-card__champion-blade--left {
  transform: translateX(-72px) rotate(-28deg);
}

.trophy-card__champion-blade--right {
  transform: translateX(64px) rotate(28deg);
}

.trophy-card__runes {
  position: absolute;
  right: 12px;
  top: 38px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.trophy-card__runes span {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(240, 230, 210, 0.16);
  transform: rotate(45deg);
  background:
    radial-gradient(circle, rgba(240, 230, 210, 0.22) 0 2px, transparent 3px),
    rgba(10, 10, 15, 0.7);
}

.trophy-card__type-strip {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 38px;
  z-index: 4;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(200, 155, 60, 0.14);
  border-radius: 4px;
  background: rgba(10, 10, 15, 0.72);
  color: rgba(240, 230, 210, 0.66);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 8px;
}

.trophy-card__footer {
  bottom: 16px;
  padding-top: 7px;
  border-top: 1px solid rgba(200, 155, 60, 0.1);
}

.trophy-card__seal {
  position: absolute;
  right: 18px;
  bottom: 40px;
  z-index: 5;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--black-void);
  background: conic-gradient(from var(--holo-angle), var(--gold-bright), var(--cyan), var(--purple), var(--gold-bright));
  box-shadow: 0 0 24px rgba(200, 155, 60, 0.24);
  animation: seal-glow 4s ease-in-out infinite;
}

@keyframes seal-glow {
  0%, 100% { transform: scale(1); filter: saturate(1); }
  50% { transform: scale(1.08); filter: saturate(1.35); }
}

/* Holographic overlay — shifts with mouse position */
.trophy-card__holo {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background:
    linear-gradient(
      135deg,
      rgba(200, 155, 60, 0.0) 0%,
      rgba(200, 155, 60, 0.08) 20%,
      rgba(10, 200, 185, 0.06) 35%,
      rgba(147, 51, 234, 0.08) 50%,
      rgba(200, 155, 60, 0.06) 65%,
      rgba(10, 200, 185, 0.04) 80%,
      rgba(200, 155, 60, 0.0) 100%
    );
  background-size: 200% 200%;
  background-position: 50% 50%;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: background-position 0.05s ease-out;
}

/* Trophy card idle float — breathes when no mouse present */
.trophy-card__inner.is-idle {
  animation: trophy-float 4s ease-in-out infinite;
}

@keyframes trophy-float {
  0%, 100% {
    transform: perspective(1000px) translateY(0px) rotateX(0deg) rotateY(0deg);
  }
  25% {
    transform: perspective(1000px) translateY(-6px) rotateX(1deg) rotateY(-0.5deg);
  }
  50% {
    transform: perspective(1000px) translateY(-10px) rotateX(0.5deg) rotateY(1deg);
  }
  75% {
    transform: perspective(1000px) translateY(-5px) rotateX(-0.5deg) rotateY(0.5deg);
  }
}

/* Price callout beneath card */
.trophy-card__price {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
}

.trophy-card__price-before {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-tertiary);
  text-decoration: line-through;
  text-decoration-color: rgba(200, 155, 60, 0.3);
}

.trophy-card__price-arrow {
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  position: relative;
}

.trophy-card__price-arrow::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -3px;
  width: 0;
  height: 0;
  border-left: 5px solid var(--gold);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.trophy-card__price-after {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(200, 155, 60, 0.2);
}

.trophy-card__price-time {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  margin-left: 4px;
}

/* Card-back cross-hatch texture band (TCG identity signal) */
.trophy-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 44px;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 8px,
      rgba(200, 155, 60, 0.018) 8px,
      rgba(200, 155, 60, 0.018) 9px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(200, 155, 60, 0.018) 8px,
      rgba(200, 155, 60, 0.018) 9px
    );
  pointer-events: none;
}

.rarity-stack {
  position: relative;
  padding: 30px 28px;
  border-radius: 14px;
  border: 1px solid rgba(200, 155, 60, 0.08);
  background:
    radial-gradient(ellipse 280px 180px at 18% 10%, rgba(10, 200, 185, 0.055), transparent 68%),
    radial-gradient(ellipse 260px 180px at 92% 18%, rgba(244, 114, 182, 0.05), transparent 68%),
    linear-gradient(180deg, rgba(240, 230, 210, 0.035), transparent 38%),
    rgba(14, 14, 20, 0.86);
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.36),
    inset 0 0 0 1px rgba(240, 230, 210, 0.025);
  overflow: hidden;
}

.rarity-stack::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 24px,
      rgba(240, 230, 210, 0.012) 24px 25px
    );
  opacity: 0.55;
  pointer-events: none;
}

.rarity-stack::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--rarity-common), var(--rarity-rare), var(--rarity-epic), var(--rarity-overnumber), var(--rarity-signature));
}

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

.rarity-stack__title {
  max-width: 360px;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.16;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.rarity-stack__intro {
  max-width: 390px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-tertiary);
}

.rarity-stack__rows {
  display: grid;
  gap: 10px;
}

.rarity-stack__row {
  display: grid;
  grid-template-columns: 22px minmax(112px, 0.72fr) 1fr;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(240, 230, 210, 0.055);
  background: rgba(10, 10, 15, 0.48);
  transition: transform 0.35s var(--ease-bounce), border-color 0.3s var(--ease-default), background 0.3s var(--ease-default);
}

.rarity-stack__row:hover {
  transform: translateX(5px);
  border-color: color-mix(in srgb, var(--row-color) 42%, transparent);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--row-color) 12%, transparent), rgba(10, 10, 15, 0.54));
}

.rarity-stack__gem {
  width: 14px;
  height: 14px;
  display: block;
  justify-self: center;
  border: 1px solid color-mix(in srgb, var(--row-color) 78%, transparent);
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.42), transparent 28%),
    color-mix(in srgb, var(--row-color) 52%, var(--black-void));
  box-shadow: 0 0 14px color-mix(in srgb, var(--row-color) 28%, transparent);
}

.rarity-stack__row strong {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.25;
}

.rarity-stack__row span:last-child {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-tertiary);
}

.rarity-stack__row--common { --row-color: var(--rarity-common); }
.rarity-stack__row--rare { --row-color: var(--rarity-rare); }
.rarity-stack__row--epic { --row-color: var(--rarity-epic); }
.rarity-stack__row--alt { --row-color: var(--rarity-alt); }
.rarity-stack__row--overnumber { --row-color: var(--rarity-overnumber); }
.rarity-stack__row--signature { --row-color: var(--rarity-signature); }

.rarity-stack__row--common .rarity-stack__gem {
  border-radius: 50%;
}

.rarity-stack__row--rare .rarity-stack__gem {
  border-radius: 2px;
}

.rarity-stack__row--epic .rarity-stack__gem {
  clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
}

.rarity-stack__row--alt .rarity-stack__gem,
.rarity-stack__row--overnumber .rarity-stack__gem,
.rarity-stack__row--signature .rarity-stack__gem {
  transform: rotate(45deg);
  border-radius: 3px;
}

/* ============================================================
   RIFTBOUND RADAR — Game-first market intelligence
   ============================================================ */
.rift-radar {
  padding: 96px 0 112px;
  background:
    radial-gradient(ellipse 700px 420px at 12% 20%, rgba(10, 200, 185, 0.035) 0%, transparent 68%),
    radial-gradient(ellipse 620px 400px at 88% 40%, rgba(147, 51, 234, 0.035) 0%, transparent 68%),
    var(--black-deep);
  border-top: 1px solid rgba(200, 155, 60, 0.05);
  border-bottom: 1px solid rgba(200, 155, 60, 0.05);
  position: relative;
  overflow: hidden;
}

.rift-radar::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 36px,
      rgba(240, 230, 210, 0.01) 36px 37px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 36px,
      rgba(240, 230, 210, 0.008) 36px 37px
    );
  opacity: 0.45;
  pointer-events: none;
}

.rift-radar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10, 200, 185, 0.12), rgba(200, 155, 60, 0.12), rgba(147, 51, 234, 0.12), transparent);
}

.rift-radar .container {
  position: relative;
  z-index: 1;
}

.rift-radar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}

.rift-radar__card {
  min-height: 292px;
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(200, 155, 60, 0.06);
  background:
    linear-gradient(180deg, rgba(240, 230, 210, 0.025), transparent 42%),
    rgba(20, 20, 28, 0.88);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease-bounce), box-shadow 0.4s var(--ease-default), border-color 0.3s var(--ease-default);
  opacity: 0;
}

.rift-radar__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 20%, rgba(240, 230, 210, 0.025) 45%, transparent 60%),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(240, 230, 210, 0.012) 18px 19px);
  transform: translateX(-100%);
  pointer-events: none;
}

.rift-radar__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.rift-radar__card:hover::before {
  animation: foil-flash 0.9s var(--ease-out) both;
}

.rift-radar__card--zaun { border-color: rgba(10, 200, 185, 0.09); }
.rift-radar__card--ionia { border-color: rgba(147, 51, 234, 0.09); }
.rift-radar__card--noxus { border-color: rgba(200, 155, 60, 0.09); }

.rift-radar__eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.rift-radar__card--zaun .rift-radar__eyebrow { color: var(--cyan); }
.rift-radar__card--ionia .rift-radar__eyebrow { color: var(--purple); }

.rift-radar__card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.28;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.rift-radar__card p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.rift-radar__ticker {
  margin-top: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rift-radar__ticker span {
  min-height: 28px;
  padding: 7px 10px;
  border: 1px solid rgba(10, 200, 185, 0.16);
  border-radius: 999px;
  color: rgba(10, 200, 185, 0.78);
  background: rgba(10, 200, 185, 0.035);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

.rift-radar__scan {
  margin-top: auto;
  height: 62px;
  border: 1px solid rgba(147, 51, 234, 0.16);
  border-radius: 8px;
  position: relative;
  background:
    linear-gradient(90deg, rgba(147, 51, 234, 0.03), rgba(10, 200, 185, 0.025)),
    rgba(10, 10, 15, 0.5);
  overflow: hidden;
}

.rift-radar__scan::before,
.rift-radar__scan::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(240, 230, 210, 0.12);
}

.rift-radar__scan::after {
  inset: 20px 46px;
  border-radius: 3px;
  background: rgba(240, 230, 210, 0.035);
}

.rift-radar__scan span {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent);
  box-shadow: 0 0 14px rgba(10, 200, 185, 0.35);
  animation: scan-pass 2.6s var(--ease-sharp) infinite;
}

@keyframes scan-pass {
  0%, 100% { transform: translateY(-22px); opacity: 0; }
  15%, 85% { opacity: 1; }
  50% { transform: translateY(22px); }
}

.rift-radar__value {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(200, 155, 60, 0.08);
}

.rift-radar__value span {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--gold);
}

.rift-radar__value strong {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--green-up);
}

/* ============================================================
   LIVE PULSE — The market is alive, show it
   ============================================================ */
.pulse-section {
  padding: 100px 0 120px;
  background: var(--black-void);
  position: relative;
}

.pulse-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,155,60,0.1), transparent);
}

.pulse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.pulse-card {
  background: var(--black-surface);
  border: 1px solid rgba(200, 155, 60, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease-default), box-shadow 0.3s var(--ease-default);
  opacity: 0;
}

.pulse-section.is-revealed .pulse-card {
  /* Opacity handled by stagger animation */
}

.pulse-card:hover {
  border-color: rgba(200, 155, 60, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.pulse-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px 12px;
  border-bottom: 1px solid rgba(200, 155, 60, 0.04);
}

.pulse-card__indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pulse-card__indicator--up {
  background: var(--green-up);
  box-shadow: 0 0 6px rgba(46, 204, 113, 0.4);
  animation: indicator-pulse 2s ease-in-out infinite;
}

.pulse-card__indicator--gold {
  background: var(--gold);
  box-shadow: 0 0 6px rgba(200, 155, 60, 0.4);
}

.pulse-card__indicator--alert {
  background: var(--cyan);
  box-shadow: 0 0 6px rgba(10, 200, 185, 0.4);
  animation: indicator-pulse 1.5s ease-in-out infinite;
}

@keyframes indicator-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.pulse-card__title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
}

.pulse-card__body {
  padding: 16px 20px 20px;
}

/* Trending items */
.pulse-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.pulse-item:last-child {
  border-bottom: none;
}

.pulse-item__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

.pulse-item__price {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}

.pulse-item__price--up {
  color: var(--green-up);
}

/* Portfolio card */
.pulse-portfolio-value {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.pulse-portfolio-value__amount {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
}

.pulse-portfolio-value__change {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--green-up);
}

.pulse-portfolio-bar {
  height: 4px;
  background: rgba(200, 155, 60, 0.1);
  border-radius: 2px;
  margin-bottom: 10px;
  overflow: hidden;
}

.pulse-portfolio-bar__fill {
  height: 100%;
  width: 74%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  border-radius: 2px;
}

.pulse-portfolio-label {
  font-size: 11px;
  color: var(--text-tertiary);
}

/* Alert card */
.pulse-alert {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pulse-alert__card {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.pulse-alert__message {
  font-size: 12px;
  color: var(--text-secondary);
}

.pulse-alert__action {
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* ============================================================
   SECTION TYPOGRAPHY
   ============================================================ */
.section-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 14px;
  max-width: 600px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-tertiary);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 0;
}

/* ============================================================
   YOUR EDGE — Features as competitive advantages
   ============================================================ */
.edge-section {
  padding: 100px 0 120px;
  background: var(--black-deep);
  position: relative;
}

.edge-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,155,60,0.08), transparent);
}

/* Subtle TCG table texture, not a frame around the section */
.edge-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 18px,
      rgba(200, 155, 60, 0.01) 18px,
      rgba(200, 155, 60, 0.01) 19px
    );
  opacity: 0.55;
  pointer-events: none;
}

.edge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.edge-card {
  background: var(--black-surface);
  border: 1px solid rgba(200, 155, 60, 0.05);
  border-radius: 12px;
  padding: 32px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.4s var(--ease-bounce), box-shadow 0.4s var(--ease-default), border-color 0.3s var(--ease-default);
  position: relative;
  overflow: hidden;
  opacity: 0;
}

.edge-section.is-revealed .edge-card {
  /* Opacity handled by stagger animation */
}

.edge-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}

.edge-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.edge-card--gold::before { background: var(--gold); }
.edge-card--cyan::before { background: var(--cyan); }
.edge-card--purple::before { background: var(--purple); }

.edge-card--gold:hover {
  border-color: rgba(200, 155, 60, 0.12);
  box-shadow: 0 -2px 24px rgba(200, 155, 60, 0.1), 0 20px 60px rgba(0,0,0,0.5);
}

.edge-card--cyan:hover {
  border-color: rgba(10, 200, 185, 0.12);
  box-shadow: 0 -2px 24px rgba(10, 200, 185, 0.1), 0 20px 60px rgba(0,0,0,0.5);
}

.edge-card--purple:hover {
  border-color: rgba(147, 51, 234, 0.12);
  box-shadow: 0 -2px 24px rgba(147, 51, 234, 0.1), 0 20px 60px rgba(0,0,0,0.5);
}

/* Holographic flash on hover */
.edge-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(200, 155, 60, 0.04) 44%,
    rgba(255, 255, 255, 0.02) 48%,
    transparent 52%
  );
  transform: translateX(-100%);
  pointer-events: none;
  border-radius: 12px;
}

.edge-card:hover::after {
  animation: foil-flash 0.8s var(--ease-out) both;
}

@keyframes foil-flash {
  from { transform: translateX(-100%); }
  to { transform: translateX(300%); }
}

.edge-card__icon {
  width: 48px;
  height: 48px;
}

.edge-card__icon svg {
  width: 100%;
  height: 100%;
}

.edge-card--gold .edge-card__icon { color: var(--gold); }
.edge-card--cyan .edge-card__icon { color: var(--cyan); }
.edge-card--purple .edge-card__icon { color: var(--purple); }

.edge-card__body {
  flex: 1;
}

.edge-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.edge-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.edge-card__sites {
  padding-top: 14px;
  border-top: 1px solid rgba(200, 155, 60, 0.04);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.01em;
}

/* ============================================================
   CLAIM GATES — Public promise ledger, visible on the page
   ============================================================ */
.source-gates-section {
  padding: 96px 0 116px;
  background:
    linear-gradient(180deg, var(--black-deep) 0%, var(--black-void) 100%);
  position: relative;
  overflow: hidden;
}

.source-gates-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10, 200, 185, 0.12), rgba(200, 155, 60, 0.12), transparent);
}

.source-gates-section::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 34px,
      rgba(200, 155, 60, 0.018) 34px,
      rgba(200, 155, 60, 0.018) 35px
    );
  opacity: 0.45;
  pointer-events: none;
}

.source-gates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.source-gate {
  min-height: 280px;
  padding: 26px 22px 20px;
  background: rgba(16, 16, 24, 0.88);
  border: 1px solid rgba(200, 155, 60, 0.06);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-bounce), border-color 0.3s var(--ease-default), box-shadow 0.3s var(--ease-default);
}

.source-gate::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}

.source-gate::after {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.025);
  border-radius: 8px;
  pointer-events: none;
}

.source-gate:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 155, 60, 0.14);
  box-shadow: var(--shadow-card-hover);
}

.source-gate--gold::before { background: var(--gold); }
.source-gate--cyan::before { background: var(--cyan); }
.source-gate--purple::before { background: var(--purple); }
.source-gate--green::before { background: var(--green-up); }

.source-gate--gold:hover {
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.48), 0 0 34px rgba(200, 155, 60, 0.1);
}

.source-gate--cyan:hover {
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.48), 0 0 34px rgba(10, 200, 185, 0.1);
}

.source-gate--purple:hover {
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.48), 0 0 34px rgba(147, 51, 234, 0.1);
}

.source-gate--green:hover {
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.48), 0 0 34px rgba(34, 197, 94, 0.1);
}

.source-gate__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-tertiary);
  margin-bottom: 18px;
}

.source-gate--gold .source-gate__label { color: var(--gold); }
.source-gate--cyan .source-gate__label { color: var(--cyan); }
.source-gate--purple .source-gate__label { color: var(--purple); }
.source-gate--green .source-gate__label { color: var(--green-up); }

.source-gate h3 {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.source-gate p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
  flex: 1;
}

.source-gate__proof {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(200, 155, 60, 0.05);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(200, 155, 60, 0.68);
}

/* ============================================================
   EARLY ACCESS — Private build, store-delivered
   The conversion point. This must feel like the vault opening.
   ============================================================ */
.install-section {
  padding: 100px 0 120px;
  background: var(--black-void);
  position: relative;
  overflow: hidden;
}

.install-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,155,60,0.08), transparent);
}

.install-content {
  position: relative;
  z-index: 1;
}

/* Vault door motif -- background atmosphere */
.install-vault {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  height: 280px;
  opacity: 0.35;
  pointer-events: none;
}

.install-vault__door {
  width: 100%;
  height: 100%;
}

.install-vault__ring {
  transform-origin: 100px 100px;
  animation: vault-spin 20s linear infinite;
}

@keyframes vault-spin {
  to { transform: rotate(360deg); }
}

.install-notify {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.notify-cta {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 40px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dim) 100%);
  color: var(--black-void);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.4s var(--ease-bounce), box-shadow 0.4s var(--ease-default);
  box-shadow: var(--shadow-gold);
}

.notify-cta:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-gold-hover);
}

.notify-cta:active {
  transform: scale(0.97);
}

/* Shimmer sweep on notify CTA */
.notify-cta {
  position: relative;
  overflow: hidden;
}

.notify-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 45%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.3) 55%,
    transparent 70%
  );
  pointer-events: none;
}

.notify-cta:hover::after {
  animation: cta-shimmer 0.7s var(--ease-out) forwards;
}

.notify-note {
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}

/* ============================================================
   PRIVACY — Vault-level security messaging
   ============================================================ */
.privacy-section {
  background: var(--black-deep);
  padding: 56px 0;
  border-top: 1px solid rgba(200, 155, 60, 0.04);
  border-bottom: 1px solid rgba(200, 155, 60, 0.04);
}

.privacy-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 560px;
}

.privacy-icon {
  flex-shrink: 0;
  padding-top: 2px;
}

.privacy-text h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.privacy-text p {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.75;
}

/* ============================================================
   FOOTER — The last impression. Not a whimper.
   ============================================================ */
.site-footer {
  padding: 48px 0 40px;
  background: var(--black-void);
  border-top: 1px solid rgba(200, 155, 60, 0.04);
  position: relative;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 100px;
  background: radial-gradient(ellipse at 50% 0%, rgba(200, 155, 60, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-divider {
  width: 1px;
  height: 14px;
  background: rgba(200, 155, 60, 0.15);
}

.site-footer p {
  font-size: 12px;
  color: var(--text-faint);
  font-style: italic;
  letter-spacing: 0.02em;
}

/* ============================================================
   ENTRANCE ANIMATIONS
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .hero-content {
    animation: hero-enter 1s var(--ease-sharp) 0.15s both;
  }

  @keyframes hero-enter {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero-chart {
    animation: chart-enter 1.2s var(--ease-sharp) 0.4s both;
  }

  @keyframes chart-enter {
    from {
      opacity: 0;
      transform: translateY(-50%) translateX(30px);
    }
    to {
      opacity: 0.85;
      transform: translateY(-50%) translateX(0);
    }
  }

  .hero-particles {
    animation: fade-in 1s ease 1s both;
  }

  .hero-status-stack .set-wave:nth-child(1) { animation: card-up 0.65s var(--ease-bounce) 0.95s both; }
  .hero-status-stack .set-wave:nth-child(2) { animation: card-up 0.65s var(--ease-bounce) 1.08s both; }
  .hero-status-stack .set-wave:nth-child(3) { animation: card-up 0.65s var(--ease-bounce) 1.21s both; }

  .urgency-band {
    animation: fade-in 0.8s var(--ease-out) 0.6s both;
  }

  @keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* Trophy card entrance */
  .trophy-card__inner {
    animation: trophy-enter 1.2s var(--ease-sharp) 0.2s both;
  }

  @keyframes trophy-enter {
    from {
      opacity: 0;
      transform: perspective(1000px) rotateY(-15deg) translateY(40px) scale(0.9);
    }
    to {
      opacity: 1;
      transform: perspective(1000px) rotateY(0deg) translateY(0) scale(1);
    }
  }

  .trophy-card__price {
    animation: fade-in 0.8s var(--ease-out) 0.8s both;
  }

  .rarity-stack__row {
    opacity: 0;
  }

  .trophy-section.is-revealed .rarity-stack__row:nth-child(1) { animation: card-up 0.55s var(--ease-bounce) 0.12s both; }
  .trophy-section.is-revealed .rarity-stack__row:nth-child(2) { animation: card-up 0.55s var(--ease-bounce) 0.2s both; }
  .trophy-section.is-revealed .rarity-stack__row:nth-child(3) { animation: card-up 0.55s var(--ease-bounce) 0.28s both; }
  .trophy-section.is-revealed .rarity-stack__row:nth-child(4) { animation: card-up 0.55s var(--ease-bounce) 0.36s both; }
  .trophy-section.is-revealed .rarity-stack__row:nth-child(5) { animation: card-up 0.55s var(--ease-bounce) 0.44s both; }
  .trophy-section.is-revealed .rarity-stack__row:nth-child(6) { animation: card-up 0.55s var(--ease-bounce) 0.52s both; }

  /* Pulse cards stagger — only after section is revealed */
  .pulse-section.is-revealed .pulse-card:nth-child(1) { animation: card-up 0.6s var(--ease-bounce) 0.1s both; }
  .pulse-section.is-revealed .pulse-card:nth-child(2) { animation: card-up 0.6s var(--ease-bounce) 0.22s both; }
  .pulse-section.is-revealed .pulse-card:nth-child(3) { animation: card-up 0.6s var(--ease-bounce) 0.34s both; }

  /* Edge cards stagger — only after section is revealed */
  .edge-section.is-revealed .edge-card:nth-child(1) { animation: card-up 0.7s var(--ease-bounce) 0.1s both; }
  .edge-section.is-revealed .edge-card:nth-child(2) { animation: card-up 0.7s var(--ease-bounce) 0.24s both; }
  .edge-section.is-revealed .edge-card:nth-child(3) { animation: card-up 0.7s var(--ease-bounce) 0.38s both; }

  /* Riftbound radar cards stagger — game-specific proof points */
  .rift-radar.is-revealed .rift-radar__card:nth-child(1) { animation: card-up 0.7s var(--ease-bounce) 0.1s both; }
  .rift-radar.is-revealed .rift-radar__card:nth-child(2) { animation: card-up 0.7s var(--ease-bounce) 0.24s both; }
  .rift-radar.is-revealed .rift-radar__card:nth-child(3) { animation: card-up 0.7s var(--ease-bounce) 0.38s both; }

  @keyframes card-up {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Disable looping animations for reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .particle,
  .hero-foil,
  .price-dot,
  .price-dot-ring,
  .chart-line,
  .breath-text.is-visible,
  .hero-cta:hover::after,
  .notify-cta:hover::after,
  .set-wave:hover::after,
  .rift-radar__card:hover::before,
  .edge-card:hover::after,
  .pulse-card__indicator--up,
  .pulse-card__indicator--alert,
  .hero-title:hover .hero-title__char,
  .trophy-card__inner.is-idle,
  .trophy-card__art::before,
  .trophy-card__seal,
  .rift-radar__scan span,
  .install-vault__ring {
    animation: none !important;
  }

  .hero-title__char {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .particle { opacity: 0.3; }
  .chart-line { stroke-dashoffset: 0; }
  .cursor-light { display: none; }
  .scroll-progress { transition: none; }

  .hero-cta:hover,
  .notify-cta:hover,
  .rarity-stack__row:hover,
  .rift-radar__card:hover,
  .edge-card:hover {
    transform: none !important;
  }

  .pulse-section,
  .edge-section,
  .source-gates-section,
  .install-section,
  .privacy-section,
  .trophy-section,
  .rift-radar,
  .urgency-band {
    opacity: 1;
    transform: none;
  }

  .pulse-card,
  .edge-card,
  .source-gate,
  .rift-radar__card {
    opacity: 1;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-chart {
    right: 2%;
    width: 270px;
    height: 220px;
    opacity: 0.42;
  }

  .hero-status-stack {
    max-width: 600px;
  }

  .trophy-section > .container {
    gap: 46px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 88vh;
    padding: 110px 0 60px;
  }

  .hero-chart {
    display: none;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-title {
    justify-content: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    align-items: center;
  }

  .hero-status-stack {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .set-wave {
    min-height: auto;
  }

  .trophy-section > .container {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .rarity-stack {
    max-width: 440px;
    margin: 0 auto;
  }

  .pulse-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .edge-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .source-gates-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rift-radar__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .install-vault {
    display: none;
  }

  .urgency-band__inner {
    flex-direction: column;
    gap: 20px;
  }

  .urgency-divider {
    width: 48px;
    height: 1px;
  }

  .nav-links {
    display: none;
  }

  .logo-sub {
    display: none;
  }

  .logo-divider {
    display: none;
  }

  .privacy-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-divider {
    width: 32px;
    height: 1px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 82vh;
    padding: 100px 0 48px;
  }

  .hero-title {
    font-size: 44px;
    white-space: normal;
  }

  .container {
    padding: 0 20px;
  }

  .trophy-card__inner {
    width: min(300px, calc(100vw - 48px));
    height: auto;
    aspect-ratio: 300 / 426;
  }

  .rarity-stack {
    padding: 24px 18px;
  }

  .rarity-stack__row {
    grid-template-columns: 20px 1fr;
    align-items: start;
  }

  .rarity-stack__row span:last-child {
    grid-column: 2;
  }

  .pulse-section,
  .edge-section,
  .source-gates-section,
  .rift-radar {
    padding: 72px 0 80px;
  }

  .source-gates-grid {
    grid-template-columns: 1fr;
  }

  .install-section {
    padding: 60px 0 72px;
  }
}
