:root {
    --bg-dark: #02040a;
    --gold: #e6b31e; 
    --orange-link: #e6b31e;
    --glass-bg: rgba(0, 0, 0, 0.75);
    --glass-border: rgba(230, 179, 30, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }

body { background-color: var(--bg-dark); color: white; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }

.video-background { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.video-background img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle, rgba(2,4,10,0.4) 0%, rgba(2,4,10,0.85) 100%); }

header { padding: 40px 10px 10px 10px; z-index: 10; }
.logo-container { display: flex; justify-content: center; align-items: center; gap: 50px; max-width: 1400px; margin: 0 auto; }

.header-logo { 
    height: 80px; 
    width: auto; 
    max-width: 450px;
    object-fit: contain; 
}

.content { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 20px; z-index: 10; }
.evento_acapulco { max-width: 380px; height: auto; margin-bottom: 20px; }

/* Estilos del título (comentado en HTML) */
/* .title { font-size: 0.9rem; letter-spacing: 5px; margin-bottom: 30px; text-align: center; font-weight: 300; } */

/* Estilos del countdown (comentado en HTML) */
/* .countdown-container { display: flex; flex-direction: row; justify-content: center; gap: 15px; margin-bottom: 40px; width: 100%; }
.time-block { background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: blur(10px); width: 100px; height: 120px; border-radius: 15px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.time-block span { font-size: 3rem; font-weight: 900; line-height: 1; }
.time-block p { font-size: 0.65rem; color: var(--gold); margin-top: 8px; letter-spacing: 2px; font-weight: 700; } */

.action-area { display: flex; flex-direction: column; gap: 10px; align-items: center; width: 100%; margin-bottom: 5px; }

.btn-survey {
    background: var(--gold);
    border: 2px solid var(--gold);
    color: black;
    padding: 18px 40px;
    width: 350px;
    font-size: 0.95rem;
    font-weight: 900;
    border-radius: 60px;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(230, 179, 30, 0.3);
}

/* ESTADO CUANDO YA SE SINCRONIZÓ (no se usa - funcionalidad de audio deshabilitada) */
/* .btn-survey.ready {
    background: rgba(241, 196, 15, 0.2) !important;
    border-color: #f1c40f !important;
    color: #f1c40f !important;
    width: 350px;
    animation: pulseReadyGold 2.5s infinite;
    pointer-events: none;
}

.btn-survey.ready small {
    display: block;
    font-size: 0.75rem;
    color: white;
    margin-top: 5px;
    font-weight: 400;
}

@keyframes pulseReadyGold {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.4); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 15px rgba(241, 196, 15, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(241, 196, 15, 0); }
} */

.btn-share-minimal {
    background: transparent;
    border: none;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 10px;
}

footer { padding: 35px 20px; text-align: center; background: rgba(0,0,0,0.9); z-index: 10; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-info p { font-size: 0.85rem; margin-bottom: 6px; }

footer a { color: var(--orange-link) !important; text-decoration: none; font-weight: 700; }

@media (max-width: 480px) {
    .header-logo { height: 90px; max-width: 190px; }
    .evento_acapulco { max-width: 280px; }
    /* Estilos de countdown comentados - no se usan */
    /* .countdown-container { gap: 8px; margin-bottom: 25px; }
    .time-block { width: 80px; height: 100px; }
    .time-block span { font-size: 2.2rem; } */
    .btn-survey { width: 320px; font-size: 0.8rem; }
    /* .btn-survey.ready { width: 95%; } */
}

/* Efecto visual de flash al llegar a cero (no se usa - funcionalidad de countdown deshabilitada) */
/* .flash-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    pointer-events: none;
    animation: flash-anim 1.5s forwards;
}

@keyframes flash-anim {
    0% { opacity: 1; }
    100% { opacity: 0; }
} */

/* Estilos para el video embebido */
.video-wrapper {
    width: 100%;
    max-width: 80%;
    margin: 0 auto 40px;
    filter: drop-shadow(0 0 20px rgba(230, 179, 30, 0.3));
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Proporción 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

@media (max-width: 480px) {
    .video-wrapper {
        max-width: 95%;
        margin-bottom: 25px;
    }
}

/* Estilos del Modal de Encuesta */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, rgba(2, 4, 10, 0.95) 0%, rgba(20, 20, 30, 0.95) 100%);
    margin: 3% auto;
    padding: 30px;
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 0 40px rgba(230, 179, 30, 0.4);
}

.modal-content h2 {
    color: var(--gold);
    font-size: 1.8rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.modal-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.close-modal {
    color: var(--gold);
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    line-height: 20px;
}

.close-modal:hover {
    color: white;
    transform: scale(1.2);
}

.question-block {
    margin-bottom: 25px;
    padding: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.question-label {
    display: block;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.radio-group label,
.checkbox-group label {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 0;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.2s;
}

.radio-group label:hover,
.checkbox-group label:hover {
    color: var(--gold);
    padding-left: 5px;
}

.radio-group input,
.checkbox-group input {
    margin-right: 10px;
    cursor: pointer;
    accent-color: var(--gold);
}

select {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: var(--gold);
}

select option {
    background: #1a1a2e;
    color: white;
}

.rating-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-slider {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    border-radius: 5px;
    cursor: pointer;
    accent-color: var(--gold);
}

.rating-value {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 900;
    min-width: 35px;
    text-align: center;
}

textarea {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    resize: vertical;
}

textarea:focus {
    outline: none;
    border-color: var(--gold);
}

textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-submit {
    width: 100%;
    background: var(--gold);
    border: 2px solid var(--gold);
    color: black;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 900;
    border-radius: 60px;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 20px;
    box-shadow: 0 0 15px rgba(230, 179, 30, 0.4);
}

.btn-submit:hover {
    background: white;
    border-color: white;
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(230, 179, 30, 0.6);
}

.thank-you-message {
    text-align: center;
    padding: 40px 20px;
}

.thank-you-message h3 {
    color: var(--gold);
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.thank-you-message p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        padding: 20px;
        margin: 5% auto;
    }

    .modal-content h2 {
        font-size: 1.4rem;
    }

    .question-block {
        padding: 15px;
    }
}