/* =========================================================================
 * ESTILOS PARA EL NUEVO MODAL "SHARE GATE"
 * Prioridad: Móviles en vista horizontal.
 * MODIFICADO: Ajuste de colores en el título y la etiqueta del contador.
 * ========================================================================= */

.modal--share-gate .modal__content {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    max-width: 800px;
    width: 90vw;
    max-height: 90vh;
    padding: 0;
    overflow: hidden;
    background: #1f2937;
    border: 2px solid #28a745; /* Borde verde WhatsApp */
    box-shadow: 0 0 25px rgba(40, 167, 69, 0.5);
    margin: auto; 
}


/* --- Columna Izquierda (Visual) --- */
.sg-visual-col {
    flex: 0 0 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2vh;
    box-sizing: border-box;
    background: radial-gradient(ellipse at center, #1f2937, #111827);
    flex-direction: column; 
    gap: 2vh; 
}


.sg-prize-container {
    position: relative;
    width: 100%;
}

.sg-prize-image {
    max-width: 100%;
    max-height: 40vh;
    object-fit: contain;
    border-radius: 8px;
    filter: grayscale(80%) blur(2px); /* Efecto de "bloqueado" */
    opacity: 0.6;
}

.sg-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
}

.sg-lock-icon {
    width: clamp(50px, 15vw, 80px);
    height: auto;
    color: rgba(255, 255, 255, 0.7);
}


/* --- Columna Derecha (Texto y Acciones) --- */
.sg-text-col {
    flex: 1 1 70%;
    display: flex;
    flex-direction: column;
    padding: clamp(15px, 3vh, 30px);
    text-align: center;
    min-height: 0; 
}


.sg-text-col .modal__title {
    color: #28a745; /* Color verde principal */
    font-size: clamp(1.4rem, 4vh, 2rem);
    flex-shrink: 0;
    /* --- INICIO DE LA MODIFICACIÓN --- */
    margin-bottom: 2vh; /* Se añade margen inferior para separar del texto */
    /* --- FIN DE LA MODIFICACIÓN --- */
}

.sg-text-col .modal__text {
    color: #e5e7eb;
    font-size: clamp(0.9rem, 2.5vh, 1.1rem);
    flex-grow: 1; 
    overflow-y: auto; 
    padding: 0.5em 0.5em; 
    margin: 1vh 0; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.sg-counter-container {
    margin: 0; 
    background-color: rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 1vh 2vh;
    width: 100%; 
}

.sg-counter-label {
    font-size: clamp(0.7rem, 1.8vh, 0.8rem);
    text-transform: uppercase;
    color: #239b56; /* Verde más oscuro */
    opacity: 0.9;
}

.sg-counter-display {
    font-size: clamp(1.5rem, 5vh, 2.5rem);
    font-weight: bold;
    color: #4ade80; /* Verde brillante */
}

.modal--share-gate .modal__footer {
    width: 100%;
    /* --- INICIO DE LA MODIFICACIÓN --- */
    padding-top: 4vh; /* Aumentado de 2vh a 4vh para bajar la línea y los botones */
    /* --- FIN DE LA MODIFICACIÓN --- */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.modal--share-gate .modal__footer .btn {
    width: 100%;
    padding: clamp(12px, 2vh, 18px);
    font-size: clamp(0.9rem, 2.5vh, 1.1rem);
}

.sg-footer-note {
    /* --- INICIO DE LA MODIFICACIÓN --- */
    margin-top: 0.5vh; /* Reducido drásticamente de 1.5vh para juntar los botones */
    /* --- FIN DE LA MODIFICACIÓN --- */
    flex-shrink: 0;
}

.sg-footer-note .btn-text-link {
    font-size: clamp(0.7rem, 1.8vh, 0.8rem);
}

/* Media Query para móvil horizontal */
@media (orientation: landscape) and (max-height: 500px) {
    .modal--share-gate .modal__content {
        height: 85vh; 
    }

    .sg-text-col {
        padding: clamp(10px, 2vh, 20px); 
    }

    .sg-text-col .modal__title {
        font-size: clamp(1.2rem, 3.5vh, 1.6rem);
    }
    
    .sg-text-col .modal__text {
        font-size: clamp(0.8rem, 2.2vh, 0.9rem);
    }
}