:root {
    --zemin-dis: #050505;
    --zemin-app: #121214;
    --koyu-panel: rgba(20, 20, 24, 0.90);
    --kan-kirmizi: #e53935;
    --altin-sari: #fbc02d;
    --metin-beyaz: #f5f5f5;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

body {
    background-color: var(--zemin-dis);
    display: flex; justify-content: center; align-items: center;
    height: 100vh; overflow: hidden; color: var(--metin-beyaz);
    background-image: radial-gradient(circle at center, #1a1a24 0%, #000 100%);
}

.app-container {
    /* Mobil dikey (portrait) en-boy oranı her cihazda (telefon/tablet/masaüstü) sabit kalsın */
    width: 100vw;
    height: 100vh;
    height: 100dvh; /* Magic Fix: Mobil tarayıcı barlarını hesaba katar */
    max-width: calc(100vh * 0.4615);
    max-height: calc(100vw / 0.4615);
    position: relative; display: flex; flex-direction: column;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
    background: linear-gradient(to bottom, rgba(10,10,15,0.85), rgba(0,0,0,0.98)), url('../images/bg/bg-login.webp');
    background-size: cover; background-position: center;
    border-left: 1px solid #2a2a30; border-right: 1px solid #2a2a30;
    overflow: hidden;
}

/* app-container'in flex çocuğu - kalan tüm dikey alanı doldursun ki
   dashboard-container'in height:100% değeri ve alt menünün bottom:0 konumu doğru çalışsın */
#gameArea {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

/* PREMIUM YÜZEN DİL SEÇİCİ (Floating Pill) */
.lang-pill {
    position: absolute; top: 20px; right: 20px;
    background: rgba(15, 15, 19, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px; display: flex; align-items: center;
    padding: 4px; z-index: 100; backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}
.lang-btn {
    color: #666; text-decoration: none; font-size: 11px; font-weight: 800;
    padding: 6px 14px; border-radius: 15px; transition: all 0.3s ease; letter-spacing: 1px;
}
.lang-btn:hover { color: #fff; }
.lang-btn.active { background: var(--kan-kirmizi); color: #fff; box-shadow: 0 0 10px rgba(229, 57, 53, 0.5); }
.lang-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.2); margin: 0 2px; }

/* FORM ALANLARI */
.form-kutu { 
    padding: 30px; display: flex; flex-direction: column; gap: 12px; 
    margin-top: auto; margin-bottom: auto; animation: fadeIn 0.4s ease-in-out;
}
.logo-alan { text-align: center; margin-bottom: 20px; }
.logo-alan h2 { font-size: 22px; letter-spacing: 2px; text-transform: uppercase; }

.form-kutu input {
    background: rgba(0,0,0,0.6); border: 1px solid #333; border-radius: 4px;
    color: #fff; padding: 15px; font-size: 14px; outline: none; transition: 0.3s;
}
.form-kutu input:focus { border-color: var(--kan-kirmizi); box-shadow: 0 0 10px rgba(229, 57, 53, 0.2); }

/* KESKİN JİLET BUTONLAR */
.buton-keskin {
    width: 100%; position: relative; background: linear-gradient(45deg, #8b0000, #e53935);
    color: #fff; font-size: 15px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
    padding: 15px 20px; border: none; cursor: pointer; outline: none;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    transition: all 0.2s; margin-top: 10px;
}
.buton-keskin:hover { transform: scale(1.02); filter: brightness(1.2); }
.buton-altin { background: linear-gradient(45deg, #b8860b, #ffd700); color: #000; }

.buton-geridon {
    background: transparent; border: none; color: #888; margin-top: 15px;
    cursor: pointer; font-size: 13px; text-decoration: underline; transition: 0.3s;
}
.buton-geridon:hover { color: #fff; }

/* YASAL ONAY KUTULARI (Mafya Tarzı) */
.yasal-onaylar { display: flex; flex-direction: column; gap: 10px; margin: 10px 0; }
.onay-kutusu {
    display: flex; align-items: center; cursor: pointer; font-size: 11px; color: #aaa; 
    position: relative; user-select: none; padding-left: 25px;
}
.onay-kutusu input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.checkmark {
    position: absolute; left: 0; top: 0; height: 16px; width: 16px;
    background-color: rgba(0,0,0,0.6); border: 1px solid #555; border-radius: 3px; transition: 0.2s;
}
.onay-kutusu input:checked ~ .checkmark { background-color: var(--kan-kirmizi); border-color: var(--kan-kirmizi); }
.checkmark:after {
    content: ""; position: absolute; display: none;
    left: 5px; top: 2px; width: 3px; height: 7px;
    border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.onay-kutusu input:checked ~ .checkmark:after { display: block; }
.onay-kutusu .metin a { color: var(--altin-sari); text-decoration: none; font-weight: bold; }

@keyframes fadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

/* ==========================================
   ÖZEL BİLDİRİM (TOAST) SİSTEMİ
   ========================================== */
.bildirim-kutusu {
    position: fixed;
    top: -100px; /* Başlangıçta ekranın dışında saklanır */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 15, 19, 0.90);
    border-left: 4px solid var(--kan-kirmizi);
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.8);
    font-size: 13px;
    font-weight: 600;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: top 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    backdrop-filter: blur(5px);
    width: max-content;
    max-width: 90%;
    pointer-events: none; /* Tıklamayı engellemez */
}
.bildirim-kutusu.goster {
    top: 20px; /* Ekrana kayarak iner */
}
.bildirim-basari { border-left-color: #4caf50; }
.bildirim-bilgi { border-left-color: var(--altin-sari); }
.bildirim-hata { border-left-color: var(--kan-kirmizi); }
.bildirim-ikon { font-size: 18px; }

/* ==========================================
   YERALTI İMPARATORLUĞU - GERÇEK TASARIM
   ========================================== */
.top-bar {
    background: rgba(20, 20, 24, 0.90);
    backdrop-filter: blur(5px);
    padding: 15px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1); 
    z-index: 10;
}
.profil-kismi { display: flex; align-items: center; gap: 10px; }
.avatar { width: 40px; height: 40px; background-color: #333; border-radius: 50%; border: 2px solid var(--kan-kirmizi); }
.isim { color: #f5f5f5; font-weight: 800; font-size: 14px; }
.seviye { color: var(--altin-sari); font-size: 11px; font-weight: bold; }
.stat-satir { color: #f5f5f5; font-size: 12px; font-weight: 600; text-align: right; margin-bottom:3px;}
.stat-satir i.para { color: #4caf50; width: 15px; }
.stat-satir i.elmas { color: #29b6f6; width: 15px; }
.cikis-btn { background: none; border: none; color: var(--kan-kirmizi); font-size: 16px; margin-left: 10px; cursor: pointer; }

/* ANA İÇERİK ALANI */
.main-content {
    flex: 1; overflow-y: auto; padding: 20px; padding-bottom: 90px;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* KART TASARIMI */
.aksiyon-karti {
    background: rgba(25, 25, 30, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px; padding: 20px; text-align: center;
    box-shadow: 0 8px 15px rgba(0,0,0,0.5);
}
.aksiyon-karti h2 { margin-bottom: 10px; font-size: 20px; letter-spacing: 1px;}
.buton-kanli {
    color: #fff; border: none; padding: 12px 20px;
    border-radius: 6px; font-weight: bold; font-size: 16px; width: 100%; cursor: pointer;
    text-transform: uppercase; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4); margin-top: 5px;
}

/* ALT MENÜ (eski test.php prototipinden kalan tanımlar dashboard bloğuyla birleştirildi, bkz. aşağıdaki DASHBOARD STYLES) */

/* ========== DASHBOARD STYLES ========== */
.dashboard-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    width: 100%;
    background: var(--zemin-app);
    position: relative;
    overflow: hidden;
}

.dashboard-top-bar {
    background: var(--koyu-panel);
    backdrop-filter: blur(5px);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--kan-kirmizi);
    background: #333;
}

.player-info-inline {
    display: flex;
    flex-direction: column;
}

.player-name {
    color: var(--metin-beyaz);
    font-weight: bold;
    font-size: 13px;
}

.player-level {
    color: var(--altin-sari);
    font-size: 11px;
}

.top-bar-right {
    position: relative;
}

.profile-btn {
    background: transparent;
    border: none;
    color: var(--kan-kirmizi);
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.profile-btn:hover {
    transform: scale(1.15);
}

.profile-menu {
    position: absolute;
    top: 45px;
    right: 0;
    background: var(--koyu-panel);
    border: 1px solid var(--kan-kirmizi);
    border-radius: 8px;
    min-width: 180px;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(229, 57, 53, 0.3);
}

.profile-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.profile-menu a:last-child {
    border-bottom: none;
}

.profile-menu a:hover {
    background: #1a1a1c;
    color: var(--kan-kirmizi);
    padding-left: 20px;
}

.dashboard-content {
    flex: 1; overflow-y: auto; 
    padding: 20px; 
    padding-bottom: 120px; /* Dock'un arkasında içerik kalmaması için boşluk */
}

#icerikAlani {
    animation: fadeIn 0.3s ease;
    height: 100%;
}

.welcome-section {
    text-align: center;
    color: var(--metin-beyaz);
}

.welcome-section h1 {
    color: var(--altin-sari);
    margin-bottom: 10px;
    font-size: 18px;
    letter-spacing: 1px;
}

.welcome-section p {
    color: #bbb;
    font-size: 13px;
}
/* ==========================================
   YÜZEN MAFYA MENÜSÜ (DOCK)
   ========================================== */
.mafia-dock {
    position: absolute;
    bottom: env(safe-area-inset-bottom, 25px); /* iPhone çentiği/çubuğu için güvenli alan */
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 400px;
    background: linear-gradient(180deg, rgba(20, 20, 24, 0.95) 0%, rgba(5, 5, 5, 0.98) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(229, 57, 53, 0.4); /* Üstte ince kırmızı karbon şerit */
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9), 0 -5px 20px rgba(229, 57, 53, 0.15);
    z-index: 1000;
}

.dock-item {
    background: none; border: none; color: #666;
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; transition: all 0.3s; flex: 1; text-decoration: none;
}
.dock-item i { font-size: 20px; transition: 0.3s; color: #555; }
.dock-item:hover { color: #fff; }
.dock-item.active { color: #fff; }
.dock-item.active i { 
    color: var(--kan-kirmizi);
    transform: translateY(-4px); 
    text-shadow: 0 0 15px rgba(229, 57, 53, 0.8); 
}

/* Merkez Kanlı Çatışma Butonu (Ateş Halkası) */
.dock-center { position: relative; width: 65px; display: flex; justify-content: center; }
.action-btn {
    position: absolute; bottom: -10px; width: 60px; height: 60px;
    background: radial-gradient(circle at center, #e53935 0%, #8b0000 80%, #000 100%);
    border: 2px solid #e53935; border-radius: 50%;
    color: #fff; font-size: 24px; cursor: pointer;
    box-shadow: 0 0 20px rgba(229, 57, 53, 0.6), inset 0 0 10px rgba(0,0,0,0.8);
    display: flex; justify-content: center; align-items: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.action-btn:hover { 
    transform: translateY(-8px) scale(1.05); 
    box-shadow: 0 10px 30px rgba(229, 57, 53, 0.9), inset 0 0 15px rgba(0,0,0,0.9); 
}
.action-btn i { text-shadow: 0 0 5px rgba(255,255,255,0.5); }

/* ==========================================
   KARAKTER VE ENVANTER EKRANI (PAPER DOLL)
   ========================================== */
.character-screen { display: flex; flex-direction: column; gap: 20px; height: auto;}

/* Üst Kısım: Karakter Görseli */
.paper-doll-container {
    background: radial-gradient(circle at top, #2a2a30 0%, #0a0a0c 100%);
    border: 1px solid var(--kan-kirmizi);
    border-radius: 12px; padding: 15px;
    position: relative; height: 320px;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.9);
    display: flex; justify-content: space-between;
}

.doll-layers {
    position: absolute; 
    bottom: 10px; /* Top yerine Bottom yaptık ki ayakları yere bassın */
    left: 50%; transform: translateX(-50%);
    width: 200px; height: 90%; /* Kutuya %90 oranında sığsın */
    display: flex; align-items: flex-end;
}
.doll-layers img {
    position: absolute; bottom: 0; left: 0; 
    width: 100%; height: auto; max-height: 100%; 
    object-fit: contain;
}

/* Yan Ekipman Slotları */
.equipment-slots { display: flex; flex-direction: column; gap: 10px; z-index: 5; }
.eq-slot {
    width: 45px; height: 45px; background: rgba(0,0,0,0.6);
    border: 1px solid #333; border-radius: 6px;
    display: flex; justify-content: center; align-items: center;
    color: #444; font-size: 20px; position: relative;
}
.eq-slot.filled { border-color: var(--altin-sari); background: rgba(20,20,25,0.9); color: #fff; }

/* Alt Kısım: Çanta */
.inventory-bag {
    background: rgba(20, 20, 24, 0.8);
    border-radius: 12px; padding: 15px; flex: 1;
    border: 1px solid rgba(255,255,255,0.05);
}
.bag-header { display: flex; justify-content: space-between; margin-bottom: 15px; color: var(--altin-sari); font-size: 14px; font-weight: bold; text-transform: uppercase; }
.bag-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
    max-height: 200px; overflow-y: auto; padding-right: 5px;
}
.inv-item {
    aspect-ratio: 1/1; background: #121214; border: 1px solid #333;
    border-radius: 6px; cursor: pointer; transition: 0.2s;
    position: relative; display: flex; justify-content: center; align-items: center;
}
.inv-item:hover { border-color: var(--kan-kirmizi); }
.inv-item img { max-width: 80%; max-height: 80%; }
.item-lvl { position: absolute; top: -5px; right: -5px; background: var(--kan-kirmizi); color: #fff; font-size: 9px; padding: 2px 4px; border-radius: 3px; font-weight: bold; }
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(180deg, rgba(25, 25, 30, 0.95) 0%, rgba(10, 10, 12, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 3px solid var(--altin-sari); /* Zenginlik ve prestij vurgusu */
    border-radius: 8px; /* Mafya ciddiyeti için daha keskin köşeler */
    padding: 25px;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.5); /* Kırmızı parlamayı attık, devasa siyah gölge */
    max-height: 80vh;
    overflow-y: auto;
    backdrop-filter: blur(10px);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.modal-header h2 {
    color: var(--altin-sari);
    font-size: 16px;
    letter-spacing: 1px;
}

.close-btn {
    background: transparent;
    border: none;
    color: #666;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
}
.close-btn:hover {
    color: var(--kan-kirmizi); /* Sadece üzerine gelince tehlike rengi */
    transform: scale(1.1);
}

.modal-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
    background: transparent;
    border: none;
    color: #666;
    padding: 12px 15px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tab-btn.active {
    color: var(--altin-sari);
    border-bottom-color: var(--kan-kirmizi);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    color: var(--altin-sari);
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 1px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    background: #1a1a1c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #e0e0e0;
    font-size: 13px;
    box-sizing: border-box;
    transition: 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--kan-kirmizi);
    box-shadow: 0 0 8px rgba(229, 57, 53, 0.2);
}

.form-group input:disabled {
    background: #0a0a0c;
    color: #666;
    cursor: not-allowed;
}

.btn-primary {
    width: 100%;
    padding: 12px 20px;
    background: var(--kan-kirmizi);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
    margin-top: 10px;
}

.btn-primary:hover {
    background: #d32f2f;
    box-shadow: 0 6px 15px rgba(229, 57, 53, 0.4);
}

.language-buttons {
    display: flex;
    gap: 10px;
}

.lang-choice {
    flex: 1;
    padding: 12px 15px;
    background: #1a1a1c;
    border: 2px solid transparent;
    border-radius: 6px;
    color: #e0e0e0;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 12px;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.lang-choice:hover {
    border-color: var(--kan-kirmizi);
}

.lang-choice.active {
    background: var(--kan-kirmizi);
    color: white;
    border-color: var(--kan-kirmizi);
}

.message {
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 12px;
    animation: slideIn 0.3s ease;
}

.message.success {
    background: #1b5e20;
    color: #4caf50;
    border-left: 4px solid #4caf50;
}

.message.error {
    background: #b71c1c;
    color: #ff5252;
    border-left: 4px solid #ff5252;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TOPLAM GÜÇ TABLOSU */
.total-stats-board {
    display: flex; justify-content: space-around;
    background: rgba(10, 10, 12, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px; padding: 10px; margin-bottom: 15px;
}
.stat-box { text-align: center; }
.stat-box .title { font-size: 10px; color: #888; text-transform: uppercase; font-weight: bold; letter-spacing: 1px; }
.stat-box .val { font-size: 18px; font-weight: 900; color: #fff; }
.stat-box.ap .val { color: var(--kan-kirmizi); }
.stat-box.def .val { color: var(--altin-sari); }
.stat-box.hp .val { color: #4caf50; }

/* EŞYA DETAY PANELİ (GİZLİ BAŞLAR) */
/* EŞYA DETAY PANELİ (Premium Silah Kutusu Görünümü) */
.item-detail-panel {
    display: none; 
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 300px; 
    background: linear-gradient(145deg, #1e1e24, #0a0a0c); /* Çelik grisi ve koyu siyah geçişi */
    border: 1px solid #2a2a30; 
    border-top: 2px solid #555; /* Işık vuran metalik kenar hissi */
    border-bottom: 2px solid #000;
    border-radius: 6px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255,255,255,0.05);
    z-index: 9999; padding: 25px 20px; color: #fff; text-align: center;
}

/* Panel İçi Düzenlemeler */
.item-detail-header { 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
    padding-bottom: 12px; margin-bottom: 15px; position: relative;
}
.item-detail-header h3 { color: #fff; font-size: 16px; text-transform: uppercase; margin:0; letter-spacing: 1px;}
.item-lvl-badge { 
    position: absolute; top: -5px; right: 0; 
    background: var(--kan-kirmizi); padding: 2px 6px; 
    border-radius: 3px; font-weight: 900; font-size: 11px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.item-desc { font-size: 11px; color: #aaa; margin-bottom: 15px; font-style: italic; }
.item-stats-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; text-align: left; }
.item-stat-row { display: flex; justify-content: space-between; font-size: 13px; font-weight: bold; background: rgba(0,0,0,0.4); padding: 6px 10px; border-radius: 4px;}

/* AKSİYON BUTONLARI */
.item-action-btns { display: flex; gap: 10px; }
.btn-equip, .btn-unequip {
    flex: 1; padding: 10px; border: none; border-radius: 6px;
    font-weight: bold; cursor: pointer; transition: 0.2s; font-size: 12px; text-transform: uppercase;
}
.btn-equip { background: var(--kan-kirmizi); color: #fff; }
.btn-equip:hover { background: #b71c1c; box-shadow: 0 0 10px rgba(229, 57, 53, 0.5); }
.btn-unequip { background: #333; color: #fff; border: 1px solid #555; }
.btn-unequip:hover { background: #444; border-color: #888; }
/* Kapatma Butonu Dışarıda Değil İçeride Dursun */
.close-panel-btn { 
    position: absolute; top: 10px; right: 10px; 
    background: transparent; border: none; color: #555; 
    font-size: 16px; cursor: pointer; transition: 0.2s; 
}
.close-panel-btn:hover { color: #fff; }

/* ==========================================
   SAVAŞ HARİTASI VE HOLOGRAFİK RADAR (YENİ)
   ========================================== */
.sehir-haritasi-container {
    position: relative; 
    width: 100%; 
    height: calc(100dvh - 180px); /* Ekranı uzatmaz, araya tam sığar */
    background-image: url('../images/bg/citybg.webp');
    background-size: cover; background-position: center bottom;
    border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 -50px 100px rgba(0,0,0,0.9);
    overflow: hidden; animation: fadeIn 0.5s ease;
}

/* SİBERPUNK HOLOGRAFİK PİN */
.hedef-pin {
    position: absolute;
    width: 24px; height: 24px;
    background: rgba(229, 57, 53, 0.3);
    border: 2px solid var(--kan-kirmizi);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--kan-kirmizi), inset 0 0 15px var(--kan-kirmizi);
    cursor: pointer; z-index: 5;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hedef-pin:hover {
    transform: scale(1.3);
    background: rgba(251, 192, 45, 0.4);
    border-color: var(--altin-sari);
    box-shadow: 0 0 30px var(--altin-sari), inset 0 0 20px var(--altin-sari);
}

/* Yayılan Radar Dalgası Animasyonu */
.hedef-pin::before {
    content: ''; position: absolute;
    top: -12px; left: -12px; right: -12px; bottom: -12px;
    border: 1px solid var(--kan-kirmizi);
    border-radius: 50%;
    animation: radar-dalga 2s linear infinite;
}
@keyframes radar-dalga {
    0% { transform: scale(0.5); opacity: 1; border-color: var(--kan-kirmizi); }
    100% { transform: scale(2.5); opacity: 0; border-color: transparent; }
}

/* Şehre İnen Lazer Çizgisi (3D Derinlik Katar) */
.hedef-pin::after {
    content: ''; position: absolute;
    top: 100%; left: 50%; width: 2px; height: 60px;
    background: linear-gradient(to bottom, var(--kan-kirmizi), transparent);
    transform: translateX(-50%);
    pointer-events: none;
}
.hedef-pin:hover::after { background: linear-gradient(to bottom, var(--altin-sari), transparent); }

/* Pin Üzerindeki İsim */
.pin-isim {
    position: absolute; top: -45px; left: 50%;
    transform: translateX(-50%);
    color: #fff; font-size: 13px; font-weight: 900;
    text-shadow: 0 0 10px #000, 0 0 20px var(--kan-kirmizi);
    white-space: nowrap; text-transform: uppercase;
    text-align: center; pointer-events: none;
}
.pin-isim small { display: block; color: #aaa; font-size: 9px; text-shadow: 0 0 5px #000; letter-spacing: 1px;}
/* ==========================================
   SOKAK RADARI (İSTİHBARAT KARTLARI)
   ========================================== */
.radar-alani {
    position: absolute;
    top: 50px; left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 80%;
    overflow-y: auto;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-right: 5px;
}

/* Dark Glassmorphism Hedef Kartı */
.istihbarat-karti {
    background: rgba(15, 15, 18, 0.7);
    backdrop-filter: blur(12px); /* Arkadaki haritayı dumanlı gösterir */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--kan-kirmizi);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 20px rgba(0,0,0,0.6);
    transition: 0.3s;
}
.istihbarat-karti:hover { transform: translateX(5px); background: rgba(25, 25, 30, 0.85); border-left-color: var(--altin-sari); }

.hedef-sol { display: flex; align-items: center; gap: 15px; }
.hedef-avatar { width: 45px; height: 45px; background: #000; border: 2px solid #333; border-radius: 50%; }
.hedef-bilgi h4 { color: #fff; margin: 0; font-size: 15px; letter-spacing: 1px; }
.hedef-bilgi .mafya-neon { color: var(--altin-sari); text-shadow: 0 0 10px rgba(251, 192, 45, 0.6); }
.tehlike-seviye { font-size: 11px; font-weight: bold; margin-top: 3px; display: inline-block; }
.tehlike-yuksek { color: var(--kan-kirmizi); }
.tehlike-orta { color: var(--altin-sari); }
.tehlike-dusuk { color: #4caf50; }

.hedef-aksiyon { display: flex; gap: 8px; }
.btn-casus, .btn-saldir { 
    border: none; padding: 8px 12px; border-radius: 4px; font-weight: bold; font-size: 11px; cursor: pointer; text-transform: uppercase; transition: 0.2s; 
}
.btn-casus { background: #1a1a1c; color: #aaa; border: 1px solid #333; }
.btn-casus:hover { background: #333; color: #fff; }
.btn-saldir { background: var(--kan-kirmizi); color: #fff; box-shadow: 0 0 10px rgba(229,57,53,0.3); }
.btn-saldir:hover { background: #b71c1c; box-shadow: 0 0 15px rgba(229,57,53,0.6); transform: scale(1.05); }

/* Radarı Kapatma Butonu */
.radar-kapat {
    position: absolute; top: 10px; right: 10px;
    background: var(--kan-kirmizi); color: #fff; border: none;
    width: 30px; height: 30px; border-radius: 50%;
    cursor: pointer; z-index: 15; box-shadow: 0 0 10px rgba(0,0,0,0.8);
}
/* ==========================================
   ÜST BAR: VIP VE ETKİNLİK BUTONLARI
   ========================================== */
.vip-badge-top {
    background: linear-gradient(45deg, #b8860b, #ffd700);
    color: #000; font-weight: 900; font-size: 11px;
    padding: 4px 8px; border-radius: 4px; letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}
.event-btn-top {
    background: rgba(229, 57, 53, 0.2); border: 1px solid var(--kan-kirmizi);
    color: #fff; width: 32px; height: 32px; border-radius: 6px;
    cursor: pointer; display: flex; justify-content: center; align-items: center;
    transition: 0.3s; box-shadow: 0 0 10px rgba(229, 57, 53, 0.3);
}
.event-btn-top:hover { background: var(--kan-kirmizi); transform: scale(1.1); }

/* ==========================================
   TAM EKRAN PROFİL MODALI (DOSSIER)
   ========================================== */
.fullscreen-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--zemin-app); z-index: 3000;
    display: flex; flex-direction: column;
    animation: slideUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

.fs-modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 20px; background: rgba(10, 10, 12, 0.95);
    border-bottom: 1px solid var(--kan-kirmizi); box-shadow: 0 5px 15px rgba(0,0,0,0.8);
}
.fs-modal-header h2 { color: #fff; font-size: 16px; text-transform: uppercase; margin: 0; letter-spacing: 1px;}
.fs-back-btn { background: none; border: none; color: #aaa; font-size: 20px; cursor: pointer; transition: 0.2s;}
.fs-back-btn:hover { color: #fff; }

.fs-modal-body {
    flex: 1; overflow-y: auto; padding: 20px; background: url('../images/bg/bg-login.webp') center/cover;
    position: relative;
}
.fs-modal-body::before {
    content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(15, 15, 19, 0.92); pointer-events: none;
}
.fs-tab-content { position: relative; z-index: 2; }

/* Profil Kartı ve Statlar */
.fs-profile-card {
    text-align: center; margin-bottom: 25px; padding-top: 20px;
}
.fs-big-avatar {
    width: 100px; height: 100px; border-radius: 8px;
    border: 2px solid var(--altin-sari); box-shadow: 0 0 20px rgba(0,0,0,0.8);
    background: #000; margin-bottom: 15px;
}
.fs-hp-bar {
    background: rgba(0,0,0,0.6); border: 1px solid #333; border-radius: 20px;
    padding: 5px 15px; display: block; font-weight: bold; font-size: 12px; margin-bottom: 10px;
}
.fs-vip-shield {
    color: var(--altin-sari); font-size: 24px; text-shadow: 0 0 10px rgba(251, 192, 45, 0.5);
    display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.fs-vip-shield span { font-size: 12px; font-weight: 900; color: #fff; }

.fs-stat-list {
    background: rgba(20, 20, 25, 0.8); border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.fs-stat-row {
    display: flex; justify-content: space-between; padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.fs-stat-row:last-child { border-bottom: none; }
.fs-stat-label { color: #aaa; font-size: 13px; font-weight: bold; }
.fs-stat-label i { width: 20px; text-align: center; margin-right: 8px; }
.fs-stat-val { color: #fff; font-size: 14px; font-weight: 900; }

/* Alt Menü (Modal İçi) */
.fs-modal-bottom-nav {
    display: flex; justify-content: space-between; background: rgba(10, 10, 12, 0.98);
    border-top: 1px solid rgba(255,255,255,0.05); padding: 10px 5px;
    padding-bottom: env(safe-area-inset-bottom, 15px); /* iPhone çentik ayarı */
}
.fs-nav-item {
    background: none; border: none; color: #666; flex: 1;
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    font-size: 10px; font-weight: bold; cursor: pointer; text-transform: uppercase; transition: 0.3s;
}
.fs-nav-item i { font-size: 20px; }
.fs-nav-item.active { color: var(--altin-sari); }
.fs-nav-item.logout-btn { color: #8b0000; }
.fs-nav-item.logout-btn:hover { color: var(--kan-kirmizi); }

/* Avatar Çerçevesi ve VIP Köşesi */
.avatar-wrapper {
    position: relative; display: inline-block; cursor: pointer;
}
.fs-big-avatar {
    width: 110px; height: 110px; border-radius: 12px; object-fit: cover;
    border: 2px solid var(--kan-kirmizi); box-shadow: 0 0 20px rgba(0,0,0,0.8);
    background: #000; transition: 0.3s; margin-bottom: 0; /* Margin sıfırlandı */
}
.avatar-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); border-radius: 12px;
    display: flex; justify-content: center; align-items: center;
    color: #fff; font-size: 24px; opacity: 0; transition: 0.3s;
}
.avatar-wrapper:hover .avatar-overlay { opacity: 1; }
.avatar-wrapper:hover .fs-big-avatar { border-color: var(--altin-sari); }

/* Lüks VIP İkonu (Karakter fotoğrafının kenarında parlar) */
.vip-corner-badge {
    position: absolute; top: -10px; right: -10px;
    background: linear-gradient(135deg, #ffd700, #b8860b);
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: #000; font-size: 14px; font-weight: 900;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6), inset 0 0 5px rgba(255,255,255,0.8);
    border: 2px solid #1a1a1c; z-index: 10;
}

    /* Elmas Bar Tasarımı (Header) */
    .wallet-bar {
        display: flex; 
        align-items: center; 
        gap: 8px;
        background: rgba(10, 10, 12, 0.85);
        border: 1px solid rgba(41, 182, 246, 0.3);
        padding: 5px 10px 5px 15px;
        border-radius: 20px;
        cursor: pointer;
        box-shadow: 0 0 15px rgba(0,0,0,0.8);
        transition: all 0.3s ease;
        backdrop-filter: blur(5px);
    }
    .wallet-bar:hover { 
        border-color: rgba(41, 182, 246, 0.8); 
        box-shadow: 0 0 20px rgba(41, 182, 246, 0.2);
    }
    .res-item { 
        display: flex; 
        align-items: center; 
        gap: 5px; 
        font-size: 14px; 
        font-family: 'Courier New', Courier, monospace; 
        font-weight: bold; 
        text-shadow: 1px 1px 2px #000; 
    }
    
    /* Market Yönlendirme (Artı) Butonu */
    .add-resource-btn {
        background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
        border: none;
        color: white;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        cursor: pointer;
        box-shadow: 0 0 10px rgba(76, 175, 80, 0.4);
        transition: transform 0.2s;
    }
    .add-resource-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(76, 175, 80, 0.8);
    }

    /* Kasalar Popup (Modal) Tasarımı */
    .resource-modal-overlay {
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(5px);
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .resource-modal-content {
        background: linear-gradient(180deg, #1e1e1e 0%, #121212 100%);
        border: 1px solid rgba(255, 215, 0, 0.3);
        border-radius: 12px;
        width: 90%;
        max-width: 350px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.9);
        animation: scaleUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    @keyframes scaleUp {
        from { transform: scale(0.8); opacity: 0; }
        to { transform: scale(1); opacity: 1; }
    }
    .resource-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 10px;
        margin-bottom: 15px;
    }
    .resource-modal-header h3 {
        margin: 0; color: var(--altin-sari); font-size: 18px;
    }
    .resource-modal-header button {
        background: none; border: none; color: #888; font-size: 20px; cursor: pointer;
    }
    .resource-modal-header button:hover { color: var(--kan-kirmizi); }
    
    .res-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: rgba(0,0,0,0.5);
        padding: 12px 15px;
        border-radius: 8px;
        margin-bottom: 10px;
        border: 1px solid rgba(255,255,255,0.05);
    }
    .res-row .res-name { font-size: 14px; color: #ccc; display: flex; align-items: center; gap: 8px; }
    .res-row .res-val-group { display: flex; align-items: center; gap: 10px; }
    .res-row .res-val { font-family: 'Courier New', Courier, monospace; font-size: 16px; font-weight: bold; }

    /* OPERASYONLAR EKRANI */
.ops-container { display: flex; flex-direction: column; gap: 20px; }
.ops-card {
    background: rgba(15, 15, 18, 0.8); border: 1px solid rgba(255,255,255,0.05);
    border-left: 3px solid var(--altin-sari); border-radius: 8px; padding: 15px;
    display: flex; align-items: center; justify-content: space-between;
}
.ops-card.stadium { border-left-color: #4caf50; }

/* KARABORSA (PAZAR YERİ) */
.market-nav {
    display: flex; gap: 10px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px;
}
.m-tab {
    background: transparent; border: none; color: #666; font-weight: bold; font-size: 12px;
    text-transform: uppercase; cursor: pointer; padding: 5px 10px; transition: 0.3s; flex: 1;
}
.m-tab.active { color: var(--altin-sari); border-bottom: 2px solid var(--kan-kirmizi); }

.market-grid { display: flex; flex-direction: column; gap: 10px; }
.market-item {
    background: linear-gradient(90deg, rgba(20,20,25,0.9) 0%, rgba(10,10,12,0.9) 100%);
    border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; padding: 10px 15px;
    display: flex; justify-content: space-between; align-items: center;
}
.m-item-info { display: flex; align-items: center; gap: 15px; }
.m-item-icon { 
    width: 40px; height: 40px; background: #000; border: 1px solid #333; border-radius: 6px; 
    display: flex; justify-content: center; align-items: center; position: relative;
}
.m-item-icon img { max-width: 80%; max-height: 80%; }
/* +7 ve üzeri parlayan Neon Efektleri */
.m-item-icon.glow-high { border-color: var(--kan-kirmizi); box-shadow: 0 0 15px rgba(229, 57, 53, 0.6); }

.m-item-details h4 { margin: 0; color: #fff; font-size: 14px; }
.m-item-details span { color: #aaa; font-size: 11px; }

.m-buy-btn {
    background: var(--kan-kirmizi); color: #fff; border: none; padding: 8px 15px;
    border-radius: 4px; font-weight: bold; cursor: pointer; font-size: 11px;
}
.m-price-tag { color: var(--altin-sari); font-family: 'Courier New', monospace; font-weight: bold; font-size: 14px; text-align: right; margin-bottom: 5px;}
/* PAZAR YERİ GRID (KUTU) TASARIMI */
/* CLASSIC KO STYLE INVENTORY / MARKET GRID */
.ko-market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
    gap: 4px;
    padding: 10px;
    background: rgba(10, 10, 12, 0.95);
    border: 1px solid #333;
    border-radius: 4px;
    min-height: 250px;
    align-content: start;
}

.ko-slot {
    width: 48px;
    height: 48px;
    background: #000;
    border: 2px solid;
    border-top-color: #555;
    border-left-color: #555;
    border-bottom-color: #111;
    border-right-color: #111;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: filter 0.2s;
}

.ko-slot:hover {
    filter: brightness(1.5);
    border-color: var(--altin-sari);
}

.ko-slot img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.ko-lvl-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--kan-kirmizi);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    padding: 1px 3px;
    border-radius: 2px;
    box-shadow: 0 0 4px #000;
    z-index: 2;
}

/* Modal İçi Detay Listesi */
.m-detail-list {
    text-align: left;
    background: rgba(0,0,0,0.5);
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 12px;
}
.m-detail-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #333;
    padding: 4px 0;
}
.m-detail-row:last-child { border-bottom: none; }
.m-detail-label { color: #888; }
.m-detail-val { color: #fff; font-weight: bold; }

/* PAZAR KATEGORİ BUTONLARI */
.market-category-nav {
    display: flex; gap: 5px; margin-bottom: 15px; padding-bottom: 5px; overflow-x: auto;
}
.cat-btn {
    background: rgba(0,0,0,0.5); border: 1px solid #333; color: #aaa;
    font-size: 11px; font-weight: bold; text-transform: uppercase;
    padding: 6px 12px; border-radius: 4px; cursor: pointer; transition: 0.3s;
    white-space: nowrap;
}
.cat-btn:hover { background: rgba(20,20,25,0.9); color: #fff; }
.cat-btn.active { background: var(--kan-kirmizi); color: #fff; border-color: var(--kan-kirmizi); box-shadow: 0 0 10px rgba(229,57,53,0.5); }

/* ÖZEL OYUN İÇİ SORU/ONAY PANELİ (PROMPT/CONFIRM YERİNE) */
.game-panel-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(5px);
    z-index: 99999; display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: 0.3s ease;
}
.game-panel-overlay.show { opacity: 1; pointer-events: auto; }

.game-panel {
    background: linear-gradient(180deg, #1e1e24 0%, #0a0a0c 100%);
    border: 1px solid #333; border-top: 3px solid var(--kan-kirmizi);
    border-radius: 8px; width: 90%; max-width: 320px; padding: 20px;
    text-align: center; box-shadow: 0 20px 40px rgba(0,0,0,0.9);
    transform: scale(0.9); transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.game-panel-overlay.show .game-panel { transform: scale(1); }

.game-panel-title { color: #fff; font-size: 16px; margin-bottom: 10px; text-transform: uppercase; }
.game-panel-msg { color: #aaa; font-size: 13px; margin-bottom: 20px; }
.game-panel-input {
    width: 100%; padding: 12px; background: rgba(0,0,0,0.6); border: 1px solid #444;
    border-radius: 4px; color: var(--altin-sari); font-weight: 900; text-align: center;
    font-size: 18px; margin-bottom: 20px; font-family: 'Courier New', monospace; outline: none;
}
.game-panel-input:focus { border-color: var(--kan-kirmizi); box-shadow: 0 0 10px rgba(229,57,53,0.3); }
.game-panel-btns { display: flex; gap: 10px; }
.gp-btn {
    flex: 1; padding: 12px; border: none; border-radius: 4px; font-weight: bold; font-size: 12px;
    cursor: pointer; text-transform: uppercase; transition: 0.2s;
}
.gp-btn-yes { background: var(--kan-kirmizi); color: #fff; }
.gp-btn-yes:hover { filter: brightness(1.2); }
.gp-btn-no { background: #333; color: #aaa; }
.gp-btn-no:hover { background: #444; color: #fff; }

/* ==========================================
   YERALTI GARAJI - NEON EDİSYON
   ========================================== */
.garage-container { display: flex; flex-direction: column; gap: 20px; animation: fadeIn 0.4s ease; }

.car-stage {
    position: relative; height: 220px; border-radius: 16px;
    background: radial-gradient(ellipse at bottom, rgba(229,57,53,0.2) 0%, #050505 70%);
    border: 2px solid rgba(229,57,53,0.5); 
    box-shadow: inset 0 -50px 80px rgba(0,0,0,0.9), 0 0 30px rgba(229,57,53,0.3);
    display: flex; justify-content: center; align-items: center; overflow: hidden;
}
.car-stage::after { 
    content: ''; position: absolute; bottom: -20px; width: 90%; height: 30px;
    background: var(--kan-kirmizi); filter: blur(35px); opacity: 0.9;
}
.car-stage img { 
    max-width: 95%; max-height: 85%; z-index: 2; 
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    filter: drop-shadow(0 20px 15px rgba(0,0,0,0.9)); 
}
.car-stage:hover img { transform: scale(1.05); filter: drop-shadow(0 20px 25px rgba(229,57,53,0.5)); }

.car-info-bar { 
    position: absolute; top: 15px; left: 15px; right: 15px; 
    display: flex; justify-content: space-between; align-items: center; z-index: 3;
}
.car-name { 
    color: #fff; font-size: 18px; font-weight: 900; text-transform: uppercase; 
    text-shadow: 0 0 15px var(--kan-kirmizi), 0 0 30px var(--kan-kirmizi); letter-spacing: 3px;
}
.btn-gallery { 
    background: linear-gradient(135deg, #b8860b, #ffd700); color: #000; border: none; 
    padding: 8px 15px; border-radius: 6px; font-weight: 900; cursor: pointer; font-size: 12px; 
    box-shadow: 0 0 20px rgba(251, 192, 45, 0.6); text-transform: uppercase; transition: 0.3s;
}
.btn-gallery:hover { transform: scale(1.1); box-shadow: 0 0 30px rgba(251, 192, 45, 0.9); }

.parts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding-bottom: 20px; }

/* Upgrade Kutuları Neon Revizyonu */
.part-card {
    background: linear-gradient(145deg, rgba(20,20,25,0.9), rgba(10,10,12,0.95));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(229,57,53,0.2); border-left: 4px solid #444; 
    border-radius: 10px; padding: 15px; position: relative; transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}
.part-card:hover { 
    border-color: var(--kan-kirmizi); border-left-color: var(--kan-kirmizi); 
    box-shadow: 0 10px 25px rgba(229,57,53,0.4), inset 0 0 15px rgba(229,57,53,0.1); 
    transform: translateY(-4px); 
}

.part-header { display: flex; justify-content: space-between; margin-bottom: 12px; align-items: center; }
.part-title { color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 1px;}
.part-title i { color: #888; font-size: 16px; transition: 0.3s;}
.part-card:hover .part-title i { color: #fff; text-shadow: 0 0 10px #fff; }

.part-lvl { 
    color: #fff; font-family: 'Courier New', monospace; font-size: 16px; font-weight: 900; 
    text-shadow: 0 0 10px var(--kan-kirmizi), 0 0 20px var(--kan-kirmizi); 
}

.part-progress-bg { background: rgba(0,0,0,0.8); height: 6px; border-radius: 3px; margin-bottom: 15px; overflow: hidden; border: 1px solid #333; box-shadow: inset 0 0 5px #000; }
.part-progress-fill { background: linear-gradient(90deg, #8b0000, #ff1744); height: 100%; width: 0%; box-shadow: 0 0 10px #ff1744; transition: width 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); }

.part-upgrade-btn { 
    background: #0a0a0c; border: 1px solid #444; color: #fff; width: 100%; 
    padding: 10px; border-radius: 6px; font-size: 12px; font-weight: 900; cursor: pointer; 
    display: flex; justify-content: space-between; align-items: center; transition: 0.3s; 
    text-transform: uppercase;
}
.part-upgrade-btn:hover { 
    background: var(--kan-kirmizi); border-color: #ff5252; 
    box-shadow: 0 0 20px rgba(229,57,53,0.8); letter-spacing: 1px;
}
.cost-group { display: flex; gap: 10px; color: #aaa; font-family: 'Courier New', Courier, monospace;}
.cost-group span { display: flex; align-items: center; gap: 4px; }
.part-upgrade-btn:hover .cost-group { color: #fff; text-shadow: 0 0 5px rgba(0,0,0,0.8);}
/* ==========================================
   İNTERAKTİF OFİS HARİTASI (PAN / ZOOM)
   ========================================== */
.office-map-container {
    flex: 1; /* Alanı esnek olarak tamamen doldurur */
    width: 100%; 
    min-height: calc(100dvh - 200px); /* ÇÖZÜM: 0 piksel olmasını engeller */
    position: relative; 
    overflow: hidden; 
    border-radius: 12px; 
    background: #000; 
    touch-action: none; /* Mobilde harita kayarken ekranın kaymasını engeller */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 50px rgba(0,0,0,0.9);
}
.office-map {
    position: absolute; transform-origin: 0 0; width: 1000px; height: 1000px; /* Görsel 1:1 oranlı */
    background: url('../images/bg/office.webp') no-repeat center center;
    background-size: cover; cursor: grab;
    will-change: transform;
}
.office-map:active { cursor: grabbing; }

/* Kırmızı Parlayan Işık Kümeleri (Hotspot) */
.of-hotspot {
    position: absolute; width: 40px; height: 40px;
    background: radial-gradient(circle, rgba(229,57,53,0.6) 0%, rgba(229,57,53,0) 70%);
    border: 2px solid var(--kan-kirmizi); border-radius: 50%;
    box-shadow: 0 0 20px 10px rgba(229,57,53,0.5), inset 0 0 15px var(--kan-kirmizi);
    cursor: pointer; z-index: 10; transform: translate(-50%, -50%);
    animation: hotspotPulse 2s infinite;
    display: flex; justify-content: center; align-items: center;
}
.of-hotspot i { color: #fff; font-size: 16px; text-shadow: 0 0 5px #000, 0 0 10px var(--kan-kirmizi); pointer-events: none; }
.of-hotspot:hover {
    background: radial-gradient(circle, rgba(251,192,45,0.6) 0%, rgba(251,192,45,0) 70%);
    border-color: var(--altin-sari);
    box-shadow: 0 0 25px 10px rgba(251,192,45,0.6), inset 0 0 15px var(--altin-sari);
}
.of-hotspot:hover i { text-shadow: 0 0 5px #000, 0 0 10px var(--altin-sari); }

@keyframes hotspotPulse {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; box-shadow: 0 0 30px 15px rgba(229,57,53,0.7); }
    100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.8; }
}

/* Ofise Dön Butonu (Garaj İçinde Kullanılacak) */
.btn-back-office {
    background: transparent; border: 1px solid rgba(255,255,255,0.2); color: #aaa;
    padding: 8px 15px; border-radius: 6px; font-weight: bold; cursor: pointer;
    font-size: 11px; text-transform: uppercase; margin-bottom: 15px; display: inline-block;
}
.btn-back-office:hover { background: rgba(255,255,255,0.1); color: #fff; }
/* PC İçin Ekranda Görünecek Pan/Zoom Butonları */
.office-zoom-controls {
    position: absolute; right: 15px; bottom: 15px; 
    display: flex; flex-direction: column; gap: 10px; z-index: 20;
}
.office-zoom-controls button {
    background: rgba(20,20,24,0.8); border: 1px solid rgba(229, 57, 53, 0.5); color: #ccc;
    width: 44px; height: 44px; border-radius: 50%; display: flex; 
    justify-content: center; align-items: center;
    font-size: 18px; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.8); 
    backdrop-filter: blur(5px); transition: all 0.2s;
}
.office-zoom-controls button:hover {
    background: var(--kan-kirmizi); color: #fff; border-color: #ff5252; transform: scale(1.1);
}
/* ==========================================
   PREMIUM BİNA YÜKSELTME MODALI
   ========================================== */
.premium-upgrade-modal {
    background: linear-gradient(160deg, #18181c 0%, #0a0a0c 100%);
    border: 1px solid #2a2a30;
    border-top: 3px solid var(--kan-kirmizi);
    box-shadow: 0 20px 50px rgba(0,0,0,0.95), inset 0 1px 10px rgba(229, 57, 53, 0.1);
    padding: 30px 25px; max-width: 360px; border-radius: 8px;
}

/* BİNA YÖNETİM SEKMELERİ (TABS) */
.hq-tabs {
    display: flex; gap: 5px; margin-bottom: 20px; 
    border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px;
}
.hq-tab-btn {
    flex: 1; background: transparent; border: none; color: #666;
    font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; transition: 0.3s; padding: 8px 0;
    border-bottom: 2px solid transparent; margin-bottom: -11px;
    display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.hq-tab-btn i { font-size: 14px; }
.hq-tab-btn:hover { color: #fff; }
.hq-tab-btn.active { 
    color: var(--altin-sari); 
    border-bottom-color: var(--kan-kirmizi); 
}
.hq-tab-content { animation: fadeIn 0.3s ease; }

.upgrade-header { text-align: center; margin-bottom: 25px; }
.upgrade-icon-ring {
    width: 60px; height: 60px; margin: 0 auto 15px;
    background: radial-gradient(circle, rgba(229, 57, 53, 0.2) 0%, transparent 80%);
    border: 1px solid rgba(229, 57, 53, 0.5); border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 24px; color: var(--kan-kirmizi);
    box-shadow: 0 0 15px rgba(229, 57, 53, 0.3);
}
.upgrade-header h2 { color: #fff; font-size: 18px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }

.level-transition { display: flex; justify-content: center; align-items: center; gap: 15px; }
.lvl-badge { padding: 6px 12px; border-radius: 6px; font-weight: 900; font-size: 14px; font-family: 'Courier New', monospace; }
.lvl-badge.current { background: rgba(255,255,255,0.05); color: #aaa; border: 1px solid #333; }
.lvl-badge.next { background: rgba(251, 192, 45, 0.1); color: var(--altin-sari); border: 1px solid rgba(251, 192, 45, 0.3); box-shadow: 0 0 10px rgba(251, 192, 45, 0.2); }
.arrow-anim { color: var(--kan-kirmizi); font-size: 18px; animation: slideRight 1s infinite alternate; }
@keyframes slideRight { from { transform: translateX(-3px); } to { transform: translateX(3px); } }

.upgrade-section { margin-bottom: 20px; }
.section-title { text-align: center; margin-bottom: 12px; position: relative; z-index: 1; }
.section-title span { background: #111; padding: 0 10px; color: #666; font-size: 10px; letter-spacing: 2px; }
.section-title::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; border-top: 1px solid #222; z-index: -1; }

.req-list { display: flex; flex-direction: column; gap: 8px; }
.req-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 12px; border-radius: 6px; font-size: 12px; font-weight: bold;
    background: rgba(0,0,0,0.4); border: 1px solid #222; transition: 0.3s;
}
.req-item.met { border-left: 3px solid #4caf50; color: #4caf50; }
.req-item.missing { 
    border-left: 3px solid var(--kan-kirmizi); color: var(--kan-kirmizi); 
    cursor: pointer; background: rgba(229, 57, 53, 0.05);
}
.req-item.missing:hover { background: rgba(229, 57, 53, 0.15); transform: translateX(3px); border-color: rgba(229, 57, 53, 0.4); }
.req-val { color: #fff; font-family: 'Courier New', monospace; font-size: 13px; background: rgba(255,255,255,0.1); padding: 2px 6px; border-radius: 4px; }

.cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cost-box {
    background: rgba(0,0,0,0.4); border: 1px solid #333; padding: 10px;
    border-radius: 6px; display: flex; align-items: center; gap: 10px;
    font-family: 'Courier New', monospace; font-size: 14px; font-weight: bold; color: #fff;
}
.cost-box i { font-size: 16px; width: 20px; text-align: center; }

.btn-premium-upgrade {
    width: 100%; padding: 14px; background: linear-gradient(135deg, #8b0000 0%, #e53935 100%);
    border: none; border-radius: 6px; color: #fff; font-weight: 900; letter-spacing: 2px;
    font-size: 14px; cursor: pointer; transition: 0.3s; text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.4); margin-top: 10px;
}
.btn-premium-upgrade:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(229, 57, 53, 0.6); }
.btn-premium-upgrade:disabled {
    background: #222; color: #555; cursor: not-allowed; box-shadow: none; transform: none;
}

/* ==========================================
   OFİS HOTSPOT (HUD) - ETİKET, UYARI VE SÜRE SİSTEMİ
   ========================================== */

/* İkon Altındaki Bina İsim Etiketi */
.hotspot-label {
    position: absolute;
    bottom: -22px; /* İkonun hemen altında */
    left: 50%;
    transform: translateX(-50%);
    color: #ddd;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 1px 4px #000, 0 0 10px rgba(0,0,0,0.8);
    white-space: wrap;
    max-width: 100px;
    text-align: center;
    pointer-events: none; /* Yanlışlıkla tıklamayı engeller */
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Üzerine gelindiğinde ismin altın sarısı parlaması */
.of-hotspot:hover .hotspot-label {
    color: var(--altin-sari);
    text-shadow: 0 0 10px var(--altin-sari), 0 0 20px #000;
    transform: translateX(-50%) scale(1.1);
}

/* İkon Üstündeki Aksiyon/Uyarı Bildirimi (Kırmızı Ünlem vb.) */
.hotspot-warning {
    position: absolute;
    top: -25px; /* İkonun üstüne 3/4 oranında değecek şekilde */
    right: 3px; /* Sağ üst köşe */
    width: 32px; /* Ana ikonun (40px) 3/4'ü kadar kocaman */
    height: 32px;
    background: var(--kan-kirmizi);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px; /* İkon boyutu büyütüldü */
    font-weight: 900;
    box-shadow: 0 0 15px rgba(0,0,0,0.8), inset 0 0 5px rgba(0,0,0,0.5);
    z-index: 20; /* DİKKAT: Lvl badge (z-index:5) arkada kalacak, bu ÖNE çıkacak! */
    pointer-events: none;
}

@keyframes pulseWarning {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.7); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(229, 57, 53, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(229, 57, 53, 0); }
}

/* İkon Üstündeki İnşaat/Üretim Geri Sayım Sayacı */
.hotspot-timer {
    position: absolute;
    bottom: -50px; /* İsmin (bottom: -22px) hemen altına oturur */
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #8b0000 0%, #e53935 100%); /* Kırmızımtırak dikkat çekici zemin */
    border: 1px solid var(--altin-sari); /* Altın sarısı çerçeve */
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.9), 0 0 10px rgba(229, 57, 53, 0.6);
    pointer-events: none;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Sarı ve Yeşil Uyarı Animasyonları (Eski kodlar aynı kalabilir, sadece z-index ve boyutlar yukarıdan alındı) */
.hotspot-warning.warn-yellow {
    background: var(--altin-sari);
    box-shadow: 0 0 10px var(--altin-sari), inset 0 0 5px rgba(0,0,0,0.5);
    color: #000;
}

@keyframes pulseYellow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(251, 192, 45, 0.7); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(251, 192, 45, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(251, 192, 45, 0); }
}
.hotspot-warning.warn-yellow { animation: pulseYellow 1.5s infinite; }

/* Yeşil Uyarı: Bina yükseltmesi (inşaat) başarıyla tamamlandı */
.hotspot-warning.warn-green {
    background: #4caf50;
    border: 2px solid #fff; /* Tamamlandığını daha da belli etmek için beyaz çerçeve */
    box-shadow: 0 0 20px #4caf50, inset 0 0 5px rgba(0,0,0,0.5);
}
@keyframes pulseGreen {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(76, 175, 80, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}
.hotspot-warning.warn-green { animation: pulseGreen 1.5s infinite; }

/* Mavi Uyarı: Bu bina ile ilgili aktif bir görev (Quest) var */
.hotspot-warning.warn-quest {
    background: #29b6f6;
    box-shadow: 0 0 10px #29b6f6, inset 0 0 5px rgba(0,0,0,0.5);
}
@keyframes pulseBlue {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(41, 182, 246, 0.7); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(41, 182, 246, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(41, 182, 246, 0); }
}
.hotspot-warning.warn-quest { animation: pulseBlue 1.5s infinite; }
/* Sadece bu modala özel kaydırma çubuğu ve neon animasyonu */

.neon-pulse { animation: neonPulseAnim 1.5s infinite alternate; }
@keyframes neonPulseAnim {
    0% { box-shadow: 0 0 10px rgba(255,170,0,0.3); border-color: rgba(255,170,0,0.5); }
    100% { box-shadow: 0 0 25px rgba(255,170,0,0.6); border-color: #ffaa00; }
}
.reward-modal-bg {
    background: radial-gradient(circle at top, #2a1f00 0%, #0a0a0c 60%);
    border: 2px solid #ffaa00;
    box-shadow: 0 0 50px rgba(255,170,0,0.2), inset 0 0 20px rgba(255,170,0,0.1);
    border-radius: 16px;
}
#rewardDaysContainer::-webkit-scrollbar { width: 4px; }
#rewardDaysContainer::-webkit-scrollbar-track { background: rgba(0,0,0,0.3); }
#rewardDaysContainer::-webkit-scrollbar-thumb { background: #ffaa00; border-radius: 4px; }

/* ==========================================
   SOL AÇILIR MENÜ (KUYRUKLAR)
   ========================================== */
.left-status-menu {
    position: absolute;
    top: 30vh; /* Top barın altına hizala */
    left: 0;
    width: 230px;
    background: rgba(15, 15, 18, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #333;
    border-left: none;
    border-radius: 0 12px 12px 0;
    z-index: 100;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 5px 5px 25px rgba(0,0,0,0.8);
}
.left-status-menu.collapsed { transform: translateX(-100%); }
/* Menü Okunu Dikey Ortalama */
.menu-toggle-btn {
    position: absolute;
    right: -30px;
    top: 50%; /* Tam ortaya hizalar */
    transform: translateY(-50%); /* Y ekseninde merkezi dengeler */
    width: 30px;
    height: 60px; /* Tıklaması kolay olsun diye biraz uzatıldı */
    background: rgba(15, 15, 18, 0.95);
    border: 1px solid #333;
    border-left: none;
    border-radius: 0 8px 8px 0;
    color: var(--altin-sari);
    display: flex; justify-content: center; align-items: center;
    cursor: pointer; box-shadow: 5px 0 10px rgba(0,0,0,0.5);
    z-index: 101;
}
.menu-toggle-btn i { transition: transform 0.3s; }
/* Açıkken ikon ters döner, menünün kendi translateY ayarı bozulmaz */
.left-status-menu:not(.collapsed) .menu-toggle-btn i { transform: rotate(180deg); }

/* Kuyruk Progress Bar Tasarımı */
.q-progress-container {
    width: 100%;
    height: 4px;
    background: rgba(0,0,0,0.8);
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
    border: 1px solid #222;
}
.q-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8b0000, #e53935);
    width: 0%;
    box-shadow: 0 0 5px var(--kan-kirmizi);
    transition: width 1s linear;
}

.menu-content { padding: 15px; }
.queue-item {
    display: flex; align-items: center; gap: 10px; background: rgba(0,0,0,0.5);
    padding: 8px; border-radius: 6px; border: 1px solid #222; margin-bottom: 10px; position:relative;
}
.queue-item.locked { opacity: 0.6; }
.q-icon { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #555; display:flex; justify-content:center; align-items:center; background:#111; color:#888; font-size:13px; }
.q-icon.active { border-color: var(--altin-sari); color: var(--altin-sari); }
.q-icon.done { border-color: #4caf50; color: #4caf50; background: rgba(76, 175, 80, 0.1); }
.q-icon.idle { border-color: #ffaa00; color: #ffaa00; }
.q-info { flex: 1; display:flex; flex-direction:column; overflow:hidden; }
.q-title { font-size: 11px; font-weight: 900; color: #fff; text-transform: uppercase; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.q-status { font-size: 10px; font-family: 'Courier New', monospace; font-weight:bold; }
.q-action-btn { background: #4caf50; border:none; color:#fff; font-size:9px; padding:4px 8px; border-radius:4px; font-weight:bold; cursor:pointer; box-shadow: 0 0 10px rgba(76,175,80,0.4); text-transform:uppercase;}
.btn-unlock { background: linear-gradient(135deg, var(--altin-sari), #ff8800); border:none; color:#000; font-size:9px; padding:4px 8px; border-radius:4px; font-weight:bold; cursor:pointer; }

/* GÖREVLER SABİT BUTONU */
.mission-fab {
    position: absolute;
    bottom: 50px; /* Alt menünün hemen üstü */
    left: 15px;
    width: 50px;
    height: 50px;
    background: rgba(15, 15, 18, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid var(--altin-sari);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: var(--altin-sari);
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(251, 192, 45, 0.3);
    z-index: 90;
    transition: transform 0.2s, background 0.2s;
}
.mission-fab:hover { transform: scale(1.1); background: rgba(251, 192, 45, 0.2); }
.mission-badge {
    position: absolute; top: -5px; right: -5px;
    background: var(--kan-kirmizi); color: #fff;
    width: 20px; height: 20px; border-radius: 50%;
    font-size: 12px; font-weight: bold; display: flex;
    justify-content: center; align-items: center;
    box-shadow: 0 0 8px red;
    animation: pulse-red 1.5s infinite;
}

/* SİHİRLİ ÖDÜL POPUP & HAVAİ FİŞEK */
.mission-reward-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(5px);
    z-index: 999999; display: none; justify-content: center; align-items: center;
    flex-direction: column; text-align: center;
}
.mission-reward-box {
    animation: pop-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.firework-effect {
    font-size: 60px; color: var(--altin-sari);
    text-shadow: 0 0 50px var(--altin-sari), 0 0 100px #fff;
    margin-bottom: 20px;
    animation: explode 1s ease-out infinite alternate;
}
@keyframes explode {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}
@keyframes pop-in {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}