﻿/* ─────────────  LANDING / LOADING PAGE  ───────────── */
#loading-page {
    position: fixed;
    inset: 0;
    /* Dark brand background */
    background: #03173d;
    color: #fff;
    /* Layout: full‑height column */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* Safe padding on tall phones with notches */
    padding: clamp(0.5rem,3vw,2rem);
    box-sizing: border-box;
    font-family: system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
    z-index: 9999;
}

/* ─── HERO ─── */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    margin-top: auto; /* push down a touch on tall screens */
}

.hero-logo {
    width: 96px;
    height: 96px;
}

.hero-title {
    font-size: clamp(2rem,5vw,2.5rem);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
}

.hero-tagline {
    font-size: clamp(1rem,2.8vw,1.1rem);
    font-weight: 500;
    opacity: .8;
    margin: 0;
}

/* ─── FEATURES LIST ─── */
.features {
    margin-block: 1.8rem 2rem;
}

    .features ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        gap: .75rem;
        font-size: clamp(.95rem,2.6vw,1rem);
        /*max-width: 320px;*/
    }

    /* Slight icon/emoji spacing */
    .features li {
        display: flex;
        gap: .4rem;
        align-items: flex-start;
    }

/* ─── PROGRESS ─── */
.progress-wrap {
    margin-bottom: 2rem;
}

.progress {
    width: 180px;
    max-width: 60vw;
    height: 6px;
    background: rgba(255,255,255,.25);
    border-radius: 4px;
    overflow: hidden;
    margin-inline: auto .75rem; /* bottom gap */
}

    .progress .bar {
        width: 0;
        height: 100%;
        background: #00d4ff;
        animation: load 2.5s infinite ease-in-out;
    }

@keyframes load {
    0% {
        width: 0
    }

    50% {
        width: 90%
    }

    100% {
        width: 0
    }
}

.hint {
    font-size: .8rem;
    opacity: .6;
    margin: 0;
}

/* ─── FOOTER ─── */
.landing-footer {
    margin-top: auto; /* stick to bottom */
    font-size: .8rem;
    opacity: .7;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

    .landing-footer nav {
        display: flex;
        gap: 1.25rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .landing-footer a {
        color: #fff;
        text-decoration: none;
        transition: opacity .2s;
    }

        .landing-footer a:hover {
            opacity: .85
        }
