/* ========== VARIABLES ========== */
:root {
    --bg-dark: #0c0a12;
    --bg-card: rgba(20, 16, 30, 0.7);
    --text-primary: #f0eef5;
    --text-secondary: #8b86a0;
    --text-muted: #5a5570;
    --purple: #c084fc;
    --pink: #f472b6;
    --orange: #fb923c;
    --warm-white: #fef3e2;
    --glow-purple: rgba(192, 132, 252, 0.35);
    --glow-pink: rgba(244, 114, 182, 0.35);
    --gradient-main: linear-gradient(135deg, #c084fc, #f472b6, #fb923c);
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Sora', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== BACKGROUND ========== */
.bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 120%, rgba(192, 132, 252, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 20% 20%, rgba(244, 114, 182, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 80% 30%, rgba(251, 146, 60, 0.04) 0%, transparent 50%);
}

.bg-noise {
    position: absolute;
    inset: 0;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 256px;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(192, 132, 252, 0.12);
    top: -10%;
    right: -8%;
    animation: orbFloat1 12s ease-in-out infinite;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(244, 114, 182, 0.1);
    bottom: -5%;
    left: -5%;
    animation: orbFloat2 15s ease-in-out infinite;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: rgba(251, 146, 60, 0.08);
    top: 40%;
    left: 50%;
    animation: orbFloat3 10s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, 30px) scale(1.1); }
    66% { transform: translate(20px, -20px) scale(0.95); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.15); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-60px, -30px) scale(1.2); }
}

#constellation {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ========== MAIN LAYOUT ========== */
.main {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.container {
    max-width: 560px;
    width: 100%;
    text-align: center;
}

/* ========== BRAND MARK ========== */
.brand-mark {
    margin-bottom: 36px;
    animation: fadeIn 1.2s ease 0.2s both;
}

.mark-ring {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mark-ring svg {
    position: absolute;
    width: 100%;
    height: 100%;
}

.ring-outer {
    animation: ringRotate 20s linear infinite;
    transform-origin: 60px 60px;
}

.ring-inner {
    animation: ringRotate 15s linear infinite reverse;
    transform-origin: 60px 60px;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.mark-letter {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

/* ========== TITLE ========== */
.title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 800;
    letter-spacing: 0.18em;
    margin-bottom: 16px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: fadeIn 1.2s ease 0.4s both, gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ========== SUBTITLE ========== */
.subtitle {
    font-family: var(--font-secondary);
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 0.06em;
    margin-bottom: 36px;
    animation: fadeIn 1.2s ease 0.6s both;
}

/* ========== DIVIDER ========== */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 36px;
    animation: fadeIn 1.2s ease 0.7s both;
}

.divider-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--purple);
    opacity: 0.5;
}

.divider-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.3), transparent);
}

/* ========== STATUS CARD ========== */
.status-card {
    background: var(--bg-card);
    border: 1px solid rgba(192, 132, 252, 0.08);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 40px;
    backdrop-filter: blur(24px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    animation: fadeInUp 1s ease 0.9s both;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: var(--font-secondary);
}

.status-row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.status-icon {
    font-size: 0.8rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(192, 132, 252, 0.08);
    color: var(--purple);
    flex-shrink: 0;
}

.status-row:nth-child(2) .status-icon {
    background: rgba(244, 114, 182, 0.08);
    color: var(--pink);
}

.status-row:nth-child(3) .status-icon {
    background: rgba(251, 146, 60, 0.08);
    color: var(--orange);
}

.status-text {
    letter-spacing: 0.02em;
}

/* ========== PILL ========== */
.pill {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding: 12px 36px;
    border-radius: 100px;
    border: 1px solid rgba(192, 132, 252, 0.2);
    background: rgba(192, 132, 252, 0.04);
    margin-bottom: 48px;
    animation: fadeInUp 1s ease 1.1s both;
    overflow: hidden;
}

.pill-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--gradient-main);
    opacity: 0;
    animation: pillGlow 4s ease-in-out infinite;
}

@keyframes pillGlow {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.06; }
}

.pill-text {
    font-family: var(--font-primary);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

/* ========== FOOTER ========== */
.footer {
    animation: fadeIn 1.2s ease 1.3s both;
}

.footer p {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    font-weight: 300;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 600px) {
    .status-card {
        padding: 18px 20px;
    }

    .status-row {
        font-size: 0.82rem;
    }

    .pill {
        padding: 10px 28px;
    }

    .pill-text {
        font-size: 0.75rem;
        letter-spacing: 0.18em;
    }

    .orb-1 {
        width: 250px;
        height: 250px;
    }

    .orb-2 {
        width: 180px;
        height: 180px;
    }

    .orb-3 {
        width: 120px;
        height: 120px;
    }
}
