/* ============================================================
   cinematic.css — Cinematic Intro (Galaxy → Solar → Earth)
   ============================================================ */

/* Stage dots */
.cin-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
}
.cin-dot.active {
    background: var(--color-aurora);
    border-color: var(--color-aurora);
    box-shadow: 0 0 10px var(--color-aurora);
    transform: scale(1.25);
}
.cin-dot.done {
    background: rgba(100,255,218,0.4);
    border-color: rgba(100,255,218,0.4);
}

/* Skip button hover */
#btn-skip-intro:hover {
    background: rgba(100,255,218,0.15) !important;
    border-color: var(--color-aurora) !important;
    box-shadow: 0 0 15px rgba(100,255,218,0.3);
    transform: translateY(-1px);
}

/* Title animate in */
@keyframes cinTitleIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

#cin-title {
    animation: cinTitleIn 0.8s ease 0.3s both;
}
#cin-sub {
    animation: cinTitleIn 0.8s ease 0.7s both;
}

/* Stage label pulse on change */
@keyframes labelPulse {
    0%   { opacity: 0; }
    50%  { opacity: 1; }
    100% { opacity: 1; }
}
#cin-stage-label { animation: labelPulse 0.5s ease both; }

/* Fallback mode — CSS animation galaxy when WebGL unavailable */
.fallback-bg {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at 40% 50%, #1a0a3a 0%, #000005 70%);
    animation: fallbackRotate 20s linear infinite;
    z-index: -1;
}
@keyframes fallbackRotate {
    from { filter: hue-rotate(0deg); }
    to   { filter: hue-rotate(60deg); }
}

/* Mobile adjustments */
@media (max-width: 600px) {
    #cin-title { font-size: 1.5rem !important; }
    #cin-sub   { font-size: 0.85rem !important; }
    #cin-overlay { padding: 1.5rem 1rem 2rem !important; }
}
