/* =========================================================================
 * ESTILOS RECONSTRUIDOS PARA EL MODAL DE PREMIO ENCONTRADO
 * Prioridad: Móviles en vista horizontal.
 * ========================================================================= */

.modal--prize-found .modal__content {
    background: #1a202c;
    border: 2px solid #f59e0b;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.5);
    padding: 0;
    overflow: hidden;
    /* Vista por defecto (vertical) */
    display: flex;
    flex-direction: column;
    width: 90vw;
    max-width: 480px;
    max-height: 90vh;
}

/* Columnas */
.pf-visual-col {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, #422d03, #1a1502);
    padding: clamp(15px, 3vh, 25px);
}
.pf-visual-col img {
    max-width: 100%;
    max-height: 30vh;
    object-fit: contain;
    animation: pf-glow 3s ease-in-out infinite;
}
@keyframes pf-glow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(253, 224, 71, 0.4)); }
    50% { filter: drop-shadow(0 0 20px rgba(253, 224, 71, 0.8)); }
}

.pf-text-col {
    display: flex;
    flex-direction: column;
    padding: clamp(15px, 3vh, 30px);
    text-align: center;
    color: #e5e7eb;
}

/* Contenido de la columna de texto */
.pf-text-col .modal__title {
    color: #fde047;
    font-size: clamp(1.4rem, 4vh, 2rem);
    flex-shrink: 0;
}
.pf-reward-text {
    font-size: clamp(0.9rem, 2.4vh, 1.1rem);
    font-weight: bold;
    margin: 1.5vh 0;
    color: #fff;
    flex-shrink: 0;
}
.pf-text-col .modal__text {
    font-size: clamp(0.85rem, 2.2vh, 1rem);
    line-height: 1.6;
    opacity: 0.9;
    flex-grow: 1; 
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    margin-bottom: 1.5vh;
}
.pf-footer {
    margin-top: auto;
    flex-shrink: 0;
}
.pf-footer .btn {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
}

/* --- VISTA HORIZONTAL EN MÓVILES --- */
@media (orientation: landscape) {
    .modal--prize-found .modal__content {
        flex-direction: row;
        align-items: stretch;
        width: auto;
        max-width: 85vw;
        max-height: 85vh; /* Altura máxima para efecto flotante */
        margin: auto; /* Centra vertical y horizontalmente */
    }

    .pf-visual-col {
        flex: 0 0 45%;
    }
    .pf-visual-col img {
        max-height: 40vh;
    }

    .pf-text-col {
        flex: 1 1 55%;
        justify-content: center;
    }
}