/* ============================================================
   SPORTGATE — STYLE 1: CARBON PRO OVERRIDE  v2
   Preview only. Does NOT affect the live site.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --color-neon-green: #39FF14;
  --color-neon-green-glow: rgba(57, 255, 20, 0.6);
  --color-neon-green-dark: #2dd10f;
  --color-black: #050505;
  --color-dark-grey: #111111;
  --color-medium-grey: #1a1a1a;
  --color-light-grey: #2a2a2a;
  --color-carbon: #0a0a0a;
  --shadow-neon: 0 0 25px rgba(57, 255, 20, 0.5), 0 0 50px rgba(57, 255, 20, 0.2);
  --shadow-neon-sm: 0 0 12px rgba(57, 255, 20, 0.4);
  --font-display: 'Rajdhani', 'Outfit', sans-serif;
  --font-primary: 'Inter', sans-serif;
}

/* ── Carbon fiber body ── */
body {
  background: var(--color-carbon) !important;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.012) 2px, rgba(255,255,255,0.012) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,0.012) 2px, rgba(255,255,255,0.012) 4px) !important;
}

/* ── ICONS — replace all emoji/system icons with neon green FA style ── */
/* Suppress any emoji that may appear in buttons or nav links */
.nav-links a::before { content: none; }

/* All FA icons across the preview get SportGate green treatment */
.fa-solid, .fa-regular, .fa-brands {
  color: var(--color-neon-green);
}

/* ── HEADER ── */
.header {
  background: rgba(5, 5, 5, 0.97) !important;
  border-bottom: 1px solid rgba(57, 255, 20, 0.2) !important;
  backdrop-filter: blur(24px) !important;
  box-shadow: 0 2px 30px rgba(0,0,0,0.8) !important;
}

.logo {
  font-family: 'Rajdhani', var(--font-display) !important;
  font-size: 1.65rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

/* Nav container — pill bar */
.nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 1px !important;
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 50px !important;
  padding: 4px 6px !important;
  list-style: none !important;
  flex-wrap: nowrap !important;
}

.nav-links li a {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 6px 10px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.01em !important;
  color: rgba(255,255,255,0.6) !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.nav-links li a .fa-solid {
  font-size: 0.75rem !important;
  color: rgba(57,255,20,0.7) !important;
  transition: all 0.2s !important;
}

.nav-links li a:hover {
  color: var(--color-neon-green) !important;
  background: rgba(57, 255, 20, 0.08) !important;
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.4) !important;
}

.nav-links li a:hover .fa-solid {
  color: var(--color-neon-green) !important;
  filter: drop-shadow(0 0 4px rgba(57,255,20,0.6)) !important;
}

/* CTAs */
.btn-primary {
  background: var(--color-neon-green) !important;
  color: #000 !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  font-size: 0.82rem !important;
  padding: 0.65rem 1.5rem !important;
  border-radius: 50px !important;
  border: none !important;
  box-shadow: 0 0 20px rgba(57,255,20,0.4), 0 4px 12px rgba(0,0,0,0.5) !important;
  transition: all 0.25s !important;
}

.btn-primary:hover {
  box-shadow: 0 0 40px rgba(57,255,20,0.7), 0 6px 20px rgba(0,0,0,0.6) !important;
  transform: translateY(-2px) !important;
  color: #000 !important;
}

.btn-secondary {
  background: transparent !important;
  color: rgba(255,255,255,0.85) !important;
  border: 1.5px solid rgba(57,255,20,0.4) !important;
  border-radius: 50px !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 0.65rem 1.5rem !important;
  transition: all 0.25s !important;
}

.btn-secondary:hover {
  background: rgba(57,255,20,0.07) !important;
  border-color: var(--color-neon-green) !important;
  color: var(--color-neon-green) !important;
}

.btn-ghost {
  border: 1px solid rgba(57,255,20,0.25) !important;
  color: rgba(255,255,255,0.75) !important;
  border-radius: 50px !important;
  font-size: 0.82rem !important;
  padding: 0.65rem 1.4rem !important;
  letter-spacing: 0.03em !important;
  background: transparent !important;
  transition: all 0.2s !important;
}

.btn-ghost:hover {
  border-color: var(--color-neon-green) !important;
  color: var(--color-neon-green) !important;
  background: rgba(57,255,20,0.04) !important;
}

/* ── ROLE SWITCHER BAR ── */
#role-switcher-bar {
  width: 100%;
  background: rgba(8,8,8,0.98);
  border-bottom: 1px solid rgba(57, 255, 20, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 0;
  position: relative;
}

#role-switcher-bar::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57,255,20,0.15), transparent);
}

#role-switcher-bar .rs-label {
  color: rgba(255,255,255,0.28);
  padding: 5px 18px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255,255,255,0.05);
  white-space: nowrap;
  font-family: 'Rajdhani', sans-serif;
}

#role-switcher-bar .rs-btn {
  padding: 5px 22px;
  color: rgba(255,255,255,0.42);
  cursor: pointer;
  border: none;
  background: none;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255,255,255,0.04);
  transition: all 0.2s;
  font-family: 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  gap: 7px;
  position: relative;
}

#role-switcher-bar .rs-btn i {
  font-size: 0.7rem;
  color: rgba(57,255,20,0.5);
  transition: all 0.2s;
}

#role-switcher-bar .rs-btn:hover,
#role-switcher-bar .rs-btn.active {
  color: var(--color-neon-green);
  background: rgba(57,255,20,0.05);
}

#role-switcher-bar .rs-btn:hover i,
#role-switcher-bar .rs-btn.active i {
  color: var(--color-neon-green);
  filter: drop-shadow(0 0 4px rgba(57,255,20,0.6));
}

#role-switcher-bar .rs-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--color-neon-green);
  box-shadow: 0 0 6px rgba(57,255,20,0.6);
}

/* ── HERO SECTION ── */
.hero-section {
  background:
    radial-gradient(ellipse 55% 70% at 75% 50%, rgba(57, 255, 20, 0.045) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 15% 30%, rgba(57, 255, 20, 0.025) 0%, transparent 55%),
    linear-gradient(160deg, #050505 0%, #0d0d0d 60%, #060606 100%) !important;
  position: relative !important;
  overflow: hidden !important;
  min-height: 100vh !important;
  padding-top: 130px !important;
}

/* Hex dot grid */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(57,255,20,0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
  z-index: 0;
}

/* Scan line sweep */
.hero-section::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57,255,20,0.5), transparent);
  animation: heroScan 5s ease-in-out infinite;
  z-index: 1;
}

@keyframes heroScan {
  0%   { left: -60%; top: 15%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 120%; top: 85%; opacity: 0; }
}

/* Hero grid layout — left content | right dartboard */
.hero-container {
  position: relative !important;
  z-index: 2 !important;
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr !important;
  align-items: center !important;
  gap: 2rem !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 2.5rem !important;
}

.hero-content {
  text-align: left !important;
}

/* Badge */
.hero-badge {
  background: rgba(57, 255, 20, 0.07) !important;
  border: 1px solid rgba(57, 255, 20, 0.35) !important;
  border-radius: 4px !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  padding: 0.45rem 0.9rem !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: rgba(255,255,255,0.7) !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-weight: 700 !important;
}

.hero-badge .live-dot {
  width: 6px;
  height: 6px;
  background: var(--color-neon-green);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(57,255,20,0.9);
  animation: dotBlink 1.6s ease-in-out infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(57,255,20,0.9); }
  50% { opacity: 0.3; box-shadow: 0 0 3px rgba(57,255,20,0.3); }
}

/* Headline */
.hero-content h1 {
  font-family: 'Rajdhani', var(--font-display) !important;
  font-size: clamp(2.6rem, 5vw, 4.8rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  line-height: 1.05 !important;
  margin: 1rem 0 1.2rem !important;
  max-width: none !important;
  color: #fff !important;
}

.neon-text {
  color: var(--color-neon-green) !important;
  text-shadow: 0 0 20px rgba(57,255,20,0.45), 0 0 45px rgba(57,255,20,0.15) !important;
}

.hero-content p.section-description {
  font-size: 1rem !important;
  color: rgba(255,255,255,0.55) !important;
  max-width: 500px !important;
  line-height: 1.7 !important;
  margin-bottom: 1.8rem !important;
}

/* CTA row */
.hero-actions {
  justify-content: flex-start !important;
  margin-top: 0 !important;
  margin-bottom: 2rem !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

/* Stat bar */
.hero-stats {
  background: rgba(255,255,255,0.025) !important;
  border: 1px solid rgba(57,255,20,0.12) !important;
  border-radius: 8px !important;
  display: grid !important;
  grid-template-columns: repeat(3,1fr) !important;
  gap: 0 !important;
  padding: 0 !important;
  backdrop-filter: blur(8px) !important;
  max-width: 500px !important;
  margin: 0 !important;
}

.stat-item {
  padding: 1.1rem 1.4rem !important;
  border-right: 1px solid rgba(255,255,255,0.05) !important;
  text-align: left !important;
}

.stat-item:last-child { border-right: none !important; }

.stat-number {
  font-family: 'Rajdhani', var(--font-display) !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: var(--color-neon-green) !important;
  text-shadow: 0 0 14px rgba(57,255,20,0.4) !important;
  line-height: 1 !important;
  margin-bottom: 2px !important;
}

.stat-label {
  font-size: 0.6rem !important;
  letter-spacing: 0.1em !important;
  color: rgba(255,255,255,0.35) !important;
  text-transform: uppercase !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-weight: 600 !important;
}

.stat-divider { display: none !important; }

/* ── DARTBOARD HERO PANEL ── */
#dartboard-hero-panel {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  /* isolation: isolate forces blend mode to composite against actual bg */
  isolation: isolate;
}

#dartboard-hero-panel img.dartboard-img {
  width: 100%;
  max-width: 620px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  opacity: 0; /* Hidden until JS finishes processing background */
  transition: opacity 0.5s ease;
  
  /* Standard values - JS will toggle mix-blend-mode back to normal */
  mix-blend-mode: normal;
  
  /* Brightness boost for the neon green */
  filter: brightness(1.1) saturate(1.1);

  /* Subtle floating animation */
  animation: boardFloat 6s ease-in-out infinite;
}

#dartboard-hero-panel img.dartboard-img[src^="data:image/png"] {
  opacity: 1; /* Fade in once transparency is baked in */
}

@keyframes boardFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%  { transform: translateY(-12px) rotate(0.4deg); }
  66%  { transform: translateY(-5px) rotate(-0.2deg); }
}

/* Role Switcher Highlight */
.rs-card-highlight {
  border-color: var(--color-neon-green) !important;
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.4) !important;
  transform: translateY(-8px) scale(1.02) !important;
  animation: pulseCard 2s infinite;
}

@keyframes pulseCard {
  0% { box-shadow: 0 0 20px rgba(57, 255, 20, 0.3); }
  50% { box-shadow: 0 0 40px rgba(57, 255, 20, 0.6); }
  100% { box-shadow: 0 0 20px rgba(57, 255, 20, 0.3); }
}

/* ── CARDS & SECTIONS ── */
.card {
  background: rgba(14,14,14,0.9) !important;
  border: 1px solid rgba(57,255,20,0.09) !important;
  border-radius: 10px !important;
  transition: all 0.25s !important;
}

.card:hover {
  border-color: rgba(57,255,20,0.3) !important;
  box-shadow: 0 0 20px rgba(57,255,20,0.07), 0 8px 30px rgba(0,0,0,0.5) !important;
  transform: translateY(-3px) !important;
}

/* Section headings */
.section-subtitle {
  font-family: 'Rajdhani', var(--font-display) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.2em !important;
  font-weight: 700 !important;
  color: var(--color-neon-green) !important;
}

.section-title {
  font-family: 'Rajdhani', var(--font-display) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
}

/* Feature icons — neon green only */
.feature-icon {
  background: rgba(57,255,20,0.07) !important;
  border: 1px solid rgba(57,255,20,0.15) !important;
}

.feature-icon i {
  color: var(--color-neon-green) !important;
}

/* Category title */
.category-title {
  font-family: 'Rajdhani', sans-serif !important;
  letter-spacing: 0.03em !important;
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: rgba(57,255,20,0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(57,255,20,0.45); }

/* Form inputs */
.form-control, input[type="email"], input[type="password"], input[type="text"], select, textarea {
  background: rgba(18,18,18,0.9) !important;
  border: 1px solid rgba(57,255,20,0.12) !important;
  color: #fff !important;
  border-radius: 6px !important;
  transition: all 0.2s !important;
}

.form-control:focus, input:focus {
  border-color: rgba(57,255,20,0.45) !important;
  box-shadow: 0 0 0 3px rgba(57,255,20,0.08) !important;
  outline: none !important;
}

/* Make labels green */
.form-label { color: var(--color-neon-green) !important; }

/* ── PREVIEW BANNER (fixed bottom) ── */
#preview-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99999;
  background: var(--color-neon-green);
  color: #000;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.6), 0 -1px 0 rgba(57,255,20,0.5);
}

#preview-banner a {
  color: #000 !important;
  text-decoration: underline;
  font-weight: 900;
}

#preview-banner i {
  color: #000 !important;
}

/* ── MOBILE ── */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr !important;
  }
  #dartboard-hero-panel {
    order: -1;
    max-height: 300px;
    overflow: hidden;
  }
  #dartboard-hero-panel img.dartboard-img {
    max-width: 280px;
  }
}
/* ── BRAND DASHBOARD PREMIUM REFINEMENTS ── */
.radar-ping {
  width: 12px;
  height: 12px;
  background: var(--color-neon-green);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--color-neon-green-glow);
  position: absolute;
  transform: translate(-50%, -50%);
}

.radar-ping.active::after {
  content: '';
  position: absolute;
  inset: -10px;
  border: 1px solid var(--color-neon-green);
  border-radius: 50%;
  animation: pingRipple 2s infinite;
}

@keyframes pingRipple {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(3); opacity: 0; }
}

.pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { filter: drop-shadow(0 0 5px var(--color-neon-green-glow)); }
  50% { filter: drop-shadow(0 0 20px var(--color-neon-green)); }
}

.giga-tile {
  box-shadow: inset 0 0 20px rgba(57, 255, 20, 0.02) !important;
}

.giga-tile:hover {
  box-shadow: 0 0 40px rgba(57, 255, 20, 0.15) !important;
  border-color: rgba(57, 255, 20, 0.4) !important;
}

.ai-burst {
  animation: aiPulse 3s infinite;
}

@keyframes aiPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; transform: scale(0.95); }
}

.trajectory-path {
  stroke-dashoffset: 1000;
  stroke-dasharray: 1000;
  animation: drawPath 3s forwards ease-in-out;
}

@keyframes drawPath {
  to { stroke-dashoffset: 0; }
}

/* ── MOCKUP RECONSTRUCTION EXTRAS ── */
.mockup-header-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem; /* Shrink to save space */
    font-weight: 900;
    letter-spacing: 0.15em;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 15px var(--color-neon-green-glow);
    pointer-events: none;
    white-space: nowrap;
}

.giga-grid-compact {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto auto auto;
    gap: 12px;
    max-width: 1700px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.giga-tile-mini {
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 15px;
    position: relative;
    overflow: hidden;
    height: 145px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.clickable-insight {
    cursor: pointer !important;
}

.clickable-insight:hover {
    border-color: var(--c-neon) !important;
    background: rgba(57, 255, 20, 0.03);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(57,255,20,0.1);
}

.compact-tile {
    height: 240px !important;
    padding: 20px !important;
}

.mini-map {
    height: 140px !important;
}

.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }

/* Micro Data Styling */
.donut-micro {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 5px auto;
}
.micro-val {
    position: absolute;
    top: 52%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    font-weight: 900;
    color: var(--c-neon);
}

.micro-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60%;
}
.micro-hero {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
}
.micro-sub {
    font-size: 0.6rem;
    color: var(--c-neon);
    font-weight: 800;
}

/* Sentiment Pulse */
.sentiment-pulse-box {
    text-align: center;
    margin-top: 5px;
}
.pulse-stats {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--c-neon);
}

/* Saturation Bars */
.saturation-bar-stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
}
.sat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.6rem;
    font-weight: 800;
    color: #555;
}
.s-bar {
    width: 100px;
    height: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
    overflow: hidden;
}
.s-bar div {
    height: 100%;
    background: var(--c-neon);
    box-shadow: 0 0 5px var(--c-neon);
    transition: width 1s ease;
}

/* AI Prospect Mini */
.ai-prospect-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}
.p-mini-card {
    display: flex;
    align-items: center;
    gap: 10px;
}
.mini-avatar {
    width: 45px; height: 45px;
    border-radius: 50%;
    border: 1px solid var(--c-neon);
}
.p-mini-info h4 {
    margin: 0; font-size: 0.9rem; color: #fff;
}
.p-mini-info span {
    font-size: 0.6rem; color: var(--c-neon); font-weight: 800;
}
.mini-graph {
    width: 100px; height: 35px;
}

/* Efficiency Matrix */
.efficiency-matrix-grid {
    position: relative;
    width: 100%; height: 140px;
    background: radial-gradient(circle, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 15px 15px;
    border: 1px solid rgba(255,255,255,0.03);
    margin-top: 10px;
}
.quad-axis {
    position: absolute;
    background: rgba(255,255,255,0.1);
}
.x-axis { width: 100%; height: 1px; top: 50%; }
.y-axis { height: 100%; width: 1px; left: 50%; }

.matrix-dot {
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--c-neon);
    box-shadow: 0 0 10px var(--c-neon);
    transform: translate(-50%, -50%);
    cursor: pointer;
}

/* Expiry Mini */
.expiry-list-mini {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ex-mini-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    font-weight: 700;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.secondary-map {
    height: 180px !important;
    background-size: contain !important;
}

.tile-badge {
    color: var(--color-neon-green);
    border: 1px solid rgba(57, 255, 20, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    background: rgba(57, 255, 20, 0.05);
}

.expiry-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    padding-bottom: 8px;
}

/* Intensify Tile Glass Effect */
.giga-tile {
    background: rgba(10, 10, 10, 0.95) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.5) !important;
}

.giga-tile:hover {
    border-color: var(--color-neon-green) !important;
    box-shadow: 0 0 40px rgba(57, 255, 20, 0.15), inset 0 0 20px rgba(57, 255, 20, 0.05) !important;
}

/* Global Scan Line Animation on Tiles */
.giga-tile::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-neon-green), transparent);
    opacity: 0.2;
    animation: tileScan 4s linear infinite;
    pointer-events: none;
}

@keyframes tileScan {
    0% { top: 0%; opacity: 0; }
    5% { opacity: 0.3; }
    95% { opacity: 0.3; }
    100% { top: 100%; opacity: 0; }
}

/* RESTORED SUB-VIEW STYLES */
.btn-neon-mini {
    background: transparent;
    border: 1px solid var(--c-neon-dim);
    color: var(--c-neon);
    font-size: 0.6rem;
    font-weight: 900;
    padding: 5px 12px;
    border-radius: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s;
}
.btn-neon-mini:hover {
    background: var(--c-neon-dim);
    color: #fff;
}

.giga-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}
.giga-table thead th {
    padding: 15px;
    font-size: 0.6rem;
    font-weight: 950;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.giga-table tbody tr {
    background: rgba(255,255,255,0.01);
    transition: 0.3s;
}
.giga-table tbody tr:hover {
    background: rgba(255,255,255,0.03);
    transform: translateX(5px);
}
.giga-table td {
    padding: 15px;
    font-size: 0.75rem;
    vertical-align: middle;
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}
.giga-table td:first-child { border-left: 1px solid var(--c-border); border-radius: 12px 0 0 12px; }
.giga-table td:last-child { border-right: 1px solid var(--c-border); border-radius: 0 12px 12px 0; }

.contract-card-mini {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--c-border);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contract-card-mini:hover {
    border-color: var(--c-neon-dim);
    background: rgba(57, 255, 20, 0.03);
    transform: translateY(-5px);
}
.contract-card-mini i { font-size: 1.5rem; }
.contract-card-mini span { font-size: 0.65rem; font-weight: 900; letter-spacing: 1px; color: #888; }
.contract-card-mini.border-neon { border-color: var(--c-neon-dim); }

.stat-mini-label { font-size: 0.6rem; font-weight: 950; color: #444; letter-spacing: 1.5px; margin-bottom: 5px; }

.incentive-grid-restored {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.tier-config-card {
    background: rgba(255,255,255,0.015);
    border: 1px solid var(--c-border);
    border-radius: 18px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.reward-tag {
    background: var(--c-neon-dim);
    color: var(--c-neon);
    font-size: 0.65rem;
    font-weight: 950;
    padding: 4px 10px;
    border-radius: 4px;
    margin-top: 15px;
    display: inline-block;
}

/* Animations */
.heatmap-pulse {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--c-neon);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--c-neon);
    animation: neon-pulse 2s infinite;
}
@keyframes neon-pulse {
    0% { transform: scale(0.8); opacity: 1; box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.7); }
    100% { transform: scale(1.5); opacity: 0; box-shadow: 0 0 0 15px rgba(57, 255, 20, 0); }
}

.portal-sub-view {
    animation: subview-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    width: 100%;
    min-height: 100%;
    padding: 10px;
}
@keyframes subview-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.brand-section {
    width: 100%;
}
.brand-section.portal-sub-view {
    background: radial-gradient(circle at top left, rgba(57, 255, 20, 0.05), transparent);
}

/* Navigation Pulsing Active State */
.nav-item.active {
    color: var(--color-neon-green) !important;
    text-shadow: 0 0 10px var(--color-neon-green-glow) !important;
}

.nav-item.active i {
    filter: drop-shadow(0 0 5px var(--color-neon-green-glow));
}

/* --- INSIGHT MODAL (PREMIUM HUD) --- */
.insight-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 20px;
}

.insight-modal {
    background: #080808;
    border: 1px solid var(--c-neon);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 550px;
    position: relative;
    box-shadow: 0 0 60px rgba(57,255,20,0.25), inset 0 0 30px rgba(0,0,0,0.8);
    font-family: 'Outfit', sans-serif;
}

.insight-close {
    position: absolute;
    top: 25px; right: 25px;
    font-size: 1.8rem;
    color: #444;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}
.insight-close:hover { color: var(--c-neon); transform: rotate(90deg); }

.insight-label {
    font-size: 0.65rem;
    font-weight: 950;
    letter-spacing: 4px;
    color: var(--c-neon);
    margin-bottom: 8px;
    text-transform: uppercase;
    opacity: 0.8;
}

.insight-modal h2 {
    font-size: 1.8rem;
    font-weight: 950;
    margin-bottom: 25px;
    color: #fff;
    letter-spacing: -0.5px;
}

.insight-content {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    font-size: 0.95rem;
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.insight-stat {
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    text-align: center;
}
.insight-stat span { font-size: 0.55rem; font-weight: 950; color: #666; display: block; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1px; }
.insight-stat h3 { font-size: 1.3rem; font-weight: 950; margin: 0; color: #fff; }

.insight-hero {
    font-size: 3.5rem;
    font-weight: 950;
    color: var(--c-neon);
    text-align: center;
    margin: 25px 0;
    text-shadow: 0 0 20px rgba(57,255,20,0.3);
}

.radar-list {
    margin: 25px 0;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    padding: 15px;
}
.radar-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-weight: 800;
    font-size: 0.85rem;
}
.radar-item:last-child { border-bottom: none; }

.animate-in {
    animation: insightIn 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
@keyframes insightIn {
    from { opacity: 0; transform: scale(0.94) translateY(30px); filter: blur(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

.insight-modal .btn-neon-mini {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
    font-weight: 950;
    letter-spacing: 2px;
}
