:root {
    color-scheme: dark;
    
    /* Primary */
    --primary-brand: #450693;
    --primary-accent: #8C00FF;

    /* Secondary */
    --highlight-pink: #FF3F7F;
    --attention-yellow: #FFC400;

    /* UI Neutrals */
    --bg-dark: #2A024F;
    --surface-card: #3A0675;
    --border-subtle: #5E2A9C;

    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: #E0D6F5;
    --text-muted: #B9A9D9;

    /* States */
    --success: #FF3F7F;
    --warning: #FFC400;
    --focus-ring: #8C00FF;
    --disabled: #7A6A99;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    margin: 0;
    padding: 0;
    background: radial-gradient(circle, var(--primary-brand), var(--bg-dark));
    color: var(--text-primary);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--surface-card);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

h1 {
    color: var(--primary-accent);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

h2 {
    color: var(--text-primary);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.accent {
    color: var(--highlight-pink);
    font-weight: 600;
}

.button {
    background: linear-gradient(135deg, var(--primary-brand), var(--primary-accent));
    color: var(--text-primary);
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(140, 0, 255, 0.4);
}

.button:focus {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

/* Splash Screen */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
 background: radial-gradient(circle, var(--primary-brand), var(--bg-dark));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

#splash-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.splash-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 0px;
    animation: fadeInScale 0.6s ease-out, hopWobble 1.2s ease-in-out 0.8s infinite;
}

.splash-logo {
    width: 280px;
    height: auto;
    margin-bottom: 32px;
    animation: fadeInScale 0.6s ease-out 0.2s both;
}

.splash-loading {
    color: var(--text-secondary);
    background: var(--primary-accent);
    font-size: 1rem;
    font-weight: 500;
    animation: fadeInScale 0.6s ease-out 0.4s both, pulse 1.5s ease-in-out 0.8s infinite;
    text-transform: uppercase;
    padding-left: 8px;
    padding-right: 8px;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes hopWobble {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    15% {
        transform: translateY(-15px) rotate(-5deg);
    }
    30% {
        transform: translateY(0) rotate(0deg);
    }
    45% {
        transform: translateY(-10px) rotate(5deg);
    }
    60% {
        transform: translateY(0) rotate(0deg);
    }
}
