:root {
    --primary-color: #ffffff;
    --text-color: #e0e0e0;
    --text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8); /* Enhanced shadow for readability */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
}

/* --- Video Background --- */
.video-background {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    z-index: -2;
    background-color: #1a1a1a;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Content Overlay (Centering Fix) --- */
.content-overlay {
    position: fixed; /* Changed to fixed for stability */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Ensures it covers the full viewport */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    justify-content: center; /* Horizontally centers content */
    align-items: center;   /* Vertically centers content */
    text-align: center;
    z-index: -1;
    padding: 20px;
}

/* --- Container: Acts as an invisible content wrapper --- */
.container {
    max-width: 360px;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease-out 0.3s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Pulsing Icon --- */
.icon-container {
    margin-bottom: 20px;
}

.maintenance-icon {
    width: clamp(45px, 12vw, 55px);
    height: auto;
    color: var(--primary-color);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
    animation: pulse-icon 3s ease-in-out infinite;
}

@keyframes pulse-icon {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* --- Fluid Typography --- */
h1 {
    font-size: clamp(2rem, 7vw, 2.5rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: var(--text-shadow);
}

.message {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: var(--text-shadow);
}

.timer-container p {
    font-size: 0.9rem;
    font-weight: 400;
    text-shadow: var(--text-shadow);
}

/* --- Responsive Countdown Timer --- */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: clamp(10px, 3vw, 15px);
    margin-top: 15px;
    margin-bottom: 30px;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.25);
    padding: clamp(8px, 2.5vw, 12px);
    border-radius: 8px;
    width: clamp(60px, 18vw, 70px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.time-block span {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    font-weight: 600;
    color: var(--primary-color);
}

.time-block small {
    font-size: 0.65rem;
    color: var(--text-color);
    text-transform: uppercase;
    margin-top: 5px;
    font-weight: 300;
}

.contact-info p {
    font-size: 0.85rem;
    font-weight: 300;
}