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

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0f;
    color: #eeeef4;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.page {
    --accent-a: #4f7cff;
    --accent-b: #8060d0;
    --accent-c: #d4a853;
    min-height: 100vh;
}

.theme-myanimals {
    --accent-a: #3d8b6e;
    --accent-b: #c4a35a;
    --accent-c: #e8d5a3;
}

.theme-spencer {
    --accent-a: #6b8caf;
    --accent-b: #c9d4e0;
    --accent-c: #e8eef4;
}

.theme-thought {
    --accent-a: #5b4fcf;
    --accent-b: #8a7cff;
    --accent-c: #d0c8ff;
}

.theme-dream {
    --accent-a: #e05ad0;
    --accent-b: #5ad4e0;
    --accent-c: #f0c36b;
}

.theme-neotheos {
    --accent-a: #4f7cff;
    --accent-b: #b050c8;
    --accent-c: #d4a853;
}

.backdrop {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 10%, color-mix(in srgb, var(--accent-a) 28%, transparent), transparent 55%),
        radial-gradient(ellipse at 80% 90%, color-mix(in srgb, var(--accent-b) 22%, transparent), transparent 50%),
        #0a0a0f;
    z-index: 0;
}

.overlay {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.overlay-panel {
    text-align: center;
    padding: 3rem 4rem;
    border-radius: 16px;
    background: rgba(10, 10, 20, 0.5);
    backdrop-filter: blur(24px) saturate(1.3);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 24px 80px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    max-width: 40rem;
}

.mark {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.mark svg {
    filter: drop-shadow(0 0 12px color-mix(in srgb, var(--accent-a) 50%, transparent));
}

.brand-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #eeeef4 0%, var(--accent-a) 55%, var(--accent-c) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    color: rgba(200, 200, 220, 0.85);
    margin-bottom: 0.75rem;
}

.status {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--accent-c) 80%, white);
    margin-bottom: 0.8rem;
}

.tagline-glow {
    width: 120px;
    height: 2px;
    margin: 0.8rem auto 1.4rem;
    background: linear-gradient(90deg, transparent, var(--accent-a), var(--accent-c), transparent);
    border-radius: 1px;
}

.credit {
    font-size: 0.85rem;
    color: rgba(200, 200, 220, 0.55);
}

.credit a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.credit a:hover {
    color: #fff;
}

@media (max-width: 600px) {
    .overlay-panel {
        padding: 2rem 1.5rem;
    }

    .brand-title {
        font-size: 1.45rem;
        letter-spacing: 0.1em;
    }
}
