/* ========================================
   SHOW DETAIL PAGE STYLES - FIXED
   ======================================== */

   .show-detail-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* -------- Back Button -------- */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition-fast);
    margin-bottom: 2rem;
}

.back-button:hover {
    background: var(--bg-light);
}

.back-button i {
    font-size: 1.2rem;
}

/* -------- Show Header -------- */
.show-header {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.poster-section {
    position: relative;
    height: fit-content;
}

.show-poster {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--primary-color);
}

.show-info h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-family: var(--font-display);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.info-item p {
    color: var(--text-light);
    margin: 0;
}

.show-description {
    margin: 2rem 0;
}

.show-description h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.show-description p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* -------- Social Links Section -------- */
.social-links-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.social-links-section h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
}

.social-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-youtube,
.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    border: none;
}

.btn-youtube {
    background: #FF0000;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.btn-youtube:hover {
    background: #cc0000;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(188, 24, 136, 0.3);
}

.btn-instagram:hover {
    background: linear-gradient(45deg, #d17923 0%, #c8582c 25%, #c21733 50%, #b21356 75%, #a20878 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(188, 24, 136, 0.5);
}

.btn-youtube i,
.btn-instagram i {
    font-size: 1.5rem;
}

/* -------- Photo Gallery -------- */
.photo-gallery {
    margin-top: 4rem;
}

.photo-gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.photo-count {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.no-photos {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.2rem;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 2px dashed var(--border-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/2;
    transition: var(--transition-normal);
    background: var(--bg-light);
    /* Prevent disappearing */
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Ensure images always show */
    opacity: 1 !important;
    visibility: visible !important;
}

/* Special handling for GIFs - ensure they play */
.gif-image {
    object-fit: contain;
    background: #000;
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(147, 51, 234, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery-item:hover .item-overlay {
    opacity: 1;
}

.item-overlay i {
    font-size: 3rem;
    color: white;
}

/* -------- Lightbox -------- */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(147, 51, 234, 0.8);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-color);
}

.lightbox-close {
    top: 2rem;
    right: 2rem;
}

.lightbox-prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

/* -------- More Shows CTA -------- */
.more-shows {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: var(--bg-medium);
    border-radius: 20px;
    text-align: center;
}

.more-shows h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* -------- Responsive Design -------- */
@media (max-width: 968px) {
    .show-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .poster-section {
        position: relative;
        top: 0;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .show-info h1 {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .social-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .show-detail-container {
        padding: 1rem;
    }
    
    .show-info h1 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .btn-youtube,
    .btn-instagram {
        width: 100%;
        justify-content: center;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        top: 1rem;
        right: 1rem;
    }
}