/* ===== Reset ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== Theme ===== */
:root {
    --bg-deep: #050306;
    --accent-ember: #e2a461;
    --accent-ember-soft: #b8793c;
    --text-main: #f4ecdd;
    --text-muted: #a79a87;
    --text-subtle: #7e7262;
}

/* ===== Base ===== */
html,
body {
    height: 100%;
}

body {
    min-height: 100vh;
    overflow: hidden;
    background: #000;
    color: var(--text-main);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ===== Canvas Background (Nebel + Glut via main.js) ===== */
#ao-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block;
}

/* ===== Overlays (Noise + Vignette) ===== */
.ao-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.ao-noise {
    opacity: 0.35;
    mix-blend-mode: soft-light;
    background-image:
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.02),
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px,
            transparent 3px
        ),
        radial-gradient(circle at 20% 0, rgba(255, 255, 255, 0.05), transparent 55%),
        radial-gradient(circle at 80% 100%, rgba(255, 255, 255, 0.04), transparent 55%);
}

.ao-vignette {
    background:
        radial-gradient(circle at center, transparent 0%, transparent 40%, rgba(0, 0, 0, 0.9) 100%);
}

/* ===== Parallax Layers (für Mausbewegung) ===== */
.ao-parallax {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    --px: 0px;
    --py: 0px;
    transform: translate3d(var(--px), var(--py), 0);
    transition: transform 0.06s linear;
}

/* ===== Runen-Layer ===== */
.ao-runes {
    font-family: "Cinzel", serif;
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(223, 198, 150, 0.16);
}

.ao-rune {
    position: absolute;
    white-space: nowrap;
}

.ao-rune-top {
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
}

.ao-rune-left {
    top: 52%;
    left: -24%;
    transform: rotate(-90deg);
}

.ao-rune-right {
    top: 46%;
    right: -24%;
    transform: rotate(90deg);
}

/* ===== Orb-Layer deaktivieren (kein Kreis mehr) ===== */
.ao-orb-layer {
    display: none;
}

/* ===== Hero Layout ===== */
.ao-hero {
    position: relative;
    z-index: 3;
    height: 100vh;
    width: 100vw;
    padding: clamp(18px, 4vw, 32px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Header (derzeit leer, nur etwas Abstand oben) */
.ao-hero-header {
    min-height: 24px;
}

/* Center Content (Titel, Tagline, Coming Soon) */
.ao-hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    transform: translateY(12px);
    animation: ao-fade-up 1.4s ease-out forwards;
    opacity: 0;
}

/* Titel / Logo */
.ao-title-label {
    font-family: "Press Start 2P", cursive;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    text-shadow:
        0 0 2px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(226, 164, 97, 0.7),
        0 0 22px rgba(157, 86, 42, 0.9);
}

/* Tagline */
.ao-tagline {
    font-family: "Cinzel", serif;
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 420px;
    line-height: 1.3;
    margin-top: 4px;
}

/* „Coming Soon“ – graviertes Label */
.ao-pill {
    margin-top: 12px;
    padding: 6px 0;
    border: none;
    background: transparent;
    cursor: default;

    font-family: "Cinzel", serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--text-subtle);

    position: relative;
}

/* Gravierte Linie über dem Text */
.ao-pill::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 140px;
    transform: translateX(-50%);
    border-top: 1px solid rgba(226, 164, 97, 0.55);
    opacity: 0.9;
}

/* ===== Footer ===== */
.ao-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.75rem;
    color: var(--text-subtle);
}

/* ===== Animations ===== */
@keyframes ao-fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(12px);
    }
}

/* ===== Responsive ===== */
@media (max-width: 720px) {
    .ao-hero {
        padding: 16px 14px;
    }

    .ao-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 4px;
    }

    .ao-rune-left,
    .ao-rune-right {
        display: none;
    }

    .ao-title-label {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        letter-spacing: 0.18em;
    }

    .ao-tagline {
        max-width: 90vw;
    }
}
