:root {
  --bg-dark: #070b09;
  --bg-card: #0e1712;
  --bg-card-alt: #132019;
  --pitch-green: #a8ff00;
  --pitch-green-dim: rgba(168, 255, 0, 0.14);
  --mvx-cyan: #23f7dd;
  --burn-orange: #ff5e1a;
  --text-main: #f3f7f4;
  --text-muted: #98aba0;
  --border-color: rgba(168, 255, 0, 0.2);
  --radius-lg: 18px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 24px;
}

/* Top Ticker */
.ticker-wrap {
  width: 100%;
  background: var(--pitch-green);
  color: #050806;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  overflow: hidden;
  padding: 7px 0;
  border-bottom: 2px solid #000;
}

.ticker {
  display: flex;
  gap: 42px;
  white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 9, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--pitch-green);
  background: #000;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  letter-spacing: 1px;
  line-height: 1;
  color: var(--pitch-green);
}

.brand-sub {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 3px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--pitch-green);
  color: #050806;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 15px;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--pitch-green);
  color: #050806;
  box-shadow: 0 4px 20px rgba(168, 255, 0, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 6px 26px rgba(168, 255, 0, 0.45);
}

.btn-secondary {
  background: var(--bg-card-alt);
  color: var(--mvx-cyan);
  border-color: rgba(35, 247, 221, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-outline:hover {
  border-color: var(--pitch-green);
  color: var(--pitch-green);
}

/* ==========================================================================
   SCROLL-DRIVEN CINEMATIC REBIRTH & EFOO FOMO HERO (4 ACTS ON SCROLL)
   ========================================================================== */
.hero-scroll-track {
  position: relative;
  height: 560vh;
}

.hero-sticky-stage {
  position: sticky;
  top: 70px;
  height: calc(100vh - 70px);
  min-height: 620px;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 16px;
  transition: background 1.15s cubic-bezier(0.22, 1, 0.36, 1);
  background:
    radial-gradient(circle at 20% 25%, rgba(90, 120, 150, 0.14), transparent 55%),
    radial-gradient(circle at 80% 65%, rgba(255, 50, 50, 0.1), transparent 55%),
    #06090b;
}

.hero-scroll-track[data-act="2"] .hero-sticky-stage {
  background:
    radial-gradient(circle at 25% 30%, rgba(255, 94, 0, 0.22), transparent 55%),
    radial-gradient(circle at 78% 55%, rgba(255, 190, 0, 0.18), transparent 55%),
    #0b0705;
}

.hero-scroll-track[data-act="3"] .hero-sticky-stage {
  background:
    radial-gradient(circle at 22% 28%, rgba(168, 255, 0, 0.18), transparent 55%),
    radial-gradient(circle at 80% 60%, rgba(35, 247, 221, 0.12), transparent 55%),
    #060c08;
}

.hero-scroll-track[data-act="4"] .hero-sticky-stage {
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 215, 0, 0.2), transparent 55%),
    radial-gradient(circle at 80% 60%, rgba(168, 255, 0, 0.18), transparent 55%),
    #080d07;
}

.hero-fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-stadium-vignette {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 1;
}

/* Top Broadcast Ribbon */
.hero-top-ribbon {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.broadcast-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 14, 11, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  font-weight: 700;
  color: #ffffff;
}

.broadcast-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 10px #ff3b3b;
  animation: pulse-glow 1.2s infinite alternate;
}

@keyframes pulse-glow {
  from { opacity: 0.45; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1.15); }
}

.scroll-burn-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 18, 14, 0.9);
  border: 1px solid rgba(168, 255, 0, 0.35);
  padding: 6px 16px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
}

.sbl-item strong {
  color: var(--pitch-green);
}

.sbl-sep {
  color: rgba(255, 255, 255, 0.2);
}

.skip-scroll-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffd700;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.skip-scroll-pill:hover {
  background: #ffd700;
  color: #050806;
}

/* Main 2-Column Stage Grid */
.hero-stage-grid {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 36px;
  align-items: center;
  margin: auto;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pitch-green-dim);
  border: 1px solid var(--border-color);
  color: var(--pitch-green);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  transition: all 0.3s ease;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--pitch-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--pitch-green);
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 4.8vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: 1px;
  margin-bottom: 14px;
  transition: transform 0.25s ease;
}

.neon-text {
  color: var(--pitch-green);
  text-shadow: 0 0 25px rgba(168, 255, 0, 0.35);
}

.fire-text {
  color: #ff6b00;
  text-shadow: 0 0 25px rgba(255, 107, 0, 0.45);
}

.gold-glow-text {
  color: #ffd700;
  text-shadow: 0 0 25px rgba(255, 215, 0, 0.45);
}

.hero-lead {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  max-width: 600px;
  min-height: 3.2em;
}

.hero-lead strong {
  color: var(--text-main);
}

/* Interactive Scroll Furnace Meter */
.hero-furnace-box {
  background: rgba(8, 15, 11, 0.9);
  border: 1px solid rgba(255, 110, 0, 0.38);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.hf-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 10px;
}

#hf-stage-label {
  color: #ff7b00;
}

.hf-burn-count {
  color: var(--pitch-green);
}

.hf-track {
  position: relative;
  width: 100%;
  height: 14px;
  background: #040705;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 10px;
}

.hf-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff2a00 0%, #ff9900 55%, var(--pitch-green) 100%);
  box-shadow: 0 0 16px rgba(255, 102, 0, 0.6);
  transition: width 0.08s linear;
}

.hf-rocket-ball {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px #ff6600);
  transition: left 0.08s linear;
  pointer-events: none;
}

.hf-sub-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.71rem;
  color: var(--text-muted);
}

.hf-sub-row code {
  color: #ffffff;
  font-weight: 700;
}

/* Controls & CTAs */
.hero-controls-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contract-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  width: fit-content;
}

.contract-label {
  color: var(--text-muted);
  font-size: 0.76rem;
}

.contract-box code {
  color: var(--pitch-green);
  font-weight: 700;
}

.copy-btn {
  background: var(--bg-card-alt);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
}

.copy-btn:hover {
  background: var(--pitch-green);
  color: #000;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   RIGHT COLUMN: 4-LAYER 3D MORPHING VISUAL CORE
   ========================================================================== */
.hero-morph-core {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.morph-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  filter: blur(7px);
  transform: translateY(24px) scale(0.93) rotateY(-8deg);
  transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.05s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

.morph-layer.active {
  opacity: 1;
  pointer-events: auto;
  filter: blur(0px);
  transform: translateY(0) scale(1) rotateY(0deg);
}

.hero-copy-fade {
  transition: opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-copy-fade.switching {
  opacity: 0.18;
  transform: translateY(8px);
}

/* LAYER 1: 2022 Corporate Blueprint & VAR Red Card Shatter */
.corp-2022-card {
  width: 100%;
  max-width: 450px;
  background: linear-gradient(155deg, #161d24 0%, #0b1015 100%);
  border: 2px solid rgba(140, 165, 190, 0.35);
  border-radius: 18px;
  padding: 20px 22px 22px;
  position: relative;
  overflow: visible;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  transition: transform 0.45s ease, border-color 0.45s ease;
}

.corp-2022-card.shattered {
  border-color: #ff2e2e;
  box-shadow: 0 24px 60px rgba(255, 30, 30, 0.28);
}

.corp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: #8fa6bc;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}

.corp-supply-tag {
  background: rgba(255, 60, 60, 0.15);
  color: #ff6b6b;
  padding: 3px 8px;
  border-radius: 5px;
  font-weight: 700;
}

.corp-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.corp-old-logo {
  width: 54px;
  height: 54px;
  filter: grayscale(0.55);
}

.corp-logo-row h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.55rem;
  color: #cfdbe6;
  letter-spacing: 0.8px;
}

.corp-logo-row p {
  font-size: 0.8rem;
  color: #8fa6bc;
}

.corp-promises-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}

.corp-promises-list li {
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 0.83rem;
  color: #b0c0d0;
  text-decoration: line-through;
  text-decoration-color: #ff3b3b;
}

.var-redcard-stamp {
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(135deg, rgba(220, 20, 20, 0.96), rgba(135, 5, 5, 0.98));
  border: 2px solid #ff8585;
  border-radius: 12px;
  padding: 11px 15px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.78), 0 0 22px rgba(255, 45, 45, 0.35);
  transform-origin: center center;
  transform: rotate(-1.2deg);
  position: relative;
  z-index: 3;
}

.rc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 46px;
  flex-shrink: 0;
  background: linear-gradient(145deg, #ff2a2a, #c80000);
  border: 2px solid #ffffff;
  border-radius: 5px;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.65);
  font-size: 1.25rem;
  transform: rotate(-6deg);
}

.var-redcard-stamp strong {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.38rem;
  letter-spacing: 1px;
  line-height: 1.05;
}

.var-redcard-stamp small {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: #ffd6d6;
  line-height: 1.3;
}

/* LAYER 2: The 92.91% Rocket Ball Incinerator Orb */
.furnace-orb-card {
  width: 100%;
  max-width: 450px;
  background: radial-gradient(circle at 50% 32%, rgba(255, 94, 0, 0.28), rgba(10, 8, 6, 0.96) 72%);
  border: 2px solid #ff6b00;
  border-radius: 22px;
  padding: 26px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(255, 94, 0, 0.25);
}

.orb-fire-ring {
  width: 185px;
  height: 185px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 3px dashed rgba(255, 145, 0, 0.75);
  box-shadow: 0 0 35px rgba(255, 80, 0, 0.45), inset 0 0 25px rgba(255, 80, 0, 0.35);
  animation: spin-orb 14s linear infinite;
}

@keyframes spin-orb {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.orb-center-ball {
  position: absolute;
  top: 26px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 185px;
  height: 185px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform-origin: center center;
}

.orb-center-ball img {
  width: 136px;
  height: 136px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(255, 100, 0, 0.85));
}

.ft-kicker {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  font-weight: 700;
  color: #ff9900;
  background: rgba(255, 110, 0, 0.14);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.ft-big-pct {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.4rem;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 0 24px rgba(255, 94, 0, 0.8);
  margin-bottom: 6px;
}

.ft-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.ft-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ft-badges span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 140, 0, 0.35);
  color: #ffd700;
}

/* LAYER 3: Reborn Sunday League Degen FC 3D Squad Fan */
.reborn-squad-showcase {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  justify-content: center;
}

.fan-card {
  position: absolute;
  top: 22px;
  left: -26px;
  width: 170px;
  background: #0a140f;
  border: 2px solid #ffd700;
  border-radius: 14px;
  padding: 10px;
  transform: rotate(-11deg);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.fan-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 6px;
}

.fan-meta span {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  color: #ffd700;
}

.fan-meta strong {
  font-size: 0.75rem;
  color: #ffffff;
}

.player-card {
  background: linear-gradient(145deg, #122118 0%, #09100c 100%);
  border: 2px solid var(--pitch-green);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 30px rgba(168, 255, 0, 0.18);
}

.main-reborn-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 350px;
  margin-left: 36px;
}

.player-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
}

.club-tag {
  color: var(--text-muted);
}

.ovr-badge {
  background: var(--pitch-green);
  color: #000;
  padding: 3px 9px;
  border-radius: 6px;
}

.player-img-box {
  position: relative;
  width: 100%;
  height: 215px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #050806;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.player-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reborn-crest-floating {
  position: absolute !important;
  bottom: 8px;
  right: 8px;
  width: 54px !important;
  height: 54px !important;
  border-radius: 50%;
  border: 2px solid var(--pitch-green);
  background: #050a07;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.8);
}

.player-name-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.player-name-row h3 {
  font-size: 1.12rem;
}

.verified-pill {
  background: rgba(35, 247, 221, 0.14);
  color: var(--mvx-cyan);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.player-quote {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.player-stats-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: rgba(0, 0, 0, 0.45);
  padding: 8px;
  border-radius: 10px;
  text-align: center;
}

.player-stats-mini span {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
}

.player-stats-mini strong {
  font-family: 'JetBrains Mono', monospace;
  color: var(--pitch-green);
  font-size: 0.9rem;
}

/* LAYER 4: Built-In Interactive 90+5' EFOO FOMO Climax Widget */
.hero-fomo-widget {
  width: 100%;
  max-width: 460px;
  background: linear-gradient(160deg, #102115 0%, #070e09 100%);
  border: 2px solid #ffd700;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 36px rgba(255, 215, 0, 0.22);
}

.hfw-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.hfw-live-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ff6b00;
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid rgba(255, 107, 0, 0.4);
  padding: 4px 10px;
  border-radius: 999px;
}

.hfw-timer {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: #ffd700;
  letter-spacing: 2px;
  line-height: 1;
}

.hfw-pot-banner {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(168, 255, 0, 0.3);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.hfw-pot-banner small {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-muted);
}

.hfw-pot-banner strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  color: var(--pitch-green);
  letter-spacing: 0.8px;
}

.hfw-leader-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: #ffd700;
  background: rgba(255, 215, 0, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
}

.hfw-mini-pitch {
  background: radial-gradient(circle at 50% 85%, #163d24 0%, #07150c 80%);
  border: 1px solid rgba(168, 255, 0, 0.35);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
}

.hfw-goal-post {
  position: relative;
  height: 118px;
  border-top: 5px solid #ffffff;
  border-left: 5px solid #ffffff;
  border-right: 5px solid #ffffff;
  border-radius: 4px 4px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 8px;
  margin-bottom: 8px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 16px 16px;
}

.hfw-target {
  background: rgba(5, 12, 8, 0.82);
  border: 1.5px dashed var(--pitch-green);
  color: #ffffff;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  z-index: 3;
  transition: all 0.15s ease;
}

.hfw-target:hover {
  background: var(--pitch-green);
  color: #050806;
  transform: scale(1.06);
}

.hfw-keeper {
  position: absolute;
  bottom: 4px;
  left: calc(50% - 18px);
  font-size: 2rem;
  transition: all 0.32s ease;
  pointer-events: none;
}

.hfw-ball {
  position: absolute;
  bottom: -10px;
  left: calc(50% - 18px);
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: all 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  pointer-events: none;
  z-index: 4;
}

.hfw-shot-status {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  color: var(--pitch-green);
  font-weight: 700;
}

.hfw-sub-btns {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.hfw-sub-btns > * {
  flex: 1;
  justify-content: center;
}

/* Bottom 4-Act Scrollytelling Timeline Bar */
.hero-timeline-wrap {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-timeline-bar {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  background: rgba(8, 14, 11, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 10px 12px 14px;
  overflow: hidden;
}

.ht-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.ht-step:hover {
  border-color: rgba(168, 255, 0, 0.4);
  color: #ffffff;
}

.ht-step.active {
  background: rgba(168, 255, 0, 0.15);
  border-color: var(--pitch-green);
  color: #ffffff;
}

.ht-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pitch-green);
  background: rgba(168, 255, 0, 0.12);
  padding: 2px 6px;
  border-radius: 5px;
}

.ht-label {
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ht-progress-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.ht-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff3b00, #ffd700, var(--pitch-green));
  transition: width 0.08s linear;
}

.scroll-hint-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  color: var(--text-muted);
  background: rgba(8, 14, 11, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 14px;
  border-radius: 999px;
}

.mouse-wheel-icon {
  display: inline-block;
  animation: wheel-bob 1.4s ease-in-out infinite alternate;
}

@keyframes wheel-bob {
  from { transform: translateY(-2px); }
  to { transform: translateY(3px); }
}

@media (max-width: 960px) {
  .hero-scroll-track {
    height: auto;
  }
  .hero-sticky-stage {
    position: relative;
    top: 0;
    height: auto;
    min-height: unset;
    padding: 28px 0;
    gap: 24px;
  }
  .hero-stage-grid {
    grid-template-columns: 1fr;
  }
  .hero-morph-core {
    min-height: 430px;
  }
  .hero-timeline-bar {
    grid-template-columns: 1fr 1fr;
  }
}

/* Scoreboard */
.scoreboard-section {
  padding: 20px 0 40px;
}

.scoreboard {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.score-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card-alt);
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-color);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
}

.live-indicator {
  color: var(--pitch-green);
  font-weight: 700;
}

.explorer-link {
  color: var(--mvx-cyan);
  text-decoration: none;
  font-weight: 700;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.score-item {
  padding: 24px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.score-item:last-child {
  border-right: none;
}

.score-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.score-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  letter-spacing: 1px;
  line-height: 1;
  color: var(--text-main);
}

.highlight-burn .score-val {
  color: var(--burn-orange);
}

.score-item small {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: rgba(14, 23, 18, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-kicker {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pitch-green);
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  letter-spacing: 1px;
  line-height: 1.02;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* VAR Grid */
.var-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.var-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.var-old {
  border-color: rgba(255, 77, 77, 0.35);
}

.var-new {
  border-color: var(--pitch-green);
  box-shadow: 0 0 30px rgba(168, 255, 0, 0.08);
}

.var-card-head {
  margin-bottom: 20px;
}

.red-card-badge {
  background: rgba(255, 77, 77, 0.15);
  color: #ff6b6b;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: 8px;
}

.green-card-badge {
  background: var(--pitch-green-dim);
  color: var(--pitch-green);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: 8px;
}

.var-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.var-list li {
  font-size: 1rem;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.var-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Locker Room Meme Studio */
.locker-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: start;
}

.locker-controls {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pitch-green);
}

.squad-selector {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.input-field {
  background: #060a08;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 11px 14px;
  border-radius: 10px;
  outline: none;
}

.input-field:focus {
  border-color: var(--pitch-green);
}

#nft-collection-select {
  flex: 1;
  min-width: 190px;
}

.nonce-input {
  width: 95px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
}

.nft-traits-panel {
  background: var(--bg-card-alt);
  border-radius: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.traits-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.traits-header a {
  color: var(--mvx-cyan);
  text-decoration: none;
  font-size: 0.8rem;
}

.traits-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.trait-chip {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(168, 255, 0, 0.22);
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
}

.trait-chip span {
  color: var(--text-muted);
}

.preset-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preset-btn {
  background: var(--bg-card-alt);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  padding: 7px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.15s;
}

.preset-btn:hover {
  border-color: var(--pitch-green);
  color: var(--pitch-green);
}

.locker-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 6px;
}

.canvas-frame {
  position: relative;
  background: var(--bg-card);
  border: 2px solid var(--pitch-green);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

#meme-canvas {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  background: #050806;
}

.canvas-loading {
  position: absolute;
  inset: 14px;
  background: rgba(7, 11, 9, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--pitch-green);
  border-radius: 10px;
  text-align: center;
  padding: 20px;
}

.hidden {
  display: none !important;
}

/* Burn Meter & Features */
.burn-meter-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 36px;
}

.burn-meter-labels {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.burn-fire-text {
  color: var(--burn-orange);
}

.burn-rem-text {
  color: var(--pitch-green);
}

.burn-progress-track {
  width: 100%;
  height: 24px;
  background: #050806;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 18px;
}

.burn-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff3b00 0%, #ff9900 60%, var(--pitch-green) 100%);
  border-radius: 999px;
}

.burn-sub-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  background: var(--bg-card-alt);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-family: 'JetBrains Mono', monospace;
}

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

.feature-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.feature-box h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--pitch-green);
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Links Hub */
.links-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.hub-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 18px;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.2s;
}

.hub-card:hover {
  border-color: var(--pitch-green);
  transform: translateY(-3px);
  background: var(--bg-card-alt);
}

.hub-emoji {
  font-size: 1.8rem;
}

.hub-card h4 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.hub-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hub-arrow {
  margin-left: auto;
  color: var(--pitch-green);
  font-weight: 700;
}

/* Footer */
.footer {
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
}

.footer-disclaimer {
  max-width: 720px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom {
  display: flex;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--pitch-green);
  text-decoration: none;
}

/* Brand & Media Kit Section */
.banner-showcase-card {
  background: var(--bg-card);
  border: 1px solid rgba(168, 255, 0, 0.25);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 28px;
}

.banner-showcase-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.banner-showcase-head h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.banner-showcase-head p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.banner-preview-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #05080c;
}

.banner-preview-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.brand-assets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.brand-asset-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.brand-asset-card:hover {
  transform: translateY(-3px);
  border-color: var(--pitch-green);
}

.brand-logo-preview {
  height: 140px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: radial-gradient(circle, rgba(168, 255, 0, 0.08) 0%, rgba(5, 9, 14, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.brand-logo-preview img {
  max-height: 110px;
  max-width: 110px;
  object-fit: contain;
}

.brand-asset-card h4 {
  font-size: 1.05rem;
}

.brand-asset-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  flex: 1;
}

.asset-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.pill-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--pitch-green);
  background: rgba(168, 255, 0, 0.1);
  border: 1px solid rgba(168, 255, 0, 0.3);
  padding: 5px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.pill-link:hover {
  background: rgba(168, 255, 0, 0.22);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .var-grid,
  .locker-grid,
  .matchday-grid,
  .links-hub-grid,
  .brand-assets-grid {
    grid-template-columns: 1fr;
  }
  .score-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 560px) {
  .score-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   WEB3 WALLET LOCKER ROOM, DEX SWAP, NFT MINTER & MODAL (HIGH-CRAFT UI)
   ========================================================================== */
.tx-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: linear-gradient(135deg, #0b2416, #07120c);
  border: 2px solid var(--pitch-green);
  border-radius: 14px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 24px rgba(168, 255, 0, 0.2);
  font-size: 0.92rem;
}

.tx-toast a {
  color: var(--pitch-green);
  font-weight: 700;
  text-decoration: underline;
}

.toast-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
}

/* Command Bar */
.wallet-status-bar {
  background: linear-gradient(135deg, rgba(14, 28, 20, 0.92) 0%, rgba(7, 13, 10, 0.96) 100%);
  border: 1px solid rgba(168, 255, 0, 0.35);
  border-radius: 18px;
  padding: 20px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ws-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ws-avatar-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.ws-avatar {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(168, 255, 0, 0.4);
  background: #060d09;
}

.ws-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ff6b00;
  border: 2px solid #07100b;
  box-shadow: 0 0 10px #ff6b00;
}

.ws-dot.connected {
  background: var(--pitch-green);
  box-shadow: 0 0 12px var(--pitch-green);
}

.ws-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.ws-title {
  font-weight: 700;
  font-size: 1.08rem;
  color: #ffffff;
}

.ws-provider-pill,
.ws-shard-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(168, 255, 0, 0.15);
  color: var(--pitch-green);
  border: 1px solid rgba(168, 255, 0, 0.35);
}

.ws-shard-pill {
  background: rgba(255, 215, 0, 0.12);
  color: #ffd700;
  border-color: rgba(255, 215, 0, 0.35);
}

.ws-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  word-break: break-all;
}

.ws-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* 4 Telemetry Cards */
.wallet-balances-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.wb-card {
  background: linear-gradient(160deg, rgba(16, 26, 20, 0.85) 0%, rgba(8, 13, 10, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.wb-card:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 255, 0, 0.35);
}

.wb-card.highlight-efoo {
  border-color: rgba(168, 255, 0, 0.5);
  background: radial-gradient(circle at top right, rgba(168, 255, 0, 0.14), rgba(9, 17, 13, 0.96) 70%);
  box-shadow: 0 10px 28px rgba(168, 255, 0, 0.06);
}

.wb-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.wb-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.wb-mini-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: contain;
}

.wb-token-dot {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(35, 247, 221, 0.12);
  color: #23f7dd;
  border: 1px solid rgba(35, 247, 221, 0.3);
}

.wb-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.25rem;
  letter-spacing: 1px;
  color: #ffffff;
  line-height: 1.05;
}

.wb-card.highlight-efoo .wb-val {
  color: var(--pitch-green);
}

.wb-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.wb-card small {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.wb-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-muted);
}

.wb-badge.green {
  background: rgba(168, 255, 0, 0.12);
  color: var(--pitch-green);
}

.wb-badge.gold {
  background: rgba(255, 215, 0, 0.14);
  color: #ffd700;
}

/* Trade & Mint 2-Column Grid */
.trade-mint-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.terminal-card {
  background: linear-gradient(165deg, rgba(14, 24, 19, 0.92) 0%, rgba(7, 12, 9, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.terminal-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.terminal-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--pitch-green);
  background: rgba(168, 255, 0, 0.12);
  border: 1px solid rgba(168, 255, 0, 0.3);
  padding: 5px 11px;
  border-radius: 8px;
}

.terminal-badge.gold {
  color: #ffd700;
  background: rgba(255, 215, 0, 0.12);
  border-color: rgba(255, 215, 0, 0.35);
}

.sc-mini-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
}

.sc-mini-link:hover {
  color: var(--pitch-green);
}

.dex-mode-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 3px;
  gap: 4px;
}

.dex-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dex-tab.active {
  background: rgba(168, 255, 0, 0.18);
  color: var(--pitch-green);
}

.terminal-head h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.terminal-head p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* xExchange / OneDex Style Swap Box */
.swap-widget-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.swap-token-box {
  background: rgba(4, 8, 6, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px 16px;
  transition: border-color 0.2s ease;
}

.swap-token-box:focus-within {
  border-color: var(--pitch-green);
}

.swap-token-box.receive-box {
  background: rgba(10, 22, 15, 0.75);
  border-color: rgba(168, 255, 0, 0.25);
}

.swap-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.swap-route-tag {
  color: #ffd700;
  font-weight: 700;
}

.swap-box-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.swap-big-input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.55rem;
  font-weight: 700;
  width: 100%;
  outline: none;
}

.swap-big-input.output-green {
  color: var(--pitch-green);
}

.swap-token-select {
  background: #102118;
  color: #ffffff;
  border: 1px solid rgba(168, 255, 0, 0.35);
  border-radius: 10px;
  padding: 9px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}

.token-pill-fixed {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(168, 255, 0, 0.14);
  border: 1px solid rgba(168, 255, 0, 0.4);
  color: var(--pitch-green);
  padding: 8px 14px;
  border-radius: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.swap-quick-amounts {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.quick-amt-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.quick-amt-btn:hover {
  background: rgba(168, 255, 0, 0.16);
  color: var(--pitch-green);
  border-color: var(--pitch-green);
}

.swap-divider-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px;
}

.swap-flip-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #102218;
  border: 1px solid rgba(168, 255, 0, 0.4);
  color: var(--pitch-green);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.swap-flip-circle:hover {
  transform: rotate(180deg);
  background: var(--pitch-green);
  color: #05080c;
}

.swap-rate-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  color: #ffd700;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
}

.swap-slippage-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.slippage-pills {
  display: flex;
  gap: 5px;
}

.slip-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  cursor: pointer;
}

.slip-btn.active {
  background: rgba(168, 255, 0, 0.18);
  color: var(--pitch-green);
  border-color: var(--pitch-green);
}

.swap-Pool-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  padding: 4px 2px;
}

.btn-lg-action {
  padding: 15px 22px;
  font-size: 1rem;
  letter-spacing: 0.4px;
}

.full-width {
  width: 100%;
  justify-content: center;
}

.sub-action-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.sub-action-row > * {
  flex: 1;
  justify-content: center;
}

/* Minter Showcase Cards */
.mint-packs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mint-showcase-card {
  background: rgba(5, 10, 14, 0.82);
  border: 1px solid rgba(168, 255, 0, 0.25);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.mint-showcase-card:hover {
  border-color: var(--pitch-green);
}

.mint-showcase-card.keeper-card {
  border-color: rgba(255, 215, 0, 0.3);
}

.mint-showcase-card.keeper-card:hover {
  border-color: #ffd700;
}

.mint-card-visual {
  position: relative;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
}

.mint-pack-icon {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--pitch-green);
  background: #060d09;
}

.mint-pack-icon.gold-border {
  border-color: #ffd700;
}

.mint-rarity-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: #0b2416;
  border: 1px solid var(--pitch-green);
  color: var(--pitch-green);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.mint-rarity-badge.gold {
  background: #241b05;
  border-color: #ffd700;
  color: #ffd700;
}

.mint-pack-info {
  flex: 1;
  min-width: 0;
}

.mint-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.mint-title-row h4 {
  font-size: 1.05rem;
}

.coll-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(168, 255, 0, 0.1);
  color: var(--pitch-green);
}

.coll-code.gold {
  background: rgba(255, 215, 0, 0.12);
  color: #ffd700;
}

.mint-pack-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.4;
}

.mint-progress-row {
  margin-bottom: 12px;
}

.mint-progress-labels {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  margin-bottom: 5px;
}

.mint-mini-bar {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.mint-mini-fill {
  height: 100%;
  background: linear-gradient(90deg, #00e676, var(--pitch-green));
  border-radius: 999px;
}

.mint-mini-fill.gold {
  background: linear-gradient(90deg, #ff9900, #ffd700);
}

.price-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--pitch-green);
}

.gold-text {
  color: #ffd700;
}

.mint-controls-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  background: #0b1611;
  border: 1px solid rgba(168, 255, 0, 0.35);
  border-radius: 8px;
  overflow: hidden;
}

.step-btn {
  background: transparent;
  border: none;
  color: var(--pitch-green);
  width: 28px;
  height: 32px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.step-btn:hover {
  background: rgba(168, 255, 0, 0.18);
}

#mint-player-qty {
  width: 32px;
  text-align: center;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
}

.mint-main-btn {
  flex: 1;
  justify-content: center;
}

/* My Squad NFT Gallery */
.my-squad-panel {
  background: linear-gradient(165deg, rgba(14, 24, 19, 0.9) 0%, rgba(7, 12, 9, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
}

.my-squad-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.my-squad-header h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.my-squad-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.squad-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.squad-filter-pills {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 3px;
  gap: 4px;
}

.sq-filter {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 7px;
  cursor: pointer;
}

.sq-filter.active {
  background: rgba(168, 255, 0, 0.18);
  color: var(--pitch-green);
}

.vip-Multiplier-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 215, 0, 0.14);
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.4);
}

.my-squad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 16px;
}

.squad-nft-card {
  background: rgba(5, 10, 14, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.squad-nft-card:hover {
  transform: translateY(-4px);
  border-color: var(--pitch-green);
}

.squad-nft-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #08120c;
}

.squad-nft-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.squad-nft-body h4 {
  font-size: 0.94rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.squad-nft-type {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--pitch-green);
}

.squad-nft-actions {
  display: flex;
  gap: 6px;
}

.squad-nft-actions button {
  flex: 1;
  font-size: 0.74rem;
  padding: 7px 8px;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 700;
  border: 1px solid rgba(168, 255, 0, 0.35);
  background: rgba(168, 255, 0, 0.1);
  color: #ffffff;
  transition: all 0.15s ease;
}

.squad-nft-actions button:hover {
  background: var(--pitch-green);
  color: #05080c;
}

/* ==========================================================================
   PLAYABLE EFOO FOMO PENALTY SHOOTOUT & INJURY TIME POT
   ========================================================================== */
.powerups-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.powerup-chip {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.65;
  transition: all 0.2s ease;
}

.powerup-chip.unlocked {
  opacity: 1;
  border-color: var(--pitch-green);
  background: linear-gradient(135deg, rgba(168, 255, 0, 0.12), rgba(10, 20, 14, 0.92));
  box-shadow: 0 0 20px rgba(168, 255, 0, 0.12);
}

.perk-icon {
  font-size: 1.8rem;
}

.powerup-chip strong {
  display: block;
  font-size: 0.95rem;
}

.powerup-chip small {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.fomo-game-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 24px;
}

.penalty-pitch-card,
.fomo-pot-card {
  background: var(--bg-card);
  border: 1px solid rgba(168, 255, 0, 0.25);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.pitch-scoreboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.ps-box {
  background: rgba(5, 10, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
}

.ps-box.highlight {
  border-color: #ffd700;
}

.ps-box span {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.ps-box strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.9rem;
  color: #ffffff;
}

.ps-box.highlight strong {
  color: #ffd700;
}

.goal-arena {
  background: radial-gradient(circle at 50% 80%, #143822 0%, #07140c 75%, #040906 100%);
  border: 2px solid rgba(168, 255, 0, 0.3);
  border-radius: 14px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.stadium-crowd-banner {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  font-weight: 700;
  color: #ffd700;
  background: rgba(0, 0, 0, 0.55);
  padding: 5px;
  border-radius: 6px;
  margin-bottom: 14px;
  letter-spacing: 1.5px;
}

.goal-frame {
  position: relative;
  width: 92%;
  height: 250px;
  margin: 0 auto 75px;
  border-top: 8px solid #ffffff;
  border-left: 8px solid #ffffff;
  border-right: 8px solid #ffffff;
  border-radius: 6px 6px 0 0;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6) inset;
}

.goal-net {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.shot-target {
  position: absolute;
  width: 78px;
  height: 64px;
  border-radius: 12px;
  border: 2px dashed rgba(168, 255, 0, 0.75);
  background: rgba(8, 20, 12, 0.68);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.shot-target:hover {
  transform: scale(1.08);
  background: rgba(168, 255, 0, 0.28);
  border-color: #ffd700;
}

.shot-target span {
  font-size: 1.3rem;
}

.shot-target small {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--pitch-green);
}

.target-tl { top: 12px; left: 14px; }
.target-tr { top: 12px; right: 14px; }
.target-c  { top: 24px; left: calc(50% - 39px); }
.target-bl { bottom: 10px; left: 14px; }
.target-br { bottom: 10px; right: 14px; }

.goalie-sprite {
  position: absolute;
  bottom: 6px;
  left: calc(50% - 45px);
  width: 90px;
  height: 90px;
  z-index: 4;
  transition: all 0.36s cubic-bezier(0.2, 0.85, 0.35, 1.15);
  pointer-events: none;
}

.goalie-sprite img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #ffd700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}

.ball-sprite {
  position: absolute;
  bottom: -62px;
  left: calc(50% - 28px);
  width: 56px;
  height: 56px;
  z-index: 6;
  transition: all 0.38s cubic-bezier(0.18, 0.89, 0.32, 1.2);
  pointer-events: none;
}

.ball-sprite img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(255, 90, 0, 0.65));
}

.penalty-spot-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: rgba(5, 10, 14, 0.86);
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.active-striker-pill {
  display: flex;
  align-items: center;
  gap: 10px;
}

.active-striker-pill img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--pitch-green);
}

.active-striker-pill span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.active-striker-pill strong {
  font-size: 0.9rem;
  color: var(--pitch-green);
}

.commentary-box {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(168, 255, 0, 0.08);
  border: 1px solid rgba(168, 255, 0, 0.25);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
}

/* FOMO Pot Right Card */
.fomo-live-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ff6b00;
  background: rgba(255, 107, 0, 0.14);
  padding: 5px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.fomo-pot-header h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.9rem;
  margin-bottom: 6px;
}

.fomo-pot-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.fomo-clock-box {
  background: rgba(5, 10, 14, 0.9);
  border: 2px solid #ffd700;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  margin-bottom: 16px;
}

.clock-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.clock-digits {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.6rem;
  color: #ffd700;
  letter-spacing: 3px;
  line-height: 1.05;
  margin: 6px 0;
}

.pot-amount-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  font-size: 0.92rem;
}

.pot-amount-row strong {
  color: var(--pitch-green);
  font-family: 'JetBrains Mono', monospace;
}

.fomo-leader-box {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 16px;
  font-size: 0.82rem;
}

.fomo-leader-box span {
  display: block;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.fomo-leader-box code {
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
}

.fomo-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.fomo-rules-mini {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.banner-dl-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==========================================================================
   WALLET CONNECT MODAL (xPortal WalletConnect v2, DeFi Extension, Web Wallet)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 9, 0.85);
  backdrop-filter: blur(10px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.wallet-modal {
  background: linear-gradient(165deg, #0d1b14 0%, #070e0a 100%);
  border: 1px solid rgba(168, 255, 0, 0.45);
  border-radius: 22px;
  max-width: 550px;
  width: 100%;
  padding: 28px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.9), 0 0 36px rgba(168, 255, 0, 0.12);
  max-height: 92vh;
  overflow-y: auto;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.modal-head h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.1rem;
  letter-spacing: 1px;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.15s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 80, 80, 0.25);
  border-color: #ff5555;
}

.modal-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.wallet-provider-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.provider-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
}

.provider-btn.highlight-provider {
  border-color: rgba(168, 255, 0, 0.38);
  background: linear-gradient(90deg, rgba(168, 255, 0, 0.08), rgba(255, 255, 255, 0.02));
}

.provider-btn:hover {
  border-color: var(--pitch-green);
  background: rgba(168, 255, 0, 0.13);
  transform: translateX(3px);
}

.prov-icon {
  font-size: 1.75rem;
}

.prov-text {
  flex: 1;
}

.prov-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

.prov-text strong {
  font-size: 0.98rem;
}

.prov-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(168, 255, 0, 0.15);
  color: var(--pitch-green);
  border: 1px solid rgba(168, 255, 0, 0.35);
}

.prov-text small {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.prov-arrow {
  color: var(--pitch-green);
  font-weight: 700;
  font-size: 1.1rem;
}

.xportal-qr-box {
  background: rgba(4, 9, 7, 0.96);
  border: 1px solid rgba(168, 255, 0, 0.45);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: inset 0 0 24px rgba(168, 255, 0, 0.06);
}

.wc-status-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffd700;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.35);
  padding: 5px 12px;
  border-radius: 999px;
}

.qr-frame {
  background: #ffffff;
  padding: 10px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  display: inline-flex;
}

.qr-frame img {
  display: block;
  border-radius: 6px;
}

.xportal-qr-box p {
  font-size: 0.81rem;
  color: var(--text-muted);
  max-width: 420px;
}

.wc-action-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.modal-divider {
  text-align: center;
  margin: 18px 0 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.8px;
}

.direct-erd-box label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.erd-input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.demo-link-btn {
  width: 100%;
  background: rgba(255, 215, 0, 0.1);
  border: 1px dashed rgba(255, 215, 0, 0.45);
  color: #ffd700;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.demo-link-btn:hover {
  background: rgba(255, 215, 0, 0.22);
}

@media (max-width: 960px) {
  .wallet-balances-grid,
  .trade-mint-grid,
  .powerups-bar,
  .fomo-game-grid {
    grid-template-columns: 1fr;
  }
  .pitch-scoreboard {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .mint-showcase-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

.hidden {
  display: none !important;
}
