/*
Theme Name: Ad Astra Et Ultra — Coming Soon
Theme URI: https://adastraetultra.com/
Author: Ad Astra Et Ultra
Description: Elegant full-screen Coming Soon theme for Ad Astra Et Ultra.
Version: 1.4.0
Text Domain: ad-astra-coming-soon
*/

:root {
    --space-black: #010915;
    --space-navy: #031126;
    --space-blue: #071b35;
    --starlight: #f6f0df;
    --gold: #d9aa58;
    --gold-soft: #f0cf88;
    --muted: #aeb9c8;
}

* { box-sizing: border-box; }

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

body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 50% 35%, rgba(18, 54, 96, 0.26), transparent 34%),
        radial-gradient(circle at 15% 18%, rgba(217, 170, 88, 0.045), transparent 19%),
        linear-gradient(180deg, #020b19 0%, var(--space-black) 56%, #000711 100%);
    color: var(--starlight);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 42%, rgba(0,0,0,.45) 100%);
}

.starfield {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: .72;
}

.coming-soon {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    min-height: 100vh;
    margin: 0 auto;
    padding: clamp(28px, 4vw, 56px) 24px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.emblem-wrap {
    position: relative;
    width: min(620px, 82vw);
    margin: 0 auto clamp(2px, 1vw, 12px);
}

.emblem-wrap::before {
    content: "";
    position: absolute;
    inset: 12% 14% 9%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217,170,88,.11) 0%, rgba(20,55,94,.10) 42%, transparent 72%);
    filter: blur(32px);
}

.emblem {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 34px rgba(0,0,0,.36));
    animation: emblem-in 1.2s cubic-bezier(.2,.8,.2,1) both;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--gold-soft);
    font-size: clamp(.72rem, 1vw, .9rem);
    font-weight: 650;
    letter-spacing: .42em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.1rem, 4.4vw, 4.7rem);
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 1.02;
    text-transform: uppercase;
    text-shadow: 0 8px 32px rgba(0,0,0,.35);
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: min(420px, 72vw);
    margin: 20px auto 18px;
    color: var(--gold);
}

.divider::before,
.divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, rgba(217,170,88,.72));
}

.divider::after {
    background: linear-gradient(90deg, rgba(217,170,88,.72), transparent);
}

.divider span {
    font-size: .82rem;
    transform: rotate(45deg);
}

.intro {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    line-height: 1.75;
    font-weight: 350;
}

.subscribe {
    width: min(610px, 100%);
    margin-top: 26px;
}

.subscribe-heading,
.platform-heading {
    margin: 0 0 11px;
    color: rgba(246,240,223,.78);
    font-size: .72rem;
    font-weight: 650;
    letter-spacing: .25em;
    text-transform: uppercase;
}

.subscribe-form {
    display: flex;
    align-items: stretch;
    width: 100%;
    margin: 0 auto;
    border: 1px solid rgba(217,170,88,.38);
    border-radius: 999px;
    background: rgba(3, 13, 29, .48);
    box-shadow: 0 12px 36px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.025);
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.subscribe-form input[type="email"] {
    min-width: 0;
    flex: 1 1 auto;
    height: 52px;
    padding: 0 20px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--starlight);
    font: inherit;
    font-size: .97rem;
}

.subscribe-form input[type="email"]::placeholder {
    color: rgba(174,185,200,.62);
}

.subscribe-form:focus-within {
    border-color: rgba(240,207,136,.72);
    box-shadow: 0 0 0 3px rgba(217,170,88,.07), 0 12px 36px rgba(0,0,0,.18);
}

.subscribe-form button {
    flex: 0 0 auto;
    min-width: 142px;
    margin: 4px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #f1ce87 0%, #c79348 100%);
    color: #061020;
    font: inherit;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .18s ease, filter .18s ease;
}

.subscribe-form button:hover,
.subscribe-form button:focus-visible {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.subscribe-note,
.subscribe-message {
    margin: 8px 0 0;
    color: rgba(174,185,200,.52);
    font-size: .72rem;
    letter-spacing: .04em;
}

.subscribe-message.is-success { color: rgba(240,207,136,.9); }
.subscribe-message.is-error { color: #f0aaa4; }

.platform-section {
    margin-top: 24px;
}

.platforms {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(28px, 5vw, 54px);
}

.platform {
    min-width: 62px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    color: rgba(246,240,223,.78);
}

.platform-icon {
    width: 42px;
    height: 42px;
    color: rgba(240,207,136,.9);
    filter: drop-shadow(0 5px 14px rgba(0,0,0,.22));
}

.platform span {
    color: rgba(174,185,200,.72);
    font-size: .72rem;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.domain {
    margin-top: 24px;
    color: rgba(246,240,223,.76);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.site-footer {
    margin-top: clamp(26px, 4vw, 46px);
    color: rgba(174,185,200,.5);
    font-size: .72rem;
    letter-spacing: .08em;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

@keyframes emblem-in {
    from { opacity: 0; transform: translateY(12px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 680px) {
    .coming-soon {
        padding-left: 18px;
        padding-right: 18px;
    }

    .emblem-wrap {
        width: min(500px, 96vw);
        margin-left: -1vw;
        margin-right: -1vw;
    }

    h1 { letter-spacing: .055em; }
    .intro { line-height: 1.6; }

    .subscribe-form {
        border-radius: 18px;
        flex-direction: column;
        padding: 5px;
    }

    .subscribe-form input[type="email"] {
        height: 48px;
        text-align: center;
    }

    .subscribe-form button {
        height: 44px;
        margin: 0;
        border-radius: 13px;
    }

    .platforms { gap: 24px; }
    .platform-icon { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
    .emblem { animation: none; }
}
