/* ==========================================
   GLASSY CONTAINERS & COMPONENTS
   ========================================== */
.flyer-container, .statement-section, .review-card, .calendar-board, 
.gig-breakdown, .media-box, .webring-container {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 2px solid var(--glass-border);
    border-top: 3px solid var(--glass-highlight);
    border-left: 3px solid var(--glass-highlight);
    border-radius: 16px; 
    box-shadow: var(--glass-shadow);
    padding: clamp(15px, 4vw, 30px);
    margin-bottom: 30px;
    transform: translateZ(0); 
}

/* Flyer & Event Details */
.flyer-container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
    width: 100%;
}

.event-flyer {
    flex: 0 0 45%;
    width: 100%;
    max-width: 45%;
    height: auto;
    border-radius: 8px;
    border: 3px solid var(--text-light);
    box-shadow: 5px 5px 0px var(--neon-cyan);
}

.show-details { 
    flex: 1;
    min-width: 250px;
}

.date-badge {
    display: inline-block;
    background: var(--neon-pink);
    color: var(--bg-dark);
    padding: 5px 15px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 15px;
    box-shadow: 3px 3px 0px var(--neon-cyan);
    border-radius: 4px;
    line-height: 1.2;
}

.lineup-list {
    list-style: none;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 20px;
}

.lineup-list li:nth-child(odd) { color: var(--text-light); }
.lineup-list li:nth-child(even) { color: var(--neon-cyan); }

.logistics {
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
    border-left: 5px solid var(--neon-cyan);
    font-family: 'Courier New', Courier, monospace;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    border-radius: 4px;
}

.location-alert {
    margin-top: 10px;
    color: var(--neon-pink);
    animation: blink 1.5s infinite;
}

/* Reviews */
.review-card {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.review-poster {
    max-width: 220px;
    width: 100%;
    border-radius: 8px;
    border: 2px solid var(--text-light);
}

.review-content { flex: 1; }

.review-rating {
    background: #000000;
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    margin-bottom: 15px;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
}

/* Playlist selector (if present) */
.playlist-selector-tabs {
    /* base styles – safe to leave as is; responsive overrides below */
}
.playlist-selector-tabs .playlist-btn {
    /* base button styling if any */
}

/* ==========================================
   MODAL OVERLAY (BASE) – APPLIES EVERYWHERE
   ========================================== */
.modal {
    display: none;               /* Hidden by default – JS sets to 'flex' */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-content {
    background: #000;
    border: 2px solid var(--neon-cyan);
    border-top: 4px solid var(--neon-pink);
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(91, 232, 249, 0.4), inset 0 0 20px rgba(210, 108, 243, 0.2);
    width: 100%;
    max-width: 800px;
    padding: 30px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-body-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.modal-flyer-zone {
    flex: 0 0 40%;
}

.modal-flyer {
    width: 100%;
    border-radius: 8px;
    border: 2px solid var(--text-light);
    box-shadow: 4px 4px 0px var(--neon-cyan);
}

.modal-details-zone {
    flex: 1;
    color: var(--text-light);
}

.modal-details-zone h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--neon-pink);
    text-shadow: 4px 4px 0px var(--neon-cyan);
    margin-bottom: 20px;
}

.modal-details-zone p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.close-modal {
    display: block;
    margin-top: 20px;
    width: 100%;
    background: var(--neon-pink);
    color: #000;
    border: none;
    padding: 12px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 8px;
    box-shadow: 0 0 15px var(--neon-pink);
    transition: 0.2s;
}

.close-modal:hover {
    background: var(--neon-cyan);
    box-shadow: 0 0 20px var(--neon-cyan);
}
/* ==========================================
   ZONELETS BLOG FEED STYLING
   ========================================== */
#recentpostlistdiv ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

#recentpostlistdiv li {
    padding: 15px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
    font-family: 'Arial Black', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    transition: all 0.2s ease;
}

#recentpostlistdiv li:last-child {
    border-bottom: none;
}

/* The actual link to the post */
#recentpostlistdiv a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: all 0.2s ease;
    text-shadow: 1px 1px 0px #000;
}

#recentpostlistdiv a:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
    padding-left: 10px; /* Slides the text slightly to the right on hover */
}

/* Zonelets wraps dates in spans, let's make them pink */
#recentpostlistdiv span {
    color: var(--neon-pink);
    display: block;
    font-size: 0.9rem;
    margin-bottom: 5px;
    letter-spacing: 2px;
}
/* ==========================================
   MOBILE & RESPONSIVE FIXES (MASTER OVERRIDE)
   ========================================== */
@media(max-width: 768px) {
    /* 1. Locks the viewport width so the background doesn't stretch */
    html, body {
        overflow-x: hidden;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    /* 2. Forces Flyers and Reviews to Stack */
    .review-card, .flyer-container {
        flex-direction: column !important; 
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .event-flyer {
        max-width: 100% !important; 
        width: 100%;
        margin-bottom: 20px; 
    }

    .show-details {
        width: 100%;
        min-width: 100%; 
    }

    /* 3. THE TITLE FIX: Lets the title wrap on phones */
    nav { 
        flex-direction: column;
        justify-content: center; 
        gap: 15px; 
        flex-wrap: wrap; 
        width: 100%;
    }
    
    nav .logo { 
        font-size: clamp(1.5rem, 8vw, 2rem); 
        text-align: center;
        white-space: normal !important;
        line-height: 1.1;
        width: 100%;
        padding: 0 10px;
    }
    
    h2 { 
        font-size: 1.5rem; 
        text-shadow: 2px 2px 0px #5be8f9; 
        text-align: center;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }

    nav ul li { margin-left: 0; }
    nav ul li a { font-size: 1rem; padding: 5px 8px; }

    /* 4. Modal Window Mobile Overrides */
    .modal-body-wrapper { flex-direction: column; }
    .modal-flyer-zone { flex: 100%; margin-bottom: 20px; }
    .modal-flyer { max-height: 40vh; object-fit: contain; }
    .modal-details-zone h2 { font-size: 1.8rem; }
    .modal-content {
        background: #000;
        border: 2px solid #5be8f9;
        border-top: 4px solid #d26cf3;
        border-radius: 12px;
        box-shadow: 0 0 30px rgba(91, 232, 249, 0.4), inset 0 0 20px rgba(210, 108, 243, 0.2);
        width: 100%;
        max-width: 800px;
        padding: 30px;
        position: relative;
        max-height: 90vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* 5. Jukebox/Lounge Mobile Overrides */
    .playlist-selector-tabs { transform: none; margin-top: 10px; margin-bottom: 10px; }
    .playlist-selector-tabs .playlist-btn { border-radius: 30px !important; padding: 10px 16px; font-size: 0.9rem; transform: none; }
}