/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Main container using flexbox */
.maintenance-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

/* Content card */
.maintenance-content {
    background: white;
    border-radius: 12px;
    padding: 3rem 2rem;
    /*max-width: 600px;*/
    max-width: 1024px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
}

/* Icon styling */
.maintenance-icon {
    color: #667eea;
    margin-bottom: 1.5rem;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Typography */
.maintenance-content h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a202c;
}

.maintenance-message {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    margin-bottom: 1.5rem;
    color: #4a5568;
    text-align: left;
}

.maintenance-contact {
    font-size: 0.875rem;
    color: #718096;
}

.maintenance-contact a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.maintenance-contact a:hover {
    border-bottom-color: #667eea;
}

time strong {
    color: #667eea;
}


/* Fine-tune for small devices */
@media (max-width: 480px) {
    .maintenance-container {
        padding: 1rem;
    }

    .maintenance-content {
        padding: 2rem 1.5rem;
        border-radius: 8px;
    }

    .maintenance-icon {
        width: 60px;
        height: 60px;
    }
}

/* Optimize for tablets and larger */
@media (min-width: 768px) {
    .maintenance-content {
        padding: 4rem 3rem;
    }
}

/* Prevent layout issues on very wide screens */
@media (min-width: 1200px) {
    .maintenance-container {
        padding: 3rem;
    }
}
