/* Pantalla de Inicio (Start Screen) */
#start-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e60000 0%, #b30000 100%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: "Press Start 2P", cursive;
    text-align: center;
    transition: opacity 0.5s ease;
}

.start-content {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px;
    border-radius: 20px;
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    max-width: 90%;
    width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#start-screen h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-shadow: 4px 4px 0 rgba(0,0,0,0.5);
    line-height: 1.4;
}

.start-subtitle {
    font-size: 0.8rem;
    margin-bottom: 30px;
    color: #ffcc00;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}

.start-icon {
    font-size: 5rem;
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.start-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: center;
}

/* Start screen buttons - extienden .btn del sistema base */
.start-btn {
    /* Colores específicos del start screen */
    background: white;
    color: #e60000;
    border: none;
    border-radius: 10px;
    text-transform: uppercase;
    width: 100%;
    max-width: 300px;
}

/* El efecto 3D viene de .btn--3d en buttons.css */

/* Variante secundaria - extiende .btn--secondary */
.start-btn.secondary {
    background: #e6e6e6;
    color: #666;
    font-size: 0.8rem;
}

.start-btn.secondary:hover {
    background: #f0f0f0;
    color: #333;
}

.start-note {
    font-size: 0.5rem;
    opacity: 0.8;
    margin-top: 20px;
}

/* Selector de Partido */
.party-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
    justify-content: center;
    margin: 20px 0;
    max-width: 350px;
}

/* Party buttons - extienden .btn y .btn--partido del sistema base */
.party-btn {
    /* Layout específico del party selector */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    border-width: 3px;
    border-radius: 12px;
    min-width: 0;
    min-height: auto;
}

.party-btn:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Colores de partidos vienen de .btn--psoe, .btn--pp, etc en buttons.css */

.party-emoji {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.party-name {
    font-size: 1rem;
    font-weight: bold;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}

.party-desc {
    font-size: 0.45rem;
    opacity: 0.9;
    margin-top: 6px;
    text-align: center;
    line-height: 1.3;
}

/* Transición entre pantallas de start */
#start-screen .start-content {
    transition: opacity 0.3s ease;
}

/* Fondo dinámico para selector de partido */
#start-screen.pp-selected {
    background: linear-gradient(135deg, #0066cc 0%, #003d7a 100%);
}

#start-screen.vox-selected {
    background: linear-gradient(135deg, #63be21 0%, #4a9518 100%);
}

#start-screen.podemos-selected {
    background: linear-gradient(135deg, #7b297b 0%, #5a1f5a 100%);
}

/* Ajustes Responsive para Start Screen */
@media (max-width: 480px) {
    .start-content {
        padding: 20px;
        width: 85%;
    }
    #start-screen h1 {
        font-size: 1.5rem;
    }
    .start-icon {
        font-size: 4rem;
        margin-bottom: 20px;
    }
    .start-btn {
        padding: 15px 20px;
        font-size: 0.9rem;
    }
    .party-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 100%;
    }
    .party-btn {
        min-width: unset;
        padding: 12px 8px;
    }
    .party-emoji {
        font-size: 2rem;
    }
    .party-name {
        font-size: 0.85rem;
    }
    .party-desc {
        font-size: 0.4rem;
    }
}