/* BASE STYLES */
body { background-color: #000; color: #e5e5e5; -webkit-tap-highlight-color: transparent; overflow-x: hidden; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #121212; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #ff5a00; }
.hide-scroll::-webkit-scrollbar { display: none; }

/* HEADER */
.glass-header { background: rgba(0, 0, 0, 0.95); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-link { position: relative; color: #aaa; transition: 0.3s; font-weight: 700; cursor: pointer; font-size: 0.9rem; letter-spacing: 0.5px; }
.nav-link:hover { color: #fff; }
.nav-link.active { color: #ff5a00; }
.nav-link.active::after { content: ''; position: absolute; bottom: -23px; left: 0; right: 0; height: 3px; background: #ff5a00; box-shadow: 0 -5px 10px rgba(255,90,0,0.5); }

/* CAROUSEL */
.carousel-track { display: flex; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); height: 100%; width: 100%; }
.carousel-slide { min-width: 100%; height: 100%; flex-shrink: 0; position: relative; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.2); cursor: pointer; transition: all 0.3s; }
.slider-dot.active { background: #ff5a00; width: 24px; border-radius: 10px; }

/* ARROWS */
.slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 56px; height: 56px;
    background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%; color: white;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 50; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: #ff5a00; color: black; border-color: #ff5a00; scale: 1.1; }
.slider-arrow.left { left: 24px; }
.slider-arrow.right { right: 24px; }

/* TRAILER MODAL */
#trailer-modal { transition: opacity 0.3s ease, visibility 0.3s ease; }
#trailer-modal.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#trailer-modal.flex { opacity: 1; visibility: visible; pointer-events: auto; }

/* COMPONENTS */
.badge-ep { background: #fff; color: #000; position: absolute; top: 8px; left: 8px; font-weight: 900; font-size: 10px; padding: 3px 6px; border-radius: 4px; z-index: 20; box-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.rank-number { font-size: 40px; font-weight: 900; -webkit-text-stroke: 2px #333; color: transparent; line-height: 1; font-style: italic; }
.rank-number.top-3 { -webkit-text-stroke: 2px #ff5a00; color: rgba(255, 90, 0, 0.05); }

/* BUTTONS */
.server-btn { 
    background: #2a2a2a; color: #999; padding: 8px 16px; 
    border-radius: 8px; font-weight: 700; font-size: 13px; 
    transition: all 0.2s; border: 1px solid transparent; display: flex; align-items: center; gap: 8px; cursor: pointer;
}
.server-btn:hover { color: white; background: #333; }
.server-btn.active { background: #ff5a00; color: black; border-color: #ff5a00; }

.download-btn {
    background: #fff; color: #000; padding: 8px 20px; border-radius: 8px;
    font-weight: 800; font-size: 13px; display: flex; align-items: center; gap: 8px;
    transition: all 0.2s; cursor: pointer; text-decoration: none;
}
.download-btn:hover { background: #e0e0e0; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255,255,255,0.2); }

/* ANIMATION FOR WATCHLIST CLICK */
@keyframes icon-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}
.icon-animate { animation: icon-pop 0.3s ease; }