@import url('https://fonts.googleapis.com/css2?family=Metal+Mania&family=Oxanium:wght@400;500;600;700;800&display=swap');

:root {
    --chile-red: #D52B1E;
    --chile-blue: #0039A6;
    --rock-gold: #FFD700;
    --dark-bg: #0a0a0a;
    --maintenance-orange: #FF6B35;
}

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

body {
    font-family: 'Oxanium', sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    background: var(--dark-bg);
    color: white;
}

/* Background */
.welcome-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(213, 43, 30, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 57, 166, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, #000000 0%, #0a0520 50%, #000000 100%);
    z-index: 1;
}

/* Main Container */
.welcome-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    text-align: center;
}

/* Logo */
.logo-wrapper {
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.main-logo {
    max-width: 400px;
    width: 80vw;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.5));
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 50px rgba(255, 215, 0, 0.8));
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

/* Maintenance Icon */
.maintenance-icon {
    margin-bottom: 2rem;
    animation: fadeIn 1.2s ease-out, rotate 4s linear infinite;
}

.maintenance-icon i {
    font-size: 5rem;
    color: var(--maintenance-orange);
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.6));
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-15deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(15deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Maintenance Content */
.maintenance-content {
    max-width: 800px;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    animation: fadeInUp 1.5s ease-out;
}

.maintenance-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(90deg,
            var(--chile-red) 0%,
            var(--maintenance-orange) 50%,
            var(--rock-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    line-height: 1.3;
}

.maintenance-text {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 500;
}

.maintenance-admin {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
}

/* Timer */
.maintenance-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.maintenance-timer i {
    color: var(--maintenance-orange);
}

/* Actions & Button */
.maintenance-actions {
    margin-bottom: 2rem;
}

.btn-maintenance {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, var(--chile-red) 0%, var(--chile-blue) 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(213, 43, 30, 0.4);
}

.btn-maintenance:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(213, 43, 30, 0.6);
    color: white;
}

.admin-link {
    color: var(--rock-gold);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    padding-bottom: 2px;
}

.admin-link:hover {
    color: white;
    border-bottom-color: var(--rock-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

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

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

/* Footer */
.welcome-footer {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: blink 2s ease-in-out infinite;
}

.welcome-footer p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.welcome-footer p:last-child {
    margin-bottom: 0;
}

@keyframes blink {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0.4;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .main-logo {
        max-width: 300px;
    }

    .maintenance-icon i {
        font-size: 4rem;
    }

    .maintenance-title {
        font-size: 2rem;
    }

    .maintenance-text {
        font-size: 1.2rem;
    }

    .maintenance-admin {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .main-logo {
        max-width: 220px;
    }

    .maintenance-icon i {
        font-size: 3rem;
    }

    .maintenance-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .maintenance-text {
        font-size: 1rem;
    }

    .maintenance-admin {
        font-size: 0.85rem;
    }

    .welcome-footer p {
        font-size: 0.85rem;
    }
}