/* =======================================================
   KMB CANLI MAÇ — 2D & 3D İZOMETRİK FUTBOL SAHASI SİMÜLASYONU
   (PITCH.CSS)
   Birebir Referans: Görsel 1 & Görsel 4
======================================================= */

.pitch-container {
    width: 100%;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #090e17;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 240, 255, 0.25);
    margin: 1rem 0;
    user-select: none;
    box-sizing: border-box;
}

/* =======================================================
   1. ÜST RADAR KONTROL BARI (2D / 3D İZOMETRİK SEÇİCİ)
======================================================= */
.pitch-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: linear-gradient(90deg, #0e1726 0%, #090e17 100%);
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 50;
    box-sizing: border-box;
}

.pitch-radar-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pitch-radar-title .radar-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00e676;
    box-shadow: 0 0 10px #00e676;
    animation: radarBlink 1.4s infinite;
}

@keyframes radarBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.pitch-mode-switch {
    display: flex;
    gap: 6px;
    background: rgba(0, 0, 0, 0.45);
    padding: 3px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pitch-mode-btn {
    padding: 4px 12px;
    border-radius: 16px;
    border: 1px solid transparent;
    background: transparent;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.pitch-mode-btn:hover {
    color: #fff;
}

.pitch-mode-btn.active {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.25) 0%, rgba(0, 230, 118, 0.25) 100%);
    border-color: #00f0ff;
    color: #00f0ff;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
}

.pitch-top-controls-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Skor ve Canlı Dakika/Saniye Sayacı (2D/3D Butonlarının Sağ En Son Tarafı) */
.pitch-top-score-timer-pill {
    background: rgba(10, 16, 28, 0.95);
    border: 1px solid rgba(0, 240, 255, 0.45);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7), 0 0 12px rgba(0, 240, 255, 0.25);
    font-family: 'Fira Code', 'Consolas', monospace, sans-serif;
}

.pitch-top-score-timer-pill .hud-time {
    color: #00f0ff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.5px;
}

.pitch-top-score-timer-pill .clock-digits {
    display: inline-flex;
    align-items: center;
    font-variant-numeric: tabular-nums;
}

.pitch-top-score-timer-pill .clock-colon {
    margin: 0 1px;
    color: #00f0ff;
    transition: opacity 0.2s ease;
}

.pitch-top-score-timer-pill .clock-colon.is-ticking {
    animation: colonTicking 1s ease-in-out infinite;
}

@keyframes colonTicking {
    0%, 100% { opacity: 1; text-shadow: 0 0 8px #00f0ff; }
    50% { opacity: 0.2; text-shadow: none; }
}

.pitch-top-score-timer-pill .clock-half-badge {
    font-size: 0.65rem;
    background: #f59e0b;
    color: #000;
    padding: 1px 5px;
    border-radius: 4px;
    font-weight: 900;
    letter-spacing: 0.5px;
    margin-left: 2px;
}

.pitch-top-score-timer-pill .hud-sep {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
}

.pitch-top-score-timer-pill .hud-score {
    color: #fff;
    font-weight: 900;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

/* =======================================================
   2. SAHA VİEWPORT & 3D PERSPEKTİF ALANI
======================================================= */
.pitch-viewport {
    width: 100%;
    height: 380px;
    position: relative;
    overflow: hidden;
    perspective: 1200px;
    background: radial-gradient(circle at center, #112d20 0%, #08160f 80%, #040a07 100%);
    box-sizing: border-box;
}

.pitch-board {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 10;
}

/* 3D İzometrik Eğim (Görsel 4) */
.pitch-container.mode-3d .pitch-board {
    transform: rotateX(55deg) rotateZ(-32deg) scale(0.9);
    box-shadow: -20px 30px 50px rgba(0, 0, 0, 0.85);
    border-radius: 10px;
}

.football-turf {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.02) 0px,
        rgba(255, 255, 255, 0.02) 40px,
        rgba(0, 0, 0, 0.04) 40px,
        rgba(0, 0, 0, 0.04) 80px
    );
    pointer-events: none;
}

.pitch-svg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

/* =======================================================
   3. 3D KALE KAFESLERİ
======================================================= */
.goal-cage-3d {
    position: absolute;
    width: 14px;
    height: 90px;
    top: calc(50% - 45px);
    z-index: 18;
    pointer-events: none;
    display: none;
}

.pitch-container.mode-3d .goal-cage-3d {
    display: block;
}

.goal-cage-3d.left {
    left: 12px;
    border: 2px solid #ffffff;
    border-right: none;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0.15) 3px,
        transparent 3px,
        transparent 6px
    );
    transform: translateZ(18px) rotateY(-15deg);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.goal-cage-3d.right {
    right: 12px;
    border: 2px solid #ffffff;
    border-left: none;
    background: repeating-linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0.15) 3px,
        transparent 3px,
        transparent 6px
    );
    transform: translateZ(18px) rotateY(15deg);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* =======================================================
   4. ISI HARİTASI & BALİSTİK YÖRÜNGE YAYI (ASLA SİYAH DOLDURMAZ)
======================================================= */
.pitch-heatmap-blob {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 8;
    opacity: 0;
    filter: blur(25px);
    transition: opacity 0.5s ease;
    transform: translate(-50%, -50%);
}

.pitch-heatmap-blob.active {
    opacity: 0.75;
    animation: heatmapPulse 2s infinite alternate ease-in-out;
}

.pitch-heatmap-blob.home-heat {
    background: radial-gradient(circle, #ef4444 0%, #f97316 45%, transparent 70%);
}

.pitch-heatmap-blob.away-heat {
    background: radial-gradient(circle, #00f0ff 0%, #2563eb 45%, transparent 70%);
}

@keyframes heatmapPulse {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.9; }
}

/* Balistik Yörünge Yayı (Kesinlikle içi boş / fill: none) */
.trajectory-arc {
    fill: none !important;
    stroke: url(#trajectoryGoldGrad);
    stroke-width: 3.5;
    stroke-dasharray: 8 6;
    stroke-linecap: round;
    filter: drop-shadow(0 0 8px #f59e0b);
    animation: trajectoryDash 1s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trajectory-arc.active {
    opacity: 1;
}

@keyframes trajectoryDash {
    to { stroke-dashoffset: -28; }
}

/* Sonar Radar Dalgaları */
.sonar-ripple {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #00f0ff;
    pointer-events: none;
    z-index: 15;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.sonar-ripple.active {
    animation: sonarRippleAnim 1.6s infinite cubic-bezier(0.1, 0.8, 0.3, 1);
}

@keyframes sonarRippleAnim {
    0% {
        width: 10px;
        height: 10px;
        opacity: 0.9;
        border-color: #00f0ff;
    }
    100% {
        width: 90px;
        height: 90px;
        opacity: 0;
        border-color: #00e676;
    }
}

/* =======================================================
   5. TOP & HOLOGRAFİK OYUNCULAR
======================================================= */
.pitch-ball {
    width: 16px;
    height: 16px;
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #cbd5e1 55%, #334155 100%);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 0 10px rgba(255, 255, 255, 0.7);
    z-index: 25;
    transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.ball-target-reticle {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 1.5px dashed #00f0ff;
    border-radius: 50%;
    top: -7px;
    left: -7px;
    pointer-events: none;
    animation: reticleSpin 4s linear infinite;
    opacity: 0.75;
}

@keyframes reticleSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pitch-player {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    z-index: 22;
    transition: all 0.8s ease;
}

.pitch-player.home-player {
    background: linear-gradient(135deg, #a90432 0%, #f97316 100%);
    border-color: #ffd700;
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.6);
}

.pitch-player.away-player {
    background: linear-gradient(135deg, #1e293b 0%, #0284c7 100%);
    border-color: #00f0ff;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
}

/* =======================================================
   6. YÜZEN HUD KARTLARI — SADECE ŞIK SKOR VE SÜRE
======================================================= */
.hud-pill-overlay {
    position: absolute;
    top: 36px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 40;
}

.hud-pill-timer {
    background: rgba(10, 16, 28, 0.88);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 240, 255, 0.45);
    border-radius: 24px;
    padding: 6px 20px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), 0 0 16px rgba(0, 240, 255, 0.25);
    letter-spacing: 0.5px;
    font-family: 'Fira Code', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.3s ease;
}

.hud-pill-timer .hud-time {
    color: #00f0ff;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.hud-pill-timer .hud-sep {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
    margin: 0 1px;
}

.hud-pill-timer .hud-score {
    color: #fff;
    font-weight: 900;
    font-size: 1.05rem;
    letter-spacing: 1px;
}

/* =======================================================
   KALE YANI TAKIM LOGOLARI & DEVRE DEĞİŞİMİ
======================================================= */
.pitch-goal-badge {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(17, 24, 39, 0.95) 0%, rgba(9, 14, 23, 0.98) 100%);
    border: 2px solid rgba(0, 240, 255, 0.5);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.35), 0 8px 16px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 28;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-sizing: border-box;
    padding: 6px;
}

.pitch-goal-badge.left {
    left: 12px;
    border-color: rgba(0, 240, 255, 0.6);
}

.pitch-goal-badge.right {
    right: 12px;
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.35), 0 8px 16px rgba(0, 0, 0, 0.8);
}

.pitch-goal-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
    transition: transform 0.6s ease;
}

.pitch-goal-badge.swap-anim {
    animation: goalBadgeSwapAnim 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes goalBadgeSwapAnim {
    0% { transform: translateY(-50%) scale(0.6) rotateY(90deg); opacity: 0.3; }
    50% { transform: translateY(-50%) scale(1.15) rotateY(180deg); opacity: 0.8; }
    100% { transform: translateY(-50%) scale(1) rotateY(360deg); opacity: 1; }
}

@media (max-width: 600px) {
    .pitch-goal-badge {
        width: 38px;
        height: 38px;
        padding: 4px;
    }
    .pitch-goal-badge.left { left: 6px; }
    .pitch-goal-badge.right { right: 6px; }
    .hud-pill-timer {
        padding: 5px 14px;
        font-size: 0.85rem;
    }
}

/* =======================================================
/* =======================================================
   6. SAHA DURUM HUD & RENKLİ KAYAN LED REKLAM PANOSU
======================================================= */
/* Üst Stadyum Taç Kenar Çizgisi Boyunca Kayan LED Ribbon (Sahanın Hemen Kenar Çizgisi) */
.stadium-touchline-ribbon {
    position: absolute;
    top: 3px;
    left: 2.5%;
    width: 95%;
    height: 24px;
    background: #020611;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 3px 3px;
    border: 1px solid rgba(0, 240, 255, 0.55);
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8), 0 0 14px rgba(0, 240, 255, 0.35);
    overflow: hidden !important;
    white-space: nowrap !important;
    display: flex;
    align-items: center;
    z-index: 30;
    box-sizing: border-box;
}

.pitch-container.mode-3d .pitch-board .stadium-touchline-ribbon {
    transform-origin: 50% 100%;
    transform: rotateX(-80deg) translateZ(6px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.95), 0 0 22px rgba(0, 240, 255, 0.5), inset 0 0 10px rgba(0, 0, 0, 0.9);
    border: 2px solid rgba(0, 240, 255, 0.85);
    border-bottom: 4px solid #030712;
    background: #01040a;
}

.pitch-container.mode-3d .pitch-board .stadium-touchline-ribbon::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
    transform: rotateX(80deg);
    transform-origin: 50% 0%;
    pointer-events: none;
    filter: blur(2px);
}

.stadium-touchline-ribbon.is-hidden,
.pitch-led-billboard.is-hidden {
    display: none !important;
}

.stadium-touchline-ribbon .ribbon-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: stadiumTouchlineScroll 20s linear infinite;
}

.stadium-touchline-ribbon .ribbon-track:hover {
    animation-play-state: paused;
}

.stadium-touchline-ribbon .ribbon-chunk {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding-right: 60px;
    white-space: nowrap;
    font-family: 'Consolas', 'Courier New', monospace, sans-serif;
}

.stadium-touchline-ribbon .ribbon-badge {
    background: linear-gradient(135deg, #00f0ff 0%, #00b0ff 100%);
    color: #020617;
    font-weight: 900;
    font-size: 0.65rem;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.8);
    flex-shrink: 0;
}

.stadium-touchline-ribbon .ribbon-text {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.75px;
}

/* Alt HUD Satırı: Sol: "Maç Devam Ediyor", Sağ: "Renkli Kayan LED Pano" */
.pitch-bottom-hud-row {
    position: absolute;
    bottom: 10px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 50;
    gap: 12px;
    box-sizing: border-box;
}

.pitch-action-hud {
    position: static;
    transform: none;
    background: rgba(8, 14, 24, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 230, 118, 0.5);
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7), 0 0 14px rgba(0, 230, 118, 0.25);
    color: #fff;
    white-space: nowrap !important;
    pointer-events: auto;
    flex-shrink: 0;
}

.pitch-action-hud .action-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00e676;
    box-shadow: 0 0 10px #00e676, 0 0 16px #00e676;
    animation: hudDotPulse 1.8s infinite ease-in-out;
}

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

/* Renkli Kayan LED Reklam Panosu ("Maç Devam Ediyor" Karşısındaki Alan) */
.pitch-led-billboard {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    height: 34px;
    max-width: 480px;
    width: auto;
    min-width: 200px;
    background: #02050c;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 3px 3px;
    border: 1px solid rgba(0, 240, 255, 0.6);
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.85), 0 0 16px rgba(0, 240, 255, 0.35), inset 0 0 10px rgba(0, 0, 0, 0.95);
    overflow: hidden !important;
    white-space: nowrap !important;
    position: relative;
    text-decoration: none;
    box-sizing: border-box;
    padding: 0 4px 0 8px;
    gap: 8px;
}

.pitch-led-billboard:hover {
    border-color: #00f0ff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.9), 0 0 22px rgba(0, 240, 255, 0.55);
}

.pitch-led-billboard .led-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 240, 255, 0.16);
    border: 1px solid #00f0ff;
    color: #00f0ff;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
    text-transform: uppercase;
}

.pitch-led-billboard .led-glow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
    animation: ledDotPulse 1.2s infinite ease-in-out;
}

@keyframes ledDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

.pitch-led-billboard .led-marquee-window {
    flex: 1;
    overflow: hidden !important;
    white-space: nowrap !important;
    display: flex;
    align-items: center;
    height: 100%;
}

.pitch-led-billboard .led-marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: ledBillboardMarquee 20s linear infinite;
}

.pitch-led-billboard:hover .led-marquee-track {
    animation-play-state: paused;
}

.pitch-led-billboard .led-chunk {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-right: 40px;
    white-space: nowrap !important;
    font-family: 'Consolas', 'Courier New', monospace, sans-serif;
    font-weight: 800;
    font-size: 0.84rem;
    letter-spacing: 0.5px;
}

/* Renkli LED Yazı Renk Paletleri */
.led-color-gold {
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.85), 0 0 16px rgba(255, 215, 0, 0.4);
}
.led-color-cyan {
    color: #00f0ff;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.85), 0 0 16px rgba(0, 240, 255, 0.4);
}
.led-color-green {
    color: #00e676;
    text-shadow: 0 0 8px rgba(0, 230, 118, 0.85);
}
.led-color-pink {
    color: #ff3d71;
    text-shadow: 0 0 8px rgba(255, 61, 113, 0.85);
}

.pitch-led-billboard .led-banner-img {
    height: 24px;
    max-width: 180px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.4));
}

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

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

@media (max-width: 768px) {
    .pitch-bottom-hud-row {
        bottom: 6px;
        left: 6px;
        right: 6px;
        gap: 6px;
    }
    .pitch-action-hud {
        padding: 4px 10px;
        font-size: 0.72rem;
    }
    .pitch-led-billboard {
        height: 28px;
        max-width: 52%;
        min-width: 140px;
        padding: 0 3px 0 6px;
        gap: 5px;
    }
    .pitch-led-billboard .led-badge-pill {
        font-size: 0.58rem;
        padding: 1px 4px;
    }
    .pitch-led-billboard .led-chunk {
        font-size: 0.74rem;
        padding-right: 25px;
    }
    .stadium-touchline-ribbon {
        height: 22px;
    }
    .stadium-touchline-ribbon .ribbon-text {
        font-size: 0.72rem;
    }
}

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

@media (max-width: 600px) {
    .pitch-bottom-hud-row {
        bottom: 8px;
        left: 8px;
        right: 8px;
        gap: 6px;
    }
    .pitch-action-hud {
        padding: 4px 10px;
        font-size: 0.72rem;
    }
    .pitch-hud-ad-pill {
        padding: 3px 10px;
        font-size: 0.72rem;
        max-width: 50%;
    }
    .pitch-touchline-led-board {
        height: 20px;
    }
    .pitch-touchline-led-board .pitch-led-text {
        font-size: 0.72rem;
    }
}

/* =======================================================
   7. GOL PATLAMA ANİMASYONU (GOAL BANNER)
======================================================= */
.goal-celebration-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(7, 11, 19, 0.92);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.goal-celebration-overlay.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.goal-banner-title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #00f0ff 0%, #00e676 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goalTextShake 0.6s infinite alternate;
    margin-bottom: 0.4rem;
}

@keyframes goalTextShake {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.goal-banner-team {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.2rem;
}

.goal-banner-player {
    font-size: 1.05rem;
    color: #00f0ff;
    font-weight: 700;
}

/* =======================================================
   8. SAHA ALTI AYRI TELEMETRİ İSTATİSTİK SAYACI (SAHA DIŞINDA)
======================================================= */
.pitch-telemetry-bar {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    padding: 10px 14px;
    background: linear-gradient(180deg, #0c121c 0%, #080c14 100%);
    border-top: 1px solid rgba(0, 240, 255, 0.15);
    box-sizing: border-box;
}

.telemetry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 240, 255, 0.12);
    border-radius: 8px;
    padding: 6px 4px;
    text-align: center;
    transition: all 0.2s ease;
}

.telemetry-item:hover {
    background: rgba(0, 240, 255, 0.06);
    border-color: rgba(0, 240, 255, 0.3);
}

.telemetry-label {
    font-size: 0.68rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
}

.telemetry-val {
    font-size: 0.95rem;
    font-weight: 900;
    color: #00f0ff;
    font-variant-numeric: tabular-nums;
}

/* =======================================================
   9. CANLI SPİKER RADYOSU VE SES ÇALAR MASASI
======================================================= */
.spiker-radio-deck {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(20, 18, 50, 0.95) 100%);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 14px;
    padding: 10px 16px;
    margin: 0.85rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.spiker-radio-deck.is-live {
    border-color: #ef4444;
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.3);
}

.spiker-radio-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.spiker-radio-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #fff;
}

.radio-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #64748b;
    display: inline-block;
    transition: all 0.3s ease;
}

.radio-live-dot.active {
    background: #ef4444;
    box-shadow: 0 0 10px #ef4444;
    animation: pulse-red 1.2s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

.spiker-radio-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.spiker-audio-btn {
    background: rgba(0, 240, 255, 0.15);
    border: 1px solid #00f0ff;
    color: #00f0ff;
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    user-select: none;
}

.spiker-audio-btn:hover {
    background: #00f0ff;
    color: #000;
}

.spiker-audio-btn.active {
    background: #00e676;
    border-color: #00e676;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.5);
}

.spiker-vol-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.spiker-vol-wrapper input[type="range"] {
    width: 75px;
    height: 5px;
    accent-color: #00f0ff;
    cursor: pointer;
}

.sound-wave-bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    height: 18px;
    padding: 0 4px;
}

.sound-wave-bars .bar {
    width: 3px;
    height: 4px;
    background: #475569;
    border-radius: 2px;
    transition: height 0.15s ease, background 0.15s ease;
}

.sound-wave-bars.playing .bar {
    background: #00e676;
    animation: wave-bar-anim 0.8s ease infinite alternate;
}

.sound-wave-bars.playing .bar:nth-child(1) { animation-delay: 0.1s; }
.sound-wave-bars.playing .bar:nth-child(2) { animation-delay: 0.3s; }
.sound-wave-bars.playing .bar:nth-child(3) { animation-delay: 0.5s; }
.sound-wave-bars.playing .bar:nth-child(4) { animation-delay: 0.2s; }
.sound-wave-bars.playing .bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes wave-bar-anim {
    0% { height: 4px; }
    100% { height: 18px; }
}

/* =======================================================
   10. RESPONSIVE DÜZENLEME
======================================================= */
@media (max-width: 900px) {
    .pitch-viewport {
        height: 320px;
    }
    .pitch-container.mode-3d .pitch-board {
        transform: rotateX(50deg) rotateZ(-30deg) scale(0.85);
    }
    .pitch-telemetry-bar {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
}

@media (max-width: 600px) {
    .pitch-viewport {
        height: 310px !important;
    }
    .hud-pill-overlay {
        top: 32px !important;
    }
    .pitch-bottom-hud-row {
        bottom: 6px !important;
        left: 8px !important;
        right: 8px !important;
        gap: 6px !important;
    }
    .pitch-action-hud {
        padding: 4px 10px !important;
        font-size: 0.72rem !important;
    }
    .pitch-led-billboard {
        height: 28px !important;
        padding: 0 4px !important;
        max-width: 62% !important;
        min-width: 0 !important;
    }
    .pitch-led-billboard .led-chunk {
        font-size: 0.75rem !important;
    }
}

/* =======================================================
   11. ŞIK DEVRE ARASI & MAÇ SONUCU SAHA İÇİ OVERLAY
======================================================= */
.pitch-period-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.88) 0%, rgba(3, 7, 18, 0.96) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 85;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.92);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pitch-period-overlay.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.period-overlay-box {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 2px solid rgba(245, 158, 11, 0.65);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 35px rgba(245, 158, 11, 0.35), inset 0 0 20px rgba(245, 158, 11, 0.15);
    border-radius: 18px;
    padding: 20px 36px;
    text-align: center;
    max-width: 90%;
    animation: periodPulse 3s ease-in-out infinite alternate;
}

.pitch-period-overlay.is-finished .period-overlay-box {
    border-color: rgba(0, 240, 255, 0.7);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 240, 255, 0.35), inset 0 0 20px rgba(0, 240, 255, 0.15);
}

@keyframes periodPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.02); }
}

.period-overlay-badge {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 30px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #000;
    font-weight: 900;
    font-size: 1.15rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
    margin-bottom: 10px;
}

.pitch-period-overlay.is-finished .period-overlay-badge {
    background: linear-gradient(135deg, #00f0ff 0%, #0284c7 100%);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
}

.period-overlay-score {
    font-size: 2.8rem;
    font-weight: 900;
    color: #ffffff;
    font-family: 'Inter', -apple-system, sans-serif;
    letter-spacing: 4px;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
    margin-bottom: 6px;
    line-height: 1;
}

.period-overlay-sub {
    font-size: 0.85rem;
    font-weight: 700;
    color: #cbd5e1;
    letter-spacing: 0.5px;
}

@media (max-width: 600px) {
    .period-overlay-box {
        padding: 16px 20px;
    }
    .period-overlay-badge {
        font-size: 0.9rem;
        padding: 5px 14px;
    }
    .period-overlay-score {
        font-size: 2.1rem;
    }
    .period-overlay-sub {
        font-size: 0.75rem;
    }
}

