/* =============================================
   Dororo - Splash Screen Styles
   ============================================= */

#splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #050002;
    overflow: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

#splash-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ========== Title - Top Center ========== */
#splash-title {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

#splash-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.splash-brand {
    font-family: 'Inter', 'Poppins', system-ui, sans-serif;
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 12px;
    text-transform: uppercase;
    color: #E50914;
    text-shadow:
        0 0 40px rgba(229, 9, 20, 0.5),
        0 0 80px rgba(229, 9, 20, 0.25);
    margin: 0 0 12px 0;
    display: block;
    animation: brandGlow 3s ease-in-out infinite;
}

.splash-subtitle {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

@keyframes brandGlow {
    0%, 100% {
        text-shadow: 0 0 40px rgba(229, 9, 20, 0.5), 0 0 80px rgba(229, 9, 20, 0.25);
    }
    50% {
        text-shadow: 0 0 60px rgba(229, 9, 20, 0.7), 0 0 120px rgba(229, 9, 20, 0.35);
    }
}

/* ========== Enter Button - Center ========== */
#splash-enter {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 10;
    background: none;
    border: 1px solid rgba(229, 9, 20, 0.5);
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    padding: 16px 56px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 4px;
}

#splash-enter.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    animation: enterPulse 2.5s ease-in-out infinite;
}

@keyframes enterPulse {
    0%, 100% {
        border-color: rgba(229, 9, 20, 0.4);
        box-shadow: 0 0 20px rgba(229, 9, 20, 0.08);
    }
    50% {
        border-color: rgba(229, 9, 20, 0.7);
        box-shadow: 0 0 40px rgba(229, 9, 20, 0.15);
    }
}

#splash-enter:hover {
    background: rgba(229, 9, 20, 0.12);
    border-color: #E50914;
    color: white;
    letter-spacing: 10px;
    box-shadow: 0 0 50px rgba(229, 9, 20, 0.25);
}

/* ========== Credits - Bottom Left ========== */
#splash-credits {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 10;
    opacity: 0;
    transform: translateY(15px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

#splash-credits.visible {
    opacity: 1;
    transform: translateY(0);
}

.splash-developer {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    margin: 0 0 8px 0;
}

.splash-developer strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.splash-contact {
    margin: 0;
}

.splash-contact a {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.85rem;
    color: #E50914;
    text-decoration: none;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: all 0.3s ease;
    cursor: pointer;
}

.splash-contact a:hover {
    opacity: 1;
    text-shadow: 0 0 15px rgba(229, 9, 20, 0.5);
    text-decoration: underline;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .splash-brand {
        font-size: 2.2rem;
        letter-spacing: 8px;
        padding: 16px 28px;
    }
    #splash-title { top: 40px; }
    #splash-credits { bottom: 30px; left: 24px; }
    .splash-developer { font-size: 0.85rem; }
    #splash-enter { font-size: 0.9rem; letter-spacing: 6px; padding: 14px 40px; }
}

@media (max-width: 480px) {
    .splash-brand {
        font-size: 1.6rem;
        letter-spacing: 5px;
        padding: 12px 20px;
    }
    #splash-title { top: 30px; }
    #splash-credits { bottom: 24px; left: 16px; }
    .splash-developer { font-size: 0.8rem; letter-spacing: 1px; }
    #splash-enter { font-size: 0.8rem; letter-spacing: 4px; padding: 12px 32px; }
}
