/* ================= ASOSIY RANGLAR VA SHRIFTLAR ================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&display=swap');
:root { --primary: #38bdf8; --bg-dark: #020617; --sidebar-dark: rgba(15, 23, 42, 0.85); }

body { font-family: 'Inter', sans-serif; overflow: hidden; transition: all 0.3s; }

/* Matndan nusxa olishni to'liq taqiqlash */
body { 
    font-family: 'Inter', sans-serif; overflow: hidden; transition: all 0.3s; 
    -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; 
}
/* Faqat yozish joylarida ruxsat berish */
input, textarea, select { -webkit-user-select: auto; user-select: auto; }

/* Saytni PDF qilib yoki qog'ozga saqlashni bloklash */
@media print { body { display: none !important; } }
/* Kun/Tun rejimi */
body.dark-mode { background-color: #000000; color: #ffffff; background-image: linear-gradient(rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.98)), url('../rasmlar/fon.png'); background-size: cover; background-position: center; }
body.light-mode { background-color: #f1f5f9; color: #0f172a; background-image: none; }

/* Shishasimon effektlar (Glassmorphism) - Pastdagi LIQUID uslublariga o'tkazildi */

/* Sidebar (Menyu) */
.sidebar { backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: all 0.3s; }
body.dark-mode .sidebar { background-color: var(--sidebar-dark); border-right: 1px solid rgba(255,255,255,0.05); }
body.light-mode .sidebar { background-color: #ffffff; border-right: 1px solid #e2e8f0; }

.menu-item { border-left: 3px solid transparent; transition: all 0.2s; cursor: pointer; }
body.dark-mode .menu-item.active { border-left-color: var(--primary); background: rgba(56, 189, 248, 0.1); color: var(--primary); }
body.light-mode .menu-item.active { border-left-color: var(--primary); background: #e0f2fe; color: #0284c7; }
body.dark-mode .menu-item:hover:not(.active) { background: rgba(255,255,255,0.05); }
body.light-mode .menu-item:hover:not(.active) { background: #f8fafc; }

/* Inputlar va Tugmalar */
body.dark-mode input, body.dark-mode select, body.dark-mode textarea { background: rgba(15,23,42,0.6); border: 1px solid #334155; color: white; }
body.light-mode input, body.light-mode select, body.light-mode textarea { background: #f8fafc; border: 1px solid #cbd5e1; color: #0f172a; }
.btn-hover { transition: all 0.3s ease; }
.btn-hover:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(56, 189, 248, 0.2); }

/* ================= PREMIUM SCROLLBAR (Aylantirgich) ================= */
::-webkit-scrollbar { 
    width: 4px; /* Juda ingichka va nafis */
    height: 4px; 
}
::-webkit-scrollbar-track { 
    background: transparent; 
    margin: 25px 0; /* SIR: Tepadan va pastdan uzilib, ramkadan toshib ketmasligini ta'minlaydi! */
}
::-webkit-scrollbar-thumb { 
    background: rgba(56, 189, 248, 0.3); /* Yarim shaffof (ko'zga tashlanmaydigan) ko'k */
    border-radius: 10px; 
}
::-webkit-scrollbar-thumb:hover { 
    background: rgba(56, 189, 248, 0.8); /* Ustiga sichqoncha borganda yorqinlashadi */
}

/* Switch (Kun/Tun) */
.theme-switch { position: relative; display: inline-block; width: 50px; height: 26px; }
.theme-switch input { opacity: 0; width: 0; height: 0; }
.theme-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #334155; transition: .4s; border-radius: 30px; display: flex; align-items: center; justify-content: space-between; padding: 0 4px; font-size: 12px; }
.theme-slider::before { position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; z-index: 2; }
input:checked + .theme-slider { background-color: #38bdf8; }
input:checked + .theme-slider::before { transform: translateX(24px); }

/* Alertlar va X tugma animatsiyasi */
.swal2-popup-custom { background: rgba(15, 23, 42, 0.95) !important; backdrop-filter: blur(20px) !important; border-radius: 1.5rem !important; border: 1px solid rgba(255,255,255,0.1) !important; color: #fff !important; }
body.light-mode .swal2-popup-custom { background: #ffffff !important; border: none !important; color: #0f172a !important; }

.swal2-close { border: none !important; outline: none !important; box-shadow: none !important; background: transparent !important; transition: all 0.3s ease !important; }
.swal2-close:hover { color: #f43f5e !important; transform: scale(1.2) rotate(90deg) !important; background: transparent !important; }
.swal2-close:focus { box-shadow: none !important; outline: none !important;}

/* Mobil qurilmalar uchun moslashuvchanlik (Responsive) */
@media (max-width: 768px) {
    body { overflow-y: auto !important; height: auto !important; padding-bottom: 80px !important; }
    #main-dashboard { flex-direction: column !important; overflow: visible !important; }
    
    /* Sidebar mobil rejimda pastki panelga aylanadi */
    .sidebar { 
        position: fixed !important; bottom: 0 !important; left: 0 !important; 
        width: 100% !important; height: auto !important; 
        flex-direction: row !important; border-right: none !important; 
        border-top: 1px solid rgba(255,255,255,0.1) !important;
        padding: 5px 0 !important; z-index: 1000 !important;
        background: rgba(15, 23, 42, 0.98) !important;
    }
    
    .sidebar > div:first-child { width: 100%; }
    .sidebar .h-16 { display: none !important; } /* Logotip mobil menyuda yashiriladi */
    .sidebar div.flex-row { 
        justify-content: space-around !important; 
        width: 100% !important; margin-top: 0 !important; padding: 0 !important;
    }
    
    .menu-item { 
        flex-direction: column !important; gap: 4px !important; 
        padding: 8px !important; font-size: 10px !important; 
        border-left: none !important; border-bottom: 3px solid transparent;
    }
    .menu-item.active { border-left: none !important; border-bottom-color: var(--primary) !important; }
    .menu-item span:last-child { display: block !important; } /* Matnlarni ko'rsatish */

    /* Mobil rejimda Sozlamalar va Bot tugmalarini yuqoriga - Headerga o'tkazamiz */
    .sidebar .px-3.mb-6 { display: none !important; } 
    
    .top-header { padding: 0 15px !important; }
    #header-username { max-width: 80px !important; }
    /* Gorizontal Swipe uchun Scrollbarni yashirish */
    .hide-scrollbar::-webkit-scrollbar { display: none; }
    .hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
}

/* Yo'nalish tanlash tugmalari uchun qizil jimirlash animatsiyasi (O'z holida qoldi) */
@keyframes red-pulse-glow {
    0%, 100% { border-color: rgba(251, 113, 133, 0.4); box-shadow: 0 0 5px rgba(251, 113, 133, 0.1); }
    50% { border-color: rgba(251, 113, 133, 0.8); box-shadow: 0 0 15px rgba(251, 113, 133, 0.4); }
}

.major-btn {
    position: relative; /* SIR: Ichki fon o'sishi uchun asos */
    animation: red-pulse-glow 2s infinite ease-in-out;
    border-radius: 9999px; /* To'liq oval */
    overflow: hidden; /* SIR: Yashil fon bu ovaldan tashqariga toshib ketmasligi uchun! (Bu to'rtburchak yutishni to'xtatadi) */
    transition: all 0.3s ease;
    z-index: 1; /* Tugma o'zi ustun turishi uchun */
}

/* YASHIRIN YASHIL FON (Pufakcha) - :after orqali */
.major-btn:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0); /* Odatiy holatda yashirin (scale 0) */
    width: 200%; /* SIR: Tugmadan bir oz kattaroq oval fon (burchaklarni silliqroq to'ldirish uchun) */
    height: 200%;
    background-color: rgba(16, 185, 129, 0.3); /* So'rilish effekti uchun och yashil */
    border-radius: 9999px; /* SIR: Fon ham oval shaklda o'sishi shart! */
    transition: transform 0.4s ease-out, opacity 0.4s ease-out; /* Silliq so'rilish animatsiyasi */
    z-index: 0; /* Yozuv orqasida turishi uchun */
    opacity: 0;
}

/* Tugmaning yozuvi (span) */
.major-btn span {
    position: relative;
    z-index: 1; /* Yozuv yashil fondan ustun turishi kerak */
    color: inherit;
}

/* Qo'l tekkanda (Active/Press) - Yashilga aylanadi va so'rilish boshlanadi */
/* Bu swipe va bosish vaqtida ishlashi uchun ikkala qoida birlashtirildi */
input:active + .major-btn:after, .major-btn:active:after {
    transform: translate(-50%, -50%) scale(1); /* Pufakcha tugmani to'liq yutadi (scale 1) */
    opacity: 1;
}
input:active + .major-btn {
    animation: none; 
    border-color: #10b981 !important;
}
input:active + .major-btn span {
    color: #10b981 !important;
}

/* Tanlab bo'lingandan keyin (Checked) - Yashil bo'lib qotadi */
input:checked + .major-btn:after {
    transform: translate(-50%, -50%) scale(1); /* Pufakcha scale(1) da qotadi */
    opacity: 1;
}
input:checked + .major-btn {
    animation: none;
    border-color: #10b981 !important;
    background-color: rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}
input:checked + .major-btn span {
    color: #10b981 !important;
}
/* ================= UMUMIY 3D VA SHISHA EFFEKTLAR (LIQUID GLASSMORPHISM) ================= */
.minimal-scroll::-webkit-scrollbar { width: 4px; }
.minimal-scroll::-webkit-scrollbar-track { background: transparent; }
.minimal-scroll::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 10px; }
.minimal-scroll::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.4); }

.premium-scrollbar::-webkit-scrollbar { width: 6px; height: 6px; }
.premium-scrollbar::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 10px; }
.premium-scrollbar::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 10px; box-shadow: 0 0 10px rgba(255,255,255,0.1); }

/* BARCHA BURCHAKLARNI YUMSHATISH (Suyuqlik/Liquid effekti uchun) */
.rounded-sm, .rounded, .rounded-md, .rounded-lg, .rounded-xl, .rounded-2xl, .rounded-3xl {
    border-radius: 1.5rem !important;
}

/* 1. PANELS: EXTREME 3D DEEP GLASS */
.glass-panel { 
    position: relative;
    background: linear-gradient(135deg, rgba(2, 28, 14, 0.85) 0%, rgba(0, 10, 4, 0.95) 100%);
    backdrop-filter: blur(40px) saturate(200%); 
    -webkit-backdrop-filter: blur(40px) saturate(200%); 
    border-top: 1px solid rgba(16, 185, 129, 0.25); 
    border-left: 1px solid rgba(16, 185, 129, 0.15); 
    border-right: 1px solid rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 1);
    border-radius: 1.5rem !important; 
    box-shadow: inset 1px 1px 2px rgba(16, 185, 129, 0.3), inset -2px -2px 10px rgba(0, 0, 0, 0.8), 0 25px 45px -10px rgba(0, 0, 0, 0.9); 
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}
/* Shimmer Reflection for panels */
.glass-panel::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(to right, rgba(16,185,129,0) 0%, rgba(16,185,129,0.1) 50%, rgba(16,185,129,0) 100%);
    transform: rotate(30deg) translateY(-100%);
    transition: all 0.8s ease;
    pointer-events: none;
}
.glass-panel:hover::before { transform: rotate(30deg) translateY(100%); }
.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: inset 1px 1px 5px rgba(255, 255, 255, 0.4), inset -2px -2px 15px rgba(0, 0, 0, 0.9), 0 35px 65px -15px rgba(0, 0, 0, 1); 
}

/* 2. BUTTONS: TOUCHABLE LIQUID 3D */
.btn-3d { 
    position: relative;
    background: linear-gradient(135deg, rgba(4, 45, 22, 0.85) 0%, rgba(0, 15, 6, 0.95) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-top: 1px solid rgba(255, 255, 255, 0.25); 
    border-left: 1px solid rgba(255, 255, 255, 0.15); 
    border-right: 1px solid rgba(0, 0, 0, 0.8);
    border-bottom: 2px solid rgba(0, 0, 0, 1);
    border-radius: 1.5rem !important; 
    box-shadow: inset 2px 2px 5px rgba(255,255,255,0.2), inset -3px -3px 8px rgba(0,0,0,0.8), 0 12px 24px rgba(0,0,0,0.8); 
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); 
    color: #ffffff;
    overflow: hidden;
}
.btn-3d::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-25deg);
    transition: all 0.5s ease;
}
.btn-3d:hover::before { left: 150%; }
.btn-3d:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
    box-shadow: inset 2px 2px 8px rgba(255,255,255,0.3), inset -3px -3px 10px rgba(0,0,0,0.9), 0 18px 30px rgba(0,0,0,0.9); 
}
.btn-3d:active { 
    transform: translateY(5px); 
    border-top: 1px solid rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 3px 3px 12px rgba(0,0,0,0.9), inset -2px -2px 5px rgba(255,255,255,0.1), 0 2px 5px rgba(0,0,0,0.5); 
}

/* RED BUTTONS */
.btn-3d-red { 
    position: relative;
    background: linear-gradient(135deg, rgba(40, 10, 10, 0.85) 0%, rgba(20, 0, 0, 0.95) 100%);
    backdrop-filter: blur(30px);
    border-top: 1px solid rgba(16, 185, 129, 0.25); 
    border-left: 1px solid rgba(16, 185, 129, 0.15); 
    border-right: 1px solid rgba(0, 0, 0, 0.8);
    border-bottom: 2px solid rgba(0, 0, 0, 1);
    border-radius: 1.5rem !important; 
    color: #ffb3b3; 
    box-shadow: inset 2px 2px 5px rgba(255,255,255,0.15), inset -3px -3px 8px rgba(0,0,0,0.8), 0 12px 24px rgba(0,0,0,0.8); 
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); 
    overflow: hidden;
}
.btn-3d-red::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(239,68,68,0.3), transparent);
    transform: skewX(-25deg);
    transition: all 0.5s ease;
}
.btn-3d-red:hover::before { left: 150%; }
.btn-3d-red:hover { 
    color: #ffffff; 
    background: linear-gradient(135deg, rgba(60, 15, 15, 0.9) 0%, rgba(30, 0, 0, 0.95) 100%);
    box-shadow: inset 2px 2px 8px rgba(255,255,255,0.25), inset -3px -3px 10px rgba(0,0,0,0.9), 0 18px 30px rgba(239,68,68,0.4); 
    transform: translateY(-3px);
}
.btn-3d-red:active { 
    transform: translateY(5px); 
    border-top: 1px solid rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 3px 3px 12px rgba(0,0,0,0.9), inset -2px -2px 5px rgba(239,68,68,0.2), 0 2px 5px rgba(0,0,0,0.5); 
}

/* 3. INPUTS: DEEP CARVED GLASS */
.input-3d { 
    background: rgba(10, 10, 10, 0.8); 
    backdrop-filter: blur(30px);
    border-top: 2px solid rgba(0, 0, 0, 0.9); 
    border-left: 2px solid rgba(0, 0, 0, 0.8);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); 
    border-radius: 1.5rem !important; 
    box-shadow: inset 4px 4px 12px rgba(0, 0, 0, 0.9), inset -2px -2px 8px rgba(255, 255, 255, 0.05); 
    transition: all 0.4s ease; 
    color: #ffffff;
}
.input-3d:focus { 
    background: rgba(0, 0, 0, 0.95); 
    border-bottom: 2px solid rgba(56, 189, 248, 0.6);
    border-right: 2px solid rgba(56, 189, 248, 0.4);
    box-shadow: inset 2px 2px 6px rgba(0, 0, 0, 0.9), inset -2px -2px 8px rgba(255, 255, 255, 0.1), 0 0 25px rgba(56,189,248,0.3);
    outline: none;
}

.fade-up { animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

@keyframes shine { to { background-position: 200% center; } }
.animate-shine { background-size: 200% auto; animation: shine 3s linear infinite; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.animate-float { animation: float 4s ease-in-out infinite; }

@keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 15px rgba(255,255,255,0.05); } 50% { box-shadow: 0 0 30px rgba(255,255,255,0.1); } }
.animate-glow { animation: pulse-glow 3s infinite; }\n/* INLINE CSS MERGED */\n
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&display=swap');

        body { font-family: 'Inter', sans-serif; background-color: #05100a; color: #f4f4f5; -webkit-touch-callout: none; user-select: none; }
        input, select, textarea { -webkit-user-select: auto !important; user-select: auto !important; }
        
        .minimal-scroll::-webkit-scrollbar { width: 4px; }
        .minimal-scroll::-webkit-scrollbar-track { background: transparent; }
        .minimal-scroll::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 8px; }
        .minimal-scroll::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.4); }

        /* Shaffof Panel -> 3D Liquid Glass */
        .glass-panel {
            background: linear-gradient(135deg, rgba(2, 28, 14, 0.80) 0%, rgba(0, 10, 4, 0.95) 100%);
            backdrop-filter: blur(25px);
            -webkit-backdrop-filter: blur(25px);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-top: 1px solid rgba(255, 255, 255, 0.15);
            border-left: 1px solid rgba(16, 185, 129, 0.15);
            border-radius: 28px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.8);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* 3D Tugmalar */
        .btn-3d {
            background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(0,0,0,0.3));
            border-top: 1px solid rgba(255, 255, 255, 0.15);
            border-left: 1px solid rgba(16, 185, 129, 0.15);
            border-bottom: 1px solid rgba(0, 0, 0, 0.6);
            border-right: 1px solid rgba(0, 0, 0, 0.6);
            box-shadow: 2px 4px 10px rgba(0,0,0,0.4), inset 1px 1px 2px rgba(255,255,255,0.1);
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            border-radius: 16px;
        }
        .btn-3d:active { transform: translateY(2px) scale(0.98); box-shadow: 1px 2px 5px rgba(0,0,0,0.3), inset 2px 2px 5px rgba(255,255,255,0.1); }
        
        .btn-3d-red {
            background: linear-gradient(145deg, rgba(239, 68, 68, 0.15), rgba(153, 27, 27, 0.4));
            border-top: 1px solid rgba(239, 68, 68, 0.4);
            border-left: 1px solid rgba(239, 68, 68, 0.2);
            border-bottom: 1px solid rgba(69, 10, 10, 0.8);
            border-right: 1px solid rgba(69, 10, 10, 0.8);
            color: #f87171;
            box-shadow: 2px 4px 10px rgba(0,0,0,0.4), inset 1px 1px 2px rgba(239, 68, 68, 0.2);
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            border-radius: 16px;
        }
        .btn-3d-red:active { transform: translateY(2px) scale(0.98); box-shadow: 1px 2px 5px rgba(0,0,0,0.3), inset 2px 2px 5px rgba(69, 10, 10, 0.5); }

        .input-3d {
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.05);
            box-shadow: inset 2px 2px 8px rgba(0, 0, 0, 0.8), inset -1px -1px 4px rgba(255, 255, 255, 0.02);
            transition: border-color 0.3s ease;
        }
        .input-3d:focus { border-color: rgba(255, 255, 255, 0.2); }

        .fade-up { animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
        @keyframes fadeUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
        
        .menu-item.active { background: rgba(255,255,255,0.05); color: #fff !important; border: 1px solid rgba(255,255,255,0.1); box-shadow: inset 0 0 10px rgba(255,255,255,0.02); }
    \n\n/* SWAL OVERFLOW FIX */\nbody.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) { overflow: auto !important; }\n\n@keyframes intro-logo { 0% { transform: scale(0.5); opacity: 0; } 50% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }\n@keyframes intro-text { 0% { width: 0; opacity: 0; } 100% { width: 100%; opacity: 1; } }\n@keyframes intro-progress { 0% { width: 0; } 100% { width: 100%; } }\n.animate-intro-logo { animation: intro-logo 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }\n.animate-intro-text { animation: intro-text 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards; }\n.animate-intro-progress { animation: intro-progress 2.5s ease-in-out 0.5s forwards; }\n

/* HOLLYWOOD INTRO ANIMATIONS */
@keyframes cinematic-text {
    0% { letter-spacing: 2em; filter: blur(20px); transform: scale(1.5); opacity: 0; }
    40% { letter-spacing: 0.8em; filter: blur(5px); transform: scale(1.1); opacity: 0.8; }
    80% { letter-spacing: 0.3em; filter: blur(0); transform: scale(1); opacity: 1; }
    100% { letter-spacing: 0.3em; filter: blur(0); transform: scale(1); opacity: 1; text-shadow: 0 0 20px rgba(16,185,129,0.8), 0 0 40px rgba(20,184,166,0.5); }
}

@keyframes light-sweep {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes energy-bar {
    0% { width: 0; opacity: 0; box-shadow: 0 0 0 rgba(16,185,129,0); }
    50% { width: 100%; opacity: 1; box-shadow: 0 0 15px rgba(16,185,129,0.8); }
    100% { width: 100%; opacity: 0; box-shadow: 0 0 0 rgba(16,185,129,0); }
}

@keyframes logo-pulse-cinema {
    0% { transform: scale(0.8) translateY(20px); opacity: 0; filter: brightness(0.5); }
    40% { transform: scale(1.1) translateY(0); opacity: 1; filter: brightness(1.5); }
    100% { transform: scale(1) translateY(0); opacity: 1; filter: brightness(1); }
}

.animate-cinema-text {
    animation: cinematic-text 2s cubic-bezier(0.1, 1, 0.2, 1) forwards;
}

.light-sweep-effect::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    transform: skewX(-20deg);
    animation: light-sweep 3s ease-in-out infinite;
    z-index: 10;
}

.animate-energy-bar {
    animation: energy-bar 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-logo-cinema {
    animation: logo-pulse-cinema 2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* ============================================================ */
/* 🔍 QIDIRUVDA TOPILGAN ELEMENT — yashil glassmorphism highlight */
/* ============================================================ */
.search-highlight {
    border-radius: 2rem !important;
    background: rgba(60, 220, 120, 0.12) !important;
    -webkit-backdrop-filter: blur(4px) saturate(1.25);
            backdrop-filter: blur(4px) saturate(1.25);
    outline: none !important;
    position: relative;
    z-index: 5;
    animation: search-pulse 1.2s ease-in-out infinite;
}
@keyframes search-pulse {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(60, 220, 120, 0.55),
                    0 0 42px rgba(60, 220, 120, 0.40),
                    inset 0 0 24px rgba(60, 220, 120, 0.12);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(60, 220, 120, 0.85),
                    0 0 72px rgba(60, 220, 120, 0.70),
                    inset 0 0 36px rgba(60, 220, 120, 0.22);
    }
}
