/* --- Under Construction Page --- */
/* Relies on base.css for the palette, .container and the footer styles. */

.construction-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Hero --- */
.construction-hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, #1a1f26 0%, #0d1117 70%);
}

/* Faint tech grid, faded out towards the edges */
.construction-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 241, 238, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 241, 238, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 70%);
    mask-image: radial-gradient(circle at center, #000 0%, transparent 70%);
    pointer-events: none;
}

.construction-content {
    position: relative;
    z-index: 1;
}

/* --- Logo --- */
.construction-logo {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto 40px auto;
    filter: drop-shadow(0 0 20px rgba(16, 241, 238, 0.4));
}

/* --- Status Pill --- */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(16, 241, 238, 0.35);
    background: rgba(16, 241, 238, 0.06);
    border-radius: 999px;
    color: var(--color-cyan);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.pulse-dot {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background: var(--color-cyan);
    animation: dot-pulse 1.8s infinite ease-in-out;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 1;   box-shadow: 0 0 8px var(--color-cyan); }
    50%      { opacity: 0.3; box-shadow: 0 0 0 var(--color-cyan); }
}

/* --- Headline & Copy --- */
.construction-headline {
    font-size: clamp(2.2rem, 7vw, 4rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.construction-headline .highlight {
    color: var(--color-cyan);
}

.construction-description {
    color: var(--color-text-p);
    max-width: 640px;
    margin: 0 auto 45px auto;
    font-size: 1.1rem;
}

/* --- Indeterminate Progress Bar --- */
.progress-wrap {
    max-width: 520px;
    margin: 0 auto 40px auto;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--color-text-p);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.progress-label .eta {
    color: var(--color-cyan);
}

.progress-track {
    position: relative;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.progress-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-cyan) 0%, #f6d365 60%, var(--color-orange) 100%);
    box-shadow: 0 0 15px rgba(16, 241, 238, 0.5);
    animation: progress-sweep 2.4s infinite ease-in-out;
}

@keyframes progress-sweep {
    0%   { left: -40%; }
    100% { left: 100%; }
}

/* --- Build Status List --- */
.build-status {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 35px;
}

.build-status li {
    display: flex;
    align-items: center;
    color: var(--color-text-p);
    font-size: 0.9rem;
}

.build-status .dot {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
}

.build-status .dot.cyan   { background: var(--color-cyan); box-shadow: 0 0 10px var(--color-cyan); }
.build-status .dot.yellow { background: #ffd700; }
.build-status .dot.orange { background: var(--color-orange); }

/* --- Footer --- */
.construction-footer {
    margin-top: 0;
}

.construction-footer a:hover {
    color: var(--color-cyan);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .construction-hero {
        padding: 60px 0;
    }

    .construction-logo {
        max-width: 200px;
        margin-bottom: 30px;
    }

    .status-badge {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .construction-description {
        font-size: 1rem;
    }

    .build-status {
        flex-direction: column;
        align-items: flex-start;
        width: fit-content;
        margin: 0 auto;
        gap: 12px;
    }
}

/* --- Shared chrome for the pages that stay live during construction --- */
.construction-body > main {
    flex: 1;
}

.highlight {
    color: var(--color-cyan);
}

/* --- Legal / text pages --- */
.legal-page h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
}

.legal-page h3 {
    color: var(--color-text-main);
    margin-bottom: 10px;
}

.legal-page p {
    margin-bottom: 12px;
}

/* base.css strips bullets site-wide; a legal list needs them back */
.legal-page ul {
    list-style: disc;
}

.legal-page li {
    margin-bottom: 8px;
}
