/* Sidepony Express - New Single Page App Styles */

/* === Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Sidepony Brand Colors */
    --color-sidepony-orange: #D4572A;  /* Main brand color from flyer */

    /* Bisbee Earth Tones (Base) */
    --color-earth-dark: #2C1810;
    --color-earth-brown: #8B4513;
    --color-earth-copper: #CD853F;
    --color-earth-tan: #D4A373;
    --color-earth-light: #F5E6D3;
    --color-background: #FFFAF0;

    /* Sidepony Electric Accents (Light) */
    --color-electric-blue: #4A90E2;
    --color-electric-purple: #9B59B6;
    --color-electric-teal: #1ABC9C;
    --color-neon-pink: #FF6B9D;
    --color-neon-yellow: #FFD700;

    /* UI Colors */
    --color-text: #3A3A3A;
    --color-text-light: #666;
    --color-border: #D4A373;
    --color-shadow: rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-main: 'Georgia', 'Times New Roman', serif;
    --font-accent: 'Courier New', monospace;

    /* Sacred Geometry: Fibonacci Spacing */
    --spacing-xs: 8px;      /* Fibonacci */
    --spacing-sm: 13px;     /* Fibonacci */
    --spacing-md: 21px;     /* Fibonacci */
    --spacing-lg: 34px;     /* Fibonacci */
    --spacing-xl: 55px;     /* Fibonacci */
    --spacing-xxl: 89px;    /* Fibonacci */

    /* Sacred Geometry: Golden Ratio Layout */
    --sidebar-width: 310px;     /* Wider sidebar for Lantern */
    --golden-ratio: 1.618;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background: url('/static/images/sideponyexpress-background.png') center center / cover no-repeat fixed;
    line-height: 1.6;
    font-size: 16px;
}

/* Header removed - full screen app */

/* === Main App Container === */
.app-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
    padding: 21px;  /* Fibonacci spacing - show background around windows */
    gap: 13px;  /* Fibonacci spacing - show background between windows */
}

/* === Left Sidebar: Lantern Chat === */
.lantern-sidebar {
    width: var(--sidebar-width);
    position: relative;
    background: linear-gradient(to top, #000814, #001d3d, #003566, #001d3d, #000814);
    background-size: 100% 200%;
    animation: gradient-fade 10s ease infinite;
    border: none;  /* Removed - text floats over background */
    border-radius: 13px;
    box-shadow: 0 21px 55px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #e0e1dd;
}

/* Animated particles for Lantern sidebar */
.lantern-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    background-image:
        radial-gradient(circle, #ff0000 1px, transparent 1px),
        radial-gradient(circle, #ff7f00 1px, transparent 1px),
        radial-gradient(circle, #ffff00 1.5px, transparent 1.5px),
        radial-gradient(circle, #00ff00 1px, transparent 1px),
        radial-gradient(circle, #00bfff 1.5px, transparent 1.5px),
        radial-gradient(circle, #4b0082 1px, transparent 1px),
        radial-gradient(circle, #9400d3 1px, transparent 1px),
        radial-gradient(circle, #ff0000 1.5px, transparent 1.5px),
        radial-gradient(circle, #ff7f00 1px, transparent 1px),
        radial-gradient(circle, #ffff00 1px, transparent 1px),
        radial-gradient(circle, #00ff00 1.5px, transparent 1.5px),
        radial-gradient(circle, #00bfff 1px, transparent 1px),
        radial-gradient(circle, #4b0082 1.5px, transparent 1.5px),
        radial-gradient(circle, #9400d3 1px, transparent 1px),
        radial-gradient(circle, #ff0000 1px, transparent 1px);
    background-size:
        200px 200px,
        250px 250px,
        180px 180px,
        220px 220px,
        190px 190px,
        210px 210px,
        230px 230px,
        170px 170px,
        240px 240px,
        195px 195px,
        215px 215px,
        185px 185px,
        205px 205px,
        225px 225px,
        175px 175px;
    background-position:
        0% 0%,
        20% 30%,
        40% 10%,
        60% 40%,
        80% 20%,
        10% 50%,
        30% 60%,
        50% 70%,
        70% 80%,
        90% 90%,
        15% 25%,
        35% 45%,
        55% 65%,
        75% 85%,
        25% 15%;
    animation: particles-rise 25s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.lantern-sidebar > * {
    position: relative;
    z-index: 2;
}

.lantern-header {
    background: transparent;  /* Let image background show through */
    color: white;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: none;
    height: 140px;  /* Increased for larger title */
    flex-shrink: 0;  /* Don't shrink this area */
}

.lantern-avatar {
    width: 100%;
    height: 100%;
    position: relative;  /* For absolute positioning of layered images */
    display: flex;
    align-items: center;
    justify-content: flex-start;  /* Align to the left */
    padding-left: 10px;
}

.lantern-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Fill the area */
    display: block;
    z-index: 1;
}

.lantern-character {
    position: relative;
    max-height: 100%;
    max-width: 30%;  /* Smaller character on the left */
    object-fit: contain;
    display: block;
    z-index: 2;  /* Character on top of background */
    margin-right: 15px;  /* Space between character and text */
}

.lantern-placeholder {
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
}

.lantern-header h2 {
    font-family: var(--font-accent);
    font-size: 1rem;
    margin-bottom: 2px;
}

/* Lantern title and tagline */
.lantern-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 3;
    position: relative;
}

.lantern-title {
    font-family: 'Impact', 'Anton', 'Bebas Neue', 'Arial Black', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    letter-spacing: -2px;
    text-transform: uppercase;
    font-stretch: condensed;
    transform: scaleX(0.75);
    margin: 0;
}

.lantern-title-highlight {
    color: white;  /* Keep all white */
}

.lantern-tagline {
    font-size: 13px;
    color: white;  /* Changed to white */
    font-style: italic;
    margin-top: 2px;
}

/* === Chat Container === */
.chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: var(--spacing-md);
}

.message {
    margin-bottom: var(--spacing-md);
}

.lantern-message .message-content {
    background: rgba(212, 87, 42, 0.25);  /* Semi-transparent orange - text floats over background */
    border: none;  /* Removed border - text floats over background */
    border-radius: 8px;
    padding: var(--spacing-md);
    color: #ffffff;  /* White text for good contrast */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);  /* Subtle shadow for readability */
    font-size: 14px;  /* Smaller text */
}

.user-message .message-content {
    background: rgba(0, 29, 61, 0.75);  /* Semi-transparent dark blue, more opaque for readability */
    border: none;  /* Removed border - text floats over background */
    border-radius: 8px;
    padding: var(--spacing-sm) var(--spacing-md);
    margin-left: var(--spacing-lg);
    color: #e0e1dd;  /* Light text color */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);  /* Shadow for readability */
    font-size: 14px;  /* Smaller text */
}

.message-content p {
    margin-bottom: var(--spacing-sm);
}

.message-content p:last-child {
    margin-bottom: 0;
}

/* Quick Actions in Chat */
.quick-actions {
    list-style: none;
    padding: 0;
    margin-top: var(--spacing-sm);
}

.quick-actions li {
    margin-bottom: var(--spacing-xs);
}

.quick-actions a {
    display: block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--color-earth-light);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-earth-brown);
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-actions a:hover {
    background: var(--color-sidepony-orange);
    color: white;
    transform: translateX(5px);
}

/* === Chat Input === */
.chat-input-container {
    padding: var(--spacing-sm);
    background: transparent;
    border-bottom: none;
    display: flex;
    gap: var(--spacing-xs);
}

#chat-input {
    flex: 1;
    padding: var(--spacing-sm);
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--color-sidepony-orange);
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 1rem;
    color: #e0e1dd;
}

#chat-input::placeholder {
    color: rgba(224, 225, 221, 0.6);
}

#chat-input:focus {
    outline: none;
    border-color: var(--color-sidepony-orange);
    box-shadow: 0 0 5px rgba(212, 87, 42, 0.5);
}

.send-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    background: var(--color-sidepony-orange);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.send-btn:hover {
    background: #B84923;  /* Darker orange on hover */
}

/* === Sidebar Flyer === */
.sidebar-flyer {
    flex-shrink: 0;
}

.flyer-image {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow:
        0 0 8px #ff0000,
        0 0 16px #ff7f00,
        0 0 24px #ffff00,
        0 0 32px #00ff00,
        0 0 40px #00bfff,
        0 0 48px #4b0082,
        0 0 56px #9400d3;
    animation: flyer-rainbow-pulse 4s ease-in-out infinite;
}

@keyframes flyer-rainbow-pulse {
    0%, 100% {
        box-shadow:
            0 0 8px #ff0000,
            0 0 16px #ff7f00,
            0 0 24px #ffff00,
            0 0 32px #00ff00,
            0 0 40px #00bfff,
            0 0 48px #4b0082,
            0 0 56px #9400d3;
    }
    50% {
        box-shadow:
            0 0 12px #ff0000,
            0 0 20px #ff7f00,
            0 0 28px #ffff00,
            0 0 36px #00ff00,
            0 0 44px #00bfff,
            0 0 52px #4b0082,
            0 0 60px #9400d3;
    }
}

/* === Right Side: Content Area === */
.content-area {
    flex: 1;
    overflow-y: auto;
    background: transparent;
    padding: 0px 10px;  /* Further reduced - raise everything higher */
    display: flex;
    flex-direction: column;  /* Single column layout */
}

/* === Main Navigation Bar (The Trinity - in content window) === */
.main-nav-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(0, 26, 51, 0.7);
    border: 2px solid var(--color-sidepony-orange);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.nav-btn {
    /* The Trinity buttons - centered in content window */
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--color-sidepony-orange), #B84923);
    border: none;
    border-radius: 8px;  /* Slightly more rounded */
    color: white;
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    text-align: center;
    min-width: 100px;  /* Consistent button width */
}

/* Only 3 buttons now - removed Live Now and Build a Sidepony */

.nav-btn:hover {
    background: linear-gradient(135deg, #E66A3C, var(--color-sidepony-orange));
    box-shadow: 0 4px 10px rgba(212, 87, 42, 0.6);
    transform: translateY(-2px);  /* Slight lift on hover */
}

.nav-btn.active {
    /* Rainbow gradient when selected */
    background: linear-gradient(135deg,
        #ff0000 0%,
        #ff7f00 16%,
        #ffff00 33%,
        #00ff00 50%,
        #00bfff 66%,
        #4b0082 83%,
        #9400d3 100%);
    color: white;
    /* Strong text outline for visibility */
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 2px 4px rgba(0, 0, 0, 0.9);
    box-shadow: 0 4px 10px rgba(148, 0, 211, 0.6);
    transform: translateX(5px);
}

/* Old responsive/animation code removed - no longer needed */

/* === View Filters (inside content views) === */
.view-filters {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0;
    background: transparent;
    border: none;
    margin: 0;
    align-items: center;
}

/* Filter buttons in header area */
.view-filters.header-filters {
    justify-content: center;
    padding: 0;  /* Remove padding to bring content closer */
    margin: 0;  /* Remove all margins */
}

/* Filter row container */
.filter-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    align-items: center;
    width: 100%;
}

/* Filter row label */
.filter-row-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-right: 8px;
    min-width: 70px;
    text-align: right;
}

/* Checkbox-style filter button */
.filter-btn {
    padding: 4px 10px 4px 28px;  /* Left padding for checkbox */
    min-width: 60px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
    text-align: left;
    position: relative;
}

/* Survival/Places page - use button style instead of checkbox */
#places-filters .filter-btn {
    padding: 5px 12px;  /* Regular button padding */
    text-align: center;
    background: linear-gradient(135deg, #2ECC71, #27AE60);
    border: 2px solid #2ECC71;
}

#places-filters .filter-btn.active {
    background: linear-gradient(135deg, #229954, #1E8449);
    border-color: #229954;
    transform: scale(1.05);
}

#places-filters .filter-btn:hover {
    background: linear-gradient(135deg, #28B463, #239B56);
}

/* Don't show checkbox for Survival page */
#places-filters .filter-btn::before {
    display: none;
}

#places-filters .filter-btn::after {
    display: none;
}

/* Checkbox indicator for other pages */
.filter-btn::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border: none;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

/* Checkmark when checked */
.filter-btn.active::after {
    content: '✓';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Category-based checkbox colors - MORE VIBRANT */
.filter-btn[data-filter="day"]::before {
    background: rgba(74, 144, 226, 0.7);
}

.filter-btn[data-filter="day"].active::before {
    background: #4A90E2;
}

.filter-btn[data-filter="timeSlot"]::before {
    background: rgba(230, 126, 34, 0.7);
}

.filter-btn[data-filter="timeSlot"].active::before {
    background: #E67E22;
}

.filter-btn[data-filter="genre"]::before,
.filter-btn[data-filter="genres"]::before {
    background: rgba(155, 89, 182, 0.7);
}

.filter-btn[data-filter="genre"].active::before,
.filter-btn[data-filter="genres"].active::before {
    background: #9B59B6;
}

.filter-btn[data-filter="serves_food"]::before,
.filter-btn[data-filter="serves_drinks"]::before,
.filter-btn[data-filter="tags"]::before,
.filter-btn[data-filter="indoor_outdoor"]::before {
    background: rgba(230, 126, 34, 0.7);
}

.filter-btn[data-filter="serves_food"].active::before,
.filter-btn[data-filter="serves_drinks"].active::before,
.filter-btn[data-filter="tags"].active::before,
.filter-btn[data-filter="indoor_outdoor"].active::before {
    background: #E67E22;
}

.filter-btn[data-filter="type"]::before {
    background: rgba(46, 204, 113, 0.7);
}

.filter-btn[data-filter="type"].active::before {
    background: #2ECC71;
}

/* Divider between filter groups */
.filter-divider {
    width: 3px;
    height: 20px;
    background: rgba(255, 255, 255, 0.8);
    margin: 0 8px;
    border-radius: 2px;
}

.filter-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.1);
}

.filter-btn.active {
    background: transparent;
    color: white;
    font-weight: 700;
}

/* === Content Window === */
.content-window {
    flex: 1;
    position: relative;
    background: linear-gradient(to top, #000814, #001d3d, #003566, #001d3d, #000814);
    background-size: 100% 200%;
    animation: gradient-fade 10s ease infinite;
    border: 3px solid var(--color-sidepony-orange);
    border-radius: 13px;
    box-shadow: 0 21px 55px rgba(0, 0, 0, 0.3);
    padding: 5px 10px 10px 10px;  /* Minimal top padding - raise content higher */
    overflow-y: auto;
    overflow-x: hidden;
    color: #e0e1dd; /* Light text for dark background */
}

/* Header - Image on left, title and buttons on right */
.split-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 30px;
    padding: 10px;
    margin-bottom: -30px;  /* Negative margin to bring content way up */
    background: linear-gradient(to bottom, rgba(0, 26, 51, 0.98) 0%, rgba(0, 26, 51, 0.95) 100%);
    backdrop-filter: blur(10px);
}

.split-header-left {
    width: 147px;   /* Reduced by 1/3rd from 220px */
    height: 293px;  /* Reduced by 1/3rd from 440px */
    background-image: url('/static/images/left.png');
    background-size: contain;
    background-position: top left;
    background-repeat: no-repeat;
    flex-shrink: 0;
    border-radius: 13px;  /* Rounded corners matching other elements */
}

.split-header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;  /* Reduced from 13px to tighten up spacing */
    flex: 1;
}

.split-header-center h1 {
    font-family: 'Impact', 'Anton', 'Bebas Neue', 'Arial Black', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    letter-spacing: -2px;
    text-transform: uppercase;
    font-stretch: condensed;
    transform: scaleX(0.75);
    margin: 0;
}

.festival-stats {
    font-family: 'Georgia', serif;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    margin-top: 6px;
    margin-bottom: 12px;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.split-header-right {
    display: none;
}

.content-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    background-image:
        radial-gradient(circle, #ff0000 1px, transparent 1px),
        radial-gradient(circle, #ff7f00 1px, transparent 1px),
        radial-gradient(circle, #ffff00 1.5px, transparent 1.5px),
        radial-gradient(circle, #00ff00 1px, transparent 1px),
        radial-gradient(circle, #00bfff 1.5px, transparent 1.5px),
        radial-gradient(circle, #4b0082 1px, transparent 1px),
        radial-gradient(circle, #9400d3 1px, transparent 1px),
        radial-gradient(circle, #ff0000 1.5px, transparent 1.5px),
        radial-gradient(circle, #ff7f00 1px, transparent 1px),
        radial-gradient(circle, #ffff00 1px, transparent 1px),
        radial-gradient(circle, #00ff00 1.5px, transparent 1.5px),
        radial-gradient(circle, #00bfff 1px, transparent 1px),
        radial-gradient(circle, #4b0082 1.5px, transparent 1.5px),
        radial-gradient(circle, #9400d3 1px, transparent 1px),
        radial-gradient(circle, #ff0000 1px, transparent 1px);
    background-size:
        200px 200px,
        250px 250px,
        180px 180px,
        220px 220px,
        190px 190px,
        210px 210px,
        230px 230px,
        170px 170px,
        240px 240px,
        195px 195px,
        215px 215px,
        185px 185px,
        205px 205px,
        225px 225px,
        175px 175px;
    background-position:
        0% 0%,
        20% 30%,
        40% 10%,
        60% 40%,
        80% 20%,
        10% 50%,
        30% 60%,
        50% 70%,
        70% 80%,
        90% 90%,
        15% 25%,
        35% 45%,
        55% 65%,
        75% 85%,
        25% 15%;
    animation: particles-rise 25s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.content-window > * {
    position: relative;
    z-index: 2;
}

@keyframes gradient-fade {
    0%, 100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 0% 100%;
    }
}

@keyframes particles-rise {
    0% {
        transform: translateY(0);
        opacity: 0.7;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0.2;
    }
}

.content-view {
    display: none;
}

.content-view.active {
    display: block;
    animation: fadeIn 0.3s ease;
    padding-top: 20px;  /* Add spacing so content doesn't overlap filter buttons */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Welcome/Dashboard View === */
.welcome-content {
    max-width: 600px;
    margin: 0 auto;
    padding-top: var(--spacing-md);
}

.welcome-heading {
    font-family: var(--font-accent);
    font-size: 2rem;
    color: var(--color-earth-brown);
    margin-bottom: var(--spacing-sm);
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.welcome-intro {
    font-size: 0.95rem;
    text-align: center;
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

/* Navigation Cards - Compact */
.festival-nav-cards {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin: var(--spacing-md) 0;
}

.nav-card {
    flex: 1;
    max-width: 140px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    padding: var(--spacing-md) var(--spacing-sm);
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-sidepony-orange);
    box-shadow: 0 8px 21px rgba(0, 0, 0, 0.15);
}

.nav-card-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-earth-brown);
    margin-bottom: 4px;
    font-family: var(--font-accent);
}

.nav-card-label {
    font-size: 0.75rem;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

/* Action Buttons - Compact */
.welcome-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-top: var(--spacing-lg);
}

.action-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.action-btn.primary {
    background: var(--color-sidepony-orange);
    color: white;
    box-shadow: 0 4px 15px rgba(212, 87, 42, 0.4);
}

.action-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 87, 42, 0.6);
}

.action-btn.secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-earth-brown);
    border: 2px solid var(--color-border);
}

.action-btn.secondary:hover {
    background: var(--color-earth-light);
    transform: translateY(-3px);
}

/* === Mobile Menu Toggle === */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--color-earth-brown);
    color: white;
    border: 3px solid var(--color-earth-copper);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px var(--color-shadow);
    z-index: 1000;
}

/* === Mobile Responsive === */
@media (max-width: 968px) {
    .app-container {
        flex-direction: column;
    }

    .lantern-sidebar {
        width: 100%;
        height: 60vh;
        border-right: none;
        border-bottom: 3px solid var(--color-earth-copper);
    }

    .content-area {
        height: 40vh;
        padding: var(--spacing-md);
    }

    .welcome-heading {
        font-size: 2rem;
    }

    .festival-nav-cards {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .nav-card {
        max-width: 100%;
    }

    .welcome-actions {
        flex-direction: column;
    }

    .action-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --sidebar-width: 250px;
    }

    .lantern-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        transform: translateY(100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .lantern-sidebar.open {
        transform: translateY(0);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .content-area {
        padding: var(--spacing-md);
    }

    .nav-card-number {
        font-size: 2.5rem;
    }
}

/* === Content View Styles === */
.content-view h1 {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    color: #e0e1dd;
    margin-bottom: var(--spacing-xl);
    margin-top: 21px;  /* Fibonacci spacing at top to separate from filters */
    border-bottom: 3px solid var(--color-sidepony-orange);
    padding-bottom: var(--spacing-sm);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Add spacing to content containers to prevent merging */
#schedule-content,
#venues-content,
#bands-content,
#places-content,
#bisbee-content,
#now-content,
#tour-content {
    margin: 0 auto;  /* Remove top margin to bring content closer */
    max-width: 1200px;
    padding: 0 20px 8px 20px;  /* No top padding, keep side and bottom */
}

/* Schedule View */
.schedule-container {
    max-width: 1000px;
    margin: 0 auto;  /* Center the schedule sections */
}
.schedule-day {
    margin-bottom: var(--spacing-xl);
    margin-top: 0;  /* Remove top margin on first day */
}
.schedule-day:first-child {
    margin-top: 0;  /* Ensure first day has no top margin */
}
.schedule-day h2 {
    background: rgba(212, 87, 42, 0.3);
    color: #e0e1dd;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 4px;
    border: 2px solid var(--color-sidepony-orange);
    margin-bottom: var(--spacing-md);
    margin-top: 0;  /* Remove top margin to bring banner closer */
}
.shows-list { display: flex; flex-direction: column; gap: var(--spacing-sm); }
.show-card {
    background: rgba(0, 29, 61, 0.6);
    border: 2px solid var(--color-sidepony-orange);
    border-left: 4px solid var(--color-sidepony-orange);
    border-radius: 8px;
    padding: var(--spacing-md);
    display: flex;
    gap: var(--spacing-md);
    color: #e0e1dd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-card:hover {
    background: rgba(0, 40, 80, 0.8);
    border-color: #ff6b3d;
    border-left-color: #ff6b3d;
    box-shadow:
        0 0 20px rgba(212, 87, 42, 0.6),
        0 0 30px rgba(212, 87, 42, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.4);
    transform: translateX(4px);
}
.show-time { min-width: 80px; font-weight: bold; color: var(--color-sidepony-orange); }
.show-info .venue { color: var(--color-sidepony-orange); font-weight: bold; }

/* Venues Grid */
.venues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

/* Bands Grid - ULTRA COMPACT */
.bands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 2px;
}

/* Mobile: 2 columns */
@media (max-width: 768px) {
    .bands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3px;
    }
}

/* Band Card - ULTRA COMPACT */
.band-card {
    background: rgba(0, 29, 61, 0.6);
    border: 1px solid var(--color-sidepony-orange);
    border-radius: 3px;
    padding: 4px 6px;
    color: #e0e1dd;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.65rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.band-card:hover {
    background: rgba(0, 40, 80, 0.8);
    border-color: #ff6b3d;
    box-shadow:
        0 0 15px rgba(212, 87, 42, 0.6),
        0 0 25px rgba(212, 87, 42, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.band-card h3 {
    font-size: 0.75rem;
    margin: 0;
    color: var(--color-sidepony-orange);
    font-weight: 600;
    line-height: 1.1;
}

.band-origin {
    font-size: 0.55rem;
    color: #888;
    font-style: italic;
    margin: 0;
}

.band-genres-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin: 1px 0;
}

.band-genre-tag-inline {
    background: rgba(212, 87, 42, 0.15);
    color: var(--color-sidepony-orange);
    padding: 0px 3px;
    border-radius: 2px;
    font-size: 0.5rem;
    font-weight: 500;
    line-height: 1.3;
}

.band-description {
    font-size: 0.55rem;
    line-height: 1.2;
    color: #bbb;
    margin: 1px 0;
    max-height: 2.4em;
    overflow: hidden;
}

.band-description.expanded {
    max-height: none;
}

.band-description-toggle {
    color: var(--color-sidepony-orange);
    font-size: 0.5rem;
    cursor: pointer;
    text-decoration: underline;
    margin: 0;
}

.band-spotify-link {
    font-size: 0.55rem;
    margin: 1px 0;
}

.band-spotify-link a {
    color: var(--color-sidepony-orange);
    text-decoration: none;
    font-weight: 600;
}

.band-spotify-link a:hover {
    text-decoration: underline;
}

/* Collapsible Schedule - ULTRA COMPACT */
.band-schedule-toggle {
    background: rgba(212, 87, 42, 0.2);
    border: 1px solid var(--color-sidepony-orange);
    border-radius: 2px;
    padding: 3px 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--color-sidepony-orange);
    margin-top: 2px;
}

.band-schedule-toggle:hover {
    background: rgba(212, 87, 42, 0.3);
}

.band-schedule-toggle .arrow {
    font-size: 0.55rem;
    transition: transform 0.2s;
}

.band-schedule-toggle.open .arrow {
    transform: rotate(180deg);
}

.band-schedule-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 2px;
}

.band-schedule-dropdown.open {
    max-height: 150px;
    overflow-y: auto;
}

.band-schedule-item {
    font-size: 0.55rem;
    color: #bbb;
    padding: 1px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.band-schedule-item:last-child {
    border-bottom: none;
}

.band-schedule-item .day-badge-inline {
    display: inline-block;
    background: rgba(212, 87, 42, 0.3);
    padding: 0px 3px;
    border-radius: 2px;
    font-weight: 600;
    margin-right: 3px;
    min-width: 18px;
    text-align: center;
    font-size: 0.5rem;
}

.venue-card, .location-card {
    background: rgba(0, 29, 61, 0.6);
    border: 2px solid var(--color-sidepony-orange);
    border-radius: 8px;
    padding: var(--spacing-md);
    color: #e0e1dd;
}

/* Reduce text sizes in venue cards */
.venue-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.venue-card p {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

/* Clickable address/directions link */
.directions-link {
    color: #a0c4ff;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.directions-link:hover {
    color: var(--color-sidepony-orange);
    text-decoration: underline;
}

/* Two-column layout: info on left, schedule on right */
.band-card, .venue-card {
    display: grid;
    grid-template-columns: 1fr 280px;  /* Info left, schedule right (wider for venue names) */
    gap: var(--spacing-md);
    align-items: start;
}

.band-info, .venue-info {
    /* Grid handles sizing */
}

.show-day {
    font-weight: bold;
    color: var(--color-sidepony-orange);
    text-align: left;
}

.show-time {
    font-weight: bold;
    text-align: left;
}

.show-venue, .show-band {
    color: #a0c4ff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;  /* Critical: allows ellipsis to work in grid */
}

/* Genre tags - add spacing and style */
.genres {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.genre-tag {
    display: inline-block;
    padding: 2px 6px;
    background: rgba(212, 87, 42, 0.2);
    border: 1px solid rgba(212, 87, 42, 0.4);
    border-radius: 4px;
    font-size: 0.65rem;
    color: #e0e1dd;
}

/* Better schedule alignment with scrolling */
.band-schedule-inline, .venue-schedule-inline {
    border-left: 2px solid rgba(212, 87, 42, 0.3);
    padding-left: var(--spacing-sm);
    padding-right: 4px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 140px;  /* Space for ~3 shows before scrolling */
    overflow-y: auto;
    overflow-x: hidden;
}

/* Custom scrollbar for schedule */
.band-schedule-inline::-webkit-scrollbar,
.venue-schedule-inline::-webkit-scrollbar {
    width: 4px;
}

.band-schedule-inline::-webkit-scrollbar-track,
.venue-schedule-inline::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.band-schedule-inline::-webkit-scrollbar-thumb,
.venue-schedule-inline::-webkit-scrollbar-thumb {
    background: var(--color-sidepony-orange);
    border-radius: 2px;
}

.show-item-inline {
    display: grid;
    grid-template-columns: 35px 45px 1fr;
    gap: 5px;
    padding: 2px 0;
    font-size: 0.7rem;
    color: #e0e1dd;
    line-height: 1.3;
    align-items: baseline;
}
