/* ============================================================
   TACTICALEDGE — MASTER STYLESHEET
   Dark football intelligence platform
   ============================================================ */

/* ------------------------------------------------------------
   CUSTOM PROPERTIES
   ------------------------------------------------------------ */
:root {
  --green: #00FF41;
  --green-dim: #00CC33;
  --green-dark: #006600;
  --green-glow: rgba(0, 255, 65, 0.15);
  --blue: #00D4FF;
  --blue-dim: #0099CC;
  --blue-dark: #003399;
  --blue-glow: rgba(0, 212, 255, 0.15);
  --orange: #FF6A00;
  --orange-dim: #CC5500;
  --orange-glow: rgba(255, 106, 0, 0.15);
  --bg-base: #080c10;
  --bg-surface: #0d1117;
  --bg-card: #111827;
  --bg-card-hover: #161f2e;
  --bg-elevated: #1a2332;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-green: rgba(0, 255, 65, 0.2);
  --border-blue: rgba(0, 212, 255, 0.2);
  --border-orange: rgba(255, 106, 0, 0.2);
  --text-primary: #e8edf2;
  --text-secondary: #8b9ab0;
  --text-muted: #4a5568;
  --text-white: #ffffff;
  --header-height: 64px;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --shadow-green: 0 0 20px rgba(0, 255, 65, 0.12);
  --shadow-blue: 0 0 20px rgba(0, 212, 255, 0.12);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

input, select, textarea {
  font-family: var(--font-body);
}

/* ------------------------------------------------------------
   UTILITY CLASSES
   ------------------------------------------------------------ */
.green  { color: var(--green); }
.blue   { color: var(--blue); }
.orange { color: var(--orange); }

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--border-green);
  border-radius: var(--radius-sm);
  background: rgba(0, 255, 65, 0.06);
  margin-bottom: 16px;
}

.orange-tag {
  color: var(--orange);
  border-color: var(--border-orange);
  background: rgba(255, 106, 0, 0.06);
}

.green-tag {
  color: var(--green);
  border-color: var(--border-green);
  background: rgba(0, 255, 65, 0.06);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--green);
  color: #000;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--green-dim);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 255, 65, 0.3);
  color: #000;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(0, 255, 65, 0.05);
}

.small-btn {
  padding: 8px 16px;
  font-size: 0.8rem;
}

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

.tactic-highlight-box {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(0, 255, 65, 0.04);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.tactic-highlight-box .highlight-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.tactic-highlight-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.fs-header {
  margin-bottom: 40px;
}

/* ------------------------------------------------------------
   HEADER
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(8, 12, 16, 0.92);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background var(--transition-base), border-color var(--transition-base);
}

.site-header.scrolled {
  background: rgba(8, 12, 16, 0.98);
  border-bottom-color: var(--border-green);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-logo {
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 8px rgba(0, 255, 65, 0.4));
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.02em;
}

.logo-accent {
  color: var(--green);
}

.header-nav {
  flex: 1;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-highlight {
  color: var(--orange) !important;
  border: 1px solid var(--border-orange);
  background: rgba(255, 106, 0, 0.06);
}

.nav-highlight:hover {
  background: rgba(255, 106, 0, 0.12) !important;
  border-color: var(--orange);
}

.header-search {
  flex-shrink: 0;
}

.search-wrapper {
  position: relative;
}

.search-input {
  width: 220px;
  padding: 8px 36px 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.8rem;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

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

.search-input:focus {
  border-color: var(--border-green);
  background: rgba(0, 255, 65, 0.04);
}

.search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0;
}

.search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  z-index: 200;
  box-shadow: var(--shadow-card);
  min-width: 260px;
}

.search-wrapper:focus-within .search-dropdown,
.search-dropdown.active {
  display: block;
}

.search-category {
  padding: 8px 12px 4px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.search-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.search-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
}

.search-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.player-dot { background: var(--green); }
.team-dot   { background: var(--blue); }

.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.heat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.heat-toggle:hover,
.heat-toggle.active {
  color: var(--orange);
  border-color: var(--border-orange);
  background: rgba(255, 106, 0, 0.08);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------
   TICKER BAR
   ------------------------------------------------------------ */
.ticker-bar {
  position: relative;
  top: var(--header-height);
  background: rgba(0, 255, 65, 0.06);
  border-bottom: 1px solid var(--border-green);
  padding: 0;
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
  z-index: 999;
}

.ticker-inner {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.ticker-label {
  flex-shrink: 0;
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #000;
  background: var(--green);
  height: 100%;
  display: flex;
  align-items: center;
  text-transform: uppercase;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
}

.ticker-track span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  padding: 0 20px;
}

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

/* ------------------------------------------------------------
   HERO SECTION (index.html)
   ------------------------------------------------------------ */
.hero-section {
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 36px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 60px;
  position: relative;
}

.hero-pitch-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 65, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 65, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 255, 65, 0.08);
  border: 1px solid var(--border-green);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

.orange-dot {
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text-white);
  margin-bottom: 20px;
}

.hero-accent {
  color: var(--green);
  text-shadow: 0 0 40px rgba(0, 255, 65, 0.3);
}

.orange-accent {
  color: var(--orange);
  text-shadow: 0 0 40px rgba(255, 106, 0, 0.3);
}

.hero-sub {
  font-size: 1.0rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
}

.hero-stat:first-child {
  padding-left: 0;
}

.hero-stat-val {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
  flex-shrink: 0;
}

/* Hero Visual / Pitch */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.pitch-diagram {
  width: 100%;
  max-width: 340px;
}

.pitch-field {
  position: relative;
  background: linear-gradient(180deg, rgba(0, 255, 65, 0.04) 0%, rgba(0, 200, 50, 0.08) 100%);
  border: 1.5px solid rgba(0, 255, 65, 0.2);
  border-radius: var(--radius-md);
  aspect-ratio: 0.65;
  overflow: hidden;
}

.pitch-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40%;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 255, 65, 0.15);
  border-radius: 50%;
}

.pitch-center-line {
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 1px;
  background: rgba(0, 255, 65, 0.15);
}

.pitch-box {
  position: absolute;
  left: 15%;
  right: 15%;
  height: 20%;
  border: 1px solid rgba(0, 255, 65, 0.15);
}

.top-box    { top: 2%; }
.bottom-box { bottom: 2%; }

.pitch-goal {
  position: absolute;
  left: 30%;
  right: 30%;
  height: 4%;
  background: rgba(0, 255, 65, 0.06);
  border: 1px solid rgba(0, 255, 65, 0.15);
}

.top-goal    { top: 0; }
.bottom-goal { bottom: 0; }

/* Player dots */
.p-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translate(-50%, 50%);
  z-index: 2;
}

.p-dot.gk  { background: #ff9800; box-shadow: 0 0 8px rgba(255, 152, 0, 0.6); }
.p-dot.def { background: #00D4FF; box-shadow: 0 0 8px rgba(0, 212, 255, 0.5); }
.p-dot.mid { background: var(--green); box-shadow: 0 0 8px rgba(0, 255, 65, 0.5); }
.p-dot.fwd { background: #ffffff; box-shadow: 0 0 8px rgba(255, 255, 255, 0.4); }

.highlight-dot {
  background: var(--orange) !important;
  box-shadow: 0 0 12px rgba(255, 106, 0, 0.7) !important;
}

.haaland-dot {
  width: 14px;
  height: 14px;
  background: var(--green) !important;
  box-shadow: 0 0 16px rgba(0, 255, 65, 0.8) !important;
  animation: pulse-player 2.5s ease-in-out infinite;
}

@keyframes pulse-player {
  0%, 100% { transform: translate(-50%, 50%) scale(1); }
  50%       { transform: translate(-50%, 50%) scale(1.3); }
}

.tactic-arrow {
  position: absolute;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green));
  opacity: 0.6;
}

.xg-pulse {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--green);
  transform: translate(-50%, 50%);
  animation: xg-ripple 2s ease-out infinite;
}

@keyframes xg-ripple {
  0%   { transform: translate(-50%, 50%) scale(0.5); opacity: 1; }
  100% { transform: translate(-50%, 50%) scale(3); opacity: 0; }
}

/* ------------------------------------------------------------
   FILTER BAR
   ------------------------------------------------------------ */
.filter-bar {
  position: sticky;
  top: var(--header-height);
  z-index: 900;
  background: rgba(8, 12, 16, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.filter-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.filter-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar { display: none; }

.filter-tab {
  flex-shrink: 0;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.02em;
}

.filter-tab:hover {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
}

.filter-tab.active {
  color: var(--green);
  background: rgba(0, 255, 65, 0.08);
  border-color: var(--border-green);
}

.filter-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sort-select {
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.76rem;
  outline: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.sort-select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.view-toggle {
  display: flex;
  gap: 4px;
}

.view-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.view-btn:hover,
.view-btn.active {
  color: var(--green);
  border-color: var(--border-green);
  background: rgba(0, 255, 65, 0.06);
}

/* ------------------------------------------------------------
   MAIN GRID / CARDS
   ------------------------------------------------------------ */
.main-grid-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

/* Card base */
.tac-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  position: relative;
}

.tac-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 255, 65, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 255, 65, 0.05);
}

.card-featured { grid-column: span 2; }
.card-wide     { grid-column: span 2; }
.card-tall     { grid-row: span 2; }

/* Card Media */
.card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.card-tall .card-media     { aspect-ratio: 4/5; }
.card-featured .card-media { aspect-ratio: 16/7; }

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.tac-card:hover .card-media img {
  transform: scale(1.03);
}

/* Video overlay */
.card-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity var(--transition-base);
  flex-direction: column;
  gap: 8px;
}

.tac-card:hover .card-video-overlay {
  opacity: 1;
}

.video-play-icon {
  filter: drop-shadow(0 0 12px rgba(0, 255, 65, 0.4));
}

.video-render-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(0, 0, 0, 0.7);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.06em;
}

/* Live badge */
.card-live-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff2244;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  animation: live-blink 2s ease-in-out infinite;
  z-index: 2;
}

@keyframes live-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}

/* Heat overlay */
.heat-overlay-layer {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(255, 60, 0, 0.0) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

body.heat-mode .heat-overlay-layer {
  opacity: 1;
  background: radial-gradient(ellipse at 60% 40%, rgba(255, 60, 0, 0.35) 0%, rgba(255, 180, 0, 0.1) 50%, transparent 80%);
}

/* Card Body */
.card-body {
  padding: 18px 18px 16px;
}

.card-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

/* League badges */
.league-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  display: inline-block;
}

.pl-badge {
  background: rgba(63, 94, 251, 0.15);
  color: #7ca3ff;
  border: 1px solid rgba(63, 94, 251, 0.3);
}

.laliga-badge {
  background: rgba(255, 60, 0, 0.1);
  color: #ff8a65;
  border: 1px solid rgba(255, 60, 0, 0.2);
}

.ucl-badge {
  background: rgba(0, 100, 255, 0.12);
  color: #80aaff;
  border: 1px solid rgba(0, 100, 255, 0.25);
}

.fpl-label-badge {
  background: rgba(255, 106, 0, 0.12);
  color: var(--orange);
  border: 1px solid var(--border-orange);
}

.theory-badge {
  background: rgba(0, 212, 255, 0.08);
  color: var(--blue);
  border: 1px solid var(--border-blue);
}

.ai-badge {
  background: rgba(0, 255, 65, 0.08);
  color: var(--green);
  border: 1px solid var(--border-green);
}

.match-time {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.3;
  margin-bottom: 8px;
}

.card-featured .card-title {
  font-size: 1.3rem;
}

.card-excerpt {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

/* Data badges */
.card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.data-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
}

.badge-icon  { font-size: 0.7rem; }
.badge-label { color: var(--text-muted); font-size: 0.65rem; }

.badge-val {
  color: var(--text-primary);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.intensity-high {
  border-color: rgba(255, 50, 50, 0.3);
  background: rgba(255, 50, 50, 0.06);
}

.intensity-mid {
  border-color: rgba(255, 180, 0, 0.25);
  background: rgba(255, 180, 0, 0.05);
}

.tactic-badge {
  border-color: var(--border-blue);
  background: rgba(0, 212, 255, 0.05);
}

.fpl-badge {
  border-color: var(--border-green);
  background: rgba(0, 255, 65, 0.05);
}

.orange-badge {
  border-color: var(--border-orange);
  background: rgba(255, 106, 0, 0.06);
}

/* xG bar */
.card-xg-bar {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.xg-team {
  display: flex;
  align-items: center;
  gap: 8px;
}

.xg-team-name {
  font-size: 0.72rem;
  color: var(--text-secondary);
  width: 70px;
  flex-shrink: 0;
}

.xg-bar-track {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  overflow: hidden;
}

.xg-bar-fill {
  height: 100%;
  background: var(--green);
  border-radius: 100px;
  transition: width var(--transition-slow);
}

.xg-bar-fill.blue { background: var(--blue); }

.xg-val {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  width: 32px;
  text-align: right;
  flex-shrink: 0;
  color: var(--green);
}

.xg-val.blue { color: var(--blue); }

/* Card footer */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.card-cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.card-cta:hover { color: var(--green-dim); }

.orange-cta       { color: var(--orange) !important; }
.orange-cta:hover { color: var(--orange-dim) !important; }

.xray-btn {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-sm);
  color: var(--blue);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
}

.xray-btn:hover {
  background: rgba(0, 212, 255, 0.12);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

/* Special card variants */
.card-fpl-highlight {
  border-color: var(--border-orange);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255, 106, 0, 0.04) 100%);
}

.card-theory {
  border-color: var(--border-blue);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 212, 255, 0.03) 100%);
}

/* Load more */
.load-more-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: flex;
  justify-content: center;
}

.load-more-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 40px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
}

.load-more-btn:hover {
  border-color: var(--border-green);
  color: var(--green);
  background: rgba(0, 255, 65, 0.04);
}

.load-more-text {
  font-weight: 600;
  font-size: 0.9rem;
}

.load-more-count {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* ------------------------------------------------------------
   FANTASY TEASER STRIP
   ------------------------------------------------------------ */
.fantasy-teaser-strip {
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.06) 0%, rgba(0, 0, 0, 0) 60%);
  border-top: 1px solid var(--border-orange);
  border-bottom: 1px solid var(--border-subtle);
  padding: 48px 24px;
}

.strip-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.strip-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
  padding: 4px 10px;
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-sm);
  background: rgba(255, 106, 0, 0.06);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.strip-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 12px;
}

.strip-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.mini-player-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mini-player-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color var(--transition-fast);
}

.mini-player-card:hover  { border-color: var(--border-green); }
.captain-card            { border-color: var(--border-orange); background: rgba(255, 106, 0, 0.04); }

.mini-player-pos {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  flex-shrink: 0;
  text-transform: uppercase;
}

.gk      { background: rgba(255, 152, 0, 0.15); color: #ff9800; }
.fwd-pos { background: rgba(0, 255, 65, 0.1);   color: var(--green); }
.mid-pos { background: rgba(0, 212, 255, 0.1);  color: var(--blue); }

.mini-player-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mini-player-name {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-player-club {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.mini-player-score {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.0rem;
  color: var(--green);
  flex-shrink: 0;
}

.mini-player-score.orange { color: var(--orange); }

/* ------------------------------------------------------------
   AI ENGINE SECTION
   ------------------------------------------------------------ */
.ai-engine-section {
  padding: 80px 24px;
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 100%);
  border-top: 1px solid var(--border-subtle);
}

.engine-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.engine-header {
  text-align: center;
  margin-bottom: 56px;
}

.engine-header .section-tag { margin-bottom: 12px; }

.engine-header .section-sub {
  margin: 0 auto;
  text-align: center;
}

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

.engine-node {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.engine-node:hover {
  border-color: rgba(0, 255, 65, 0.15);
  transform: translateY(-2px);
}

.node-icon  { margin-bottom: 14px; }

.node-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.node-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ------------------------------------------------------------
   GLOBAL HEAT OVERLAY
   ------------------------------------------------------------ */
.global-heat-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(255, 60, 0, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 70%, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
  transition: opacity var(--transition-slow);
}

body.heat-mode .global-heat-overlay { opacity: 1; }

/* ------------------------------------------------------------
   X-RAY MODAL
   ------------------------------------------------------------ */
.xray-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.xray-modal[aria-hidden="false"] { display: flex; }

.xray-modal-inner {
  background: var(--bg-card);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-xl);
  padding: 28px;
  max-width: 720px;
  width: 100%;
  position: relative;
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.15);
}

.xray-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.xray-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-white);
}

.xray-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  border: 1px solid var(--border-blue);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.xray-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 20px;
}

.xray-pitch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.xray-pitch-field {
  background: rgba(0, 212, 255, 0.03);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-md);
  aspect-ratio: 0.7;
  position: relative;
  overflow: hidden;
}

.xray-line {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(0, 212, 255, 0.2);
}

.top-box-line    { top: 20%; }
.bottom-box-line { bottom: 20%; }
.center-line     { top: 50%; }

.xray-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 35%;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 50%;
}

.xray-center-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.formation-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.top-formation {
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  color: var(--green);
}

.bottom-formation {
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  color: var(--blue);
}

.xray-p-row {
  position: absolute;
  left: 10%;
  right: 10%;
  display: flex;
  justify-content: space-evenly;
}

.row-a { top: 12%; }
.row-b { top: 28%; }
.row-c { top: 58%; }
.row-d { top: 74%; }

.xray-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.green-dot { background: var(--green); box-shadow: 0 0 6px rgba(0, 255, 65, 0.5); }
.blue-dot  { background: var(--blue);  box-shadow: 0 0 6px rgba(0, 212, 255, 0.5); }

.xray-data-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.xray-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.xray-stat-row span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.xray-stat-row strong {
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.xray-stat-row strong.green  { color: var(--green); }
.xray-stat-row strong.blue   { color: var(--blue); }
.xray-stat-row strong.orange { color: var(--orange); }

/* ------------------------------------------------------------
   ABOUT PAGE
   ------------------------------------------------------------ */
.about-hero {
  position: relative;
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 80px;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 65, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 65, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.about-hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.about-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--text-white);
  margin-bottom: 20px;
}

.about-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

/* About sections */
.about-section {
  padding: 80px 24px;
}

.about-section.alt-bg {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.about-philosophy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.philosophy-text .section-tag { margin-bottom: 16px; }

.about-h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.philosophy-text p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
}

/* AI Diagram */
.philosophy-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ai-diagram {
  position: relative;
  width: 320px;
  height: 320px;
}

.ai-center-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(0, 255, 65, 0.1);
  border: 2px solid var(--green);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.2);
}

.ai-center-node span:first-child {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--green);
}

.ai-center-label {
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.ai-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(0, 255, 65, 0.15);
}

.ai-orbit-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  margin-left: -22px;
  transform: rotate(var(--angle)) translateY(-130px) rotate(calc(-1 * var(--angle)));
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.ai-orbit-node:hover {
  border-color: var(--border-green);
  background: rgba(0, 255, 65, 0.06);
}

.ai-orbit-node span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* Models list */
.models-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.model-item {
  display: flex;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: flex-start;
}

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

.model-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  flex-shrink: 0;
  opacity: 0.7;
  width: 56px;
  line-height: 1;
  padding-top: 4px;
}

.model-num.green  { color: var(--green); }
.model-num.blue   { color: var(--blue); }
.model-num.orange { color: var(--orange); }

.model-content { flex: 1; }

.model-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.model-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.model-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.spec-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 8px;
  background: rgba(0, 255, 65, 0.06);
  border: 1px solid var(--border-green);
  border-radius: var(--radius-sm);
  color: var(--green);
}

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

.team-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform var(--transition-base);
}

.team-card:hover { transform: translateY(-3px); }

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.team-name {
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.team-role.green  { color: var(--green); }
.team-role.blue   { color: var(--blue); }
.team-role.orange { color: var(--orange); }

.team-bio {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ------------------------------------------------------------
   FANTASY PAGE
   ------------------------------------------------------------ */
.fantasy-hero {
  position: relative;
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 60px;
  overflow: hidden;
}

.fantasy-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fhero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 106, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 106, 0, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.fhero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.fhero-glow-green {
  top: -200px;
  right: 10%;
  background: rgba(0, 255, 65, 0.07);
}

.fhero-glow-orange {
  bottom: -100px;
  left: 5%;
  background: rgba(255, 106, 0, 0.07);
}

.fantasy-hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.fantasy-hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.fh-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.fh-val {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
}

.fh-val.green  { color: var(--green); }
.fh-val.orange { color: var(--orange); }
.fh-val.blue   { color: var(--blue); }

.fh-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Countdown bar */
.gw-countdown-bar {
  background: rgba(255, 106, 0, 0.08);
  border-top: 1px solid var(--border-orange);
  border-bottom: 1px solid var(--border-orange);
  padding: 12px 24px;
}

.gw-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.gw-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange);
  text-transform: uppercase;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 4px;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 48px;
}

.cu-val {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}

.cu-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.countdown-sep {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--orange);
  opacity: 0.5;
  margin-bottom: 14px;
}

.gw-warning {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange);
}

/* Fantasy sections */
.fantasy-section {
  padding: 72px 24px;
}

.fantasy-section.alt-bg {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.fantasy-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Captain grid */
.captain-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.captain-card {
  padding: 24px;
  border-radius: var(--radius-xl);
  position: relative;
  transition: transform var(--transition-base);
}

.captain-card:hover { transform: translateY(-4px); }

.captain-gold {
  border-color: rgba(255, 215, 0, 0.25);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.04) 0%, rgba(255, 106, 0, 0.04) 100%);
}

.captain-rank {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(255, 215, 0, 0.7);
  line-height: 1;
}

.blue-rank { color: var(--blue) !important; }

.captain-badge-label {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange);
  background: rgba(255, 106, 0, 0.1);
  border: 1px solid var(--border-orange);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.captain-player-visual {
  position: relative;
  margin: 32px auto 20px;
  width: 100px;
  height: 100px;
}

.captain-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.captain-heatmap-overlay {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 40%, rgba(255, 180, 0, 0.15) 100%);
  animation: heatmap-rotate 6s linear infinite;
}

@keyframes heatmap-rotate {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.captain-info {
  text-align: center;
  margin-bottom: 18px;
}

.captain-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 4px;
}

.captain-club {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.captain-fixture {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.captain-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.cs-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.cs-val {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
}

.cs-val.green  { color: var(--green); }
.cs-val.orange { color: var(--orange); }
.cs-val.blue   { color: var(--blue); }

.cs-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.captain-form-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}

.form-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.form-goal   { background: var(--green); }
.form-assist { background: var(--blue); }
.form-blank  { background: var(--text-muted); }

.captain-reasoning {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--border-green);
  margin-bottom: 16px;
}

.captain-reasoning strong { color: var(--green); }

.captain-cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px;
  background: rgba(0, 255, 65, 0.08);
  border: 1px solid var(--border-green);
  border-radius: var(--radius-md);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.captain-cta-btn:hover { background: rgba(0, 255, 65, 0.15); }

/* Differentials */
.differential-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.diff-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  transition: transform var(--transition-base), border-color var(--transition-base);
}

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

.diff-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.diff-ownership {
  display: flex;
  flex-direction: column;
}

.own-val {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
}

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

.diff-rating {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.diff-rating.orange { background: rgba(255, 106, 0, 0.1);   border: 1px solid var(--border-orange); color: var(--orange); }
.diff-rating.green  { background: rgba(0, 255, 65, 0.08);   border: 1px solid var(--border-green);  color: var(--green); }
.diff-rating.blue   { background: rgba(0, 212, 255, 0.08);  border: 1px solid var(--border-blue);   color: var(--blue); }

.diff-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.diff-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-white);
  margin-bottom: 2px;
}

.diff-club {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.diff-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.ds {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.diff-reason {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.6;
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
  margin-top: 6px;
}

/* Optimal squad display */
.optimal-squad-display {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}

.squad-pitch {
  background: linear-gradient(180deg,
    rgba(0, 255, 65, 0.04) 0%,
    rgba(0, 200, 50, 0.08) 50%,
    rgba(0, 255, 65, 0.04) 100%);
  border: 1.5px solid rgba(0, 255, 65, 0.15);
  border-radius: var(--radius-xl);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.squad-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.squad-player-token {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 70px;
}

.bench-token { opacity: 0.55; }

.token-shirt {
  width: 44px;
  height: 44px;
  border-radius: 50% 50% 40% 40%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.token-name {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-white);
  text-align: center;
  white-space: nowrap;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.token-price {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--green);
}

.captain-token .token-shirt {
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 215, 0, 0.5);
}

.vc-token .token-shirt {
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.2), 0 4px 12px rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 212, 255, 0.3);
}

.captain-c {
  position: absolute;
  top: -6px;
  right: 50%;
  transform: translateX(60%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: gold;
  color: #000;
  font-size: 0.55rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.vc-c {
  background: var(--blue);
  color: #000;
}

.squad-summary {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.squad-sum-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.ss-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
}

.ss-row span          { color: var(--text-secondary); }
.ss-row strong        { font-family: var(--font-mono); }
.ss-row strong.green  { color: var(--green); }
.ss-row strong.orange { color: var(--orange); }

.squad-chips {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chip-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  text-align: center;
  text-transform: uppercase;
}

.orange-chip {
  border-color: var(--border-orange);
  background: rgba(255, 106, 0, 0.06);
  color: var(--orange);
}

/* ------------------------------------------------------------
   CONTACT PAGE
   ------------------------------------------------------------ */
.contact-hero {
  position: relative;
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 64px;
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.025) 1px, transparent 1px);
  background-size: 50px 50px;
}

.contact-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--text-white);
  margin-bottom: 20px;
}

.contact-sub {
  font-size: 1.0rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.contact-stats-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.cs-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.cs-v {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
}

.cs-v.green  { color: var(--green); }
.cs-v.orange { color: var(--orange); }
.cs-v.blue   { color: var(--blue); }

.cs-l {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Contact layout */
.contact-section {
  padding: 64px 24px;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-grid-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Form */
.contact-form-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 8px;
}

.contact-form-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.form-input {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  width: 100%;
}

.form-input::placeholder { color: var(--text-muted); }

.form-input:focus {
  border-color: var(--border-green);
  background: rgba(0, 255, 65, 0.03);
}

.form-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a5568' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Custom checkbox */
.form-check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--text-secondary);
  user-select: none;
}

.form-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check-custom {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border-subtle);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  flex-shrink: 0;
  transition: all var(--transition-fast);
  position: relative;
  display: inline-block;
}

.form-check:checked + .check-custom {
  background: var(--green);
  border-color: var(--green);
}

.form-check:checked + .check-custom::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(45deg);
}

.form-success {
  display: none;
  padding: 12px 16px;
  background: rgba(0, 255, 65, 0.08);
  border: 1px solid var(--border-green);
  border-radius: var(--radius-md);
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 600;
}

.form-success.visible { display: block; }

/* Contact sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.contact-info-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

/* Channel list */
.channel-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
  text-decoration: none;
  color: inherit;
}

.channel-item:hover { background: rgba(255, 255, 255, 0.04); }

.channel-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
  text-transform: uppercase;
}

.discord-icon   { background: rgba(88, 101, 242, 0.15);  color: #7289da; border: 1px solid rgba(88, 101, 242, 0.2); }
.twitter-icon   { background: rgba(29, 161, 242, 0.12);  color: #1da1f2; border: 1px solid rgba(29, 161, 242, 0.2); }
.youtube-icon   { background: rgba(255, 0, 0, 0.1);      color: #ff4444; border: 1px solid rgba(255, 0, 0, 0.15); }
.instagram-icon { background: rgba(193, 53, 132, 0.1);   color: #e1306c; border: 1px solid rgba(193, 53, 132, 0.2); }

.channel-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.channel-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-white);
}

.channel-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.channel-arrow {
  color: var(--text-muted);
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.channel-item:hover .channel-arrow {
  color: var(--green);
  transform: translateX(2px);
}

/* API Card */
.api-card {
  border-color: var(--border-green);
  background: rgba(0, 255, 65, 0.02);
}

.api-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green);
  background: rgba(0, 255, 65, 0.08);
  border: 1px solid var(--border-green);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.api-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.api-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.api-feature {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  gap: 6px;
  align-items: center;
}

.api-feature .green { color: var(--green); font-weight: 700; }

.api-code-preview {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 255, 65, 0.1);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
  overflow-x: auto;
}

.api-code-preview code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--green);
  white-space: nowrap;
}

/* Direct contact */
.direct-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dc-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dc-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dc-label.green  { color: var(--green); }
.dc-label.blue   { color: var(--blue); }
.dc-label.orange { color: var(--orange); }

.dc-val {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

/* Newsletter strip */
.newsletter-strip {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.04) 0%, rgba(0, 255, 65, 0.03) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 48px 24px;
}

.newsletter-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.newsletter-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 8px;
}

.newsletter-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition-fast);
  font-family: var(--font-body);
}

.newsletter-input::placeholder { color: var(--text-muted); }

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

.newsletter-btn {
  padding: 10px 20px;
  background: var(--green);
  color: #000;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition-fast), transform var(--transition-fast);
  font-family: var(--font-body);
}

.newsletter-btn:hover {
  background: var(--green-dim);
  transform: translateY(-1px);
}

/* ------------------------------------------------------------
   ANALYSIS PAGE
   ------------------------------------------------------------ */
.analysis-hero {
  position: relative;
  padding-top: var(--header-height);
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.analysis-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.analysis-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,
    rgba(8, 12, 16, 0.98) 0%,
    rgba(8, 12, 16, 0.7) 50%,
    rgba(8, 12, 16, 0.3) 100%);
}

.analysis-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 48px;
  width: 100%;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.breadcrumb a {
  transition: color var(--transition-fast);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--green); }
.breadcrumb span    { color: var(--text-muted); }

.analysis-badges-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.analysis-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-white);
  margin-bottom: 16px;
}

.analysis-meta-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.meta-item {
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
}

.analysis-score-display {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 28px;
}

.score-team {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.score-team.right-team { align-items: flex-start; }

.score-team-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-white);
}

.score-xg {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
}

.score-xg.green { color: var(--green); }
.score-xg.blue  { color: var(--blue); }

.score-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.live-score {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-white);
}

.score-min {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #ff2244;
  animation: live-blink 2s ease-in-out infinite;
}

/* Analysis body layout */
.analysis-body {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

/* Sidebar */
.analysis-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 16px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-nav {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.sidebar-nav-title {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.sidebar-nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-link {
  display: block;
  padding: 7px 10px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  border-left: 2px solid transparent;
  text-decoration: none;
}

.sidebar-link:hover,
.sidebar-link.active {
  color: var(--green);
  border-left-color: var(--green);
  background: rgba(0, 255, 65, 0.04);
  padding-left: 14px;
}

.sidebar-quick-stats {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.quick-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 0.75rem;
}

.quick-stat-row:last-child { border-bottom: none; }

.quick-stat-row span:first-child { color: var(--text-secondary); }

.quick-stat-row .green  { color: var(--green);  font-family: var(--font-mono); font-weight: 700; }
.quick-stat-row .blue   { color: var(--blue);   font-family: var(--font-mono); font-weight: 700; }
.quick-stat-row .orange { color: var(--orange); font-family: var(--font-mono); font-weight: 700; }

/* Analysis main */
.analysis-main { min-width: 0; }

.analysis-section {
  margin-bottom: 56px;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.section-label-row { margin-bottom: 20px; }

.analysis-section-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
  text-transform: uppercase;
}

.section-heading {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
}

.section-para {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Key metrics */
.key-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.metric-card:hover {
  border-color: var(--border-green);
  transform: translateY(-2px);
}

.metric-val {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.metric-val.green  { color: var(--green); }
.metric-val.blue   { color: var(--blue); }
.metric-val.orange { color: var(--orange); }

.metric-label {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-white);
  margin-bottom: 4px;
}

.metric-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Split layout */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.split-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 14px;
  line-height: 1.2;
}

.split-para {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
}

.tactical-board-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.tactical-board-container img {
  width: 100%;
  display: block;
}

.board-overlay-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.board-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  border-radius: var(--radius-sm);
  pointer-events: none;
}

.green-label  { background: rgba(0, 255, 65, 0.15);  color: var(--green);  border: 1px solid var(--border-green); }
.orange-label { background: rgba(255, 106, 0, 0.15); color: var(--orange); border: 1px solid var(--border-orange); }
.blue-label   { background: rgba(0, 212, 255, 0.1);  color: var(--blue);   border: 1px solid var(--border-blue); }

.board-xray-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  pointer-events: all;
}

/* xG Timeline */
.xg-timeline-chart {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-y-axis { display: none; }

.timeline-area {
  position: relative;
  min-height: 200px;
  flex: 1;
}

.timeline-grid-lines {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.t-gridline {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.04);
}

.timeline-city-line,
.timeline-arsenal-line {
  position: absolute;
  inset: 0 0 30px;
}

.xg-event {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translate(-50%, 50%);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.xg-event:hover {
  transform: translate(-50%, 50%) scale(1.4);
}

.city-event    { background: var(--green); box-shadow: 0 0 6px rgba(0, 255, 65, 0.5); }
.arsenal-event { background: var(--blue);  box-shadow: 0 0 6px rgba(0, 212, 255, 0.5); }

.major-event {
  width: 14px;
  height: 14px;
  animation: pulse-player 2.5s ease-in-out infinite;
}

.timeline-x-axis {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
}

.timeline-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.city-dot    { background: var(--green); }
.arsenal-dot { background: var(--blue); }

/* Video breakdown */
.video-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.video-breakdown-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.video-breakdown-card:hover {
  border-color: rgba(0, 255, 65, 0.15);
  transform: translateY(-2px);
}

.vb-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.vb-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vb-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}

.vb-play-btn {
  cursor: pointer;
  filter: drop-shadow(0 0 10px rgba(0, 255, 65, 0.3));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.vb-play-btn:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 16px rgba(0, 255, 65, 0.5));
}

.vb-render-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(0, 0, 0, 0.7);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.06em;
}

.vb-render-badge.blue-badge   { color: var(--blue); }
.vb-render-badge.orange-badge { color: var(--orange); }

.vb-info { padding: 14px; }

.vb-min {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 4px;
}

.vb-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.vb-desc {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Player ratings */
.player-ratings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.player-rating-card { padding: 16px; }

.pr-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.pr-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.pr-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pr-name {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-white);
}

.pr-pos {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.pr-score {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.pr-score.green  { color: var(--green); }
.pr-score.blue   { color: var(--blue); }
.pr-score.orange { color: var(--orange); }

.pr-stats {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pr-stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.pr-stat-row strong        { color: var(--text-primary); font-family: var(--font-mono); }
.pr-stat-row strong.green  { color: var(--green); }
.pr-stat-row strong.blue   { color: var(--blue); }

/* FPL verdict */
.fpl-verdict-panel {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.fpl-verdict-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.verdict-icon { font-size: 1.4rem; }

.fpl-verdict-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-white);
  flex: 1;
}

.fpl-picks-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.fpl-verdict-pick {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.pick-rank {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.pick-rank.orange { background: rgba(255, 106, 0, 0.15); color: var(--orange); }
.pick-rank.green  { background: rgba(0, 255, 65, 0.1);   color: var(--green); }
.pick-rank.blue   { background: rgba(0, 212, 255, 0.1);  color: var(--blue); }

.pick-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-white);
}

.pick-proj {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
}

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
.site-footer-main {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 24px 0;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
}

.brand-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-logo { margin-bottom: 4px; }

.footer-logo .logo-text { font-size: 1.3rem; }

.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 260px;
}

.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.social-link {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  text-decoration: none;
  text-transform: uppercase;
}

.social-link:hover {
  border-color: var(--border-green);
  color: var(--green);
  background: rgba(0, 255, 65, 0.06);
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  text-decoration: none;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 16px 0 20px;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.footer-domain {
  color: var(--text-muted);
  opacity: 0.6;
}

/* ------------------------------------------------------------
   MOBILE NAV (open state)
   ------------------------------------------------------------ */
@media (max-width: 900px) {
  .hamburger { display: flex; }

  .header-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(8, 12, 16, 0.98);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 24px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition-base), opacity var(--transition-base), visibility var(--transition-base);
    z-index: 999;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .header-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
  }

  .nav-link {
    display: block;
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .header-search { display: none; }
  .heat-toggle   { display: none; }
}

/* ------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
   ------------------------------------------------------------ */

/* Large tablets / small desktops */
@media (max-width: 1200px) {
  .hero-section {
    grid-template-columns: 1fr;
    padding-left: 24px;
    padding-right: 24px;
    min-height: auto;
    padding-top: calc(var(--header-height) + 36px + 40px);
    padding-bottom: 40px;
  }

  .hero-visual { display: none; }

  .main-grid-container { grid-template-columns: repeat(2, 1fr); }
  .card-featured        { grid-column: span 2; }
  .card-wide            { grid-column: span 2; }
  .engine-grid          { grid-template-columns: repeat(2, 1fr); }

  .about-philosophy { gap: 40px; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

  .analysis-body          { grid-template-columns: 220px 1fr; }
  .player-ratings-grid    { grid-template-columns: repeat(2, 1fr); }
  .fpl-picks-row          { grid-template-columns: repeat(2, 1fr); }

  .captain-grid { grid-template-columns: 1fr 1fr; }
  .captain-grid .captain-gold { grid-column: span 2; }
}

/* Tablets */
@media (max-width: 900px) {
  :root { --header-height: 56px; }

  .about-philosophy       { grid-template-columns: 1fr; }
  .philosophy-visual      { order: -1; }

  .ai-diagram {
    width: 260px;
    height: 260px;
  }

  .team-grid              { grid-template-columns: repeat(2, 1fr); }
  .differential-grid      { grid-template-columns: repeat(2, 1fr); }

  .strip-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-grid-layout    { grid-template-columns: 1fr; }

  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .newsletter-form        { flex-direction: column; }
  .split-layout           { grid-template-columns: 1fr; gap: 24px; }
  .video-breakdown-grid   { grid-template-columns: 1fr 1fr; }

  .analysis-body          { grid-template-columns: 1fr; }

  .analysis-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .optimal-squad-display  { grid-template-columns: 1fr; }

  .captain-grid           { grid-template-columns: 1fr; }
  .captain-grid .captain-gold { grid-column: span 1; }

  .key-metrics-grid       { grid-template-columns: repeat(2, 1fr); }
  .form-row               { grid-template-columns: 1fr; }
  .contact-stats-row      { gap: 24px; }
}

/* Mobile */
@media (max-width: 600px) {
  .hero-title { font-size: 2.5rem; }

  .hero-stats-row {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .hero-stat-divider { display: none; }
  .hero-stat         { padding-left: 0; }

  .hero-cta-row { flex-direction: column; }

  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .main-grid-container {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .card-featured,
  .card-wide,
  .card-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .filter-inner {
    padding: 0 16px;
    flex-wrap: wrap;
    height: auto;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .filter-sort   { display: none; }
  .engine-grid   { grid-template-columns: 1fr; }
  .team-grid     { grid-template-columns: 1fr; }

  .about-title   { font-size: 2.2rem; }

  .model-item {
    flex-direction: column;
    gap: 12px;
  }

  .model-num { font-size: 1.4rem; }

  .differential-grid      { grid-template-columns: 1fr; }
  .captain-stats-grid     { grid-template-columns: repeat(2, 1fr); }
  .key-metrics-grid       { grid-template-columns: 1fr 1fr; }
  .video-breakdown-grid   { grid-template-columns: 1fr; }
  .player-ratings-grid    { grid-template-columns: 1fr 1fr; }
  .fpl-picks-row          { grid-template-columns: repeat(2, 1fr); }
  .xray-pitch             { grid-template-columns: 1fr; }

  .footer-inner           { grid-template-columns: 1fr; }

  .brand-col { grid-column: span 1; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .analysis-score-display {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .score-team,
  .score-team.right-team { align-items: center; }

  .analysis-meta-row { gap: 10px; }

  .squad-row             { gap: 8px; }
  .squad-player-token    { min-width: 55px; }

  .token-shirt {
    width: 36px;
    height: 36px;
  }

  .mini-player-cards     { grid-template-columns: 1fr; }

  .about-section,
  .fantasy-section,
  .contact-section       { padding: 48px 16px; }

  .gw-inner {
    gap: 12px;
    flex-direction: column;
    text-align: center;
  }

  .analysis-sidebar      { grid-template-columns: 1fr; }

  .ticker-bar            { top: var(--header-height); }

  .fantasy-hero-stats    { gap: 24px; }

  .contact-stats-row     { gap: 20px; }

  .captain-player-visual {
    width: 80px;
    height: 80px;
  }
}

/* Extra small */
@media (max-width: 380px) {
  .hero-title    { font-size: 2.1rem; }
  .about-title   { font-size: 1.9rem; }
  .contact-title { font-size: 1.9rem; }
  .analysis-title { font-size: 1.8rem; }

  .captain-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .key-metrics-grid   { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   FOCUS / ACCESSIBILITY
   ------------------------------------------------------------ */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* ------------------------------------------------------------
   SCROLLBAR
   ------------------------------------------------------------ */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 65, 0.25);
}

/* ------------------------------------------------------------
   SELECTION
   ------------------------------------------------------------ */
::selection {
  background: rgba(0, 255, 65, 0.2);
  color: var(--text-white);
}

/* ------------------------------------------------------------
   PRINT STYLES
   ------------------------------------------------------------ */
@media print {
  .site-header,
  .ticker-bar,
  .filter-bar,
  .load-more-section,
  .fantasy-teaser-strip,
  .gw-countdown-bar,
  .heat-toggle,
  .hamburger,
  .xray-modal,
  .global-heat-overlay {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .tac-card {
    break-inside: avoid;
    border: 1px solid #ccc;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.75em;
    color: #555;
  }
}