/* ========================================
   ADVANCED IMAGE ZOOM MODAL STYLES
   ======================================== */
.image-zoom-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.image-zoom-modal.show {
    opacity: 1;
}

.zoom-modal-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: modalSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.zoom-close {
    position: absolute;
    top: -15px;
    right: -15px;
    color: #ffffff;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10001;
}

.zoom-close:hover {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.2);
    transform: rotate(90deg) scale(1.1);
}

.zoom-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 25px;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    max-width: 100%;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoomed-image {
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
    transform-origin: center;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.zoomed-image:active {
    cursor: grabbing;
}

.zoom-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.zoom-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 16px;
}

.zoom-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.zoom-btn:active {
    transform: translateY(0);
}

.zoom-info {
    text-align: center;
    color: white;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.zoom-info h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.zoom-info p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.zoom-info p:last-child {
    font-size: 20px;
    font-weight: 600;
    color: #4CAF50;
    margin-top: 10px;
}

/* Image Container Styles for Merch Cards */
.merch-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    width: 100%;
    height: 100%;
}

.merch-image img {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    object-fit: cover;
    width: 100%;
    height: 280px;
    display: block;
}

.merch-image:hover img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border-radius: 20px 20px 0 0;
    backdrop-filter: blur(2px);
}

.merch-image:hover .zoom-overlay {
    opacity: 1;
}

.zoom-overlay i {
    color: white;
    font-size: 42px;
    animation: pulse 2s infinite;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.9;
    }
    50% { 
        transform: scale(1.1); 
        opacity: 1;
    }
}

/* Responsive for Zoom Modal */
@media (max-width: 768px) {
    .image-zoom-modal {
        padding: 10px;
    }
    
    .zoom-modal-content {
        padding: 20px;
        max-width: 98vw;
        max-height: 98vh;
    }
    
    .zoomed-image {
        max-height: 50vh;
    }
    
    .zoom-controls {
        bottom: 10px;
        right: 10px;
        gap: 8px;
        padding: 8px;
    }
    
    .zoom-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .zoom-info {
        padding: 15px 20px;
        max-width: 90%;
    }
    
    .zoom-info h3 {
        font-size: 24px;
    }
    
    .zoom-info p {
        font-size: 14px;
    }
    
    .zoom-info p:last-child {
        font-size: 18px;
    }
    
    .zoom-close {
        width: 45px;
        height: 45px;
        font-size: 28px;
        top: -10px;
        right: -10px;
    }
}

@media (max-width: 480px) {
    .zoom-modal-content {
        padding: 15px;
    }
    
    .zoomed-image {
        max-height: 40vh;
    }
    
    .zoom-controls {
        bottom: 5px;
        right: 5px;
        gap: 5px;
        padding: 5px;
    }
    
    .zoom-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .zoom-info {
        padding: 10px 15px;
    }
    
    .zoom-info h3 {
        font-size: 20px;
    }
    
    .zoom-info p {
        font-size: 13px;
    }
    
    .zoom-info p:last-child {
        font-size: 16px;
    }
    
    .merch-image img {
        height: 200px;
    }
    
    .zoom-overlay i {
        font-size: 28px;
    }
}
