/* ADUT VIP Premium Dark UI Stylesheet */
:root {
    --bg-main: #0b0d14;
    --bg-surface: #121622;
    --bg-card: #181d2d;
    --bg-elevated: #22283e;
    --accent-red: #e11d48;
    --accent-red-glow: rgba(225, 29, 72, 0.4);
    --accent-purple: #9333ea;
    --accent-purple-glow: rgba(147, 51, 234, 0.4);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(255, 255, 255, 0.08);
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
}

/* Glassmorphic cards */
.glass-panel {
    background: rgba(24, 29, 45, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
}

.glass-nav {
    background: rgba(11, 13, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

/* Glow effects */
.glow-crimson {
    box-shadow: 0 0 25px var(--accent-red-glow);
}

.glow-purple {
    box-shadow: 0 0 25px var(--accent-purple-glow);
}

.glow-hover:hover {
    box-shadow: 0 8px 30px rgba(225, 29, 72, 0.35);
}

/* Video Card Thumbnail */
.video-card {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
}

.video-card:hover {
    transform: translateY(-4px);
}

.video-thumb-container {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    border-radius: 0.75rem;
}

.video-thumb-container img {
    transition: transform 0.4s ease;
}

.video-card:hover .video-thumb-container img {
    transform: scale(1.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #0b0d14;
}

::-webkit-scrollbar-thumb {
    background: #272f45;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e11d48;
}

/* Shorts Vertical Reel Frame */
.shorts-container {
    height: calc(100vh - 4rem);
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

.short-slide {
    height: calc(100vh - 4rem);
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* Custom Video Player Controls Overlay */
.player-overlay-ad {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
}

.toast-msg {
    animation: toastSlideIn 0.3s ease-out forwards;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
