/* app.css - Optimized Combined CSS */
/* ===== BASE STYLES ===== */
/* ==================== GLOBAL DÜZELTMELER ==================== */

/* 1. Navbar Zıplamasını Önle */
/* Sayfa kısa olsa bile scrollbar yerini hep ayırır, böylece sayfa geçişlerinde içerik sağa-sola oynamaz. */
html {
    overflow-y: scroll; 
}

/* 2. Yatay Taşmayı (Sağa Kaymayı) Engelle */
/* Sayfanın sağa doğru boşluk vermesini ve kaymasını kesin olarak yasaklar. */
body {
    overflow-x: hidden; 
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 3. Kutu Hesaplama Modeli */
/* Padding ve Border'ın genişliği şişirmesini engeller. */
*, *::before, *::after {
    box-sizing: border-box;
}

/* 4. Navbar Kapsayıcı Düzeltmesi */
/* Header'ın taşmasını engeller */
.modern-header {
    width: 100%;
    max-width: 100vw; /* Ekran genişliğini asla geçme */
    overflow: hidden; /* Taşarsa gizle */
}

/* ==================== BİLDİRİM BUTONU DÜZENİ ==================== */
/* Daha önce eklediğimiz user-area'nın sağa taşmamasını garantiye alalım */
.user-area {
    display: flex;
    align-items: center;
    gap: 5px; /* Elemanlar arası boşluk (margin yerine gap daha stabildir) */
    justify-content: flex-end;
}

.notification-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0; /* Margin'i sıfırlayıp gap'e güveniyoruz */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #3498db;
    --primary-dark: #2980b9;
    --secondary: #2ecc71;
    --secondary-dark: #27ae60;
    --danger: #e74c3c;
    --warning: #f39c12;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --gray: #95a5a6;
    --light-gray: #f8f9fa;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    padding-bottom: 70px;
}

.dark-mode {
    --light: #2c3e50;
    --dark: #ecf0f1;
    --light-gray: #34495e;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== LAYOUT ===== */
header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.page-container {
    display: none;
    padding: 15px;
    animation: fadeIn 0.3s ease;
}

.page-container.active {
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.calendar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    margin-top: 15px;
}

/* ===== COMPONENTS ===== */
.card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-header {
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: var(--primary);
}

.card-header i {
    margin-right: 8px;
}

.stat-card {
    background: white;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 5px 0;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray);
}

.badge {
    background: white;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.badge.locked {
    opacity: 0.5;
}

.badge-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.badge-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.badge-desc {
    font-size: 0.7rem;
    color: var(--gray);
}

.license-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}

.license-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.license-status.active {
    background: var(--secondary);
    color: white;
}

.license-status.expired {
    background: var(--danger);
    color: white;
}

.license-status.pending {
    background: var(--warning);
    color: white;
}

/* ===== FORMS ===== */
.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.input-group input, 
.input-group select, 
.input-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus, 
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    width: 100%;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-success {
    background: var(--secondary);
}

.btn-success:hover {
    background: var(--secondary-dark);
}

.btn-danger {
    background: var(--danger);
}

.btn-danger:hover {
    background: #c0392b;
}

.btn-warning {
    background: var(--warning);
}

.btn-warning:hover {
    background: #e67e22;
}

/* ===== NAVIGATION ===== */
/* ==================== MODERN MOBILE NAVBAR ==================== */
/* ==================== 1. NAVBAR (EN ÜST KATMAN) ==================== */
/* ==================== 1. MODERN NAVBAR (GLASSMORPHISM) ==================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75px; /* Parmakla dokunma alanı için biraz artırıldı */
    
    /* Katman Sıralaması */
    z-index: 10001 !important; 
    
    /* Varsayılan Modern Görünüm (Hafif Şeffaf) */
    background: rgba(15, 23, 42, 0.9); /* Koyu lacivert zemin */
    backdrop-filter: blur(12px); /* Arkadaki içeriği buzlu cam gibi bulanıklaştırır */
    -webkit-backdrop-filter: blur(12px); /* iOS desteği için */
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
    
    /* Dizilim */
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom); /* iPhone alt çizgi boşluğu */
    transition: all 0.4s ease;
}

/* Nav Linkleri */
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    color: #64748b; /* Pasif renk */
    font-size: 0.7rem;
    font-weight: 500;
    flex: 1;
    height: 100%;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent; /* Mobilde tıklama grisini kaldır */
}

.nav-item i {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-style: normal;
    transition: all 0.3s ease;
    display: block;
}

/* Aktif Durum Animasyonu */
.nav-item.active {
    color: #38bdf8;
}

/* İkon Zıplama Efekti */
.nav-item.active i {
    transform: translateY(-4px);
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.5)); /* Hafif neon parlama */
}

/* Tıklama Efekti */
.nav-item:active i {
    transform: scale(0.9);
}

/* ==================== 2. DRAWER MENU (GELİŞTİRİLMİŞ) ==================== */
.drawer-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    
    /* Varsayılan (Light Mode için) */
    background: #ffffff;
    
    z-index: 10000 !important;
    transform: translateY(100%);
    /* Daha doğal, yaylanan bir açılış animasyonu */
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    
    padding: 20px;
    padding-bottom: 95px; /* Navbar altında kalmasın */
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.15);
}

.drawer-menu.active {
    transform: translateY(0) !important;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 10px;
    font-weight: 600;
}

.drawer-item {
    padding: 16px 12px;
    margin-bottom: 8px;
    border-radius: 12px; /* Köşeleri yuvarla */
    border-bottom: none; /* Eski çizgiyi kaldır */
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #333;
    transition: background 0.2s;
    font-weight: 500;
}

.drawer-item:active {
    background-color: #f1f5f9;
    transform: scale(0.98);
}

.drawer-item i {
    margin-right: 15px;
    font-size: 1.3rem;
    width: 30px;
    text-align: center;
    color: #64748b;
}

/* ==================== 3. OVERLAY (KARARTMA) ==================== */
.drawer-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px); /* Arkaplanı bulanıklaştır */
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==================== DRAWER MENÜ (Uyumlu Olsun Diye) ==================== */
/* Drawer Overlay ve Menu kodları öncekiyle aynı kalabilir, 
   sadece Drawer'ın z-index'i Navbar'dan düşük (9999) olmalı. */

/* ===== UI COMPONENTS ===== */
.progress-container {
    margin: 15px 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.progress-bar {
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--secondary);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.calendar-header {
    text-align: center;
    font-weight: 600;
    padding: 5px;
    background: var(--light-gray);
    border-radius: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 5px;
    font-size: 0.8rem;
    position: relative;
}

.calendar-day.today {
    background: #a92c31;
    color: white;
}

.calendar-day.has-data {
    border: 2px solid var(--secondary);
}

.day-minutes {
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 2px;
}

.table-container {
    overflow-x: auto;
    margin-top: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background: var(--light-gray);
    font-weight: 600;
}

tr:hover {
    background: var(--light-gray);
}

/* ===== AUTH ===== */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.auth-container {
    background: white;
    border-radius: 10px;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.auth-tabs {
    display: flex;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.auth-tab.active {
    border-bottom: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

/* ===== NOTIFICATIONS ===== */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    color: var(--dark);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 300;
    display: flex;
    align-items: center;
    transform: translateX(150%);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left: 4px solid var(--secondary);
}

.toast.error {
    border-left: 4px solid var(--danger);
}

.toast.warning {
    border-left: 4px solid var(--warning);
}

.toast-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}
/* --- Modern Header Styles (Güncel) --- */
.modern-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 12px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%; /* Tam sola yaslama için genişliği açtık */
}

/* Sol Taraf */
.brand-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-circle {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #6366f1, #4f46e5); /* İstatistik Moru/Mavisi */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-name {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: #fff;
}

.app-meta {
    display: flex;
    align-items: center;
    margin-top: 2px;
}

/* --- Dinamik Badge Stilleri --- */
.status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: all 0.3s ease;
}

/* Yükleniyor */
.status-badge.loading {
    background-color: #e2e8f0;
    color: #64748b;
    animation: pulse 1.5s infinite;
}

/* Premium Üye */
.status-badge.premium {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

/* Normal Demo */
.status-badge.demo {
    background-color: #3b82f6;
    color: white;
}

/* Kritik Süre (Son 3 gün) */
.status-badge.demo.critical {
    background-color: #f97316; /* Turuncu */
    color: white;
    animation: pulse 2s infinite;
}

/* Süre Doldu */
.status-badge.demo.expired {
    background-color: #ef4444;
    color: white;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}
/* --- MOTİVASYON KARTI ATMOSFERLERİ --- */

/* Kartın Temel Yapısı */
#motivation-card {
    position: relative;
    overflow: hidden; /* Taşmaları gizle */
    transition: all 0.5s ease;
    border: none !important; /* Varsayılan border'ı eziyoruz */
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
}

/* İçeriklerin arkada kalmamasını sağlar */
#motivation-card > * {
    position: relative;
    z-index: 2;
}

/* --- SABAH TEMASI (Güneş Doğuşu) --- */
.card-morning {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 60%, #f97316 100%) !important;
}

/* Sabah Güneşi Efekti */
.card-morning::before {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 237, 213, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(20px);
    z-index: 1;
}

/* --- ÖĞLE TEMASI (Dinamik Gökyüzü) --- */
.card-afternoon {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%) !important;
}

/* Bulut/Hava Akımı Efekti */
.card-afternoon::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 1;
}

/* --- AKŞAM/GECE TEMASI (Yıldızlı Gece) --- */
.card-evening, .card-night {
    background: linear-gradient(to bottom, #0f172a 0%, #1e1b4b 100%) !important;
    border-left: 4px solid #6366f1 !important;
}

/* Yıldızlar (CSS ile çizim) */
.card-evening::before, .card-night::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 3px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 2px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 3px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    opacity: 0.6; /* Göz yormaması için şeffaflık */
    z-index: 1;
}

/* Kayan Yıldız (Opsiyonel Hoşluk) */
.card-evening::after, .card-night::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 40px;
    width: 2px;
    height: 2px;
    background: white;
    box-shadow: 0 0 10px 2px white;
    opacity: 0.8;
    transform: rotate(-45deg);
    animation: shootingStar 5s infinite ease-in-out;
}

@keyframes shootingStar {
    0% { transform: translateX(0) translateY(0) scale(0); opacity: 0; }
    10% { transform: translateX(-20px) translateY(20px) scale(1); opacity: 1; }
    20% { transform: translateX(-40px) translateY(40px) scale(0); opacity: 0; }
    100% { opacity: 0; }
}
/* Sağ Taraf */
.user-area {
    display: flex;
    align-items: center;
    gap: 2px;
}

.user-info-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    display: none;
}
@media (min-width: 600px) { .user-info-group { display: flex; } }

.welcome-label { font-size: 0.7rem; color: #94a3b8; }
.user-name-text { font-weight: 600; font-size: 0.9rem; }

.logout-icon-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #cbd5e1;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.logout-icon-btn:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}
/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
    body {
        max-width: 600px;
        margin: 0 auto;
        padding-bottom: 0;
    }
    
    .bottom-nav {
        position: static;
        margin-top: 20px;
    }
}
/* =========================================
   🏆 SÜPER ODAK MODLARI (V2.5 - PREMIUM ULTRA)
   ========================================= */

/* --- GLOBAL DEĞİŞKENLER VE ANİMASYONLAR --- */
:root {
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Tema geçiş efektleri */
body, .card, .modern-header, .bottom-nav, .stat-card, .btn, .badge, input, select, textarea {
    transition: var(--transition-smooth);
}

/* =========================================
   ⚜️ TEMA 1: GOLD / CEO MODU (Lüks & Ağır) - GELİŞTİRİLMİŞ
   ========================================= */
body.theme-gold {
    /* Değişkenler */
    --light: #121212;
    --dark: #e0c097;
    --primary: #d4af37;
    --primary-light: #f4e4b3;
    --primary-dark: #b8941f;
    --secondary: #fdf5e6;
    --secondary-dark: #e8d5b5;
    --accent: #c19a3f;
    --light-gray: #1f1f1f;
    --medium-gray: #2a2a2a;
    --shadow: 0 10px 30px rgba(0,0,0,0.5);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4e4b3 50%, #d4af37 100%);
    
    background-color: #121212 !important;
    font-family: 'Playfair Display', 'Segoe UI', serif;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 20%);
}

/* --- GOLD BUTON SİSTEMİ (3 Seviye) --- */
body.theme-gold .btn {
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-bounce);
    border: none;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* PRIMARY BUTON (Ana Altın Buton) */
body.theme-gold .btn-primary,
body.theme-gold .btn-success {
    background: var(--gradient-gold);
    color: #121212 !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3), 
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.5);
    position: relative;
}

body.theme-gold .btn-primary::before,
body.theme-gold .btn-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

body.theme-gold .btn-primary:hover,
body.theme-gold .btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

body.theme-gold .btn-primary:hover::before,
body.theme-gold .btn-success:hover::before {
    left: 100%;
}

/* SECONDARY BUTON (İkincil) */
body.theme-gold .btn-secondary,
body.theme-gold .btn-outline {
    background: transparent;
    color: #d4af37 !important;
    border: 2px solid #d4af37;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

body.theme-gold .btn-secondary:hover,
body.theme-gold .btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25);
}

/* DANGER BUTON (Kırmızı) */
body.theme-gold .btn-danger {
    background: linear-gradient(135deg, #8B0000 0%, #B22222 100%);
    color: white !important;
    border: 1px solid #8B0000;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

body.theme-gold .btn-danger:hover {
    background: linear-gradient(135deg, #B22222 0%, #8B0000 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.5);
}

/* --- GOLD INPUT ALANLARI --- */
body.theme-gold input, 
body.theme-gold select,
body.theme-gold textarea {
    background: #1a1a1a;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #e0c097;
    border-radius: 6px;
    padding: 12px 15px;
    transition: var(--transition-smooth);
}

body.theme-gold input:focus,
body.theme-gold select:focus,
body.theme-gold textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    background: #1f1f1f;
}

/* --- GOLD ÖZEL BADGE'LER --- */
body.theme-gold .badge {
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 5px 10px;
    border-radius: 20px;
}

body.theme-gold .badge-primary {
    background: var(--gradient-gold);
    color: #121212;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}

body.theme-gold .badge-secondary {
    background: rgba(212, 175, 55, 0.15);
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* --- GOLD KART ÖZELLİKLERİ --- */
body.theme-gold .card,
body.theme-gold .stat-card {
    background: linear-gradient(145deg, #1a1a1a, #141414) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    box-shadow: 
        0 4px 20px rgba(0,0,0,0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    color: #e0c097;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

body.theme-gold .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

body.theme-gold .card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 8px 30px rgba(0,0,0,0.8),
        inset 0 0 0 1px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3) !important;
}

/* --- GOLD PROGRESS BAR --- */
body.theme-gold .progress-bar {
    background: var(--gradient-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    border-radius: 10px;
}

body.theme-gold .progress {
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* --- GOLD SWITCH TOGGLE --- */
body.theme-gold .form-check-input:checked {
    background-color: #d4af37;
    border-color: #d4af37;
}

body.theme-gold .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

/* =========================================
   👾 TEMA 2: NEON / CYBERPUNK (Enerjik & Modern) - GELİŞTİRİLMİŞ
   ========================================= */
body.theme-neon {
    /* Değişkenler */
    --light: #050b14;
    --dark: #e0faff;
    --primary: #00f3ff;
    --primary-light: #7df9ff;
    --primary-dark: #00a2b2;
    --secondary: #bc13fe;
    --secondary-light: #d46efd;
    --accent: #ff0080;
    --light-gray: #0a1120;
    --medium-gray: #111a2e;
    --shadow: 0 0 15px rgba(0, 243, 255, 0.15);
    --gradient-neon: linear-gradient(90deg, #00f3ff 0%, #bc13fe 50%, #ff0080 100%);
    --gradient-cyber: linear-gradient(135deg, #00f3ff 0%, #bc13fe 100%);
    
    background-color: #020408 !important;
    font-family: 'Segoe UI', 'Courier New', monospace;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 243, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(188, 19, 254, 0.05) 0%, transparent 50%),
        linear-gradient(45deg, rgba(0,0,0,0.8) 0%, rgba(2,4,8,0.9) 100%);
    position: relative;
    overflow-x: hidden;
}

/* NEON Scanlines Efekti */
body.theme-neon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 243, 255, 0.02) 50%
    );
    background-size: 100% 4px;
    z-index: -1;
    pointer-events: none;
    opacity: 0.3;
}

/* --- NEON BUTON SİSTEMİ (3 Seviye) --- */
body.theme-neon .btn {
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    text-shadow: 0 0 5px currentColor;
}

/* PRIMARY BUTON (Neon Glow) */
body.theme-neon .btn-primary,
body.theme-neon .btn-success {
    background: rgba(0, 0, 0, 0.7);
    color: #00f3ff !important;
    border: 1px solid #00f3ff;
    box-shadow: 
        0 0 15px rgba(0, 243, 255, 0.4),
        inset 0 0 10px rgba(0, 243, 255, 0.1);
    position: relative;
}

body.theme-neon .btn-primary::before,
body.theme-neon .btn-success::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-neon);
    z-index: -1;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.theme-neon .btn-primary:hover,
body.theme-neon .btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 0 25px rgba(0, 243, 255, 0.7),
        inset 0 0 15px rgba(0, 243, 255, 0.2);
    color: white !important;
}

body.theme-neon .btn-primary:hover::before,
body.theme-neon .btn-success:hover::before {
    opacity: 0.7;
}

/* SECONDARY BUTON (Mor Glow) */
body.theme-neon .btn-secondary,
body.theme-neon .btn-outline {
    background: transparent;
    color: #bc13fe !important;
    border: 1px solid #bc13fe;
    box-shadow: 0 0 10px rgba(188, 19, 254, 0.3);
}

body.theme-neon .btn-secondary:hover,
body.theme-neon .btn-outline:hover {
    background: rgba(188, 19, 254, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.6);
    color: #d46efd !important;
}

/* DANGER BUTON (Pembe/Kırmızı) */
body.theme-neon .btn-danger {
    background: rgba(0, 0, 0, 0.7);
    color: #ff0080 !important;
    border: 1px solid #ff0080;
    box-shadow: 0 0 15px rgba(255, 0, 128, 0.4);
}

body.theme-neon .btn-danger:hover {
    background: rgba(255, 0, 128, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.7);
    color: #ff66b2 !important;
}

/* Pulsing animasyonu */
@keyframes pulseNeon {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

body.theme-neon .btn-pulse {
    animation: pulseNeon 2s infinite;
}

/* --- NEON INPUT ALANLARI --- */
body.theme-neon input,
body.theme-neon select,
body.theme-neon textarea {
    background: rgba(10, 17, 32, 0.8);
    border: 1px solid rgba(0, 243, 255, 0.3);
    color: #e0faff;
    border-radius: 4px;
    padding: 12px 15px;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
}

body.theme-neon input:focus,
body.theme-neon select:focus,
body.theme-neon textarea:focus {
    outline: none;
    border-color: #00f3ff;
    box-shadow: 
        0 0 15px rgba(0, 243, 255, 0.3),
        inset 0 0 10px rgba(0, 243, 255, 0.1);
    background: rgba(10, 17, 32, 0.9);
}

/* --- NEON BADGE'LER --- */
body.theme-neon .badge {
    font-weight: 600;
    letter-spacing: 1px;
    padding: 5px 10px;
    border-radius: 3px;
    text-shadow: 0 0 3px currentColor;
}

body.theme-neon .badge-primary {
    background: rgba(0, 243, 255, 0.15);
    color: #00f3ff;
    border: 1px solid #00f3ff;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

body.theme-neon .badge-secondary {
    background: rgba(188, 19, 254, 0.15);
    color: #bc13fe;
    border: 1px solid #bc13fe;
    box-shadow: 0 0 10px rgba(188, 19, 254, 0.3);
}

/* --- NEON KART ÖZELLİKLERİ --- */
body.theme-neon .card,
body.theme-neon .stat-card {
    background: rgba(10, 17, 32, 0.85) !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 243, 255, 0.2) !important;
    box-shadow: 
        0 0 20px rgba(0, 243, 255, 0.1),
        inset 0 0 20px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(0, 243, 255, 0.05);
    color: #e0faff;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

body.theme-neon .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00f3ff, transparent);
    animation: scanLine 3s infinite;
}

@keyframes scanLine {
    0% { left: -100%; }
    100% { left: 100%; }
}

body.theme-neon .card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 0 30px rgba(0, 243, 255, 0.2),
        inset 0 0 25px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(0, 243, 255, 0.1);
    border-color: rgba(0, 243, 255, 0.3) !important;
}

/* --- NEON PROGRESS BAR --- */
body.theme-neon .progress-bar {
    background: var(--gradient-cyber);
    box-shadow: 
        0 0 10px rgba(0, 243, 255, 0.5),
        inset 0 0 5px rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

body.theme-neon .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

body.theme-neon .progress {
    background-color: rgba(0, 243, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 243, 255, 0.3);
}

/* --- NEON SWITCH TOGGLE --- */
body.theme-neon .form-check-input:checked {
    background-color: #00f3ff;
    border-color: #00f3ff;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

body.theme-neon .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(0, 243, 255, 0.25);
}

/* --- NEON ÖZEL TAB LOADER --- */
body.theme-neon .tab-loader {
    position: relative;
    height: 2px;
    background: rgba(0, 243, 255, 0.1);
    overflow: hidden;
}

body.theme-neon .tab-loader::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    background: var(--gradient-neon);
    animation: loadingMove 1.5s infinite;
}

@keyframes loadingMove {
    0% { left: -30%; }
    100% { left: 100%; }
}

/* =========================================
   📣 ORTAK BİLDİRİM KUTUSU (GÜNCELLENDİ)
   ========================================= */
#congrats-box {
    display: none;
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 90%;
    max-width: 400px;
    padding: 20px;
    text-align: center;
    border-radius: 12px;
    z-index: 9000;
    font-size: 1rem;
    line-height: 1.5;
    animation: slideUpFade 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    backdrop-filter: blur(10px);
}

#congrats-box strong {
    display: block;
    font-size: 1.2rem;
    margin-top: 5px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- KAPATMA BUTONU (GÜNCELLENDİ) --- */
.congrats-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 9005;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.5) rotate(-90deg);
    transition: var(--transition-bounce);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
}

.congrats-close-btn.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) rotate(0deg);
}

/* --- GOLD BİLDİRİM KUTUSU --- */
body.theme-gold #congrats-box {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid #d4af37;
    color: #d4af37;
    box-shadow: 
        0 0 40px rgba(212, 175, 55, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

body.theme-gold .congrats-close-btn {
    color: #d4af37;
    background: #1a1a1a;
    border: 1px solid #d4af37;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

body.theme-gold .congrats-close-btn:hover {
    background: #d4af37;
    color: #000000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    transform: scale(1.1) rotate(90deg);
}

/* --- NEON BİLDİRİM KUTUSU --- */
body.theme-neon #congrats-box {
    background: rgba(0, 0, 0, 0.85);
    color: #00f3ff;
    border: 1px solid #00f3ff;
    box-shadow: 
        0 0 30px rgba(0, 243, 255, 0.4),
        inset 0 0 20px rgba(0, 243, 255, 0.1);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

body.theme-neon #congrats-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    background: linear-gradient(90deg, #00f3ff, #bc13fe, #00f3ff);
    background-size: 400%;
    border-radius: 14px;
    animation: neonGlow 3s linear infinite;
    opacity: 0.7;
    filter: blur(8px);
}

body.theme-neon .congrats-close-btn {
    color: #00f3ff;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #00f3ff;
    text-shadow: 0 0 5px #00f3ff;
    box-shadow: 0 0 5px rgba(0, 243, 255, 0.3);
}

body.theme-neon .congrats-close-btn:hover {
    background: #00f3ff;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.8);
    transform: scale(1.1) rotate(90deg);
}

@keyframes slideUpFade {
    to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

@keyframes neonGlow {
    0% { background-position: 0%; }
    100% { background-position: 400%; }
}

/* =========================================
   📱 RESPONSIVE AYARLAR
   ========================================= */
@media (max-width: 768px) {
    body.theme-gold .btn,
    body.theme-neon .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    #congrats-box {
        width: 95%;
        bottom: 80px;
        padding: 16px;
    }
}

/* =========================================
   ✨ EK ANİMASYONLAR
   ========================================= */
@keyframes floatGold {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes flickerNeon {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

body.theme-gold .float {
    animation: floatGold 3s ease-in-out infinite;
}

body.theme-neon .flicker {
    animation: flickerNeon 1.5s infinite alternate;
}

/* =========================================
   🎯 ÖZEL SCROLLBAR
   ========================================= */
body.theme-gold::-webkit-scrollbar {
    width: 10px;
}

body.theme-gold::-webkit-scrollbar-track {
    background: #1a1a1a;
}

body.theme-gold::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #d4af37, #b8941f);
    border-radius: 5px;
}

body.theme-neon::-webkit-scrollbar {
    width: 10px;
}

body.theme-neon::-webkit-scrollbar-track {
    background: #0a1120;
}

body.theme-neon::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #00f3ff, #bc13fe);
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 243, 255, 0.5);
}
/* =========================================
   🎭 DRAWER OVERLAY - TEMA UYUMLULUK
   ========================================= */

/* GOLD TEMA OVERLAY */
body.theme-gold .drawer-overlay {
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(8px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(8px) saturate(180%) !important;
}

/* NEON TEMA OVERLAY */
body.theme-neon .drawer-overlay {
    background: rgba(0, 4, 8, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

/* NEON TEMA İÇİN EK EFEKT */
body.theme-neon .drawer-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(0, 243, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(188, 19, 254, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* DRAWER MENU TEMA UYUMLULUK */
body.theme-gold .drawer-menu {
    background: #1a1a1a !important;
    border-top: 1px solid rgba(212, 175, 55, 0.3) !important;
    box-shadow: 0 -10px 40px rgba(212, 175, 55, 0.1) !important;
    color: #e0c097;
}

body.theme-neon .drawer-menu {
    background: rgba(10, 17, 32, 0.95) !important;
    border-top: 1px solid rgba(0, 243, 255, 0.3) !important;
    box-shadow: 
        0 -10px 40px rgba(0, 243, 255, 0.15),
        inset 0 0 20px rgba(0, 0, 0, 0.5) !important;
    color: #e0faff;
    backdrop-filter: blur(10px);
}

/* DRAWER ITEM TEMA UYUMLULUK */
body.theme-gold .drawer-item {
    color: #e0c097;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

body.theme-gold .drawer-item:active {
    background-color: rgba(212, 175, 55, 0.1) !important;
}

body.theme-gold .drawer-item i {
    color: #d4af37;
}

body.theme-neon .drawer-item {
    color: #e0faff;
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
}

body.theme-neon .drawer-item:active {
    background-color: rgba(0, 243, 255, 0.1) !important;
}

body.theme-neon .drawer-item i {
    color: #00f3ff;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.5);
}

/* DRAWER HEADER TEMA UYUMLULUK */
body.theme-gold .drawer-header {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    color: #d4af37;
}

body.theme-neon .drawer-header {
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    color: #00f3ff;
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.3);
}

/* KAPATMA BUTONU */
body.theme-gold .drawer-menu .close-drawer {
    color: #d4af37;
}

body.theme-neon .drawer-menu .close-drawer {
    color: #00f3ff;
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.5);
}
/* --- BİLDİRİM İKONU STİLİ --- */
.notification-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px; /* İsimle arasındaki boşluk */
}

#notification-btn {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #cbd5e1; /* Hafif gri-beyaz */
}

#notification-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
    color: #fff;
}

/* Titreşim/Sallanma Efekti (Bildirim Gelince Kullanılabilir) */
@keyframes bell-shake {
    0% { transform: rotate(0); }
    15% { transform: rotate(15deg); }
    30% { transform: rotate(-15deg); }
    45% { transform: rotate(10deg); }
    60% { transform: rotate(-10deg); }
    75% { transform: rotate(5deg); }
    85% { transform: rotate(-5deg); }
    100% { transform: rotate(0); }
}

.bell-ringing {
    animation: bell-shake 0.8s cubic-bezier(.36,.07,.19,.97) both;
    color: #fbbf24 !important; /* Altın sarısı olur */
}

/* Kırmızı Nokta (Okunmamış Bildirim) */
.badge-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    border: 1px solid #1e293b;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
}
/* ==================== 4'LÜ GRID LEADERBOARD (YENİ TASARIM) ==================== */

/* Ana Taşıyıcı (Izgara Sistemi) */
.leaderboard-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobilde alt alta tek sütun */
    gap: 15px;
    padding-bottom: 80px; /* Alt menü engellemesin diye boşluk */
}

/* Tablet ve PC'de 2 yan yana (2x2 Kare) */
@media (min-width: 768px) {
    .leaderboard-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- KUTU STİLLERİ --- */
.lb-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 380px; /* Her kutunun sabit yüksekliği */
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.lb-box:hover {
    transform: translateY(-5px); /* Hafif yukarı kalkma efekti */
}

/* --- BAŞLIKLAR (RENKLİ) --- */
.lb-header {
    padding: 12px;
    color: white;
    font-weight: 700;
    text-align: center;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Her Kutu İçin Özel Renkler */
.head-streak { background: linear-gradient(135deg, #ff9966, #ff5e62); } /* Turuncu/Kırmızı */
.head-minutes { background: linear-gradient(135deg, #56ab2f, #a8e063); } /* Yeşil */
.head-sales { background: linear-gradient(135deg, #4568dc, #b06ab3); } /* Mavi/Mor */
.head-earnings { background: linear-gradient(135deg, #fce38a, #f38181); color: #444; text-shadow:none; } /* Sarı/Pembe */

/* --- LİSTE ALANI (KAYDIRILABİLİR) --- */
.lb-list-container {
    flex: 1;
    overflow-y: auto; /* İçerik taşarsa kaydırma çubuğu çıkar */
    padding: 10px;
    background: #f8f9fa;
}

/* --- LİSTE ELEMANLARI (MİNİ VERSİYON) --- */
.lb-mini-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 8px 10px;
    margin-bottom: 8px;
    border-radius: 8px;
    font-size: 0.85rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
}

.lb-mini-rank {
    font-weight: 800;
    width: 25px;
    text-align: center;
    color: var(--primary); /* Temanın ana rengini alır */
    font-size: 1rem;
}

.lb-mini-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin: 0 10px;
    object-fit: cover;
    border: 1px solid #eee;
}

.lb-mini-info { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
}

.lb-mini-name { font-weight: 700; color: #333; }
.lb-mini-val { font-size: 0.75rem; color: #666; margin-top: 1px; }

/* Solukluk (0 Puanlılar için) */
.lb-mini-item[style*="opacity"] {
    filter: grayscale(100%);
}

/* ==================== TEMA UYUMLARI (GOLD & NEON) ==================== */

/* --- GOLD TEMA --- */
body.theme-gold .lb-box { 
    background: #1a1a1a; 
    border: 1px solid #444; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
body.theme-gold .lb-list-container { background: #111; }
body.theme-gold .lb-mini-item { 
    background: #222; 
    border: 1px solid #333; 
    color: #e0c097; 
}
body.theme-gold .lb-mini-name { color: #d4af37; }
body.theme-gold .lb-mini-val { color: #888; }
body.theme-gold .head-earnings { 
    background: linear-gradient(135deg, #d4af37, #f4e4b3); 
    color: #000; 
}


/* --- NEON TEMA --- */
body.theme-neon .lb-box { 
    background: rgba(10,17,32,0.9); 
    border: 1px solid rgba(0,243,255,0.3); 
    box-shadow: 0 0 15px rgba(0,243,255,0.1);
}
body.theme-neon .lb-list-container { background: rgba(0,0,0,0.3); }
body.theme-neon .lb-mini-item { 
    background: rgba(0,243,255,0.05); 
    border: 1px solid rgba(0,243,255,0.1); 
    color: #e0faff; 
}
body.theme-neon .lb-mini-name { 
    color: #00f3ff; 
    text-shadow: 0 0 5px rgba(0,243,255,0.5); 
}
body.theme-neon .lb-mini-val { color: #bc13fe; }
body.theme-neon .head-streak { 
    background: linear-gradient(135deg, #ff0080, #bc13fe); 
}

/* --- NAVBAR PROFİL RESMİ DÜZELTMESİ (Gerekli) --- */
.nav-item img { 
    transition: transform 0.2s ease; 
}
.nav-item.active img { 
    border-color: #fff !important; 
    transform: scale(1.1); 
    box-shadow: 0 0 10px rgba(255,255,255,0.5); 
}
/* --- NAVBAR PROFİL RESMİ DÜZELTMESİ (MİLİMETRİK HİZA) --- */
.nav-profile-img {
    width: 37px; /* 24px yerine 20px */
    height: 37px;
    border-radius: 50%;
    object-fit: cover;
    padding: 1px; /* Toplam 24px olur */
    margin-bottom: 6px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
/* Aktif olduğunda (Sayfa seçiliyken) */
.nav-item.active .nav-profile-img {
    /* Kenarlık yerine "box-shadow" kullanıyoruz. 
       Bu, resmin dışına doğru çizildiği için resmi küçültmez ve hizayı bozmaz. */
    box-shadow: 0 0 0 2px #38bdf8, 0 0 10px rgba(56, 189, 248, 0.5); 
    
    /* Diğer ikonlar gibi yukarı zıplama efekti */
    transform: translateY(-4px); 
}

/* Yazının hizasını garantiye almak için */
.nav-item span {
    line-height: 1.2; /* Diğer ikon yazılarına uyumlu satır yüksekliği */
    font-size: 0.7rem; /* Diğerleriyle aynı font boyutu */
}
/* ==================== PROFİL MODAL TASARIMI ==================== */

/* Modalın genel çerçevesi */
#user-profile-modal .modal-content {
    background: #0f0f0f; /* Resim yüklenene kadar siyah */
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden; /* Blur dışarı taşmasın */
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Arka Plan Konteynırı (Video veya Resim buraya gelecek) */
.modal-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* Blur Efekti (Kullanıcı resmi varsa) */
.modal-bg-blur {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(18px) brightness(0.6) saturate(1.2); /* Bulanıklık ve renk doygunluğu */
    transform: scale(1.15); /* Blur kenarları beyazlatmasın diye biraz büyüt */
    transition: all 0.5s ease;
}

/* Video Arka Plan (Resim yoksa) */
.modal-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6; /* Videoyu biraz karart ki yazılar okunsun */
}

/* İçerik Katmanı (Yazıların okunması için ön plan) */
.modal-content-layer {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3); /* Hafif karartma */
    backdrop-filter: blur(5px); /* Hafif buzlu cam efekti */
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Profil Resmi (Ortada ve Süzülen) */
.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
    object-fit: cover;
    margin-bottom: 15px;
    animation: floatAvatar 4s ease-in-out infinite; /* Süzülme Animasyonu */
}

@keyframes floatAvatar {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); } /* 8px yukarı çıkar */
    100% { transform: translateY(0px); }
}

/* İsim Stili */
.profile-name-shadow {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    margin-bottom: 0.5rem;
}

/* --- LİSANS ROZETLERİ --- */
.license-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* Gold / Premium Lisans (Parlak Altın) */
.license-gold {
    background: linear-gradient(135deg, #FFD700 0%, #FDB931 50%, #d4af37 100%);
    color: #3e2702;
    border: 1px solid #fff5c3;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}

/* Ücretsiz / Lisanssız (Sade) */
.license-free {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}

/* İstatistik Kutuları */
.stats-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.2s;
}
.stats-box:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}
/* Accordion Stilleri */
.drawer-section {
    border-bottom: 1px solid #334155;
}

.drawer-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #cbd5e1;
    user-select: none;
    transition: background 0.2s;
    border-top: 1px solid #334155;
    margin-top: 5px;
}

.drawer-section-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.drawer-section-header i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.drawer-section-header.expanded i {
    transform: rotate(90deg);
}

.drawer-section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    background: rgba(0, 0, 0, 0.1);
}

.drawer-section-content.expanded {
    max-height: 300px;
}

/* Drawer içindeki item'lar için düzenleme */
.drawer-section-content .drawer-item {
    padding-left: 40px;
    opacity: 0.9;
    background: rgba(0,0,0,0.1);
}

.drawer-section-content .drawer-item:hover {
    background: rgba(59, 130, 246, 0.1);
}
/* Drawer Group Tasarımı */
.drawer-group {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.group-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: rgba(255,255,255,0.02);
    transition: background 0.2s;
}

.group-header:hover {
    background: rgba(255,255,255,0.05);
}

.g-title {
    font-weight: 600;
    color: #000000;
    font-size: 0.95rem;
}

.g-arrow {
    color: #94a3b8;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* Açıkken Ok Dönsün */
.drawer-group.active .g-arrow {
    transform: rotate(180deg);
}

/* İçerik Alanı (Gizli/Açık) */
.group-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0,0,0,0.2); /* Alt menü biraz daha koyu olsun */
}

/* Alt menü itemları biraz daha içeriden başlasın */
.group-content .drawer-item {
    padding-left: 30px; 
    border-left: 3px solid transparent; 
}

.group-content .drawer-item:hover {
    border-left-color: #3b82f6;
}



/* ==================== LEGAL PAGES - MODERN TASARIM ==================== */

.legal-modern-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    color: #1e293b;
}

/* HEADER */
.legal-modern-header {
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    color: white;
    padding: 30px 25px;
    border-radius: 16px 16px 0 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.legal-modern-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

.legal-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 20px;
}

.legal-header-icon {
    font-size: 3rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.legal-header-text h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800;
}

.legal-header-meta {
    display: flex;
    gap: 15px;
    margin-top: 8px;
    font-size: 0.85rem;
    opacity: 0.9;
}

.legal-badge {
    background: rgba(255,255,255,0.15);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
}

/* BODY CONTENT */
.legal-modern-body {
    background: white;
    padding: 30px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    line-height: 1.7;
}

/* SECTIONS */
.legal-section-modern {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
}

.legal-section-modern:last-child {
    border-bottom: none;
}

.legal-section-title {
    color: #0f172a;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #3b82f6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-section-title::before {
    content: '▸';
    color: #3b82f6;
}

.legal-section-content {
    color: #475569;
    font-size: 0.95rem;
}

/* LISTS */
.legal-list-modern {
    margin: 15px 0;
    padding-left: 20px;
}

.legal-list-modern li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 10px;
}

.legal-list-modern li::before {
    content: '•';
    color: #3b82f6;
    font-weight: bold;
    position: absolute;
    left: -15px;
}

/* TABLES */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    background: #f8fafc;
    border-radius: 8px;
    overflow: hidden;
}

.legal-table th {
    background: #e2e8f0;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #0f172a;
    border-bottom: 2px solid #cbd5e1;
}

.legal-table td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

/* HIGHLIGHT BOXES */
.legal-highlight-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #0ea5e9;
    padding: 18px;
    border-radius: 8px;
    margin: 20px 0;
}

.legal-warning-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
    padding: 18px;
    border-radius: 8px;
    margin: 20px 0;
}

.legal-danger-box {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-left: 4px solid #ef4444;
    padding: 18px;
    border-radius: 8px;
    margin: 20px 0;
}

/* FOOTER */
.legal-modern-footer {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.legal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.btn-legal-primary {
    background: linear-gradient(135deg, #0f172a, #334155);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
}

.btn-legal-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.3);
}

.btn-legal-secondary {
    background: white;
    color: #334155;
    border: 2px solid #cbd5e1;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-legal-secondary:hover {
    border-color: #334155;
    background: #f8fafc;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .legal-modern-container {
        padding: 10px;
    }
    
    .legal-modern-body {
        padding: 20px 15px;
    }
    
    .legal-header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .legal-actions {
        flex-direction: column;
    }
    
    .legal-table {
        font-size: 0.85rem;
    }
    
    .legal-table th,
    .legal-table td {
        padding: 8px;
    }
}

/* --- WINTER MODU (YILBAŞI ÖZEL) --- */
#pro-splash.winter-mode {
    /* Daha buzlu, kış temalı bir gradyan */
    background: radial-gradient(circle at center, #1e3a8a 0%, #0f172a 100%) !important;
}

/* Kar Tanesi Canvas'ı */
#snow-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Tıklamayı engellemesin */
    z-index: 1; /* Logonun arkasında, arka planın önünde */
    opacity: 0.8;
}

/* Kış modunda logo parlamasını buz mavisi yapalım */
#pro-splash.winter-mode .splash-icon {
    color: #cbd5e1 !important; /* Daha beyaz/gri */
    filter: drop-shadow(0 0 20px rgba(147, 197, 253, 0.8)) !important; /* Buz mavisi glow */
}

#pro-splash.winter-mode .brand-title {
    background: linear-gradient(to right, #fff, #bfdbfe); /* Buzlu yazı */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* CANLI ARAMA LİSTESİ STİLİ */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #1e293b;
    border: 1px solid #334155;
    border-top: none;
    border-radius: 0 0 12px 12px;
    z-index: 1000;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.search-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #334155;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-item:last-child { border-bottom: none; }
.search-item:hover { background: #334155; }

.search-item img {
    width: 35px; height: 35px;
    border-radius: 50%;
    margin-right: 12px;
    border: 2px solid #475569;
    object-fit: cover;
}

.search-info { display: flex; flex-direction: column; }
.search-info strong { color: #fff; font-size: 0.9rem; font-weight: 600; }
.search-info small { color: #94a3b8; font-size: 0.75rem; }

/* Dakika Seçim Grid */
.minutes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.min-btn {
    background: #1e293b; border: 1px solid #334155; color: #94a3b8;
    padding: 10px; border-radius: 8px; cursor: pointer; font-weight: bold;
    transition: 0.2s;
}
.min-btn:hover { background: #334155; color: white; }
.min-btn.active {
    background: #3b82f6; color: white; border-color: #2563eb;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}
.min-btn.mega { color: #f472b6; border-color: #be185d; }
.min-btn.mega.active { background: #be185d; color: white; }

/* Modal Animasyonu */
@keyframes shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

/* Log Tablosu */
.log-row { border-bottom: 1px solid #334155; }
.log-row td { padding: 10px 5px; }
.log-win { color: #22c55e; font-weight: bold; }
.log-lose { color: #ef4444; font-weight: bold; }

/* --- PROFİL & SEKME STİLLERİ --- */
.tab-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 12px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.tab-btn.active {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    border-color: #3b82f6;
}

/* --- MODERN TIMELINE TASARIMI --- */
.timeline-container { position: relative; padding: 10px 0; }
.timeline-item { display: flex; gap: 15px; margin-bottom: 25px; position: relative; opacity: 0; animation: slideIn 0.5s forwards; }
.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
@keyframes slideIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Çizgi */
.timeline-item::before {
    content: ''; position: absolute; left: 24px; top: 50px; bottom: -30px; width: 2px;
    background: linear-gradient(to bottom, #334155 0%, rgba(51, 65, 85, 0) 100%); z-index: 0;
}
.timeline-item:last-child::before { display: none; }

/* İkon */
.timeline-icon {
    width: 50px; height: 50px; border-radius: 16px; background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; z-index: 1; flex-shrink: 0; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); transition: transform 0.3s;
}
.timeline-item:hover .timeline-icon { transform: scale(1.1) rotate(5deg); }

/* İçerik */
.timeline-content {
    background: linear-gradient(145deg, #1e293b, #0f172a); padding: 15px; border-radius: 12px; flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.05); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); position: relative;
}
.timeline-content::after {
    content: ''; position: absolute; left: -6px; top: 20px; width: 12px; height: 12px;
    background: #1e293b; transform: rotate(45deg); border-left: 1px solid rgba(255, 255, 255, 0.05); border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.timeline-date { font-size: 0.75rem; color: #64748b; display: block; margin-bottom: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.timeline-title { font-size: 1rem; font-weight: bold; color: #fff; margin-bottom: 2px; }
.timeline-desc { font-size: 0.9rem; color: #cbd5e1; line-height: 1.4; }

/* --- SEKSİ ROZET GRID --- */
.sexy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sexy-badge-card {
    background: linear-gradient(145deg, #1e293b, #0f172a); border: 1px solid #334155; border-radius: 12px;
    padding: 15px 5px; text-align: center; position: relative; overflow: hidden; transition: all 0.3s;
}
.sexy-badge-card.unlocked { border-color: #f59e0b; box-shadow: 0 4px 15px rgba(245, 158, 11, 0.15); }
.sexy-badge-card.unlocked::after {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(to bottom right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(45deg); animation: shine 3s infinite;
}
.sexy-badge-icon { font-size: 2.5rem; display: block; margin-bottom: 8px; }
.sexy-badge-card.locked .sexy-badge-icon { filter: grayscale(100%) opacity(0.3); }
.sexy-badge-name { font-size: 0.75rem; font-weight: bold; color: #fff; }
.sexy-badge-status { font-size: 0.6rem; margin-top: 5px; color: #64748b; text-transform: uppercase; letter-spacing: 1px; }
.sexy-badge-card.unlocked .sexy-badge-status { color: #22c55e; }
.filter-btn { background: #1e293b; color: #94a3b8; border: 1px solid #334155; padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; cursor: pointer; white-space: nowrap; }
.filter-btn.active { background: #f59e0b; color: #000; border-color: #f59e0b; font-weight: bold; }
@keyframes shine { 0% { transform:translate(-100%, -100%) rotate(45deg); } 100% { transform:translate(100%, 100%) rotate(45deg); } }