:root {
    color-scheme: dark;
    --orange: #ff6b27;
    --orange-light: #ff9a4a;
    --panel: rgba(5, 12, 20, 0.76);
    --border: rgba(255, 255, 255, 0.28);
    --muted: #aeb6c2;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
    margin: 0;
    background: #07101a;
    color: #fff;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.maintenance-page {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 38px 24px 52px;
    isolation: isolate;
}

.maintenance-backdrop,
.maintenance-glow {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.maintenance-backdrop {
    background:
        linear-gradient(90deg, rgba(2, 8, 15, 0.76) 0%, rgba(3, 9, 16, 0.3) 52%, rgba(3, 8, 14, 0.2) 100%),
        url("/images/maintenance/stadium-football.png") center / cover no-repeat;
    transform: scale(1.01);
}

.maintenance-glow {
    z-index: -1;
    background:
        radial-gradient(circle at 68% 49%, rgba(255, 102, 25, 0.15), transparent 32%),
        linear-gradient(180deg, rgba(0, 7, 14, 0.08), rgba(0, 5, 10, 0.48));
}

.maintenance-card {
    width: min(750px, 94vw);
    padding: clamp(36px, 5vw, 62px) clamp(28px, 6vw, 76px) 34px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(13, 23, 34, 0.83), var(--panel));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.maintenance-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    font-size: clamp(28px, 4vw, 39px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1;
}

.maintenance-brand strong { color: var(--orange-light); }
.brand-wordmark { display: inline-block; line-height: 1; }

.brand-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 34px;
}

.brand-bars i {
    display: block;
    width: 7px;
    height: 13px;
    background: linear-gradient(#ffa056, #ff5a22);
}

.brand-bars i:nth-child(2) { height: 23px; }
.brand-bars i:nth-child(3) { height: 34px; }

.maintenance-kicker,
.maintenance-domain {
    letter-spacing: 0.38em;
    color: #9ca5b2;
    font-size: 10px;
}

.maintenance-kicker { margin: 9px 0 35px; }

h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 62px);
    line-height: 1.04;
    letter-spacing: -2px;
}

h1 strong { color: var(--orange-light); }

.maintenance-message {
    max-width: 600px;
    margin: 18px auto 26px;
    color: #ffffff;
    font-size: clamp(20px, 2.6vw, 26px);
    font-weight: 600;
    line-height: 1.34;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 28px auto 22px;
}

.time-unit { display: grid; gap: 9px; }

.time-box {
    display: grid;
    place-items: center;
    width: clamp(84px, 12vw, 114px);
    height: clamp(70px, 9vw, 82px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 10px 28px rgba(0,0,0,0.2);
    font-size: clamp(40px, 6vw, 57px);
    font-weight: 800;
    line-height: 1;
}

.time-unit small { color: #9ca5b2; font-size: 9px; letter-spacing: 0.34em; }

.time-separator {
    padding: 14px 10px 0;
    color: #b9c0c9;
    font-size: 34px;
}

.progress-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.progress-track {
    flex: 1;
    height: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 999px;
    background: rgba(0,0,0,0.25);
}

.progress-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ff8c3b, #ff5b22 82%, #fff1c7);
    box-shadow: 0 0 18px rgba(255, 105, 37, 0.72);
    transition: width 1s linear;
}

.progress-value { min-width: 42px; color: #bcc3cd; }
.progress-spacing { height: 27px; }

.maintenance-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0 auto;
}

.maintenance-social {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.maintenance-social:hover,
.maintenance-social:focus-visible {
    transform: translateY(-1px);
    border-color: var(--orange-light);
    background: rgba(255, 138, 58, 0.14);
}

.maintenance-social:focus-visible { outline: 3px solid rgba(255,255,255,0.5); outline-offset: 2px; }
.maintenance-social img { width: 20px; height: 20px; filter: invert(1); }
.maintenance-helper { margin: 15px 0 0; color: #aeb6c2; font-size: 14px; }

.maintenance-domain {
    position: absolute;
    bottom: 15px;
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
    white-space: nowrap;
}

@media (max-width: 720px) {
    .maintenance-page { padding: 20px 14px 40px; }
    .maintenance-card { padding: 30px 20px 26px; border-radius: 18px; }
    .maintenance-kicker { margin-bottom: 25px; letter-spacing: 0.25em; }
    h1 { letter-spacing: -1px; }
    .maintenance-message { margin: 15px auto 22px; }
    .time-separator { padding-inline: 5px; }
}

@media (max-width: 430px) {
    .maintenance-brand { gap: 8px; font-size: 27px; }
    .brand-bars { transform: scale(0.82); transform-origin: right bottom; }
    .maintenance-message { font-size: 18px; }
    .time-box { width: 72px; height: 63px; font-size: 36px; }
    .time-separator { padding-top: 12px; font-size: 28px; }
    .maintenance-social { min-height: 42px; padding-inline: 13px; font-size: 13px; }
}
