/* cyber — eski oyun stilleri (yalnız oyun çerçevesinde yüklenir) */
/* GENEL YAPI - ULTRA GERÇEKÇİ CYBERPUNK TEMASI */
    .drive-container { width: 100%; background: #020617; border: 2px solid #22d3ee; border-radius: 20px; overflow: hidden; font-family: 'Inter', sans-serif; position: relative; color: #fff; text-align: center; user-select: none; box-shadow: 0 0 40px rgba(34, 211, 238, 0.3); }
    
    .drive-header { background: rgba(8, 47, 73, 0.95); padding: 12px 15px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(34, 211, 238, 0.4); font-size: 14px; backdrop-filter: blur(10px); z-index: 20; position: relative; }
    
    /* LEVEL PROGRESS BAR */
    .level-progress-wrapper { position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background: #020617; }
    .level-progress-fill { height: 100%; background: #22d3ee; width: 0%; transition: width 0.2s ease-out; box-shadow: 0 0 12px #22d3ee; }
    .level-info-text { font-size: 10px; color: #94a3b8; margin-left: 8px; font-weight: 800; letter-spacing: 1px; }
    .level-percent { color: #22d3ee; font-weight: 900; }

    /* TAM EKRAN VE SIFIR SİYAH BOŞLUK */
    .drive-container:-webkit-full-screen { width: 100vw; height: 100vh; max-height: none; border: none; border-radius: 0; display: flex; flex-direction: column; background: #020617; }
    .drive-container:fullscreen { width: 100vw; height: 100vh; max-height: none; border: none; border-radius: 0; display: flex; flex-direction: column; background: #020617; }
    
    .drive-container:fullscreen #raceCanvas { width: 100vw !important; height: 100vh !important; max-width: none; max-height: none; aspect-ratio: auto; }
    .drive-container:-webkit-full-screen #raceCanvas { width: 100vw !important; height: 100vh !important; max-width: none; max-height: none; aspect-ratio: auto; }
    
    #raceCanvas { background: #020617; display: block; margin: 0 auto; width: 100%; height: auto; min-height: 400px; max-height: 75vh; cursor: crosshair; }

    /* UI ve EKRANLAR */
    .drive-ui { position: absolute; top: 75px; left: 20px; display: flex; flex-direction: column; gap: 8px; pointer-events: none; z-index: 5; }
    .drive-val { font-size: clamp(18px, 4vw, 24px); font-weight: 900; color: #fff; text-shadow: 0 0 10px rgba(34,211,238,0.8); display: inline-block; transition: transform 0.1s; line-height: 1; }
    .pop-effect { transform: scale(1.3); color: #fff; }
    .negative-effect { transform: scale(1.3); color: #f472b6 !important; text-shadow: 0 0 15px #f472b6; }
    .level-badge { background: linear-gradient(135deg, #06b6d4, #22d3ee); color: #000; padding: 3px 10px; border-radius: 6px; font-weight: 900; font-size: 13px; box-shadow: 0 0 15px rgba(34,211,238,0.6); border: 1px solid #67e8f9; }
    
    .drive-overlay { position: absolute; inset: 0; background: rgba(2, 6, 23, 0.9); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 10; padding: 20px; backdrop-filter: blur(8px); }
    .btn-drive { background: linear-gradient(90deg, #06b6d4, #3b82f6); color: #fff; border: none; padding: 15px 40px; border-radius: 50px; font-size: 20px; font-weight: 900; cursor: pointer; box-shadow: 0 0 25px rgba(6,182,212,0.6); transition: 0.2s; text-transform: uppercase; letter-spacing: 1px;}
    .btn-drive:active { transform: scale(0.95); box-shadow: 0 0 15px rgba(6,182,212,0.8); }

    /* OYUN İÇİ HUD (KUTULAR) */
    .hud-box { background: rgba(2, 6, 23, 0.8); backdrop-filter: blur(10px); border: 1px solid rgba(34, 211, 238, 0.3); border-left: 4px solid #22d3ee; padding: 6px 15px; border-radius: 8px; display: flex; align-items: center; gap: 10px; box-shadow: 0 0 15px rgba(34,211,238,0.2); }
    .hud-box.plak-box { border-left-color: #e879f9; }
    .hud-icon { width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; }
    .hud-label { font-size: 10px; font-weight: 800; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; display: block; }

    /* DÜNYA REKORU ROZETİ */
    .top-record-badge { background: rgba(2, 6, 23, 0.7); border: 1px solid rgba(232, 121, 249, 0.5); padding: 5px 12px; border-radius: 12px; display: flex; align-items: center; gap: 10px; box-shadow: 0 0 15px rgba(232, 121, 249, 0.3); transition: 0.3s; }
    .top-record-badge:hover { background: rgba(232, 121, 249, 0.2); transform: translateY(-2px); }
    .record-icon-svg { width: 20px; height: 20px; filter: drop-shadow(0 0 5px rgba(232, 121, 249, 0.8)); }
    .record-info { text-align: left; line-height: 1.1; }
    .record-label { display: block; font-size: 8px; font-weight: 800; color: #e879f9; letter-spacing: 1px; text-transform: uppercase; }
    .record-val-container { font-size: 13px; font-weight: 900; color: #fff; }
    .record-player-name { font-size: 10px; opacity: 0.8; color: #93c5fd; margin-left: 4px; }

    /* SONUÇ KARTI */
    .results-card { background: rgba(2, 6, 23, 0.95); border: 1px solid rgba(236, 72, 153, 0.5); border-radius: 16px; padding: 15px; width: 90%; max-width: 300px; margin-bottom: 15px; box-shadow: 0 0 40px rgba(236,72,153,0.3); }
    
    @media (max-width: 600px) {
        .drive-header { padding: 8px 10px; flex-direction: column; gap: 8px; }
        .drive-ui { top: 85px; left: 10px; transform: scale(0.9); transform-origin: left top; }
        .top-record-badge { padding: 4px 8px; gap: 6px; }
        .record-label { font-size: 7px; }
        .record-val-container { font-size: 11px; }
    }

    .drive-card { background: #0f172a; border: 1px solid rgba(34,211,238,0.2); border-radius: 20px; padding: 20px; box-shadow: 0 10px 25px rgba(0,0,0,0.5); }
    @keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }
    
    #driveLogs::-webkit-scrollbar { width: 4px; }
    #driveLogs::-webkit-scrollbar-track { background: transparent; }
    #driveLogs::-webkit-scrollbar-thumb { background: #06b6d4; border-radius: 10px; }
    @media (max-width: 800px) { .drive-footer-section { grid-template-columns: 1fr !important; } }
    
    /* DRONE HIZ GÖSTERGESİ (NEON) */
    .speed-hud { position: absolute; bottom: 25px; right: 25px; width: 90px; height: 90px; z-index: 10; background: rgba(2,6,23,0.9); border-radius: 50%; box-shadow: 0 0 25px rgba(0,0,0,0.9), inset 0 0 15px rgba(232,121,249,0.3); border: 2px solid #3b82f6; display: flex; align-items: center; justify-content: center; flex-direction: column; backdrop-filter: blur(10px); }
    .speed-ring { position: absolute; top: -2px; left: -2px; width: 90px; height: 90px; transform: rotate(-90deg); overflow: visible; }
    .speed-ring-bg { fill: none; stroke: rgba(255,255,255,0.05); stroke-width: 7; }
    .speed-ring-fill { fill: none; stroke: #e879f9; stroke-width: 7; stroke-dasharray: 251; stroke-dashoffset: 251; transition: stroke-dashoffset 0.1s linear, stroke 0.3s; stroke-linecap: round; filter: drop-shadow(0 0 8px #e879f9); }
    .speed-text { position: relative; z-index: 2; text-align: center; margin-top: 4px; }
    .speed-val { font-size: 26px; font-weight: 950; color: #fff; line-height: 1; text-shadow: 0 0 10px rgba(232,121,249,0.8); font-family: 'Inter', sans-serif; font-variant-numeric: tabular-nums; }
    .speed-unit { font-size: 9px; font-weight: 800; color: #93c5fd; display: block; letter-spacing: 2px; margin-top: -2px; }
    
    @media (max-width: 768px) { 
        .speed-hud { bottom: 120px; right: 15px; width: 70px; height: 70px; } 
        .speed-ring { width: 70px; height: 70px; }
        .speed-ring-bg, .speed-ring-fill { stroke-width: 5; }
        .speed-val { font-size: 20px; }
    }

    /* MOBİL KONTROL BUTONLARI */
    .mobile-controls { display: none; position: absolute; bottom: 30px; left: 0; width: 100%; justify-content: space-between; padding: 0 20px; z-index: 20; pointer-events: none; }
    .control-btn { pointer-events: auto; background: rgba(2,6,23,0.8); border: 2px solid rgba(34,211,238,0.5); color: #22d3ee; width: 65px; height: 65px; border-radius: 50%; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(5px); touch-action: manipulation; -webkit-tap-highlight-color: transparent; box-shadow: 0 0 15px rgba(34,211,238,0.3); transition: 0.1s;}
    .control-btn:active { background: rgba(34,211,238,0.5); transform: scale(0.9); color:#fff; box-shadow: 0 0 25px rgba(34,211,238,0.8); }
    @media (max-width: 768px) { .mobile-controls { display: flex; } }    
    
    /* HACK (TERS YÖN) UYARI EFEKTİ */
    .hack-warning { position: absolute; top: 30%; left: 50%; transform: translateX(-50%); background: rgba(236, 72, 153, 0.95); color: white; padding: 15px 40px; border-radius: 8px; font-weight: 900; font-size: 18px; letter-spacing: 3px; border: 2px solid #fbcfe8; box-shadow: 0 0 35px rgba(236, 72, 153, 0.9); animation: glitch-anim 0.3s infinite; z-index: 50; display: none; flex-direction: column; align-items: center; gap: 5px; text-align:center; }
    @keyframes glitch-anim { 0% { transform: translateX(-50%) translate(2px, 2px); } 20% { transform: translateX(-50%) translate(-2px, -2px); } 40% { transform: translateX(-50%) translate(2px, -2px); } 60% { transform: translateX(-50%) translate(-2px, 2px); } 80% { transform: translateX(-50%) translate(1px, 1px); } 100% { transform: translateX(-50%) translate(-1px, -1px); } }
    
    /* LİDERLİK TABLOSU BUTONLARI VE FAQ */
    .lb-btn { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #94a3b8; padding: 8px 0; border-radius: 8px; font-size: 11px; font-weight: 800; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; gap: 5px; text-transform: uppercase; }
    .lb-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
    .lb-btn.active { background: rgba(232,121,249,0.15); border-color: #e879f9; color: #e879f9; box-shadow: 0 0 10px rgba(232,121,249,0.3); }
    
    .faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 10px; }
    .faq-box { background: rgba(2,6,23,0.5); border: 1px solid rgba(34,211,238,0.2); padding: 15px; border-radius: 12px; transition: 0.3s; }
    .faq-box:hover { background: rgba(34,211,238,0.1); border-color: rgba(34,211,238,0.6); box-shadow: 0 0 15px rgba(34,211,238,0.2); }
    .faq-head { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 8px; }
    .faq-text { font-size: 12px; color: #bae6fd; line-height: 1.6; margin: 0; }
    @media (max-width: 800px) { .faq-grid { grid-template-columns: 1fr; } }
    
    /* BAŞLANGIÇ EKRANI */
    .start-backdrop { backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); background: rgba(2, 6, 23, 0.85) !important; }
    .start-title { font-size: clamp(32px, 8vw, 65px); font-weight: 950; margin-bottom: 5px; background: linear-gradient(to right, #67e8f9, #f472b6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 0 20px rgba(244,114,182,0.4); letter-spacing: 1px; line-height: 1.1; }
    
    .instruction-box { background: rgba(15, 23, 42, 0.9); border: 1px solid rgba(34,211,238,0.3); padding: 20px 25px; border-radius: 16px; margin-bottom: 35px; display: flex; gap: 25px; text-align: left; box-shadow: 0 0 30px rgba(34,211,238,0.2); }
    .inst-item { display: flex; align-items: center; gap: 15px; }
    .inst-icon { background: rgba(34, 211, 238, 0.15); color: #22d3ee; padding: 12px; border-radius: 14px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 15px rgba(34,211,238,0.3); }
    .inst-text { font-size: 13px; color: #e0f2fe; line-height: 1.5; }
    .inst-text b { color: #fff; font-size: 14px; }
    .kbd-key { background: #020617; border: 1px solid #38bdf8; border-bottom-width: 3px; padding: 2px 6px; border-radius: 6px; font-size: 11px; color: #22d3ee; font-family: monospace; font-weight: bold; }
    
    @keyframes spin-slow { 100% { transform: rotate(360deg); } }
    @keyframes pulse-glow-cyber { 0%, 100% { filter: drop-shadow(0 0 15px rgba(6,182,212,0.4)); transform: scale(1); } 50% { filter: drop-shadow(0 0 30px rgba(236,72,153,0.8)); transform: scale(1.05); } }
    @keyframes pulse-glow-pink { 0%, 100% { filter: drop-shadow(0 0 15px rgba(236, 72, 153, 0.4)); transform: scale(1); } 50% { filter: drop-shadow(0 0 35px rgba(236, 72, 153, 0.8)); transform: scale(1.05); } }
    
    @media (max-width: 600px) { .instruction-box { flex-direction: column; gap: 15px; padding: 15px; } .inst-divider { display: none; } }
    
    /* OYUN BİTİŞ EKRANI */
    .over-backdrop { backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); background: radial-gradient(circle at center, rgba(80, 7, 36, 0.9) 0%, rgba(2, 6, 23, 0.95) 100%) !important; }
    .over-title { font-size: clamp(34px, 8vw, 55px); font-weight: 950; margin-bottom: 12px; background: linear-gradient(to bottom, #fbcfe8, #e11d48); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 0 30px rgba(225, 29, 72, 0.6); letter-spacing: 2px; line-height: 1; }
    
    .modern-results { background: rgba(2, 6, 23, 0.95); border: 1px solid rgba(236, 72, 153, 0.6); border-top: 3px solid #e11d48; box-shadow: 0 0 40px rgba(225,29,72,0.4), inset 0 0 20px rgba(225, 29, 72, 0.1); border-radius: 16px; padding: 20px; width: 100%; max-width: 340px; margin-bottom: 20px; }
    .btn-restart { background: linear-gradient(90deg, #ec4899, #e11d48) !important; box-shadow: 0 0 20px rgba(236,72,153,0.5) !important; border: 1px solid #fbcfe8; }
    .btn-restart:hover { box-shadow: 0 0 30px rgba(236,72,153,0.8) !important; transform: translateY(-2px); }
