/* ==========================================
   DREAMBOX: ETHEREAL VAPORWAVE AESTHETIC
   ========================================== */

:root {
    /* Color Palette */
    --bg-dark: #0c0d1f;
    --neon-pink: #d26cf3;
    --neon-cyan: #5be8f9;
    --text-light: #ffffff;
    
    /* Glassmorphism Variables */
    --glass-bg: linear-gradient(135deg, rgba(12, 13, 31, 0.85) 0%, rgba(210, 108, 243, 0.15) 100%);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-highlight: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.7), inset 0 0 15px rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Impact', 'Arial Black', sans-serif;
    letter-spacing: 1px;
}

body {
    background-color: var(--bg-dark);
    background-image: 
        linear-gradient(rgba(240, 74, 131, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(240, 74, 131, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    color: var(--text-light);
    overflow-x: hidden;
    padding-bottom: 40px;
    
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.crt-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
                linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 6px 100%;
    z-index: 9999;
    pointer-events: none;
    transform: translateZ(0); 
}

/* ==========================================
   TYPOGRAPHY (FLUID SCALING INCLUDED)
   ========================================== */
h2, h3 {
    text-transform: uppercase;
    line-height: 1.1; 
}

h2 {
    /* Scales between 1.8rem on mobile and 2.5rem on desktop */
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--neon-pink);
    text-shadow: 4px 4px 0px var(--neon-cyan);
    margin-bottom: 25px;
    transform: translateZ(0); 
}

h3 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: var(--neon-cyan);
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0px var(--bg-dark), 3px 3px 0px var(--neon-pink);
    transform: translateZ(0); 
}

p, .review-text, .statement-section p {
    font-family: 'Arial Black', sans-serif;
    letter-spacing: 0.5px;
    font-size: 1rem;
    line-height: 1.6; /* Better for mobile readability than a hard 28px */
}

.lineup-list li {
    font-family: 'Arial Black', sans-serif;
    text-transform: uppercase;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.3);
    line-height: 1.2;
}

.neon-divider {
    border: none;
    height: 3px;
    background: var(--neon-pink); 
    box-shadow: 0 0 8px var(--neon-pink), 0 0 15px var(--neon-cyan); 
    margin: 40px auto;
    width: 90%;
    opacity: 0.7;
}

/* ==========================================
   HEADER & NAV 
   ========================================== */
header {
    background: rgba(91, 232, 249, 0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);         
    padding: 10px 20px;
    border-bottom: 4px solid var(--neon-pink);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    margin-bottom: 10px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; /* Allowed to wrap for mobile safety */
    gap: 15px;
}

nav .logo {
    /* Fluid scaling for the logo */
    font-size: clamp(2rem, 5vw, 4rem); 
    color: var(--text-light);
    text-shadow: 3px 3px 0px var(--neon-pink), 6px 6px 0px var(--neon-cyan);
    font-style: italic;
    font-weight: 900;
    line-height: 1; 
    white-space: nowrap;
}

nav ul { 
    display: flex; 
    list-style: none; 
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: clamp(1rem, 2vw, 1.2rem);
    padding: 8px 12px; /* Increased for mobile touch targets */
    transition: all 0.2s;
    border-radius: 5px;
    white-space: nowrap;
    display: inline-block;
}

nav ul li a:hover {
    background: var(--neon-pink);
    color: var(--bg-dark);
    box-shadow: 0px 0px 10px rgba(210, 108, 243, 0.8);
}

main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
}

/* ==========================================
   GLOSSY CONTAINERS (Consolidated)
   ========================================== */
.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); /* Fluid padding for mobile */
    margin-bottom: 30px;
    transform: translateZ(0); 
}

/* ==========================================
   FLYERS & EVENTS
   ========================================== */
.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 (DEDICATED PAGE LAYOUTS)
   ========================================== */
.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;
}

/* 💽 THEMATIC OVERRIDES */
.page-album .page-title {
    color: var(--neon-pink);
    text-shadow: 3px 3px 0px var(--neon-cyan);
    text-align: center;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.3);
    padding-bottom: 15px;
    margin-bottom: 30px;
}
.page-album .review-poster { box-shadow: 4px 4px 0px var(--neon-pink); }
.page-album .review-rating { color: var(--neon-pink); border-left: 4px solid var(--neon-cyan); }

.page-film .page-title {
    color: var(--neon-cyan);
    text-shadow: 3px 3px 0px var(--neon-pink);
    text-align: center;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.3);
    padding-bottom: 15px;
    margin-bottom: 30px;
}
.page-film .review-poster { box-shadow: 4px 4px 0px var(--neon-cyan); }
.page-film .review-rating { color: var(--neon-cyan); border-left: 4px solid var(--neon-pink); }

/* ==========================================
   CALENDAR & FOOTER
   ========================================== */
.calendar-grid {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 8px;
    text-align: center;
    width: 100%;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap; /* Allows stacking on tiny screens */
    gap: 10px;
}

.cal-btn {
    background: rgba(0,0,0,0.4);
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
    font-size: clamp(1rem, 2vw, 1.5rem);
    padding: 8px 15px; /* Better mobile touch target */
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
}

.cal-btn:hover {
    background: var(--neon-cyan);
    color: var(--bg-dark);
    box-shadow: 0px 0px 15px var(--neon-cyan);
}

.weekday {
    color: var(--neon-pink);
    font-size: clamp(0.8rem, 2vw, 1.1rem);
    border-bottom: 2px dashed rgba(255,255,255,0.3);
    padding-bottom: 5px;
}

.day {
    background: rgba(0, 0, 0, 0.4);
    color: var(--text-light);
    padding: clamp(8px, 2vw, 15px) 5px; /* Scaled padding */
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.2s;
    cursor: pointer;
    min-height: 44px; /* Essential for mobile touch targets */
    display: flex;
    align-items: center;
    justify-content: center;
}

.day:not(.empty):hover {
    background: rgba(91, 232, 249, 0.4);
    border-color: var(--text-light);
    transform: scale(1.02);
}

.has-show {
    background: var(--neon-pink);
    color: var(--bg-dark);
    font-weight: bold;
    border: 2px solid var(--text-light);
    box-shadow: inset 0 0 10px rgba(255,255,255,0.5);
}

.has-show:hover {
    background: var(--neon-cyan);
    transform: scale(1.05);
}

.day.today {
    border: 3px solid var(--neon-cyan);
    background: rgba(91, 232, 249, 0.3);
    box-shadow: inset 0 0 8px var(--neon-cyan);
}

footer {
    text-align: center;
    background: rgba(12, 13, 31, 0.8);
    border-top: 4px solid var(--neon-cyan);
    padding: 30px;
    margin-top: 40px;
}

footer a {
    color: var(--neon-pink);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.2s;
    margin: 0 10px;
    display: inline-block;
}

footer a:hover {
    color: var(--neon-cyan);
    text-shadow: 0px 0px 8px var(--neon-cyan);
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* ==========================================
   MOBILE & RESPONSIVE FIXES (CLEANED UP)
   ========================================== */
@media(max-width: 768px) {
    .review-card, .flyer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    nav { 
        flex-direction: column;
        justify-content: center; 
    }
    
    .event-flyer {
        max-width: 100% !important; 
        margin-bottom: 20px; 
    }

    .calendar-grid { gap: 4px; }
    
    .playlist-selector-tabs {
        transform: none;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    .playlist-selector-tabs .playlist-btn {
        border: 2px solid var(--neon-pink);
        border-radius: 30px !important;  
        border-bottom: 2px solid var(--neon-pink);
        padding: 10px 16px; /* Increased touch target */
        font-size: 0.9rem;
        transform: none;
        box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    }
    
    .playlist-selector-tabs .playlist-btn.active {
        background: var(--neon-pink);
        transform: scale(1.02);
        padding-bottom: 10px;
    }

    .modal-flyer { max-height: 40vh; }
    .modal-content { max-width: 95%; padding: 20px; }
}