/**
 * Gallery Module Styles
 * Стили для галереи изображений
 * 
 * @package GamblingTheme
 * @version 1.0.0
 */

/* ============================================
   ПОПАП ГАЛЕРЕИ
   ============================================ */

.gt-gallery-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.gt-gallery-popup.active {
    display: flex;
}

.gt-gallery-popup img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
}

/* Крестик закрытия БЕЗ фона */
.gt-gallery-popup-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: white;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    /* Убран фон и border-radius */
}

.gt-gallery-popup-close:hover {
    transform: scale(1.2);
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9);
}

/* ============================================
   АДАПТИВНОСТЬ ПОПАПА
   ============================================ */

@media (max-width: 768px) {
    .gt-gallery-popup-close {
        top: 15px;
        right: 15px;
        font-size: 35px;
        width: 40px;
        height: 40px;
    }
    
    .gt-gallery-popup img {
        max-width: 98%;
        max-height: 90%;
    }
}

@media (max-width: 480px) {
    .gt-gallery-popup-close {
        top: 10px;
        right: 10px;
        font-size: 30px;
        width: 35px;
        height: 35px;
    }
    
    .gt-gallery-popup img {
        max-width: 98%;
        max-height: 85%;
    }
}
