/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Contenedor principal */
.maintenance-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><path d="M0 0L50 50M50 50L100 0M50 50L100 100M50 50L0 100" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
    pointer-events: none;
}

/* Contenido */
.content {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 30px 30px;
    max-width: 650px;
    width: 100%;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

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

/* Logo */
.logo-container {
    margin-bottom: 25px;
    animation: fadeIn 1s ease-out 0.2s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Mensaje */
.message-container {
    animation: fadeIn 1s ease-out 0.4s both;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #991b1b);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.main-message {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 8px;
    font-weight: 400;
}

.sub-message {
    font-size: 1rem;
    color: #718096;
    margin-bottom: 25px;
}

/* Información de contacto */
.contact-info {
    background: #f7fafc;
    border-radius: 12px;
    padding: 20px;
    margin-top: 25px;
    animation: fadeIn 1s ease-out 0.6s both;
}

.contact-title {
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 15px;
    font-weight: 500;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #dc2626;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    min-width: 260px;
}

.contact-link:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.contact-link svg {
    flex-shrink: 0;
}

/* Footer */
.footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    animation: fadeIn 1s ease-out 0.8s both;
}

.footer p {
    font-size: 0.9rem;
    color: #a0aec0;
}

/* Responsive */
@media (max-width: 768px) {
    .content {
        padding: 40px 30px;
    }

    h1 {
        font-size: 2rem;
    }

    .logo {
        max-width: 220px;
    }

    .main-message {
        font-size: 1.1rem;
    }

    .sub-message {
        font-size: 1rem;
    }

    .contact-info {
        padding: 25px 20px;
    }

    .contact-link {
        font-size: 1rem;
        min-width: 240px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 30px 20px;
    }

    h1 {
        font-size: 1.75rem;
    }

    .logo {
        max-width: 180px;
    }

    .main-message {
        font-size: 1rem;
    }

    .sub-message {
        font-size: 0.95rem;
    }

    .contact-link {
        min-width: 100%;
        font-size: 0.95rem;
    }

    .divider {
        width: 60px;
        height: 3px;
    }
}

/* Animación de pulso sutil en el logo */
.logo-container {
    animation: fadeIn 1s ease-out 0.2s both, pulse 3s ease-in-out 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}
