/* ======= SPLASH SCREEN =======
   Splash screen, name entry
*/

#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease;
}

#splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

#splash-content {
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

#splash-logo {
    width: 85vw;
    max-width: 420px;
    height: auto;
    border-radius: 0;
    margin-bottom: 0;
    animation: splash-pop 0.6s ease;
}

@keyframes splash-pop {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

#splash-welcome {
    font-size: 22px;
    font-weight: 600;
    color: var(--accent-gold);
    margin: 16px 0 6px;
    animation: splash-fade 0.8s ease 0.3s both;
}

#splash-tagline {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
    animation: splash-fade 0.8s ease 0.5s both;
}

@keyframes splash-fade {
    0% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Name entry screen */
#name-entry-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-page);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
}

#name-entry-content {
    text-align: center;
    padding: 40px 20px;
    width: 100%;
    max-width: 400px;
}

#name-entry-logo {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    margin-bottom: 24px;
}

#name-entry-content h1 {
    font-size: 22px;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

#name-entry-content p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

#user-name-input {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 12px;
    box-sizing: border-box;
}

#save-name-btn {
    width: 100%;
    padding: 14px;
    background: var(--accent-gold);
    color: var(--text-primary);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

#save-name-btn:hover {
    background: var(--accent-red-hover);
}