﻿/* ==============================================
   ThreeGigs v25 - Gig Details Styles
   Enhanced event detail page with dynamic header
   ============================================== */

/* Page Header - Dynamic Background */
.page-header-gig {
    min-height: 60vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-bottom: 2rem;
}

    .page-header-gig::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient( 180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.8) 100% );
        z-index: 1;
    }

.page-header-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 3rem 0;
}

/* Gig Header Info */
.gig-header-info {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.gig-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

    .gig-meta > span {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .gig-meta a {
        color: inherit;
        text-decoration: none;
        transition: opacity 0.3s ease;
    }

        .gig-meta a:hover {
            opacity: 0.8;
            text-decoration: underline;
        }

.gig-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.gig-tag {
    background: rgba(138, 43, 226, 0.8);
    padding: 0.25rem 0.75rem;
    border-radius: var(--tg-radius-round);
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.gig-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin: 1rem 0;
    line-height: 1.2;
}

.gig-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
}

/* Quick Actions */
.gig-quick-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.btn-heart {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--tg-radius-lg);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .btn-heart:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
        color: white;
    }

    .btn-heart.active {
        background: var(--tg-gradient-primary);
        border-color: var(--tg-primary);
        color: white;
    }

.btn-share {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--tg-radius-lg);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .btn-share:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }

/* Header Actions Grid */
.gig-header-actions {
    margin-top: 2rem;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.action-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem;
    border-radius: var(--tg-radius-lg);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

    .action-btn:hover:not(.disabled) {
        background: rgba(138, 43, 226, 0.3);
        border-color: var(--tg-primary);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(138, 43, 226, 0.3);
    }

    .action-btn.disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.action-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.action-btn span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Media Section */
.gig-media-section {
    background: var(--tg-surface);
    border: 1px solid var(--tg-border);
    border-radius: var(--tg-radius-xl);
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--tg-shadow-lg);
}

.media-container {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--tg-dark);
}

.media-display {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

    .media-display.active {
        display: block;
    }

.poster-display {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.poster-display:hover .media-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--tg-gradient-primary);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--tg-shadow-purple);
}

    .play-button:hover {
        transform: scale(1.1);
        box-shadow: var(--tg-shadow-purple-lg);
    }

/* Audio Display */
.audio-wrapper {
    display: flex;
    align-items: center;
    padding: 2rem;
    gap: 2rem;
    height: 100%;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, rgba(0,0,0,0.8) 100%);
}

.audio-artwork {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: var(--tg-radius-lg);
    overflow: hidden;
    box-shadow: var(--tg-shadow-lg);
}

    .audio-artwork img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.audio-controls {
    flex: 1;
}

#audioPlayer {
    width: 100%;
    background: transparent;
}

/* Media Info */
.media-info {
    padding: 1rem 1.5rem;
    background: var(--tg-surface-elevated);
    border-top: 1px solid var(--tg-border);
}

.now-playing {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.now-playing-label {
    font-size: 0.9rem;
    color: var(--tg-text-muted);
    font-weight: 500;
}

.now-playing-title {
    font-weight: 600;
    color: var(--tg-text-primary);
}

/* Tabbed Content */
.gig-content-tabs {
    background: var(--tg-surface);
    border: 1px solid var(--tg-border);
    border-radius: var(--tg-radius-xl);
    overflow: hidden;
    box-shadow: var(--tg-shadow-lg);
}

.tab-nav {
    display: flex;
    background: var(--tg-surface-elevated);
    border-bottom: 1px solid var(--tg-border);
    overflow-x: auto;
    scrollbar-width: none;
}

    .tab-nav::-webkit-scrollbar {
        display: none;
    }

.tab-btn {
    flex: 1;
    min-width: 120px;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--tg-text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    position: relative;
}

    .tab-btn:hover {
        color: var(--tg-text-primary);
        background: var(--tg-glass);
    }

    .tab-btn.active {
        color: var(--tg-primary);
        background: var(--tg-glass-accent);
    }

        .tab-btn.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--tg-gradient-primary);
        }

.tab-content {
    min-height: 400px;
}

.tab-pane {
    display: none;
    padding: 2rem;
    animation: fadeInUp 0.3s ease;
}

    .tab-pane.active {
        display: block;
    }

/* Description Content */
.gig-description-full {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--tg-text-primary);
    margin-bottom: 2rem;
}

    .gig-description-full p {
        margin-bottom: 1rem;
    }

/* Contact Information */
.contact-info {
    background: var(--tg-glass);
    padding: 1.5rem;
    border-radius: var(--tg-radius-lg);
    border: 1px solid var(--tg-border);
    margin-top: 2rem;
}

    .contact-info h4 {
        color: var(--tg-text-primary);
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

.contact-grid {
    display: grid;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--tg-surface);
    border-radius: var(--tg-radius-md);
    border: 1px solid var(--tg-border);
}

    .contact-item i {
        color: var(--tg-primary);
        width: 20px;
        text-align: center;
    }

.contact-label {
    font-weight: 500;
    color: var(--tg-text-secondary);
    min-width: 60px;
}

.contact-value {
    color: var(--tg-text-primary);
}

.contact-link {
    color: var(--tg-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

    .contact-link:hover {
        color: var(--tg-secondary);
        text-decoration: underline;
    }

.ticket-link {
    background: var(--tg-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Media Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.media-item {
    background: var(--tg-surface-elevated);
    border: 1px solid var(--tg-border);
    border-radius: var(--tg-radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .media-item:hover {
        transform: translateY(-4px);
        box-shadow: var(--tg-shadow-lg);
        border-color: var(--tg-primary);
    }

/* Location Content */
.location-content {
    display: grid;
    gap: 2rem;
}

.location-info h4 {
    color: var(--tg-text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.location-address {
    font-size: 1.1rem;
    color: var(--tg-text-primary);
    margin-bottom: 0.5rem;
}

.location-venue a {
    color: var(--tg-primary);
    text-decoration: none;
    font-weight: 500;
}

    .location-venue a:hover {
        text-decoration: underline;
    }

.map-container {
    background: var(--tg-surface-elevated);
    border: 1px solid var(--tg-border);
    border-radius: var(--tg-radius-lg);
    overflow: hidden;
}

.gig-map {
    height: 400px;
    background: var(--tg-surface);
}

.map-login-prompt {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--tg-text-muted);
}

    .map-login-prompt i {
        font-size: 3rem;
        color: var(--tg-text-muted);
    }

/* Sidebar */
.gig-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: var(--tg-surface);
    border: 1px solid var(--tg-border);
    border-radius: var(--tg-radius-xl);
    padding: 1.5rem;
    box-shadow: var(--tg-shadow-sm);
    transition: all 0.3s ease;
}

    .sidebar-card:hover {
        box-shadow: var(--tg-shadow-lg);
        border-color: var(--tg-border-hover);
    }

    .sidebar-card h4 {
        color: var(--tg-text-primary);
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1.1rem;
    }

/* Management Panel */
.management-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

    .management-actions .btn {
        justify-content: flex-start;
        gap: 0.5rem;
    }

/* Related Lists */
.related-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.related-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--tg-glass);
    border: 1px solid var(--tg-border);
    border-radius: var(--tg-radius-md);
    text-decoration: none;
    color: var(--tg-text-primary);
    transition: all 0.3s ease;
}

    .related-item:hover {
        background: var(--tg-glass-hover);
        color: var(--tg-text-primary);
        text-decoration: none;
        transform: translateX(4px);
    }

.related-item-image {
    width: 48px;
    height: 48px;
    border-radius: var(--tg-radius-md);
    object-fit: cover;
    flex-shrink: 0;
}

.related-item-content {
    flex: 1;
    min-width: 0;
}

.related-item-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-item-meta {
    font-size: 0.8rem;
    color: var(--tg-text-muted);
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-item {
    background: var(--tg-glass);
    border: 1px solid var(--tg-border);
    padding: 0.5rem 1rem;
    border-radius: var(--tg-radius-round);
    text-decoration: none;
    color: var(--tg-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .tag-item:hover {
        background: var(--tg-nav-item-active);
        color: white;
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: var(--tg-shadow-purple);
    }

/* Social Share */
.social-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--tg-radius-round);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

    .social-btn.facebook {
        background: #1877f2;
        color: white;
    }

    .social-btn.twitter {
        background: #1da1f2;
        color: white;
    }

    .social-btn.whatsapp {
        background: #25d366;
        color: white;
    }

    .social-btn.copy {
        background: var(--tg-glass);
        border: 1px solid var(--tg-border);
        color: var(--tg-text-primary);
    }

    .social-btn:hover {
        transform: translateY(-2px);
        box-shadow: var(--tg-shadow-md);
    }

/* Loading Placeholder */
.loading-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    color: var(--tg-text-muted);
}

    .loading-placeholder i {
        font-size: 1.5rem;
    }

/* Responsive Design */
@media (max-width: 1024px) {
    .page-header-gig {
        min-height: 50vh;
    }

    .gig-title {
        font-size: 2rem;
    }

    .action-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }

    .action-btn {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }

    .tab-nav {
        overflow-x: auto;
    }

    .tab-btn {
        min-width: 100px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .page-header-gig {
        min-height: 40vh;
        margin-bottom: 1rem;
    }

    .page-header-content {
        padding: 2rem 0;
    }

    .gig-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .gig-title {
        font-size: 1.75rem;
    }

    .gig-description {
        font-size: 1rem;
    }

    .gig-quick-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .action-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tab-pane {
        padding: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .media-grid {
        grid-template-columns: 1fr;
    }

    .audio-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .social-buttons {
        flex-wrap: wrap;
    }

    .gig-sidebar {
        margin-top: 2rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print Styles */
@media print {
    .page-header-gig {
        min-height: auto;
        padding: 2rem 0;
        background: none !important;
    }

        .page-header-gig::before {
            display: none;
        }

    .gig-header-actions,
    .gig-quick-actions,
    .tab-nav,
    .sidebar-card {
        display: none;
    }

    .tab-pane {
        display: block !important;
        page-break-inside: avoid;
    }
}
.raw-text {
    white-space: break-spaces;
    word-break: break-word;
    word-wrap: break-word;
}

/* Enhanced Inner Content Styling for Sidebar Cards */

/* Stats Grid - More Compact and Modern */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.stat-item {
    text-align: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--tg-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

    .stat-item:hover {
        background: rgba(138, 43, 226, 0.1);
        border-color: rgba(138, 43, 226, 0.3);
        transform: scale(1.05);
    }

.stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tg-text-primary);
    margin-bottom: 0.125rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--tg-text-muted);
    font-weight: 500;
    opacity: 0.8;
}

/* Event Info Items - Cleaner Layout */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.625rem;
    background: transparent;
    border-radius: var(--tg-radius-sm);
    border: none;
    transition: all 0.2s ease;
    position: relative;
}

    .info-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 2px;
        height: 0;
        background: var(--tg-gradient-primary);
        transition: height 0.2s ease;
    }

    .info-item:hover {
        background: rgba(255, 255, 255, 0.03);
        padding-left: 1rem;
    }

        .info-item:hover::before {
            height: 70%;
        }

    .info-item i {
        color: var(--tg-text-muted);
        width: 16px;
        text-align: center;
        font-size: 0.875rem;
        flex-shrink: 0;
        margin-top: 0.125rem;
        opacity: 0.7;
        transition: all 0.2s ease;
    }

    .info-item:hover i {
        color: var(--tg-primary);
        opacity: 1;
    }

.info-content {
    flex: 1;
    min-width: 0;
}

.info-label {
    display: none; /* Hide labels for cleaner look */
}

.info-value {
    display: block;
    color: var(--tg-text-primary);
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.4;
}

.info-meta {
    display: block;
    font-size: 0.75rem;
    color: var(--tg-text-muted);
    margin-top: 0.125rem;
    opacity: 0.8;
}

/* Related Items - Matching Screenshot Style */
.related-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.related-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem;
    background: transparent;
    border: none;
    border-radius: var(--tg-radius-sm);
    text-decoration: none;
    color: var(--tg-text-primary);
    transition: all 0.2s ease;
    position: relative;
}

    .related-item::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 3.5rem;
        right: 0;
        height: 1px;
        background: var(--tg-border);
        opacity: 0.3;
        transition: opacity 0.2s ease;
    }

    .related-item:last-child::after {
        display: none;
    }

    .related-item:hover {
        background: rgba(255, 255, 255, 0.03);
        transform: translateX(4px);
    }

        .related-item:hover::after {
            opacity: 0;
        }

.related-item-image {
    width: 40px;
    height: 40px;
    border-radius: var(--tg-radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: var(--tg-surface);
}

.related-item-content {
    flex: 1;
    min-width: 0;
}

.related-item-title {
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 0.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--tg-text-primary);
    line-height: 1.3;
}

.related-item-meta {
    font-size: 0.75rem;
    color: var(--tg-text-muted);
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .related-item-meta::before {
        content: '📍';
        font-size: 0.625rem;
        opacity: 0.6;
    }

/* Management Actions - Compact Style */
.management-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

    .management-actions .btn {
        justify-content: center;
        gap: 0.5rem;
        padding: 0.625rem 0.75rem;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 0.8rem;
        border-radius: var(--tg-radius-md);
        transition: all 0.2s ease;
    }

        .management-actions .btn:hover {
            background: rgba(138, 43, 226, 0.1);
            transform: translateY(-2px);
            border-color: rgba(138, 43, 226, 0.3);
            box-shadow: 0 4px 12px rgba(138, 43, 226, 0.2);
        }

        .management-actions .btn i {
            width: auto;
            font-size: 0.875rem;
        }

        /* Span full width for important actions */
        .management-actions .btn:last-child {
            grid-column: span 2;
        }

/* Social Buttons - Circular and Compact */
.social-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.02);
    color: var(--tg-text-muted);
    position: relative;
    overflow: hidden;
}

    .social-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: var(--tg-gradient-primary);
        transform: translate(-50%, -50%);
        transition: all 0.3s ease;
        z-index: -1;
    }

    .social-btn:hover {
        transform: translateY(-3px) scale(1.1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        color: white;
        border-color: transparent;
    }

        .social-btn:hover::before {
            width: 100%;
            height: 100%;
        }

/* Tag Cloud - Minimal Pills */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.tag-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.375rem 0.75rem;
    border-radius: var(--tg-radius-round);
    text-decoration: none;
    color: var(--tg-text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

    .tag-item:hover {
        color: var(--tg-primary);
        border-color: rgba(138, 43, 226, 0.3);
        background: rgba(138, 43, 226, 0.1);
        transform: translateY(-1px);
    }

/* Share Stats - Subtle */
.share-stats {
    text-align: center;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

    .share-stats small {
        font-size: 0.75rem;
        opacity: 0.7;
    }

/* Footer Links */
.related-footer,
.tag-footer {
    margin-top: 0.75rem;
}

    .related-footer .btn,
    .tag-footer {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        background: transparent;
        border-color: rgba(255, 255, 255, 0.1);
    }

        .related-footer .btn:hover {
            background: rgba(138, 43, 226, 0.1);
            border-color: rgba(138, 43, 226, 0.3);
            transform: none;
        }

/* Event Type Badge - Minimal */
.event-type-badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: rgba(138, 43, 226, 0.1);
    color: var(--tg-primary);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: var(--tg-radius-round);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.025em;
}

/* Loading States - Cleaner */
.loading-placeholder,
.error-placeholder,
.empty-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    color: var(--tg-text-muted);
    text-align: center;
}

    .loading-placeholder i,
    .error-placeholder i,
    .empty-placeholder i {
        font-size: 1.5rem;
        opacity: 0.3;
    }

    .loading-placeholder span,
    .error-placeholder span,
    .empty-placeholder span {
        font-size: 0.8rem;
        opacity: 0.7;
    }

/* Mobile Quick Actions - Grid Layout */
.mobile-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.mobile-action-btn {
    padding: 0.75rem 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--tg-radius-md);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
}

    .mobile-action-btn:hover {
        background: rgba(138, 43, 226, 0.1);
        border-color: rgba(138, 43, 226, 0.3);
        transform: translateY(-2px);
    }

    .mobile-action-btn i {
        font-size: 1rem;
        color: var(--tg-text-muted);
    }

    .mobile-action-btn span {
        font-size: 0.7rem;
        font-weight: 500;
        color: var(--tg-text-primary);
    }

/* Featured Events Section - Clean Card Style */
.related-events .related-list {
    gap: 1rem;
}

.related-events .related-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    text-decoration: none;
    color: var(--tg-text-primary);
    transition: all 0.2s ease;
    position: relative;
}

    .related-events .related-item::after {
        display: none; /* Remove separator line */
    }

    .related-events .related-item:hover {
        background: transparent;
        transform: none;
    }

        .related-events .related-item:hover .related-item-image {
            transform: scale(1.05);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
        }

        .related-events .related-item:hover .related-item-title {
            color: var(--tg-primary);
        }

/* Event Thumbnails */
.related-events .related-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--tg-radius-md);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    background: var(--tg-surface);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .related-events .related-item-image::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.4) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

.related-events .related-item:hover .related-item-image::after {
    opacity: 1;
}

/* Event Content */
.related-events .related-item-content {
    flex: 1;
    min-width: 0;
    padding-top: 0.25rem;
}

.related-events .related-item-title {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.375rem;
    line-height: 1.3;
    color: var(--tg-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.related-events .related-item-meta {
    font-size: 0.8rem;
    color: var(--tg-text-muted);
    opacity: 0.9;
    display: block;
    line-height: 1.4;
}

    .related-events .related-item-meta::before {
        display: none; /* Remove emoji */
    }

/* View All Events Button */
.related-events .related-footer {
    margin-top: 1rem;
    text-align: center;
}

    .related-events .related-footer .btn {
        font-size: 0.875rem;
        padding: 0.625rem 1.25rem;
        background: transparent;
        border: 1px solid rgba(138, 43, 226, 0.3);
        color: var(--tg-primary);
        font-weight: 500;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        transition: all 0.2s ease;
    }

        .related-events .related-footer .btn:hover {
            background: rgba(138, 43, 226, 0.1);
            border-color: var(--tg-primary);
            transform: translateX(4px);
        }

        .related-events .related-footer .btn i {
            font-size: 0.75rem;
            transition: transform 0.2s ease;
        }

        .related-events .related-footer .btn:hover i {
            transform: translateX(2px);
        }

/* Popular Venues Section - Simple List Style */
.popular-venues .related-list {
    gap: 0;
}

.popular-venues .related-item {
    display: block;
    padding: 0.75rem 0;
    background: transparent;
    border: none;
    border-radius: 0;
    text-decoration: none;
    color: var(--tg-text-primary);
    transition: all 0.2s ease;
    position: relative;
}

    .popular-venues .related-item::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: rgba(255, 255, 255, 0.05);
        transition: background 0.2s ease;
    }

    .popular-venues .related-item:last-child::after {
        display: none;
    }

    .popular-venues .related-item:hover {
        background: transparent;
        transform: none;
        padding-left: 0.5rem;
    }

        .popular-venues .related-item:hover::after {
            background: var(--tg-gradient-primary);
        }

/* Popular Venues - Hide Images */
.popular-venues .related-item-image {
    display: none;
}

/* Popular Venues - Text Only */
.popular-venues .related-item-content {
    padding: 0;
}

.popular-venues .related-item-title {
    font-weight: 400;
    font-size: 0.875rem;
    margin-bottom: 0;
    line-height: 1.4;
    color: var(--tg-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.2s ease;
}

.popular-venues .related-item:hover .related-item-title {
    color: var(--tg-secondary);
    font-weight: 500;
}

.popular-venues .related-item-meta {
    display: none; /* Hide meta info for cleaner look */
}

/* Popular Venues - List Style Alternative (if using ul/li) */
.popular-venues ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-venues li {
    padding: 0.625rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

    .popular-venues li:last-child {
        border-bottom: none;
    }

    .popular-venues li:hover {
        padding-left: 0.5rem;
    }

    .popular-venues li a {
        color: var(--tg-primary);
        text-decoration: none;
        font-size: 0.875rem;
        font-weight: 400;
        transition: all 0.2s ease;
        display: block;
    }

        .popular-venues li a:hover {
            color: var(--tg-secondary);
            font-weight: 500;
        }

/* Explore Venues Button */
.popular-venues .related-footer .btn {
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    background: transparent;
    border: 1px solid rgba(138, 43, 226, 0.3);
    color: var(--tg-primary);
}

/* Section Headers Enhancement */
.sidebar-card h4 {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 1rem;
}

    .sidebar-card h4 i {
        font-size: 0.875rem;
        opacity: 0.7;
    }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .related-events .related-item-image {
        width: 60px;
        height: 60px;
    }

    .related-events .related-item-title {
        font-size: 0.875rem;
    }

    .related-events .related-item-meta {
        font-size: 0.75rem;
    }
}
/* Content Navigation Pills */
.content-nav-pills {
    position: sticky;
    top: 60px; /* Adjust based on your header height */
    z-index: 100;
    background: var(--tg-surface);
    border-bottom: 1px solid var(--tg-border);
    margin: 0 -1rem;
    padding: 0 1rem;
    transition: all 0.3s ease;
}

    .content-nav-pills.scrolled {
        background: var(--tg-glass);
        backdrop-filter: blur(10px);
        box-shadow: var(--tg-shadow-md);
    }

.nav-pills-container {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 0;
    overflow-x: auto;
    scrollbar-width: none;
}

    .nav-pills-container::-webkit-scrollbar {
        display: none;
    }

.nav-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--tg-glass);
    border: 1px solid var(--tg-border);
    border-radius: var(--tg-radius-round);
    color: var(--tg-text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .nav-pill::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: var(--tg-gradient-primary);
        transition: left 0.3s ease;
        z-index: -1;
    }

    .nav-pill:hover {
        color: var(--tg-primary);
        border-color: var(--tg-primary-alpha);
        transform: translateY(-2px);
    }

    .nav-pill.active {
        color: white;
        background: var(--tg-gradient-primary);
        border-color: transparent;
        box-shadow: var(--tg-shadow-purple);
    }

        .nav-pill.active::before {
            left: 0;
        }

    .nav-pill i {
        font-size: 0.875rem;
    }

/* Scrollable Content Sections */
.gig-content-scroll {
    margin-top: 2rem;
}

.content-section {
    background: var(--tg-surface);
    border: 1px solid var(--tg-border);
    border-radius: var(--tg-radius-xl);
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: var(--tg-shadow-lg);
    transition: all 0.3s ease;
    opacity: 1; /* Change from 0 to 1 */
    transform: translateY(0); /* Change from translateY(20px) to 0 */
}

    /* Add animation when JavaScript adds the animate-in class */
    .content-section.animate-in {
        animation: sectionFadeIn 0.6s ease-out;
    }

    /* For sections that haven't loaded yet */
    .content-section:not(.visible) {
        opacity: 0;
        transform: translateY(20px);
    }

/* Fix the sticky positioning */
.content-nav-pills {
    position: sticky;
    top: 70px; /* Adjust based on your actual header height */
    z-index: 100;
    background: var(--tg-surface);
    border-bottom: 1px solid var(--tg-border);
    margin: 0 -1rem 0 -1rem;
    padding: 0 1rem;
    transition: all 0.3s ease;
}

    .content-section.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .content-section:hover {
        box-shadow: var(--tg-shadow-xl);
        border-color: var(--tg-border-hover);
    }

.section-header {
    padding: 1.5rem 2rem;
    background: var(--tg-surface-elevated);
    border-bottom: 1px solid var(--tg-border);
}

    .section-header h3 {
        margin: 0;
        color: var(--tg-text-primary);
        font-size: 1.25rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

        .section-header h3 i {
            color: var(--tg-primary);
            font-size: 1.1rem;
        }

.section-content {
    padding: 2rem;
}

/* Specific Section Styling */
#details .gig-description-full {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--tg-text-primary);
    margin-bottom: 2rem;
}

#media .media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

#location .map-container {
    margin-top: 1.5rem;
}

/* Loading States for Sections */
.content-section .loading-placeholder {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px; /* Account for sticky nav */
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .content-nav-pills {
        top: 56px; /* Adjust for mobile header */
        margin: 0 -1rem;
    }

    .nav-pills-container {
        padding: 0.75rem 1rem;
    }

    .nav-pill {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

        .nav-pill span {
            display: none; /* Icons only on mobile */
        }

        .nav-pill i {
            font-size: 1rem;
        }

    .content-section {
        border-radius: var(--tg-radius-lg);
        margin-bottom: 1.5rem;
    }

    .section-header {
        padding: 1.25rem 1.5rem;
    }

    .section-content {
        padding: 1.5rem;
    }

    html {
        scroll-padding-top: 100px;
    }
}

/* Intersection Observer Animation */
@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section.animate-in {
    animation: sectionFadeIn 0.6s ease-out forwards;
}
/* Enhanced parallax and scroll effects */
.page-header-gig {
    will-change: transform;
    transition: none; /* Remove transition for smoother parallax */
}

.page-header-content {
    will-change: opacity;
    transition: none;
}

/* Enhanced nav pills shadow when past header */
.content-nav-pills.past-header {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Smooth scroll indicator animation */
.scroll-indicator {
    transition: opacity 0.3s ease;
}

/* Performance optimization for parallax */
@media (prefers-reduced-motion: reduce) {
    .page-header-gig,
    .page-header-content {
        transform: none !important;
        opacity: 1 !important;
    }
}