/* ===== WATCH COMING SOON OVERLAY STYLES ===== */
/* IMPORTANT: This CSS ensures the cover-up takes over the Watch page */
.watch-cover-up-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9996; /* Different from Live TV (9997) and Podcast (9998) */
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: transparent;
    pointer-events: auto;
}

.watch-cover-up-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #1a472a, #2a623d, #3d7d5a, #1a472a);
    pointer-events: none;
}

/* Remove cover-up button - visible only when needed */
.watch-remove-cover-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000000;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: none;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.watch-remove-cover-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* ===== COVER-UP PAGE STYLES ===== */
.watch-cover-up-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.watch-cover-up-page {
    --primary-color: #00c853;
    --secondary-color: #64dd17;
    --accent-color: #ffd600;
    --light-color: #f8f9fa;
    --dark-color: #121212;
    --animation-speed: 1.5s;
}

/* FIXED: Ensure gradient background is visible */
.watch-cover-container {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(-45deg, #1a472a, #2a623d, #3d7d5a, #1a472a) !important;
    background-size: 400% 400% !important;
    animation: gradientBGWatch 15s ease infinite;
    color: var(--light-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

@keyframes gradientBGWatch {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating background elements */
.watch-floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: -1;
    animation: floatWatch 6s ease-in-out infinite;
}

.watch-floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.watch-floating-element:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.watch-floating-element:nth-child(3) {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

.watch-floating-element:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 15%;
    right: 20%;
    animation-delay: 1s;
}

@keyframes floatWatch {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Logo and branding */
.watch-logo-container {
    margin: 1.5rem 0 2rem;
    text-align: center;
    animation: fadeInDownWatch 1s ease-out;
    width: 100%;
    max-width: 800px;
}

.watch-logo {
    font-size: 3.5rem;
    color: var(--light-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.watch-logo-icon {
    color: var(--accent-color);
    animation: pulseWatch 2s infinite;
}

@keyframes pulseWatch {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.watch-brand-name {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(to right, #00c853, #64dd17);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Main content */
.watch-main-content {
    text-align: center;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 1rem;
    animation: fadeInUpWatch 1s ease-out 0.5s both;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.watch-coming-soon-text {
    font-size: 4.5rem;
    font-weight: 800;
    margin: 1.5rem 0;
    position: relative;
    display: inline-block;
    line-height: 1.2;
}

.watch-coming-soon-text span {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmerWatch 3s infinite linear;
    background-size: 200% auto;
}

@keyframes shimmerWatch {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.watch-coming-soon-text::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    bottom: -10px;
    left: 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    animation: widthPulseWatch 2s infinite;
}

@keyframes widthPulseWatch {
    0%, 100% { width: 100%; }
    50% { width: 80%; }
}

.watch-subtitle {
    font-size: 1.5rem;
    margin: 1.5rem 0 2rem;
    line-height: 1.6;
    opacity: 0.9;
    padding: 0 1rem;
}

/* Animated progress */
.watch-progress-container {
    width: 100%;
    max-width: 500px;
    margin: 2.5rem auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    height: 12px;
}

.watch-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    animation: progressFillWatch 3s ease-in-out infinite;
}

@keyframes progressFillWatch {
    0%, 100% { width: 30%; }
    50% { width: 80%; }
}

/* Countdown timer */
.watch-countdown-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
    width: 100%;
}

.watch-countdown-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.2rem;
    min-width: 100px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInWatch 1s ease-out 1s both;
    transition: transform 0.3s;
}

.watch-countdown-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.watch-countdown-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
}

.watch-countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Social links */
.watch-social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2.5rem 0;
    animation: fadeInWatch 1s ease-out 2s both;
    flex-wrap: wrap;
}

.watch-social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    font-size: 1.3rem;
    transition: all 0.3s;
    text-decoration: none;
}

.watch-social-link:hover {
    transform: translateY(-5px) scale(1.1);
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
}

/* Footer */
.watch-footer {
    margin: 2rem 0 1rem;
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
    animation: fadeInWatch 1s ease-out 2.5s both;
    width: 100%;
    padding: 0 1rem;
}

/* Animations */
@keyframes fadeInDownWatch {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpWatch {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInWatch {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .watch-cover-container {
        padding: 1.5rem 1rem;
    }
    
    .watch-logo-container {
        margin: 1rem 0 1.5rem;
    }
    
    .watch-logo {
        font-size: 3rem;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .watch-coming-soon-text {
        font-size: 3.2rem;
        margin: 1rem 0;
    }
    
    .watch-brand-name {
        font-size: 1.8rem;
    }
    
    .watch-subtitle {
        font-size: 1.2rem;
        margin: 1rem 0 1.5rem;
    }
    
    .watch-countdown-item {
        min-width: 80px;
        padding: 1rem;
    }
    
    .watch-countdown-value {
        font-size: 2rem;
    }
    
    .watch-countdown-container {
        gap: 1rem;
        margin: 1.5rem 0;
    }
    
    .watch-social-links {
        margin: 2rem 0;
    }
    
    .watch-remove-cover-btn {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .watch-coming-soon-text {
        font-size: 2.5rem;
    }
    
    .watch-countdown-container {
        gap: 0.8rem;
    }
    
    .watch-countdown-item {
        min-width: 70px;
        padding: 0.8rem;
    }
    
    .watch-countdown-value {
        font-size: 1.8rem;
    }
    
    .watch-logo {
        font-size: 2.5rem;
    }
    
    .watch-brand-name {
        font-size: 1.5rem;
    }
    
    .watch-subtitle {
        font-size: 1.1rem;
        padding: 0 0.5rem;
    }
    
    .watch-social-links {
        gap: 1rem;
    }
    
    .watch-social-link {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* CRITICAL FIXES: Ensure proper stacking and visibility */

/* Fix z-index conflicts with existing navigation */
.watch-cover-up-page {
    z-index: 9996 !important; /* Different from Live TV (9997) and Podcast (9998) */
}

/* Ensure the gradient background is always visible */
.watch-cover-container {
    background: linear-gradient(-45deg, #1a472a, #2a623d, #3d7d5a, #1a472a) !important;
    background-size: 400% 400% !important;
}

/* Remove any white background bleed */
.watch-cover-up-page,
.watch-cover-container,
.watch-main-content,
.watch-logo-container {
    background: transparent !important;
}

/* Ensure floating elements have the correct background */
.watch-floating-element {
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Fix pointer events for better interaction */
.watch-cover-up-page.active {
    pointer-events: auto;
}

/* When cover is active, allow navigation to work */
body.watch-cover-active .bottom-nav {
    z-index: 10000 !important;
    position: fixed !important;
    bottom: 0 !important;
    pointer-events: auto;
}

body.watch-cover-active header {
    z-index: 10000 !important;
    position: sticky !important;
    pointer-events: auto;
}

body.watch-cover-active .top-bar {
    z-index: 10000 !important;
    position: relative !important;
    pointer-events: auto;
}

/* Ensure menu items are clickable */
body.watch-cover-active .nav-item,
body.watch-cover-active .category-btn,
body.watch-cover-active .user-actions button,
body.watch-cover-active .search-box {
    pointer-events: auto !important;
    z-index: 10001 !important;
}

/* Hide only Watch content, not navigation */
.watch-cover-active #watchPage .inner-header {
    display: none !important;
}

.watch-cover-active #watchPage .watch-grid,
.watch-cover-active #watchPage .watch-card,
.watch-cover-active #watchPage .watch-content,
.watch-cover-active #watchPage .watch-image {
    display: none !important;
}

/* Make overlay slightly transparent at edges for visual context */
.watch-cover-up-page::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(-45deg, #1a472a, #2a623d, #3d7d5a, #1a472a);
    pointer-events: none;
    z-index: -1;
}