.global-header.splash-transparent,
.site-footer.splash-transparent,
#toggle-dice-btn.splash-transparent,
.floating-vitality-orbs.splash-transparent,
#top-mobile-hud.splash-transparent,
.combat-utilities-wrapper.splash-transparent,
.tooltip--stat-points.splash-transparent,
#stat-points-tooltip.splash-transparent,
#stat-points-indicator.splash-transparent {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Tour Splash Specifics */

body #creation-tour .char-splash-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
    margin-bottom: 0.5rem;
}

#creation-tour .char-splash-subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
}

/* --- Splash Screen --- */

.char-splash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7rem 1.5rem 2rem; /* Adjusted to user preference */
    text-align: center;
    background: rgba(0, 0, 0, 0.85);
    z-index: var(--z-notification); /* Above HUD and most UI */
    overflow: hidden;
    animation: overlayFadeIn 0.5s ease forwards;
}

.char-splash-content {
    max-width: 600px;
    width: 100%;
    animation: fadeInScale 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes overlayFadeIn {
    from {
        background-color: rgba(0, 0, 0, 0);
    }
    to {
        background-color: rgba(0, 0, 0, 0.85);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.char-splash-title {
    font-family: var(--font-primary);
    font-size: clamp(4.5rem, 18vw, 7rem);
    background: var(--metallic-gradient);
    background-size: 150% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    padding: 0 15px;
    transform: translateZ(0);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-glow);
    filter: drop-shadow(0 2px 2px rgba(255, 255, 255, 0.2));
    /* Specular edge */
}

.char-splash-subtitle {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--text-secondary);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 1;
    /* Changed from 0.8 to match welcomeMsg stability */
}

#splash-welcome-msg {
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    opacity: 1;
    /* Changed from 0.8 to prevent dimming after animation */
    text-shadow: 0 0 10px var(--accent-glow);
    animation: fadeIn 1s ease forwards;
}

@media (max-width: 360px) {
  .char-splash-title {
        letter-spacing: 0.05em;
        font-size: clamp(4.5rem, 20vw, 6rem);
    }
.char-splash-subtitle {
        font-size: 0.95rem;
        letter-spacing: 0.25em;
        margin-bottom: 1.5rem;
    }#splash-welcome-msg {
        font-size: 0.65rem;
        /* Slightly smaller still to be sure */
        letter-spacing: 0.1em;
        margin-bottom: 1rem;
    }
}

.splash-fade-out {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}