/* ============================================
   SPLASH / LOADING / WELCOME SCREENS
   Pre-login flow: splash -> loading -> welcome
============================================ */
.section.splash {
    padding: 0;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
}

.section.splash.active {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), linear-gradient(180deg, #181F2F 0%, #04060B 100%);
    display: flex;
}

.tamasha-logo {
    display: block;
    width: 500px;
    height: auto;
    object-fit: contain;
}

.tamasha-logo-anim {
    width: 800px;
    height: 800px;
}

.tamasha-logo-anim svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Splash loading spinner — 1:1 port of Android
   res/drawable/progress_background.xml (sweep-gradient ring rotating
   0° → 1080°), same as the shared TamashaLoader. */
.splash-spinner {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
        rgba(18, 147, 251, 0)   0deg,
        rgba(18, 147, 251, 0.1) 180deg,
        #1293FB                 360deg);
    -webkit-mask: radial-gradient(circle, transparent 43px, #000 46px);
            mask: radial-gradient(circle, transparent 43px, #000 46px);
    animation: splash-spin 3s linear infinite;
}

@keyframes splash-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(1080deg); }
}

/* Welcome screen */
.welcome-stack {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Bigger breathing room between logo, title and button so the stack
       fills more of the TV canvas. */
    gap: 60px;
    width: 100vw;
    height: 100vh;
}

.welcome-title {
    font-family: 'Museo Sans', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 56px;
    line-height: 68px;
    letter-spacing: -0.01em;
    text-align: center;
    color: #FFFFFF;
    margin: 0;
    max-width: 900px;
}

.welcome-actions {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.welcome-btn {
    height: 84px;
    border-radius: 16px;
    padding: 12px 32px;
    min-width: 200px;
    font-family: 'Roboto', 'Inter', sans-serif !important;
    font-size: 32px;
    font-weight: 800;
}

.welcome-btn:focus,
.welcome-btn:focus-visible,
.welcome-btn.is-focused {
    outline: none;
    box-shadow: none;
    transform: scale(1.04);
}
