/* snow — eski oyun stilleri (yalnız oyun çerçevesinde yüklenir) */
/* GENEL YAPI - ULTRA GERÇEKÇİ KAR TEMASI */
    .drive-container { width: 100%; background: #e0f2fe; border: 2px solid #38bdf8; 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(56, 189, 248, 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(56, 189, 248, 0.3); font-size: 14px; backdrop-filter: blur(10px); z-index: 20; position: relative; }
    
    /* YENİ: LEVEL PROGRESS BAR */
    .level-progress-wrapper { position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background: #0f172a; }
    .level-progress-fill { height: 100%; background: #38bdf8; width: 0%; transition: width 0.2s ease-out; box-shadow: 0 0 12px #38bdf8; }
    .level-info-text { font-size: 10px; color: #bae6fd; margin-left: 8px; font-weight: 800; letter-spacing: 1px; }
    .level-percent { color: #38bdf8; 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: #f0f9ff; }
    .drive-container:fullscreen { width: 100vw; height: 100vh; max-height: none; border: none; border-radius: 0; display: flex; flex-direction: column; background: #f0f9ff; }
    
    .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: #f0f9ff; 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 2px 10px rgba(0,0,0,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: #ef4444 !important; }
    .level-badge { background: linear-gradient(135deg, #0ea5e9, #0369a1); color: #fff; padding: 3px 10px; border-radius: 6px; font-weight: 900; font-size: 13px; box-shadow: 0 0 15px rgba(14, 165, 233, 0.5); border: 1px solid #7dd3fc; }
    
    .drive-overlay { position: absolute; inset: 0; background: rgba(8, 47, 73, 0.85); 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(135deg, #0ea5e9, #0284c7); color: #fff; border: 1px solid #7dd3fc; padding: 15px 40px; border-radius: 50px; font-size: 20px; font-weight: 900; cursor: pointer; box-shadow: 0 8px 25px rgba(2, 132, 199, 0.5); transition: 0.2s; text-transform: uppercase; letter-spacing: 1px;}
    .btn-drive:active { transform: scale(0.95); box-shadow: 0 4px 15px rgba(2, 132, 199, 0.7); }

    /* OYUN İÇİ HUD (KUTULAR) */
    .hud-box { background: rgba(12, 74, 110, 0.8); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.15); border-left: 4px solid #38bdf8; padding: 6px 15px; border-radius: 8px; display: flex; align-items: center; gap: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.5); }
    .hud-box.plak-box { border-left-color: #f43f5e; }
    .hud-icon { width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; }
    .hud-label { font-size: 10px; font-weight: 800; color: #bae6fd; text-transform: uppercase; letter-spacing: 1px; display: block; }

    /* DÜNYA REKORU ROZETİ */
    .top-record-badge { background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(56, 189, 248, 0.5); padding: 5px 12px; border-radius: 12px; display: flex; align-items: center; gap: 10px; box-shadow: 0 0 15px rgba(56, 189, 248, 0.3); transition: 0.3s; }
    .top-record-badge:hover { background: rgba(56, 189, 248, 0.2); transform: translateY(-2px); }
    .record-icon-svg { width: 20px; height: 20px; filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.8)); }
    .record-info { text-align: left; line-height: 1.1; }
    .record-label { display: block; font-size: 8px; font-weight: 800; color: #38bdf8; 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: #e0f2fe; margin-left: 4px; }

    /* SONUÇ KARTI */
    .results-card { background: rgba(12, 74, 110, 0.95); border: 1px solid rgba(244, 63, 94, 0.4); border-radius: 16px; padding: 15px; width: 90%; max-width: 300px; margin-bottom: 15px; box-shadow: 0 10px 40px rgba(0,0,0,0.8); }
    
    @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: #0c4a6e; border: 1px solid rgba(255,255,255,0.05); 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: #075985; border-radius: 10px; }
    @media (max-width: 800px) { .drive-footer-section { grid-template-columns: 1fr !important; } }
    
    /* KAYAK HIZ GÖSTERGESİ */
    .speed-hud { position: absolute; bottom: 25px; right: 25px; width: 90px; height: 90px; z-index: 10; background: rgba(12,74,110,0.9); border-radius: 50%; box-shadow: 0 10px 25px rgba(0,0,0,0.8), inset 0 0 15px rgba(56,189,248,0.3); border: 2px solid #075985; 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.1); stroke-width: 7; }
    .speed-ring-fill { fill: none; stroke: #38bdf8; 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 6px #38bdf8); }
    .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(56,189,248,0.6); font-family: 'Inter', sans-serif; font-variant-numeric: tabular-nums; }
    .speed-unit { font-size: 9px; font-weight: 800; color: #bae6fd; 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(8, 47, 73, 0.7); border: 2px solid rgba(255,255,255,0.2); color: #fff; 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; transition: 0.1s;}
    .control-btn:active { background: rgba(2, 132, 199, 0.5); transform: scale(0.9); border-color: #38bdf8; box-shadow: 0 0 20px rgba(56, 189, 248, 0.5); }
    @media (max-width: 768px) { .mobile-controls { display: flex; } }    
    
    /* YETİ UYARI EFEKTİ & KANLI EKRAN */
    .yeti-warning { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); background: rgba(220, 38, 38, 0.95); color: white; padding: 12px 30px; border-radius: 50px; font-weight: 900; font-size: 18px; letter-spacing: 2px; border: 2px solid #fca5a5; box-shadow: 0 0 30px rgba(220, 38, 38, 0.8); animation: pulse-glow-red 0.5s infinite alternate; z-index: 50; display: none; align-items: center; gap: 10px; }
    .blood-vignette { position: absolute; inset: 0; pointer-events: none; z-index: 15; box-shadow: inset 0 0 150px rgba(220, 38, 38, 0); transition: box-shadow 0.5s; display: none; }
    .blood-vignette.active { display: block; box-shadow: inset 0 0 150px rgba(220, 38, 38, 0.7); animation: heartbeat 1s infinite; }
    @keyframes heartbeat { 0%, 100% { box-shadow: inset 0 0 100px rgba(220, 38, 38, 0.5); } 50% { box-shadow: inset 0 0 200px rgba(220, 38, 38, 0.8); } }

    /* 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(56,189,248,0.15); border-color: #38bdf8; color: #38bdf8; }
    
    .faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 10px; }
    .faq-box { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); padding: 15px; border-radius: 12px; transition: 0.3s; }
    .faq-box:hover { background: rgba(255,255,255,0.04); border-color: rgba(56,189,248,0.4); }
    .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(8, 47, 73, 0.85) !important; }
    .start-title { font-size: clamp(40px, 9vw, 65px); font-weight: 950; margin-bottom: 5px; background: linear-gradient(to right, #ffffff, #7dd3fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 10px 30px rgba(56,189,248,0.6); letter-spacing: -1px; line-height: 1.1; }
    
    .instruction-box { background: rgba(12, 74, 110, 0.9); border: 1px solid rgba(255,255,255,0.1); padding: 20px 25px; border-radius: 16px; margin-bottom: 35px; display: flex; gap: 25px; text-align: left; box-shadow: 0 10px 40px rgba(0,0,0,0.8); }
    .inst-item { display: flex; align-items: center; gap: 15px; }
    .inst-icon { background: rgba(56, 189, 248, 0.15); color: #38bdf8; padding: 12px; border-radius: 14px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(56, 189, 248, 0.3); }
    .inst-text { font-size: 13px; color: #e0f2fe; line-height: 1.5; }
    .inst-text b { color: #fff; font-size: 14px; }
    .kbd-key { background: #075985; border: 1px solid #0369a1; border-bottom-width: 3px; padding: 2px 6px; border-radius: 6px; font-size: 11px; color: #fff; font-family: monospace; font-weight: bold; }
    
    @keyframes spin-slow { 100% { transform: rotate(360deg); } }
    @keyframes pulse-glow { 0%, 100% { filter: drop-shadow(0 0 15px rgba(56,189,248,0.4)); transform: scale(1); } 50% { filter: drop-shadow(0 0 35px rgba(56,189,248,0.9)); transform: scale(1.05); } }
    @keyframes pulse-glow-red { 0%, 100% { filter: drop-shadow(0 0 15px rgba(239, 68, 68, 0.4)); transform: scale(1); } 50% { filter: drop-shadow(0 0 35px rgba(239, 68, 68, 0.9)); 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(30, 27, 75, 0.9) 0%, rgba(8, 47, 73, 0.95) 100%) !important; }
    .over-title { font-size: clamp(34px, 8vw, 55px); font-weight: 950; margin-bottom: 12px; background: linear-gradient(to bottom, #fca5a5, #ef4444); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 10px 40px rgba(239, 68, 68, 0.6); letter-spacing: -1px; line-height: 1; }
    
    .modern-results { background: rgba(12, 74, 110, 0.95); border: 1px solid rgba(239, 68, 68, 0.4); border-top: 3px solid #ef4444; box-shadow: 0 20px 50px rgba(0,0,0,0.9), inset 0 0 20px rgba(239, 68, 68, 0.15); border-radius: 16px; padding: 20px; width: 100%; max-width: 340px; margin-bottom: 20px; }
    .btn-restart { background: linear-gradient(135deg, #0284c7, #0369a1) !important; box-shadow: 0 10px 25px rgba(2, 132, 199, 0.4) !important; border: 1px solid #7dd3fc; }
    .btn-restart:hover { box-shadow: 0 12px 30px rgba(2, 132, 199, 0.6) !important; transform: translateY(-2px); }
