* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a3c5e;
    --secondary-color: #2c5f8a;
    --accent-color: #e8a838;
    --text-light: #ffffff;
    --text-dark: #1a1a2e;
    --overlay-opacity: 0.6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 60, 94, var(--overlay-opacity)) 0%, 
        rgba(44, 95, 138, var(--overlay-opacity)) 50%,
        rgba(26, 26, 46, var(--overlay-opacity)) 100%
    );
    z-index: -1;
}

.maintenance-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.content {
    text-align: center;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out;
}

.title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .content {
        animation: none;
    }
}

/* Mobile optimizations */
@media (max-width: 480px) {
    .maintenance-container {
        padding: 1.5rem;
    }
    
    .video-background {
        object-position: center center;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .overlay {
        background: rgba(0, 0, 0, 0.8);
    }
    .title {
        text-shadow: 0 0 10px #000;
    }
}