﻿:root {
    --brand: #f2a365;
    --ink: #e9f0ff;
    --ink-dim: #c8d1ff;
    --panel: rgba(15,18,36,.55);
    --panel-strong: rgba(22,26,48,.7);
    --shadow: 0 18px 60px rgba(0,0,0,.55);
}

/* Base */
*, *::before, *::after {
    box-sizing: border-box
}

html {
    color-scheme: dark
}

body {
    margin: 0;
    color: var(--ink);
    background: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

img {
    max-width: 100%;
    display: block
}

a {
    color: inherit;
    text-decoration: none
}

/* ===== Ambient Backdrop (CSS-only star/nebula) ===== */
.AegisBG {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none
}

    .AegisBG .bg-deep {
        position: absolute;
        inset: 0;
        filter: blur(2px) saturate(.9);
        opacity: .26;
        background-image: radial-gradient(900px 600px at 50% 40%, rgba(255,255,255,.10), transparent), linear-gradient(#010207,#040815);
        animation: driftDeep 36s ease-in-out infinite alternate;
    }

    .AegisBG .bg-near {
        position: absolute;
        inset: 0;
        opacity: .36;
        background-image: radial-gradient(1100px 700px at 70% 20%, rgba(145,171,255,.25), transparent 60%), radial-gradient(900px 600px at 30% 80%, rgba(68,114,255,.22), transparent 60%);
        animation: driftNear 28s ease-in-out infinite alternate;
    }

    .AegisBG .bg-stars {
        position: absolute;
        inset: -20% -20%;
        opacity: .28;
        background-image: radial-gradient(1px 1px at 40px 60px, rgba(255,255,255,.9) 100%, transparent 0), radial-gradient(1px 1px at 110px 80px, rgba(255,255,255,.7) 100%, transparent 0), radial-gradient(1px 1px at 160px 140px, rgba(255,255,255,.8) 100%, transparent 0);
        background-size: 220px 220px;
        background-repeat: repeat;
        animation: starsPan 60s linear infinite;
    }

@keyframes driftDeep {
    from {
        transform: translateY(0)
    }

    to {
        transform: translateY(-14px)
    }
}

@keyframes driftNear {
    from {
        transform: translateY(0)
    }

    to {
        transform: translateY(22px)
    }
}

@keyframes starsPan {
    from {
        background-position: 0 0,0 0,0 0
    }

    to {
        background-position: -220px 120px,220px -140px,-180px -110px
    }
}

/* ===== Hero ===== */
.Aegis {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(48px,6vw,80px) 16px
}

.Hero {
    width: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 14px
}

.Card {
    width: min(980px, 95vw);
    background: var(--panel);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,.10);
    padding: clamp(20px,3vw,28px);
    position: relative;
    overflow: hidden;
}

    .Card::after { /* subtle sheen sweep */
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
        opacity: 0;
        transform: translateX(-30%);
        animation: sheen 16s ease-in-out infinite;
    }

@keyframes sheen {
    0%,100% {
        opacity: 0;
        transform: translateX(-30%)
    }

    50% {
        opacity: .50;
        transform: translateX(30%)
    }
}

.Logo {
    width: min(520px, 80vw);
    margin: 8px auto 6px;
    filter: drop-shadow(0 18px 50px rgba(0,0,0,.55));
}

.Title {
    font-size: clamp(1.8rem, 3.0vw, 2.6rem);
    margin: 6px 0 2px;
    font-weight: 900;
    letter-spacing: .01em;
    text-shadow: 0 18px 55px rgba(0,0,0,.55);
}

.Badge {
    display: inline-block;
    margin: 6px 0 10px;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(242,163,101,.95), rgba(146,170,255,.90));
    color: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,.45);
}

.Lede {
    max-width: 820px;
    margin: 10px auto 2px;
    color: var(--ink-dim);
    line-height: 1.8;
    font-size: clamp(1rem, 1.4vw, 1.125rem);
}

.Actions {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: .9rem 1.5rem;
    border-radius: 12px;
    font-weight: 800;
    border: 2px solid transparent;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--brand);
    color: #000
}

    .btn-primary:hover {
        transform: translateY(-2px);
        filter: brightness(1.05)
    }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink)
}

    .btn-ghost:hover {
        background: rgba(255,255,255,.08)
    }

.glow {
    position: relative
}

    .glow::after {
        content: "";
        position: absolute;
        inset: -2px;
        border-radius: 16px;
        background: linear-gradient(135deg, rgba(242,163,101,.8), rgba(146,170,255,.7));
        filter: blur(14px);
        opacity: .35;
        z-index: -1;
    }

.Note {
    margin-top: 12px;
    color: var(--ink-dim);
    opacity: .9;
    font-size: .95rem;
}

/* Mobile tweaks */
@media (max-width: 640px) {
    .Card {
        padding: 18px
    }

    .Lede {
        line-height: 1.7
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .AegisBG .bg-deep,
    .AegisBG .bg-near,
    .AegisBG .bg-stars,
    .Card::after {
        animation: none !important;
        opacity: .25
    }
}
