﻿#nova-intro {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #020204;
    color: white;
    font-family: Arial, sans-serif;
    transition: opacity .45s ease;
}
#nova-intro * { box-sizing: border-box; }
#nova-intro.nova-exit {
    opacity: 0;
    pointer-events: none;
}
.nova-center {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}
.nova-emblem {
    font-size: clamp(85px, 19vw, 155px);
    line-height: 1;
    font-weight: 900;
    font-style: italic;
    color: #eee5ff;
    text-shadow: 0 0 45px #7c3aed;
}
.nova-name {
    font-size: clamp(24px, 6vw, 48px);
    font-weight: 900;
    letter-spacing: 9px;
    margin-top: 20px;
}
.nova-beam {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg, transparent, #8b5cf6,
        white, #8b5cf6, transparent
    );
    opacity: 0;
}
.nova-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse, #30105d, transparent 70%
    );
    opacity: .45;
}
.nova-controls {
    display: grid;
    gap: 12px;
    margin-top: 35px;
}
.nova-controls button {
    padding: 14px 22px;
    border-radius: 9px;
    border: 1px solid #8b5cf6;
    background: #6d28d9;
    color: white;
    cursor: pointer;
    font: inherit;
}
.nova-controls button:last-child {
    background: transparent;
    border-color: #ffffff30;
}
.nova-playing .nova-controls {
    display: none;
}
.nova-playing .nova-beam {
    animation: novaBeam 3.5s both;
}
.nova-playing .nova-emblem {
    animation: novaEmblem 3.5s both;
}
.nova-playing .nova-name {
    animation: novaName 3.5s both;
}
@keyframes novaBeam {
    0% { opacity: 0; transform: scaleX(0); }
    27% {
        opacity: 1;
        transform: scaleX(1);
        box-shadow: 0 0 50px 8px #8b5cf6;
    }
    55%, 100% {
        opacity: 0;
        transform: scaleX(1.5);
    }
}
@keyframes novaEmblem {
    0%, 22% {
        opacity: 0;
        transform: scale(3);
        filter: blur(20px);
    }
    45%, 100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}
@keyframes novaName {
    0%, 42% {
        opacity: 0;
        filter: blur(12px);
        transform: translateY(15px);
    }
    80%, 100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    #nova-intro * {
        animation: none !important;
        transition: none !important;
    }
}
/* LOGO CINEMATOGRAPHIQUE */
.nova-intro-logo {
    display: block;
    width: clamp(150px, 36vw, 240px);
    height: clamp(150px, 36vw, 240px);
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 0 45px rgba(139, 92, 246, .65);
}
