/* Big Screen Mode */
#big-screen-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    overflow-y: auto; /* Allow scrolling if content overflows */
    cursor: none; /* Hide cursor by default */
}

#big-screen-container.hidden {
    display: none;
}

#big-screen-countdown {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping */
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

#big-screen-countdown .time-part {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 20px;
    min-width: 120px; /* Ensure minimum width */
}

#big-screen-countdown .value {
    font-family: 'Inconsolata', monospace;
    font-size: 12vw; /* Large but fits multiple on screen */
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    display: block;
}

#big-screen-countdown .label {
    font-size: 2vw; /* Smaller label relative to the digit */
    font-weight: 400;
    display: block;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
}

.big-screen-controls {
    position: fixed; /* Fixed to bottom of screen even if scrolled */
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
    z-index: 10000;
}

.big-screen-controls.hidden {
    opacity: 0;
    pointer-events: none;
}

#exit-big-screen-btn {
    background: none; /* No background */
    border: none; /* No border */
    color: #fff; /* Solid white icon for dark background */
    font-size: 30px; /* Larger icon size */
    cursor: pointer;
    padding: 5px; /* Small padding for click area */
    transition: opacity 0.3s ease;
    display: flex; /* To center the icon if needed */
    align-items: center;
    justify-content: center;
    opacity: 0.7; /* Slightly transparent by default */
}

#exit-big-screen-btn:hover {
    opacity: 1; /* Fully opaque on hover */
}

#exit-big-screen-btn i {
    margin-right: 0; /* Remove margin if no text */
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    #big-screen-countdown .value {
        font-size: 15vw;
    }
    #big-screen-countdown .label {
        font-size: 2.5vw;
    }
}

@media (max-width: 768px) {
    #big-screen-countdown .time-part {
        margin: 10px;
        min-width: 80px;
    }
    #big-screen-countdown .value {
        font-size: 18vw;
    }
    #big-screen-countdown .label {
        font-size: 3vw;
    }
    #exit-big-screen-btn {
        font-size: 24px; /* Smaller icon on mobile */
    }
}

@media (max-width: 480px) {
    #big-screen-countdown .value {
        font-size: 20vw;
    }
    #big-screen-countdown .label {
        font-size: 4vw;
    }
}
