/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: rgb(28, 28, 28);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

/* Centered Layout Utility */
.centered-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    /* Optional: vertically center if desired */
    /* Remove min-height if you prefer it at the top with just margin */
    min-height: auto;
    margin-top: 5vh;
}


/* Video Container */
.video-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 25px;
    /* Removed background/box-shadow as the player usually handles its own styling, 
       but keeping them creates a nice frame if the player loads slowly */
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

/* Note: .video-container CSS was removed as VTurb provides its own responsive behavior */


/* Status Bar (Active Viewers & Timer) */
.status-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #ccc;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-item span#viewer-count,
.status-item span#target-date {
    font-weight: 700;
    color: #fff;
}

/* Live Indicator Pulse Animation */
.live-indicator {
    width: 10px;
    height: 10px;
    background-color: #ff0000;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .main-container {
        padding: 15px;
    }

    .status-bar {
        flex-direction: column;
        border-radius: 12px;
        width: 100%;
        gap: 10px;
    }
}