/* ==========================================
   QUANTUM MERLIN INTRO ANIMATION STYLES
   ========================================== */

#intro-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease;
}

#intro-container.fade-out {
    opacity: 0;
    pointer-events: none;
}

#lines-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.emoji-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.intro-emoji {
    position: absolute;
    font-size: 60px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center;
    will-change: transform, opacity;
    opacity: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Support both naming conventions */
#quantum, #intro-quantum {
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

#wizard, #intro-wizard {
    color: #00F0FF;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.8);
}

#rose, #intro-rose {
    color: #FF0066;
    text-shadow: 0 0 20px rgba(255, 0, 102, 0.8);
}

#singularity {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #FFD700, #00F0FF, #FF0066);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    z-index: 3;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

/* Support both naming conventions for title */
#title, #intro-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 1px;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, #00F0FF 0%, #FFD700 50%, #FF0066 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    opacity: 0;
    z-index: 4;
    letter-spacing: 0.1em;
}

#app-content {
    opacity: 0;
    transition: opacity 0.5s ease;
}

#app-content.visible {
    opacity: 1;
}
