/* Importar fuente de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Estilos Generales */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fde2e4;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Contenedores Principales */
main {
    width: 100%;
}

section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

/* Clase de Ocultar */
.hidden {
    display: none !important;
}

/* Estilos de Títulos */
h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #8b5a6b;
    line-height: 1.2;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #8b5a6b;
}

h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #8b5a6b;
    margin-bottom: 10px;
}

p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #666;
}

/* Cuenta Regresiva */
#timer {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff1f2;
    border-radius: 15px;
    padding: 20px 15px;
    box-shadow: 0 4px 15px rgba(139, 90, 107, 0.1);
    min-width: 70px;
}

.time-unit span {
    font-size: 2.5rem;
    font-weight: 700;
    color: #8b5a6b;
    line-height: 1;
}

.time-unit label {
    font-size: 0.9rem;
    font-weight: 400;
    color: #999;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Botones */
button {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    background-color: #f2acb4;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(242, 172, 180, 0.3);
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

button:hover {
    background-color: #e99ca6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 172, 180, 0.4);
}

button:active {
    transform: translateY(0);
}

/* Contenedor del Test */
#quiz-container {
    max-width: 500px;
    width: 100%;
}

#question-container {
    margin-bottom: 30px;
}

#question-container h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

#answers-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

#answers-container button {
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    background-color: #f8d7da;
    color: #8b5a6b;
    border-radius: 15px;
}

#answers-container button:hover {
    background-color: #f2acb4;
    color: white;
}

/* Sección de Resultados */
#results-container {
    max-width: 600px;
    width: 100%;
}

#conclusion-text {
    background-color: #fff1f2;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(139, 90, 107, 0.1);
}

#conclusion-text p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Galería de Fotos */
#photo-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 400px;
    margin-bottom: 30px;
}

#photo-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(139, 90, 107, 0.2);
    transition: transform 0.3s ease;
}

#photo-gallery img:hover {
    transform: scale(1.05);
}

/* Cupón */
.coupon {
    border: 2px dashed #f2acb4;
    padding: 20px;
    margin-top: 30px;
    background-color: #fff1f2;
    border-radius: 15px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(139, 90, 107, 0.1);
}

.coupon h3 {
    color: #8b5a6b;
    margin-bottom: 10px;
}

.coupon p {
    color: #8b5a6b;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Media Queries para pantallas más grandes */
@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .time-unit {
        padding: 25px 20px;
        min-width: 90px;
    }
    
    .time-unit span {
        font-size: 3rem;
    }
    
    #photo-gallery {
        grid-template-columns: repeat(3, 1fr);
        max-width: 500px;
    }
    
    #photo-gallery img {
        height: 180px;
    }
}

@media (min-width: 1024px) {
    section {
        padding: 40px;
    }
    
    #photo-gallery {
        grid-template-columns: repeat(3, 1fr);
        max-width: 600px;
    }
    
    .coupon {
        max-width: 500px;
    }
}