/* Modern Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc; /* Sleek light mode base */
    color: #0f172a; /* Dark slate text */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

/* Dynamic background with gradients and animation */
.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 15% 50%, rgba(147, 197, 253, 0.5), transparent 50%),
                radial-gradient(circle at 85% 30%, rgba(249, 168, 212, 0.5), transparent 50%);
    z-index: -1;
    animation: gradientMove 15s ease infinite alternate;
}

@keyframes gradientMove {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

/* Glassmorphism container */
.glass-container {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 24px;
    padding: 40px;
    width: 90%;
    max-width: 1000px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Header & Logo */
.header-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.logo {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.1));
    transform: scale(1.02);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Main Content area */
.main-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Video Wrapper */
.video-wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #000;
    position: relative;
}

/* Added subtle pulse border to video to indicate live */
.video-wrapper::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 18px;
    background: linear-gradient(45deg, #e84b5c, #60a5fa, #e84b5c);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-wrapper:hover::before {
    opacity: 0.6;
    animation: borderPulse 3s linear infinite;
}

@keyframes borderPulse {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.mux-player-custom {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    --controls-backdrop-color: rgba(15, 23, 42, 0.8);
}

/* Info Section */
.info-section {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.info-section:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.stream-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.stream-description {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}

/* Footer */
.footer-section {
    margin-top: 40px;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
}

.heart {
    color: #e84b5c;
    animation: heartbeat 1.5s infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .glass-container {
        padding: 20px;
        margin: 20px 0;
        width: 95%;
    }
    
    .logo {
        max-width: 200px;
    }
    
    .stream-title {
        font-size: 1.25rem;
    }
}
