@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Lato:wght@300;400;700&display=swap');

:root {
    --neon-purple: #b026ff;
    --neon-gold: #ffd700;
    --void-black: #0a0a0a;
    --deep-space: #111119;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--void-black);
    color: #ffffff;
    overflow-x: hidden;
}

/* Light Mode Override - REMOVED
body.light-mode {
    background-color: #f8fafc; 
    color: #0f172a; 
}

body.light-mode .crt-overlay {
    opacity: 0.3;
    mix-blend-mode: multiply;
}
*/

h1, h2, h3, .mystic-font {
    font-family: 'Cinzel', serif;
}

/* Animations */
@keyframes breathe {
    0% { transform: scale(1); box-shadow: 0 0 10px rgba(176, 38, 255, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 0 25px rgba(176, 38, 255, 0.6); }
    100% { transform: scale(1); box-shadow: 0 0 10px rgba(176, 38, 255, 0.3); }
}

.animate-breathe {
    animation: breathe 3s infinite ease-in-out;
}

@keyframes rotate-magic {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.magic-circle {
    animation: rotate-magic 10s linear infinite;
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fade-in 0.5s ease-out forwards;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.glitch-effect:hover {
    animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
}

/* Transitions */
.screen {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.screen.active {
    /* Changed from flex to block to prevent forced centering/flex behaviors */
    display: block; 
    opacity: 1;
    height: 100%;
}

/* Custom Components */
.option-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.option-card:active {
    transform: scale(0.95);
    border-color: var(--neon-purple);
    box-shadow: 0 0 15px var(--neon-purple);
}

.progress-fill {
    box-shadow: 0 0 10px var(--neon-gold);
    transition: width 0.5s ease-in-out;
}

.blur-content {
    filter: blur(8px);
    user-select: none;
    pointer-events: none;
}

/* CRT / Retro Effect Overlay */
.crt-overlay {
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

