/* ==========================================
   CSS VARIABLE DECLARATIONS (Premium Dark Green & Vivid Electric Orange Palette)
   ========================================== */
:root {
    --bg-main: #020604; /* Very dark charcoal with forest undertone */
    --bg-card: rgba(11, 28, 20, 0.72); /* Deep dark green-tinted card background */
    --bg-alt: #030c08;
    --bg-header: rgba(2, 6, 4, 0.95);
    
    /* Vibrant Green Colors (Formerly PSG Blue) */
    --color-psg-primary: #10b981; /* Emerald Green */
    --color-psg-accent: #059669; /* Darker Emerald */
    --color-psg-glow: rgba(16, 185, 129, 0.45);
    
    /* Vibrant Orange Colors (Formerly Arsenal Red) */
    --color-arsenal-primary: #f97316; /* Electric Orange */
    --color-arsenal-accent: #ea580c; /* Deep Amber/Orange */
    --color-arsenal-glow: rgba(249, 115, 22, 0.45);

    --color-draw: #4b5563; /* Slate grey */
    --color-draw-accent: #6b7280;
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #6b7280;
    --text-gold: #f97316; /* Remapped to premium electric orange */
    --text-live: #10b981; /* Emerald live badge */

    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(249, 115, 22, 0.45); /* Orange hover glow */
    --glow-primary: rgba(16, 185, 129, 0.5); /* Green primary glow */

    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --container-max-width: 1200px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.25) 0%, rgba(2, 6, 4, 0) 65%),
        radial-gradient(circle at 0% 100%, rgba(249, 115, 22, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(16, 185, 129, 0.06) 0%, transparent 40%);
}

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

button {
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
}

hr {
    border: 0;
    height: 1px;
    background: var(--border-color);
}

/* ==========================================
   LAYOUT CONTAINERS
   ========================================== */
.section-container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
    position: relative;
}

.alt-bg {
    background-color: var(--bg-alt);
    background-image: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-main) 100%);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.brand-logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-arsenal-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-arsenal-primary);
}

.logo-ext {
    color: var(--text-muted);
    font-weight: 400;
}

.desktop-nav {
    display: none;
    gap: 2rem;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--text-primary);
    text-shadow: 0 0 8px rgba(249, 115, 22, 0.6);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    z-index: 110;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-main);
    z-index: 95;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}

.mobile-drawer.active {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-nav-link {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Active Class for Mobile Burger animation */
.mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================
   HERO / LIVE BROADCAST SCOREBOARD
   ========================================== */
.hero-section {
    padding: 7rem 0 3rem 0;
    overflow: hidden;
    background: radial-gradient(100% 100% at 50% 0%, rgba(10, 32, 20, 0.4) 0%, rgba(2, 6, 4, 1) 100%);
    position: relative;
}

.stadium-backdrop-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 550px;
    background: radial-gradient(circle at 50% 20%, rgba(249, 115, 22, 0.15) 0%, rgba(16, 185, 129, 0.06) 50%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* Broadcast Ticker Style */
.broadcast-ticker {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(2, 6, 4, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 2;
    box-shadow: inset 0 0 15px rgba(16, 185, 129, 0.15);
}

.ticker-live-dot-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ticker-live-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-arsenal-primary);
    border-radius: 50%;
    animation: live-blink 1.2s infinite;
    box-shadow: 0 0 8px var(--color-arsenal-primary);
}

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

.ticker-live-text {
    color: var(--color-arsenal-primary);
    font-weight: 700;
}

.ticker-middle {
    color: var(--text-muted);
    display: none;
}

.ticker-right {
    color: var(--text-gold);
    font-weight: bold;
}

/* TV Scoreboard Main Widget */
.broadcast-scoreboard {
    background: linear-gradient(180deg, rgba(8, 22, 14, 0.95) 0%, rgba(4, 11, 7, 0.95) 100%);
    border: 2px solid rgba(249, 115, 22, 0.3);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(16, 185, 129, 0.15);
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

/* CRT Scanline look inside scoreboard */
.broadcast-scoreboard::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.15) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    z-index: 5;
    background-size: 100% 4px, 6px 100%;
    pointer-events: none;
}

.scoreboard-header {
    background: rgba(2, 6, 4, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.tournament-title {
    color: var(--text-primary);
}

.game-time-capsule {
    background: var(--color-arsenal-primary);
    color: white;
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-weight: 800;
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.4);
}

.game-status {
    font-size: 0.65rem;
    opacity: 0.9;
}

.venue-title {
    color: var(--text-gold);
}

/* Scoreboard Teams block */
.scoreboard-main {
    display: grid;
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem;
    gap: 2rem;
    align-items: center;
}

.scoreboard-team-block {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-direction: column;
    text-align: center;
}

.team-crest-wrapper {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.15));
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-crest-wrapper:hover {
    transform: scale(1.15) rotate(3deg);
}

.team-crest-svg {
    width: 100%;
    height: 100%;
}

.scoreboard-team-meta {
    flex-grow: 1;
}

.scoreboard-team-name {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #ffffff;
}

.scoreboard-role-tag {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
    margin-top: 0.25rem;
}

.holder-tag {
    background-color: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.challenger-tag {
    background-color: rgba(249, 115, 22, 0.15);
    color: var(--text-gold);
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.scoreboard-probability-pill {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    border: 1px solid var(--border-color);
}

.scoreboard-probability-pill .pill-lbl {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.scoreboard-probability-pill .pill-val {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

/* VS Split point */
.scoreboard-vs-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.vs-glow-text {
    font-family: var(--font-mono);
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-arsenal-primary), var(--color-psg-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(249, 115, 22, 0.35);
}

.model-fav-banner {
    margin-top: 0.5rem;
    text-align: center;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
}

.model-fav-banner .fav-title {
    font-size: 0.55rem;
    font-weight: 800;
    color: #34d399;
    letter-spacing: 0.05em;
}

.model-fav-banner .fav-team {
    font-size: 0.75rem;
    font-weight: 800;
    color: #ffffff;
}

/* Scoreboard Footer Row */
.scoreboard-footer {
    background: rgba(2, 6, 4, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
}

.footer-segment {
    display: flex;
    flex-direction: column;
}

.footer-segment .seg-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 700;
}

.footer-segment .seg-val {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Glow Borders for Team Blocks in Scoreboard */
.psg-theme-glow {
    position: relative;
}
.psg-theme-glow::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 3px;
    background: var(--color-psg-primary);
    box-shadow: 0 0 10px var(--color-psg-primary);
}

.arsenal-theme-glow {
    position: relative;
}
.arsenal-theme-glow::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 3px;
    background: var(--color-arsenal-primary);
    box-shadow: 0 0 10px var(--color-arsenal-primary);
}

/* ==========================================
   TACTICAL FOOTBALL FIELD CARD
   ========================================== */
.tactical-field-card {
    background: radial-gradient(100% 100% at 50% 0%, rgba(10, 30, 20, 0.9) 0%, rgba(4, 12, 8, 0.95) 100%);
    border: 1px solid rgba(249, 115, 22, 0.25);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.field-card-header {
    text-align: left;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.header-led-dot {
    width: 8px;
    height: 8px;
    background-color: #34d399;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
    box-shadow: 0 0 10px #34d399;
}

.field-card-header h3 {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    display: inline-block;
}

.field-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* CSS Pitch rendering - Enhanced Emerald Glow */
.football-pitch {
    background: radial-gradient(circle, #0a2215 0%, #030a06 100%);
    border: 3px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    height: 320px;
    position: relative;
    overflow: hidden;
    margin: 1.5rem 0;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.7);
}

.pitch-border {
    position: absolute;
    top: 15px;
    bottom: 15px;
    left: 15px;
    right: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

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

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

.pitch-center-spot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 50%;
}

.pitch-penalty-box-left {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 50px;
    height: 140px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: none;
}

.pitch-goal-left {
    position: absolute;
    top: 50%;
    left: -4px;
    transform: translateY(-50%);
    width: 4px;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
}

.pitch-penalty-box-right {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 50px;
    height: 140px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: none;
}

.pitch-goal-right {
    position: absolute;
    top: 50%;
    right: -4px;
    transform: translateY(-50%);
    width: 4px;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
}

/* Tactical Sensor Nodes overlay */
.tactical-node {
    position: absolute;
    cursor: pointer;
    pointer-events: auto;
    z-index: 10;
}

.node-pulse {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    animation: pulse-node 1.5s infinite;
}

@keyframes pulse-node {
    0% { transform: scale(0.9); opacity: 1; box-shadow: 0 0 0 0 currentColor; }
    100% { transform: scale(1.8); opacity: 0; box-shadow: 0 0 0 8px currentColor; }
}

/* Node Custom Positioning with Green and Orange styling */
.psg-node-1 {
    top: 25%;
    left: 20%;
    color: var(--color-psg-primary);
}
.psg-node-1 .node-pulse { background: var(--color-psg-primary); }

.psg-node-2 {
    top: 65%;
    left: 35%;
    color: var(--color-psg-primary);
}
.psg-node-2 .node-pulse { background: var(--color-psg-primary); }

.arsenal-node-1 {
    top: 30%;
    right: 25%;
    color: var(--color-arsenal-primary);
}
.arsenal-node-1 .node-pulse { background: var(--color-arsenal-primary); }

.arsenal-node-2 {
    top: 70%;
    right: 15%;
    color: var(--color-arsenal-primary);
}
.arsenal-node-2 .node-pulse { background: var(--color-arsenal-primary); }

.draw-node-mid {
    top: 48%;
    left: 48%;
    color: var(--color-arsenal-primary);
}
.draw-node-mid .node-pulse { background: var(--color-arsenal-primary); }

/* Node Hover Cards */
.node-card {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: rgba(2, 6, 4, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.6rem 0.9rem;
    border-radius: 6px;
    width: 170px;
    font-size: 0.65rem;
    pointer-events: none;
    opacity: 0;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.tactical-node:hover .node-card {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.node-team-title {
    font-weight: 800;
    display: block;
    margin-bottom: 0.15rem;
    letter-spacing: 0.05em;
}

.node-metric {
    color: var(--text-secondary);
}

.field-card-footer {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.75rem;
}

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

/* ==========================================
   QUICK FACTS BAR
   ========================================== */
.facts-bar-section {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(11, 28, 20, 0.4);
}

.facts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.fact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.fact-icon {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.fact-title {
    font-size: 0.95rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

.fact-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ==========================================
   MATCHDAY TV STAT CARDS / BLUEPRINTS
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.broadcast-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    background: rgba(249, 115, 22, 0.1);
    color: var(--text-gold);
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.warning-badge {
    background: rgba(249, 115, 22, 0.1);
    color: var(--text-gold);
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.info-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.danger-badge {
    background: rgba(249, 115, 22, 0.1);
    color: var(--color-arsenal-primary);
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-lead {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Grids */
.odds-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.odds-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Broadcast Matchday TV Overlay Card style */
.matchday-tv-card {
    background: linear-gradient(135deg, rgba(11, 28, 20, 0.85) 0%, rgba(5, 15, 10, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.matchday-tv-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.15);
}

/* Glowing card lines simulating technical UI overlay */
.broadcast-card-lines::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: currentColor;
    opacity: 0.45;
}

.broadcast-card-lines::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2px;
    height: 40px;
    background: currentColor;
    opacity: 0.45;
}

.tv-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.tv-live-badge {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
}

/* Custom card themes coloring */
.psg-card-accent {
    color: #10b981;
    border-left: 3px solid #10b981;
}
.draw-card-accent {
    color: var(--text-secondary);
    border-left: 3px solid var(--color-draw);
}
.arsenal-card-accent {
    color: #f97316;
    border-left: 3px solid #f97316;
}

/* Values */
.odds-value {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.05em;
    color: #ffffff;
}

.odds-value.highlighted {
    font-size: 3.5rem;
}

.psg-glow-text {
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.45);
}

.arsenal-glow-text {
    text-shadow: 0 0 15px rgba(249, 115, 22, 0.45);
}

/* Progress and Probabilities on Cards */
.odds-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.meta-p-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.meta-p-val {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
}

.card-progress-track {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    overflow: hidden;
}

.card-progress-bar {
    height: 100%;
    border-radius: 100px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Background classes for dynamic fills */
.psg-bg {
    background: linear-gradient(90deg, #10b981, #059669);
}

.draw-bg {
    background: var(--color-draw);
}

.arsenal-bg {
    background: linear-gradient(90deg, #f97316, #ea580c);
}

.opacity-heavy {
    opacity: 0.85;
}

/* Accentuated card variants for Trophy Market */
.accent-card {
    border-width: 2px;
}

.psg-border {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 4px 30px var(--color-psg-glow);
}

.arsenal-border {
    border-color: rgba(249, 115, 22, 0.45);
    box-shadow: 0 4px 30px var(--color-arsenal-glow);
}

.odds-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.team-lbl-container {
    display: flex;
    flex-direction: column;
}

.team-lbl {
    font-size: 1.25rem;
    font-weight: 800;
}

.outright-sub {
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    font-weight: bold;
}

.market-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    border: 1px solid var(--border-color);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* ==========================================
   IMPLIED PROBABILITIES DASHBOARD
   ========================================== */
.dashboard-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.dashboard-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 2rem;
}

.db-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.dashboard-body {
    padding: 2rem;
}

.prob-row {
    margin-bottom: 1.75rem;
}

.prob-row:last-of-type {
    margin-bottom: 0;
}

.prob-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.prob-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.prob-percent {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 700;
}

.prob-bar-wrapper {
    height: 12px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 100px;
    overflow: hidden;
}

.prob-bar {
    height: 100%;
    border-radius: 100px;
}

.dashboard-divider {
    margin: 2rem 0;
}

/* ==========================================
   MARKET VS MODEL SECTION
   ========================================== */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.comp-panel {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}

.panel-header {
    margin-bottom: 1.5rem;
}

.panel-tag {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.tag-mkt {
    background-color: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.tag-mdl {
    background-color: rgba(249, 115, 22, 0.1);
    color: #fb923c;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.panel-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
}

.panel-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* Metric Blocks within panels */
.metric-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.metric-block:last-child {
    margin-bottom: 0;
}

.metric-block.bg-highlight {
    background: rgba(249, 115, 22, 0.05);
    border-color: rgba(249, 115, 22, 0.25);
}

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

.metric-value {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
}

/* Coloring rules */
.psg-text {
    color: #34d399;
}

.arsenal-text {
    color: #fb923c;
}

.gold-text {
    color: var(--text-gold);
}

/* ==========================================
   EDGE & VALUE POSITIONING
   ========================================== */
.edge-wrapper {
    background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.05), transparent), var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.edge-pre {
    color: var(--text-gold);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

.edge-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.edge-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.edge-text:last-child {
    margin-bottom: 0;
}

.edge-stats-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.edge-stat-item {
    background: rgba(2, 6, 4, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.edge-num {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: #10b981;
}

.edge-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* ==========================================
   SUMMARY SECTION
   ========================================== */
.summary-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}

.summary-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.summary-icon {
    font-size: 2rem;
    color: #10b981;
}

.summary-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

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

/* ==========================================
   FAQ SECTION (Accordion Structure)
   ========================================== */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    text-align: left;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.95rem;
    gap: 1rem;
}

.faq-icon-indicator {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
    background: rgba(0, 0, 0, 0.15);
}

.faq-content p {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Dynamic expanded classes */
.faq-item.active {
    border-color: var(--border-hover);
}

.faq-item.active .faq-content {
    max-height: 200px;
}

.faq-item.active .faq-icon-indicator {
    transform: rotate(45deg);
    color: var(--text-primary);
}

/* ==========================================
   LEGAL PAGES & STANDARD CONTENT
   ========================================== */
.legal-hero {
    padding: 8rem 0 3rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    background: radial-gradient(circle at bottom, rgba(249, 115, 22, 0.05), transparent);
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.legal-meta {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.legal-content-section {
    padding: 4rem 0;
}

.legal-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
}

.legal-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.legal-card h2:first-of-type {
    margin-top: 0;
}

.legal-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.legal-card ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.legal-card li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.main-footer {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 1rem;
    max-width: 320px;
}

.footer-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

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

.footer-legal-column .footer-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-divider {
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.address-tag {
    font-weight: 700;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.25rem;
}

.address-block-text {
    line-height: 1.5;
}

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

/* ==========================================
   COOKIE CONSENT BANNER SYSTEM
   ========================================== */
.cookie-consent-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(11, 28, 20, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 12px;
    padding: 1.25rem;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(16, 185, 129, 0.15);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 1;
    transform: translateY(0);
}

.cookie-consent-banner.hidden {
    display: none;
    opacity: 0;
    transform: translateY(40px);
}

.cookie-consent-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: space-between;
    align-items: center;
}

.cookie-consent-text {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.cookie-consent-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-link {
    color: var(--text-gold);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-link:hover {
    color: var(--text-primary);
}

.cookie-consent-actions {
    display: flex;
    gap: 0.75rem;
    width: 100%;
}

.cookie-btn {
    flex: 1;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 6px;
    transition: var(--transition-smooth);
    text-align: center;
}

.btn-primary {
    background-color: var(--color-arsenal-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-arsenal-accent);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

@media (min-width: 768px) {
    .cookie-consent-container {
        flex-direction: row;
        gap: 2rem;
    }
    
    .cookie-consent-actions {
        width: auto;
    }
    
    .cookie-btn {
        flex: none;
        min-width: 120px;
    }
    
    .cookie-consent-banner {
        bottom: 32px;
        left: 32px;
        right: 32px;
        padding: 1.5rem 2rem;
    }
}

/* ==========================================
   MEDIA QUERIES (Responsive Enhancements)
   ========================================== */

@media (min-width: 576px) {
    .scoreboard-footer {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .divider-left {
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (min-width: 768px) {
    .scoreboard-main {
        grid-template-columns: 1.2fr 0.6fr 1.2fr;
    }

    .scoreboard-team-block {
        flex-direction: row;
        text-align: left;
    }

    .football-pitch {
        height: 400px;
    }

    .facts-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .odds-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .edge-stats-box {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }

    .footer-address {
        max-width: 60%;
    }
}

@media (min-width: 992px) {
    .desktop-nav {
        display: flex;
    }

    .mobile-toggle {
        display: none;
    }

    .mobile-drawer {
        display: none;
    }

    .edge-wrapper {
        flex-direction: row;
        align-items: center;
    }

    .edge-info {
        flex: 1.2;
    }

    .edge-stats-box {
        flex: 0.8;
        grid-template-columns: 1fr;
    }

    .summary-inner {
        flex-direction: row;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .summary-icon {
        padding-top: 0.25rem;
    }

    .ticker-middle {
        display: block;
    }
}