/* ========================================
   PROFESSIONAL REEL PLAYER STYLES
   Modern, Stylish & Performance Optimized
   ======================================== */

/* ============ CSS VARIABLES ============ */
:root {
    /* Brand Colors */
    --gold-primary: #FFD700;
    --gold-secondary: #FFA500;
    --gold-dark: #DAA520;
    
    /* Gradients */
    --cta-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    --glass-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    --overlay-gradient: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.9) 100%);
    
    /* Glass Morphism */
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(12px);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(255, 215, 0, 0.5);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Z-Index Scale */
    --z-video: 1;
    --z-thumbnail: 2;
    --z-play-button: 10;
    --z-ui-layer: 20;
    --z-cta: 30;
}

/* ============ BASE RESET ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: #000;
    color: #fff;
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100vh;
    overscroll-behavior: none;
}

/* ============ REELS CONTAINER ============ */
.reels-list {
    height: 100vh;
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    will-change: scroll-position;
    position: relative;
}

.reels-list::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* ============ REEL CARD ============ */
.reel-card {
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    overflow: hidden;
    isolation: isolate;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Special Decorative Frame Container */
.reel-card::before {
    content: '';
    position: absolute;
    inset: 20px;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 24px;
    background: linear-gradient(#0a0a0a, #0a0a0a) padding-box,
                linear-gradient(135deg, 
                    var(--gold-primary) 0%,
                    #FF6B6B 25%,
                    #4ECDC4 50%,
                    #A78BFA 75%,
                    var(--gold-primary) 100%) border-box;
    z-index: 1;
    pointer-events: none;
    box-shadow: 
        inset 0 0 40px rgba(255, 215, 0, 0.1),
        0 0 60px rgba(255, 215, 0, 0.15);
    animation: frame-glow 4s ease-in-out infinite;
}

/* Animated Corner Accents */
.reel-card::after {
    content: '';
    position: absolute;
    inset: 20px;
    border-radius: 24px;
    background: transparent;
    z-index: 2;
    pointer-events: none;
    box-shadow: 
        inset 0 0 80px rgba(255, 215, 0, 0.05),
        inset 20px 20px 40px rgba(255, 107, 107, 0.02),
        inset -20px -20px 40px rgba(78, 205, 196, 0.02);
}

@keyframes frame-glow {
    0%, 100% {
        filter: brightness(1) saturate(1);
        box-shadow: 
            inset 0 0 40px rgba(255, 215, 0, 0.1),
            0 0 60px rgba(255, 215, 0, 0.15);
    }
    25% {
        filter: brightness(1.1) saturate(1.2);
        box-shadow: 
            inset 0 0 50px rgba(255, 107, 107, 0.15),
            0 0 70px rgba(255, 107, 107, 0.2);
    }
    50% {
        filter: brightness(1.05) saturate(1.1);
        box-shadow: 
            inset 0 0 50px rgba(78, 205, 196, 0.15),
            0 0 70px rgba(78, 205, 196, 0.2);
    }
    75% {
        filter: brightness(1.1) saturate(1.2);
        box-shadow: 
            inset 0 0 50px rgba(167, 139, 250, 0.15),
            0 0 70px rgba(167, 139, 250, 0.2);
    }
}

/* ============ VIDEO AREA ============ */
.video-wrapper {
    position: absolute;
    inset: 30px;
    width: calc(100% - 60px);
    height: calc(100% - 60px);
    z-index: var(--z-video);
    background: #000;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: auto;
    border-radius: 20px;
}

/* Thumbnail Facade */
.thumb-facade {
    position: absolute;
    inset: 30px;
    width: calc(100% - 60px);
    height: calc(100% - 60px);
    object-fit: cover;
    z-index: var(--z-thumbnail);
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    transition: opacity var(--transition-smooth);
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.thumb-facade.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Content Overlay for Better UI Visibility */
.content-overlay {
    position: absolute;
    inset: 30px;
    background: var(--overlay-gradient);
    z-index: 5;
    pointer-events: none;
    opacity: 0.85;
    border-radius: 20px;
}

/* ============ UI LAYER ============ */
.ui-layer {
    position: absolute;
    inset: 0;
    z-index: var(--z-ui-layer);
    pointer-events: none;
}

.ui-layer * {
    pointer-events: auto;
}

/* ============ HEADER BRANDING ============ */
.header-pill {
    position: absolute;
    top: 35px;
    left: 35px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.9) 100%);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 12px 22px;
    border-radius: 50px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(255, 215, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all var(--transition-fast);
    cursor: pointer;
    z-index: 25;
}

.header-pill:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 215, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
}

.header-pill:active {
    transform: translateY(0) scale(0.98);
}

.logo {
    height: 32px;
    width: auto;
    border-radius: 8px;
    filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.3));
    transition: transform var(--transition-fast);
}

.header-pill:hover .logo {
    transform: rotate(-5deg) scale(1.05);
}

.brand-text {
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, #FFA500 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
    position: relative;
}

.brand-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.header-pill:hover .brand-text::after {
    opacity: 1;
}

/* ============ ACTION BUTTONS SIDEBAR ============ */
.matrix-bar {
    position: absolute;
    bottom: 180px;
    right: 35px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    z-index: 25;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #fff;
    cursor: pointer;
    transition: transform var(--transition-fast);
    position: relative;
}

.action-btn:hover {
    transform: translateY(-3px);
}

.action-btn:active {
    transform: scale(0.92);
}

.icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(40, 40, 40, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

/* Shimmer Effect on Hover */
.icon-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
}

.action-btn:hover .icon-circle::before {
    left: 100%;
}

.action-btn:hover .icon-circle {
    background: rgba(60, 60, 60, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
}

/* Special styling for active/liked state */
.action-btn.active .icon-circle {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.3), rgba(255, 0, 128, 0.3));
    border-color: #FF1493;
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.4);
}

.stats-text {
    font-size: 12px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.3px;
}

/* ============ CTA BUTTON ============ */
.cta-wrapper {
    position: absolute;
    bottom: 110px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: var(--z-cta);
    padding: 0 40px;
}

.shop-now-btn {
    position: relative;
    background: var(--cta-gradient);
    color: #000;
    padding: 16px 48px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 
        0 10px 40px rgba(255, 215, 0, 0.5),
        0 0 60px rgba(255, 165, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2);
    border: 3px solid #fff;
    cursor: pointer;
    overflow: hidden;
    transition: all var(--transition-fast);
    animation: mega-pulse-glow 2.5s ease-in-out infinite;
}

/* Animated shine effect */
.shop-now-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    transition: left 0.5s;
}

.shop-now-btn:hover::before {
    left: 100%;
}

/* Inner glow effect */
.shop-now-btn::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        transparent 50%, 
        rgba(255, 140, 0, 0.2) 100%);
    pointer-events: none;
}

.shop-now-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 15px 50px rgba(255, 215, 0, 0.6),
        0 0 80px rgba(255, 165, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.3);
}

.shop-now-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Icon styling */
.shop-now-btn > * {
    position: relative;
    z-index: 1;
}

.shop-now-btn .btn-icon {
    font-size: 20px;
    animation: bounce-icon 2s ease-in-out infinite;
}

@keyframes mega-pulse-glow {
    0%, 100% {
        box-shadow: 
            0 10px 40px rgba(255, 215, 0, 0.5),
            0 0 60px rgba(255, 165, 0, 0.3),
            inset 0 2px 0 rgba(255, 255, 255, 0.3),
            inset 0 -2px 0 rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 
            0 10px 50px rgba(255, 215, 0, 0.7),
            0 0 80px rgba(255, 165, 0, 0.5),
            inset 0 2px 0 rgba(255, 255, 255, 0.4),
            inset 0 -2px 0 rgba(0, 0, 0, 0.2);
    }
}

@keyframes bounce-icon {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

/* ============ INFORMATION AREA ============ */
.info-area {
    position: absolute;
    bottom: 50px;
    left: 40px;
    max-width: 62%;
    pointer-events: none;
    z-index: 15;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.85) 0%, rgba(10, 10, 10, 0.75) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 18px 22px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all var(--transition-smooth);
}

.info-area:hover {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(15, 15, 15, 0.85) 100%);
    transform: translateX(5px);
}

.reel-title {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.1);
    letter-spacing: 0.3px;
}

/* Video metadata styling */
.video-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-fast);
}

.meta-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 215, 0, 0.3);
    color: var(--gold-primary);
}

.meta-icon {
    font-size: 14px;
    opacity: 0.9;
}

/* Description text if needed */
.reel-description {
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hashtags styling */
.reel-hashtags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.hashtag {
    font-size: 12px;
    font-weight: 600;
    color: var(--gold-primary);
    padding: 4px 10px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.hashtag:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

/* ============ PLAY BUTTON OVERLAY ============ */
.play-mask {
    position: absolute;
    inset: 30px;
    z-index: var(--z-play-button);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: background var(--transition-smooth);
    border-radius: 20px;
}

.play-mask:hover {
    background: rgba(0, 0, 0, 0.25);
}

.play-icon {
    font-size: 70px;
    opacity: 0.9;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.6));
    transition: all var(--transition-fast);
    animation: pulse-play 2s ease-in-out infinite;
}

.play-mask:hover .play-icon {
    transform: scale(1.1);
    opacity: 1;
}

@keyframes pulse-play {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

/* ============ UTILITY CLASSES ============ */
.hidden {
    display: none !important;
    visibility: hidden !important;
}

.fade-out {
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity var(--transition-smooth) !important;
}

.fade-in {
    opacity: 1 !important;
    transition: opacity var(--transition-smooth) !important;
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 768px) {
    .reel-card {
        padding: 15px;
    }
    
    .reel-card::before {
        inset: 15px;
        border-radius: 20px;
    }
    
    .reel-card::after {
        inset: 15px;
        border-radius: 20px;
    }
    
    .video-wrapper {
        inset: 25px;
        width: calc(100% - 50px);
        height: calc(100% - 50px);
        border-radius: 16px;
    }
    
    .thumb-facade {
        inset: 25px;
        width: calc(100% - 50px);
        height: calc(100% - 50px);
        border-radius: 16px;
    }
    
    .content-overlay {
        inset: 25px;
        border-radius: 16px;
    }
    
    .play-mask {
        inset: 25px;
        border-radius: 16px;
    }
    
    .header-pill {
        top: 30px;
        left: 30px;
        padding: 10px 18px;
        gap: 12px;
    }
    
    .logo {
        height: 28px;
    }
    
    .brand-text {
        font-size: 11px;
        letter-spacing: 1.2px;
    }
    
    .matrix-bar {
        bottom: 160px;
        right: 25px;
        gap: 20px;
    }
    
    .icon-circle {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .stats-text {
        font-size: 11px;
    }
    
    .shop-now-btn {
        padding: 13px 36px;
        font-size: 15px;
        letter-spacing: 1.5px;
    }
    
    .shop-now-btn .btn-icon {
        font-size: 18px;
    }
    
    .cta-wrapper {
        bottom: 95px;
        padding: 0 30px;
    }
    
    .reel-title {
        font-size: 15px;
    }
    
    .info-area {
        bottom: 40px;
        left: 30px;
        max-width: 68%;
        padding: 16px 20px;
        border-radius: 18px;
    }
    
    .meta-item {
        font-size: 11px;
        padding: 3px 10px;
    }
    
    .reel-description {
        font-size: 12px;
    }
    
    .hashtag {
        font-size: 11px;
        padding: 3px 8px;
    }
}

@media (max-width: 480px) {
    .reel-card {
        padding: 12px;
    }
    
    .reel-card::before {
        inset: 12px;
        border-radius: 16px;
    }
    
    .reel-card::after {
        inset: 12px;
        border-radius: 16px;
    }
    
    .video-wrapper {
        inset: 22px;
        width: calc(100% - 44px);
        height: calc(100% - 44px);
        border-radius: 14px;
    }
    
    .thumb-facade {
        inset: 22px;
        width: calc(100% - 44px);
        height: calc(100% - 44px);
        border-radius: 14px;
    }
    
    .content-overlay {
        inset: 22px;
        border-radius: 14px;
    }
    
    .play-mask {
        inset: 22px;
        border-radius: 14px;
    }
    
    .header-pill {
        top: 27px;
        left: 27px;
        padding: 8px 16px;
        gap: 10px;
    }
    
    .logo {
        height: 26px;
    }
    
    .brand-text {
        font-size: 10px;
        letter-spacing: 1px;
    }
    
    .matrix-bar {
        gap: 18px;
        right: 20px;
        bottom: 150px;
    }
    
    .icon-circle {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .shop-now-btn {
        padding: 11px 30px;
        font-size: 13px;
        letter-spacing: 1px;
    }
    
    .shop-now-btn .btn-icon {
        font-size: 16px;
    }
    
    .cta-wrapper {
        bottom: 85px;
        padding: 0 25px;
    }
    
    .info-area {
        bottom: 35px;
        left: 27px;
        max-width: 72%;
        padding: 14px 18px;
        border-radius: 16px;
    }
    
    .reel-title {
        font-size: 14px;
    }
    
    .meta-item {
        font-size: 10px;
        padding: 3px 8px;
        gap: 4px;
    }
    
    .meta-icon {
        font-size: 12px;
    }
    
    .reel-description {
        font-size: 11px;
    }
    
    .hashtag {
        font-size: 10px;
        padding: 3px 7px;
    }
}

/* ============ ACCESSIBILITY ============ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States for Keyboard Navigation */
.action-btn:focus-visible,
.shop-now-btn:focus-visible,
.header-pill:focus-visible {
    outline: 2px solid var(--gold-primary);
    outline-offset: 3px;
}

/* ============ LOADING STATES ============ */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--gold-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============ PERFORMANCE OPTIMIZATIONS ============ */
.reel-card,
.video-wrapper,
.thumb-facade,
.ui-layer {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* ============ DARK MODE SUPPORT ============ */
@media (prefers-color-scheme: light) {
    /* Keep dark theme for reel player regardless of system preference */
}

/* ============ DECORATIVE CORNER ELEMENTS ============ */
/* Top Left Corner */
.reel-card .corner-tl,
.reel-card .corner-tr,
.reel-card .corner-bl,
.reel-card .corner-br {
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 3;
    pointer-events: none;
}

.reel-card .corner-tl {
    top: 20px;
    left: 20px;
    border-top: 3px solid var(--gold-primary);
    border-left: 3px solid var(--gold-primary);
    border-top-left-radius: 24px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    animation: corner-pulse-tl 3s ease-in-out infinite;
}

.reel-card .corner-tr {
    top: 20px;
    right: 20px;
    border-top: 3px solid #FF6B6B;
    border-right: 3px solid #FF6B6B;
    border-top-right-radius: 24px;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.4);
    animation: corner-pulse-tr 3s ease-in-out infinite 0.75s;
}

.reel-card .corner-bl {
    bottom: 20px;
    left: 20px;
    border-bottom: 3px solid #4ECDC4;
    border-left: 3px solid #4ECDC4;
    border-bottom-left-radius: 24px;
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.4);
    animation: corner-pulse-bl 3s ease-in-out infinite 1.5s;
}

.reel-card .corner-br {
    bottom: 20px;
    right: 20px;
    border-bottom: 3px solid #A78BFA;
    border-right: 3px solid #A78BFA;
    border-bottom-right-radius: 24px;
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.4);
    animation: corner-pulse-br 3s ease-in-out infinite 2.25s;
}

@keyframes corner-pulse-tl {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes corner-pulse-tr {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes corner-pulse-bl {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes corner-pulse-br {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}