/* Estilos generales */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4; /* Un fondo sereno */
    color: #333;
    overflow: hidden; /* Evita barras de scroll por el confeti */
}

/* Contenedor principal de cada pantalla */
.pantalla {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.8s ease-in-out; /* Transición suave */
}

.contenido {
    max-width: 600px;
    padding: 20px;
}

/* Estilos del Cebo (Fase 1) */
#cebo {
    background-color: #fdfdfd;
}

.filosofia {
    font-size: 1.3em;
    line-height: 1.6;
    color: #555;
}

#kake-button {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    background-color: transparent;
    border: 2px solid #333;
    padding: 15px 30px;
    margin-top: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#kake-button:hover {
    background-color: #333;
    color: #fff;
}

/* Estilos de la Sorpresa (Fase 2) */
#sorpresa {
    background: linear-gradient(0deg, #bbd9fc 0%, #1b7cfc 100%); /* Fondo festivo */
}

h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.felicitacion {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 30px;
}

.foto-profesor {
    max-width: 250px;
    border-radius: 10%; /* Foto circular */
    border: 5px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Clases para controlar la visibilidad y transiciones */
.hidden {
    display: none;
}

.fade-out {
    opacity: 0;
}

.audio-center {
    display: block;
    margin: 40px auto 0 auto;
}

audio.hidden {
    display: none;
}
