/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-deep: #0a0f14;
  --bg-mid: #0d1a12;
  --bg-card: rgba(10, 25, 18, 0.85);
  --bg-card-border: rgba(0, 255, 136, 0.15);
  --bg-card-border-bright: rgba(0, 255, 136, 0.35);
  --green-glow: #00ff88;
  --green-primary: #00ff88;
  --green-dim: #00cc6a;
  --green-dark: #004d2a;
  --text-primary: #e0f0e8;
  --text-secondary: #8ba89a;
  --text-dim: #4a6a5a;
  --accent-red: #ff4444;
  --accent-blue: #4488ff;
  --accent-orange: #ff8844;
  --border-subtle: rgba(0, 255, 136, 0.08);
  --glow-spread: 0 0 30px rgba(0, 255, 136, 0.15);
  --card-radius: 8px;
  --transition-speed: 0.4s;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Rajdhani', 'Inter', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ===========================
   OVERLAY EFFECTS
   =========================== */
.scanline-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 255, 136, 0.008) 2px,
    rgba(0, 255, 136, 0.008) 4px
  );
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(rgba(0, 255, 136, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.vignette-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
}

/* ===========================
   TOP NAVIGATION
   =========================== */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(8, 18, 12, 0.98) 0%, rgba(8, 18, 12, 0.92) 100%);
  border-bottom: 1px solid var(--bg-card-border);
  backdrop-filter: blur(20px);
}

.nav-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-shrink: 0;
}

.brand-name {
  font-family: 'Orbitron', monospace;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-primary);
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.4), 0 0 40px rgba(0, 255, 136, 0.2);
  letter-spacing: 1px;
}

.brand-badge {
  font-family: 'Orbitron', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--bg-card-border);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  vertical-align: super;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  font-family: 'Orbitron', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--green-primary);
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.nav-link.active {
  color: var(--green-primary);
  text-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
  border-bottom: 2px solid var(--green-primary);
}

.nav-link.active .nav-glow {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green-primary);
  box-shadow: 0 0 10px var(--green-primary), 0 0 20px rgba(0, 255, 136, 0.3);
}

.nav-icon {
  color: var(--green-primary);
  font-size: 0.6rem;
  margin-right: 0.3rem;
  animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.glow-tag {
  font-size: 0.6rem;
  color: var(--green-dim);
  margin-left: 0.4rem;
  opacity: 0.7;
}

.nav-count {
  color: var(--green-primary);
  font-weight: 700;
}

.nav-divider {
  color: var(--text-dim);
  font-size: 0.8rem;
  user-select: none;
}

.nav-user {
  flex-shrink: 0;
}

.user-icon {
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid var(--bg-card-border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.user-icon:hover {
  border-color: var(--green-primary);
  color: var(--green-primary);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

/* ===========================
   FILTER BAR
   =========================== */
.filter-bar {
  position: relative;
  z-index: 100;
  background: rgba(8, 18, 12, 0.6);
  border-bottom: 1px solid var(--border-subtle);
}

.filter-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0.7rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.filter-label {
  font-family: 'Orbitron', monospace;
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.filter-select {
  position: relative;
}

.filter-select select {
  appearance: none;
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid var(--bg-card-border);
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  padding: 0.35rem 2rem 0.35rem 0.7rem;
  border-radius: 4px;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
}

.filter-select select:hover,
.filter-select select:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.15);
}

.select-arrow {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green-dim);
  font-size: 0.8rem;
  pointer-events: none;
}

.filter-info-box {
  display: flex;
  gap: 0.8rem;
  background: rgba(0, 255, 136, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-family: 'Rajdhani', sans-serif;
}

.filter-info-box strong {
  color: var(--text-primary);
  font-weight: 600;
}

.filter-toggles {
  display: flex;
  gap: 0.5rem;
}

.toggle-btn {
  font-family: 'Orbitron', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  border: 1px solid var(--bg-card-border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.toggle-btn.active {
  background: rgba(0, 255, 136, 0.1);
  border-color: var(--bg-card-border-bright);
  color: var(--green-primary);
}

.toggle-btn:hover {
  border-color: var(--green-primary);
  color: var(--green-primary);
}

.search-float {
  margin-left: auto;
  position: relative;
}

.search-float input {
  background: rgba(0, 255, 136, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  padding: 0.35rem 2rem 0.35rem 0.8rem;
  border-radius: 4px;
  outline: none;
  width: 180px;
  transition: all 0.3s ease;
}

.search-float input:focus {
  border-color: var(--green-primary);
  width: 240px;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.1);
}

.search-float input::placeholder {
  color: var(--text-dim);
}

.search-icon {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 1rem;
}

/* ===========================
   MAIN PITCH CONTAINER
   =========================== */
.pitch-container {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  padding: 2rem;
  min-height: calc(100vh - 120px);
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  grid-template-rows: 1fr auto;
  gap: 1.5rem;
  align-items: start;
}

/* Pitch Background */
.pitch-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.pitch-line-center {
  position: absolute;
  left: 50%;
  top: 5%;
  bottom: 5%;
  width: 1px;
  background: rgba(0, 255, 136, 0.04);
}

.pitch-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 136, 0.04);
}

.pitch-box {
  position: absolute;
  top: 30%;
  width: 80px;
  height: 40%;
  border: 1px solid rgba(0, 255, 136, 0.03);
}

.pitch-box-left { left: 0; }
.pitch-box-right { right: 0; }

.pitch-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(0, 255, 136, 0.03);
}

.pitch-corner-tl { top: 5%; left: 2%; border-right: none; border-bottom: none; border-radius: 0 0 0 8px; }
.pitch-corner-tr { top: 5%; right: 2%; border-left: none; border-bottom: none; border-radius: 0 0 8px 0; }
.pitch-corner-bl { bottom: 5%; left: 2%; border-right: none; border-top: none; border-radius: 8px 0 0 0; }
.pitch-corner-br { bottom: 5%; right: 2%; border-left: none; border-top: none; border-radius: 0 8px 0 0; }

.pitch-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.pitch-glow-1 {
  width: 400px;
  height: 400px;
  background: var(--green-primary);
  top: 20%;
  left: 10%;
  animation: float-glow 8s ease-in-out infinite;
}

.pitch-glow-2 {
  width: 300px;
  height: 300px;
  background: var(--green-primary);
  bottom: 20%;
  right: 15%;
  animation: float-glow 10s ease-in-out infinite 2s;
}

.pitch-glow-3 {
  width: 200px;
  height: 200px;
  background: rgba(0, 200, 100, 0.8);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float-glow 6s ease-in-out infinite 1s;
}

@keyframes float-glow {
  0%, 100% { opacity: 0.1; transform: scale(1); }
  50% { opacity: 0.2; transform: scale(1.1); }
}

/* ===========================
   SECONDARY PREVIEWS (SIDE)
   =========================== */
.secondary-previews {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

.mini-preview-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.mini-preview-card:hover {
  border-color: var(--bg-card-border-bright);
  box-shadow: var(--glow-spread);
  transform: translateY(-2px);
}

.mini-preview-header {
  font-family: 'Orbitron', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--green-primary);
  padding: 0.4rem 0.7rem;
  background: rgba(0, 255, 136, 0.05);
  border-bottom: 1px solid var(--border-subtle);
  letter-spacing: 1.5px;
}

.mini-preview-body {
  padding: 0.6rem 0.7rem;
}

.mini-teams {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.mini-crest {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.mini-vs-text {
  font-size: 0.7rem;
  color: var(--text-secondary);
  line-height: 1.2;
}

.mini-vs-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.mini-intel-link {
  display: block;
  font-family: 'Orbitron', monospace;
  font-size: 0.55rem;
  color: var(--green-dim);
  text-decoration: none;
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
}

.mini-intel-link:hover {
  color: var(--green-primary);
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
}

/* ===========================
   CENTRAL HUB - CARD CAROUSEL
   =========================== */
.central-hub {
  position: relative;
  z-index: 10;
  grid-column: 2;
  grid-row: 1;
}

.card-carousel {
  position: relative;
  width: 100%;
  min-height: 520px;
  perspective: 1200px;
}

.preview-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: rotateY(90deg) scale(0.9);
  transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
  pointer-events: none;
  transform-style: preserve-3d;
}

.preview-card.active {
  opacity: 1;
  transform: rotateY(0deg) scale(1);
  pointer-events: all;
  position: relative;
}

.preview-card.exit-left {
  opacity: 0;
  transform: rotateY(-90deg) scale(0.9);
}

.preview-card.exit-right {
  opacity: 0;
  transform: rotateY(90deg) scale(0.9);
}

.card-face {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--card-radius);
  backdrop-filter: blur(15px);
  overflow: hidden;
  box-shadow: 
    0 0 40px rgba(0, 255, 136, 0.05),
    inset 0 1px 0 rgba(0, 255, 136, 0.05);
}

.preview-header-tag {
  font-family: 'Orbitron', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green-primary);
  padding: 0.6rem 1.2rem;
  background: rgba(0, 255, 136, 0.04);
  border-bottom: 1px solid var(--border-subtle);
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.preview-league-title {
  text-align: center;
  padding: 1rem 1rem 0.5rem;
}

.league-name {
  font-family: 'Orbitron', monospace;
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.3rem;
}

.match-title {
  font-family: 'Orbitron', monospace;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.2;
}

.team-home {
  color: var(--text-primary);
}

.vs-text {
  color: var(--text-dim);
  font-weight: 400;
  font-size: 1.1rem;
  margin: 0 0.3rem;
}

.team-away {
  color: var(--text-primary);
}

.preview-content {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 0.5rem;
  padding: 0.5rem 1rem 1.2rem;
  align-items: start;
}

/* Player Columns */
.player-column {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.player-portrait-wrap {
  position: relative;
  width: 120px;
  height: 150px;
  margin-bottom: 0.3rem;
}

.player-portrait-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.3;
  z-index: 0;
}

.home-glow { background: radial-gradient(circle, var(--accent-red) 0%, transparent 70%); }
.away-glow { background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%); }

.player-portrait-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  filter: saturate(0.7) contrast(1.1);
  transition: filter 0.3s ease;
}

.player-portrait-image:hover {
  filter: saturate(1) contrast(1.05);
}

.player-name {
  font-family: 'Orbitron', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 2px;
}

.tactical-label {
  font-family: 'Orbitron', monospace;
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--green-dim);
  letter-spacing: 1px;
}

.tactical-sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* Data Viz Rings */
.data-viz-rings {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0.3rem 0;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
}

.ring-outer {
  inset: 0;
  border-color: var(--green-dim);
  border-top-color: transparent;
  animation: spin-ring 4s linear infinite;
}

.ring-mid {
  inset: 10px;
  border-color: var(--accent-orange);
  border-bottom-color: transparent;
  border-left-color: transparent;
  animation: spin-ring 3s linear infinite reverse;
}

.ring-inner {
  inset: 20px;
  border-color: var(--accent-red);
  border-right-color: transparent;
  animation: spin-ring 2s linear infinite;
}

.away-rings .ring-outer { border-color: var(--accent-blue); border-top-color: transparent; }
.away-rings .ring-mid { border-color: var(--accent-orange); border-bottom-color: transparent; border-left-color: transparent; }
.away-rings .ring-inner { border-color: var(--accent-red); border-right-color: transparent; }

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

.metric-label {
  font-size: 0.65rem;
  color: var(--text-dim);
}

/* Tactical Center */
.tactical-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.pitch-diagram {
  width: 100%;
  max-width: 280px;
  background: rgba(0, 255, 136, 0.02);
  border: 1px solid rgba(0, 255, 136, 0.08);
  border-radius: 6px;
  padding: 0.3rem;
}

.tactical-svg {
  width: 100%;
  height: auto;
}

.player-dot {
  animation: dot-pulse 2s ease-in-out infinite;
}

.player-dot:nth-child(odd) { animation-delay: 0.5s; }

@keyframes dot-pulse {
  0%, 100% { r: 4; opacity: 0.8; }
  50% { r: 5; opacity: 1; }
}

.attack-arrow {
  animation: arrow-flow 3s ease-in-out infinite;
}

@keyframes arrow-flow {
  0%, 100% { stroke-dashoffset: 0; opacity: 0.6; }
  50% { stroke-dashoffset: 14; opacity: 1; }
}

.center-metrics {
  text-align: center;
}

.center-metric-title {
  font-family: 'Orbitron', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1.5px;
  margin-bottom: 0.2rem;
}

.center-metric-sub {
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* CTA Button */
.cta-button {
  display: inline-block;
  font-family: 'Orbitron', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green-primary);
  text-decoration: none;
  padding: 0.7rem 1.8rem;
  border: 1px solid var(--bg-card-border-bright);
  border-radius: 6px;
  background: rgba(0, 255, 136, 0.06);
  transition: all 0.3s ease;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  background: rgba(0, 255, 136, 0.12);
  border-color: var(--green-primary);
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.2), 0 0 50px rgba(0, 255, 136, 0.1);
  transform: translateY(-1px);
}

.pulse-glow {
  animation: button-pulse 3s ease-in-out infinite;
}

@keyframes button-pulse {
  0%, 100% { box-shadow: 0 0 5px rgba(0, 255, 136, 0.1); }
  50% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.15), 0 0 40px rgba(0, 255, 136, 0.05); }
}

.secondary-buttons {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.sec-btn {
  font-family: 'Orbitron', monospace;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.sec-btn:hover {
  color: var(--green-primary);
  border-color: var(--bg-card-border-bright);
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.carousel-btn {
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid var(--bg-card-border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  border-color: var(--green-primary);
  color: var(--green-primary);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
  background: rgba(0, 255, 136, 0.1);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--green-primary);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
  transform: scale(1.3);
}

.dot:hover {
  background: var(--green-dim);
}

/* ===========================
   LIVE INTEL FEED
   =========================== */
.live-intel-feed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  max-height: 380px;
  background: rgba(8, 18, 12, 0.95);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--card-radius);
  backdrop-filter: blur(15px);
  z-index: 500;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.05), 0 10px 40px rgba(0, 0, 0, 0.5);
}

.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  background: rgba(0, 255, 136, 0.04);
  border-bottom: 1px solid var(--border-subtle);
}

.feed-title {
  font-family: 'Orbitron', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green-primary);
  letter-spacing: 1.5px;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.feed-counts {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.65rem;
  color: var(--text-dim);
}

.feed-counts strong {
  color: var(--green-primary);
}

.feed-live {
  color: #ff4444;
}

.feed-live strong {
  color: #ff4444;
}

.feed-items {
  overflow-y: auto;
  max-height: 310px;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feed-items::-webkit-scrollbar {
  width: 3px;
}

.feed-items::-webkit-scrollbar-thumb {
  background: var(--green-dark);
  border-radius: 3px;
}

.feed-item {
  background: rgba(0, 255, 136, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0.5rem;
  transition: border-color 0.3s ease;
}

.feed-item:hover {
  border-color: var(--bg-card-border-bright);
}

.feed-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.feed-match-info {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.feed-crest {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.feed-match-text {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.feed-minute {
  font-family: 'Orbitron', monospace;
  font-size: 0.6rem;
  color: var(--accent-red);
  animation: pulse-minute 1.5s ease-in-out infinite;
}

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

.feed-viz-row {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: 0.3rem;
  align-items: center;
}

.feed-viz-label {
  font-size: 0.55rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.feed-viz-chart {
  height: 30px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  overflow: hidden;
}

.mini-chart {
  width: 100%;
  height: 100%;
}

/* ===========================
   FINISHED SECTION
   =========================== */
.finished-section {
  grid-column: 1 / -1;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  padding-top: 1rem;
  position: relative;
  z-index: 10;
  flex-wrap: wrap;
}

.finished-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  width: 280px;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.finished-card:hover {
  border-color: var(--bg-card-border);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.05);
}

.finished-header {
  font-family: 'Orbitron', monospace;
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--text-dim);
  padding: 0.4rem 0.7rem;
  background: rgba(0, 255, 136, 0.02);
  border-bottom: 1px solid var(--border-subtle);
  letter-spacing: 1px;
  text-align: center;
}

.finished-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.8rem;
}

.finished-crest {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.finished-score {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.score-num {
  font-family: 'Orbitron', monospace;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
}

.score-dash {
  color: var(--text-dim);
  font-size: 1rem;
}

.finished-meta {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0.7rem 0.5rem;
  font-size: 0.65rem;
  color: var(--text-dim);
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border-subtle);
  margin-top: 2rem;
}

.footer-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-brand {
  font-family: 'Orbitron', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-dim);
}

.footer-copy {
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1200px) {
  .pitch-container {
    grid-template-columns: 160px 1fr 160px;
    gap: 1rem;
    padding: 1.5rem;
  }

  .match-title {
    font-size: 1.3rem;
  }

  .player-portrait-wrap {
    width: 100px;
    height: 125px;
  }

  .live-intel-feed {
    width: 260px;
  }
}

@media (max-width: 1024px) {
  .pitch-container {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .secondary-previews {
    flex-direction: row;
    overflow-x: auto;
    padding-top: 0;
  }

  .left-previews {
    order: 2;
  }

  .central-hub {
    order: 1;
    grid-column: 1;
  }

  .right-previews {
    order: 3;
  }

  .mini-preview-card {
    min-width: 180px;
    flex-shrink: 0;
  }

  .live-intel-feed {
    position: relative;
    bottom: auto;
    right: auto;
    width: 100%;
    max-height: none;
    order: 4;
  }

  .finished-section {
    grid-column: 1;
    order: 5;
  }

  .preview-content {
    grid-template-columns: 1fr 1.5fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    flex-wrap: wrap;
    padding: 0.6rem 1rem;
    gap: 0.5rem;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 0.3rem;
    overflow-x: auto;
    padding-bottom: 0.3rem;
  }

  .nav-link {
    font-size: 0.65rem;
    padding: 0.4rem 0.5rem;
  }

  .glow-tag {
    display: none;
  }

  .filter-inner {
    padding: 0.5rem 1rem;
    gap: 0.8rem;
  }

  .search-float {
    width: 100%;
    margin-left: 0;
  }

  .search-float input {
    width: 100%;
  }

  .preview-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tactical-center {
    order: -1;
  }

  .player-column {
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .match-title {
    font-size: 1.1rem;
  }

  .player-portrait-wrap {
    width: 80px;
    height: 100px;
  }

  .data-viz-rings {
    width: 60px;
    height: 60px;
  }

  .finished-card {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 1.2rem;
  }

  .match-title {
    font-size: 0.9rem;
  }

  .cta-button {
    font-size: 0.65rem;
    padding: 0.5rem 1rem;
  }
}
/* ENDFILE */