/* ==========================================================================
   SECCIÓN MÁS (Meme y 360)
   ========================================================================== */

   .mas-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background-color: #000;
    margin: 0;
    padding: 0;
}

.mas-block {
    position: relative;
    flex: 1;
    min-width: 50%;
    height: 600px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background-color: #000; 
}

/* --- EFECTO DE FONDO DESENFOCADO (BLUR) --- */
/* Esta capa proyecta el mismo meme como fondo difuminado para rellenar vacíos */
.block-meme::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Asegúrate de que esta ruta apunte a tu imagen real */
    background-image: url('../mas/meme/2026-02.jpg'); 
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(0.5); /* Desenfoque fuerte y oscurecido */
    transform: scale(1.1); /* Evita bordes blancos por el blur */
    z-index: 0;
}

/* --- TÍTULOS Y BOTONES FLOTANTES --- */
.mas-title-overlay {
    position: absolute;
    top: 30px;
    width: 100%;
    z-index: 10;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    pointer-events: none;
}

.mas-footer-overlay {
    position: absolute;
    bottom: 30px;
    width: 100%;
    z-index: 10;
    text-align: center;
}

/* Estilo del botón "VER TODAS" */
.btn-info-all {
    background-color: #BF2176;
    color: white !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.btn-info-all:hover {
    background-color: #723D8C;
    transform: translateY(-3px);
}

/* --- CONTENEDORES DE CONTENIDO (360 Y MEME) --- */
#panorama {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.info-main-display {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Por encima del fondo blur */
}

/* EL MEME PRINCIPAL */
.img-full {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* No se corta, se ve completo */
    transition: transform 0.5s ease;
    display: block;
    position: relative;
    z-index: 2;
}

/* --- OVERLAY "CLICK PARA AMPLIAR" --- */
.info-overlay-hint {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(191, 33, 118, 0.4); /* Magenta translúcido */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.info-main-display:hover .info-overlay-hint {
    opacity: 1;
}

.info-overlay-hint i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.info-overlay-hint span {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- MODAL DE AMPLIACIÓN --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    overflow-y: auto;
}

.modal-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    min-height: 100vh;
}

.modal-content {
    width: auto;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    object-fit: contain;
}

.modal-close {
    position: fixed;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2100;
}

.btn-download {
    margin-top: 20px;
    background-color: #BF2176;
    color: white !important;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- RESPONSIVO --- */
@media (max-width: 992px) {
    .mas-block {
        min-width: 100%;
        height: 450px;
    }
    
    .mas-title-overlay {
        font-size: 1.8rem;
    }
}