:root {
    --brand-orange: #ffa400;
    --brand-red: #a61522;
    --surface: #313439;
    --surface-deep: #1d2024;
    --text: #ffffff;
    --text-muted: #d8ddde;
    --border: rgba(255, 255, 255, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    min-height: 100%;
    background: var(--surface-deep);
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text-muted);
    background:
        radial-gradient(circle at 16% 12%, rgba(255, 164, 0, 0.16), transparent 30rem),
        radial-gradient(circle at 88% 86%, rgba(166, 21, 34, 0.2), transparent 34rem),
        linear-gradient(145deg, #363a40 0%, #24272b 55%, #1d2024 100%);
    font-family: "Poppins", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.maintenance-page {
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 100vh;
    padding: clamp(1.25rem, 4vw, 3rem);
}

.maintenance-card {
    width: min(100%, 800px);
    margin: auto;
    padding: clamp(2rem, 6vw, 4.5rem);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(49, 52, 57, 0.96), rgba(29, 32, 36, 0.96));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    text-align: center;
}

.maintenance-card::before {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin: 0 auto clamp(2rem, 5vw, 3rem);
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-orange), var(--brand-red));
}

.brand img {
    display: block;
    width: min(200px, 72vw);
    height: auto;
    margin: 0 auto;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 2rem;
    color: var(--brand-orange);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.status-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--brand-orange);
    box-shadow: 0 0 0 0 rgba(255, 164, 0, 0.45);
    animation: pulse 2s infinite;
}

h1 {
    max-width: 680px;
    margin: 1rem auto 1.25rem;
    color: var(--text);
    font-size: clamp(2rem, 6vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

p {
    max-width: 650px;
    margin: 0 auto;
    font-size: clamp(1rem, 2.5vw, 1.12rem);
    line-height: 1.75;
}

.progress {
    width: min(100%, 420px);
    height: 5px;
    margin: 2.25rem auto 1.75rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
}

.progress span {
    display: block;
    width: 42%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand-orange), var(--brand-red));
    animation: progress 2.8s ease-in-out infinite;
}

.closing-message {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 2rem;
    color: rgba(216, 221, 222, 0.68);
    font-size: 0.76rem;
    text-align: center;
}

.footer-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--brand-orange);
}

@keyframes pulse {
    70% {
        box-shadow: 0 0 0 8px rgba(255, 164, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 164, 0, 0);
    }
}

@keyframes progress {
    0% {
        transform: translateX(-115%);
    }
    55%,
    100% {
        transform: translateX(245%);
    }
}

@media (max-width: 540px) {
    .maintenance-page {
        padding: 1rem;
    }

    .maintenance-card {
        padding: 2rem 1.35rem 2.25rem;
        border-radius: 18px;
    }

    footer {
        flex-direction: column;
        gap: 0.35rem;
    }

    .footer-divider {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .status-dot,
    .progress span {
        animation: none;
    }

    .progress span {
        width: 68%;
    }
}
