/**
 * main.css - Header styles
 * SURGAFILM21
 */

/* ========== ROOT VARIABLES ========== */
:root {
    --iq-bg: #0b0c0f; 
    --iq-green: #00ff7f; 
    --iq-surface: #1a1b22;
}

/* ========== BASE STYLES ========== */
body { 
    background-color: var(--iq-bg) !important; 
    color: #f4f4f5 !important; 
    overflow-x: hidden; 
    font-family: 'Inter', sans-serif; 
}

/* ========== PREMIUM HEADER EFFECTS ========== */
.header-premium {
    position: fixed; 
    top: 0; 
    width: 100%; 
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, transparent 100%) !important;
    transition: all 0.4s ease;
}

.header-scrolled {
    background-color: rgba(11, 12, 15, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* ========== DROPDOWN STYLING ========== */
.dropdown-menu-custom { 
    background-color: var(--iq-surface) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(10px); 
    transition: all 0.2s ease; 
}

.group:hover .dropdown-menu-custom { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
}

/* ========== CUSTOM SCROLLBAR ========== */
::-webkit-scrollbar { 
    width: 6px; 
}
::-webkit-scrollbar-track { 
    background: #0d0d0d; 
}
::-webkit-scrollbar-thumb { 
    background: var(--iq-green); 
    border-radius: 10px; 
}

/* ========== SEARCH INPUT ========== */
.search-premium {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

.search-premium:focus {
    outline: none;
    border-color: var(--iq-green) !important;
}

/* ========== MOBILE SIDEBAR ========== */
#mobile-sidebar {
    background-color: #111217;
}

#mobile-sidebar .custom-scrollbar {
    scrollbar-width: thin;
}

/* ========== AJAX SEARCH RESULTS ========== */
#searchResult, #mobileSearchResult {
    background-color: #1a1b22;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-result-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}
/**
 * main.css - Tambahan untuk footer dan floating controls
 */

/* ========== FOOTER ========== */
.site-footer {
    background-color: #0b0c0f;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 3rem;
    padding-bottom: 2rem;
    margin-top: 3rem;
}

/* ========== FLOATING CONTROLS ========== */
#floating-controls {
    position: fixed;
    bottom: 6rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(26, 27, 34, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 3rem;
    padding: 0.75rem 0;
    border-radius: 9999px;
    box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.4);
    z-index: 99;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem);
}

#floating-controls.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (min-width: 768px) {
    #floating-controls {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* ========== TELEGRAM FLOAT BUTTON ========== */
.float-telegram { 
    position: fixed; 
    width: 60px; 
    height: 60px; 
    bottom: 150px; 
    right: 20px; 
    background-color: #0088cc; 
    border-radius: 50px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 9999; 
    box-shadow: 2px 2px 12px rgba(0,0,0,0.4); 
}

.float-telegram::before { 
    content: ""; 
    position: absolute; 
    width: 100%; 
    height: 100%; 
    border-radius: 50%; 
    background-color: #0088cc; 
    opacity: 0.7; 
    z-index: -1; 
    animation: pulse-telegram 2s infinite; 
}

@keyframes pulse-telegram { 
    0% { transform: scale(1); opacity: 0.7; } 
    100% { transform: scale(1.6); opacity: 0; } 
}

/* Desktop (layar > 768px) */
@media screen and (min-width: 769px) { 
    .float-telegram { 
        width: 60px; 
        height: 60px; 
        bottom: 150px; 
        right: 20px; 
    }
}

/* Mobile (layar ≤ 768px) */
@media screen and (max-width: 768px) { 
    .float-telegram { 
        width: 50px; 
        height: 50px; 
        bottom: 280px; 
        right: 15px; 
    }
}

/* Untuk layar yang sangat kecil (≤ 480px) */
@media screen and (max-width: 480px) { 
    .float-telegram { 
        bottom: 225px; 
        right: 22px;
    }
}