/* ===================================
   303 Local Music - Styles v2
   Modern, Clean Design
   ================================= */

/* CSS Variables */
:root {
    /* Colors - Dark Theme (default) */
    --bg-primary: #0f0f14;
    --bg-secondary: #16161d;
    --bg-tertiary: #1c1c25;
    --bg-card: #1e1e28;
    --bg-card-hover: #252532;
    --bg-elevated: #22222d;

    --text-primary: #f5f5f7;
    --text-secondary: #b4b4bb;
    --text-muted: #8a8a94;

    --accent-primary: #f43f5e;
    --accent-secondary: #8b5cf6;
    --accent-tertiary: #3b82f6;
    --accent-gradient: linear-gradient(135deg, #f43f5e 0%, #8b5cf6 100%);

    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.15);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.15);

    --border-color: rgba(255, 255, 255, 0.08);
    --border-subtle: rgba(255, 255, 255, 0.04);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(244, 63, 94, 0.25);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', var(--font-sans);

    /* Layout */
    --header-height: 72px;
    --mobile-nav-height: 80px;
    --max-width: 1400px;
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: #fafafa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f4f4f5;
    --bg-card: #ffffff;
    --bg-card-hover: #f9fafb;
    --bg-elevated: #ffffff;

    --text-primary: #18181b;
    --text-secondary: #52525b;
    --text-muted: #a1a1aa;

    --border-color: rgba(0, 0, 0, 0.08);
    --border-subtle: rgba(0, 0, 0, 0.04);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 30px rgba(244, 63, 94, 0.15);

    --success-bg: rgba(16, 185, 129, 0.1);
    --warning-bg: rgba(245, 158, 11, 0.1);
}

/* ===================================
   Base Styles
   ================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 2rem);
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
}

a {
    color: var(--accent-tertiary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-primary);
}

.hidden {
    display: none !important;
}

/* ===================================
   Typography
   ================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.125rem; }

/* ===================================
   Buttons
   ================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 10px 20px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white !important;
    box-shadow: var(--shadow-glow);
}

a.btn-primary,
a.btn-primary:hover {
    color: white !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(244, 63, 94, 0.4);
}

.btn-ghost {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-large {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.icon-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: var(--accent-primary);
}

/* ===================================
   Header
   ================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(15, 15, 20, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 100;
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.85);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.logo-img {
    height: 50px;
    width: auto;
    mix-blend-mode: multiply;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

[data-theme="dark"] .logo-img {
    mix-blend-mode: screen;
    filter: invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo i {
    font-size: 1.75rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: var(--space-xs);
}

.nav-link {
    position: relative;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.nav-link.active {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: var(--space-sm);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(22, 22, 29, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: var(--space-sm) var(--space-md);
    padding-bottom: calc(var(--space-sm) + env(safe-area-inset-bottom));
    z-index: 101;
    gap: var(--space-xs);
}

[data-theme="light"] .mobile-nav {
    background: rgba(255, 255, 255, 0.95);
}

.mobile-nav-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px var(--space-xs);
    min-height: 64px;
    color: var(--text-muted);
    font-size: 0.6875rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.mobile-nav-link i {
    font-size: 1.25rem;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--accent-primary);
    background: rgba(244, 63, 94, 0.1);
}

/* ===================================
   Main Content
   ================================= */
.main {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
}

.section {
    padding: var(--space-3xl) var(--space-xl);
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-alt {
    background: var(--bg-secondary);
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.section-alt > * {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   Hero Section
   ================================= */
.hero {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: var(--space-3xl) var(--space-xl);
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(244, 63, 94, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.hero h1 {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-md);
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.1875rem;
    margin-bottom: var(--space-xl);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stats-period {
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-md);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   Calendar Controls
   ================================= */
.calendar-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
}

.view-tabs {
    display: flex;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 4px;
    gap: 4px;
    width: fit-content;
}

.view-tab {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 18px;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.view-tab:hover {
    color: var(--text-primary);
}

.view-tab.active {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-sm);
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}

.filter-group label {
    font-size: 0.625rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    padding-left: 2px;
}

/* Custom Dropdown Styles */
.custom-select {
    position: relative;
    min-width: 160px;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    min-height: 48px;
    cursor: pointer;
    transition: all var(--transition-fast);
    user-select: none;
}

.custom-select-trigger:hover {
    border-color: var(--text-muted);
}

.custom-select.open .custom-select-trigger {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.15);
}

.custom-select-arrow {
    display: flex;
    align-items: center;
    margin-left: var(--space-sm);
    transition: transform var(--transition-fast);
    color: var(--text-muted);
}

.custom-select.open .custom-select-arrow {
    transform: rotate(180deg);
}

.custom-select-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
}

.custom-select.open .custom-select-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-select-option {
    padding: 12px 14px;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.875rem;
    color: var(--text-primary);
}

.custom-select-option:hover {
    background: var(--bg-card-hover);
}

.custom-select-option.selected {
    background: var(--bg-tertiary);
    color: var(--accent-primary);
    font-weight: 600;
}

.custom-select-option:first-child {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.custom-select-option:last-child {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* Hide native select */
.filter-select {
    display: none;
}

#clear-filters {
    margin-top: auto;
    padding: 10px 20px;
    min-height: 48px;
    align-self: flex-end;
}

/* Date Navigation */
.date-nav {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.date-nav h3 {
    min-width: 240px;
    text-align: center;
    font-size: 1.5rem;
}

.last-updated {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ===================================
   Calendar Views
   ================================= */
.calendar-container {
    min-height: 0;
}

.calendar-view {
    display: none;
}

.calendar-view.active {
    display: block;
}

/* Week View - Vertical List */
#week-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.week-day-column {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: row;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.week-day-column:hover {
    box-shadow: var(--shadow-card);
}

.week-day-column.today {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 1px var(--accent-primary);
}

.week-day-header {
    flex: 0 0 160px;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--bg-tertiary);
    border-right: 1px solid var(--border-subtle);
    position: relative;
}

.week-day-column.today .week-day-header {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.today-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-sm);
}

.day-name {
    display: block;
    font-size: 0.6875rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 4px;
}

.day-date {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.week-day-column.today .day-date {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.day-count {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.week-day-shows {
    flex: 1;
    padding: var(--space-lg);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-content: flex-start;
}

.no-shows {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    font-style: italic;
}

/* Show Card - Compact Style for Week View */
.show-card {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 0;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
    display: flex;
    flex-direction: row;
    gap: 0;
    flex: 0 1 calc(33.333% - var(--space-md));
    min-width: 220px;
    overflow: hidden;
}

.show-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-tertiary);
    transform: translateY(-2px);
}

/* Band Photo Styling */
.band-photo {
    width: 80px;
    height: 100%;
    min-height: 120px;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
    /* Black and white filter - can be removed for color photos */
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

/* Optional: Uncomment to show color on hover */
/*
.show-card:hover .band-photo {
    filter: grayscale(0%);
}
*/

.show-card-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: var(--space-md);
    flex: 1;
    min-width: 0;
}

.show-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-sm);
}

.show-band {
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1.3;
    color: var(--text-primary);
    flex: 1;
}

/* Price tag hidden by default - can be shown with .show-prices class on parent */
.price-tag {
    display: none;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    flex-shrink: 0;
}

.show-prices .price-tag {
    display: inline-block;
}

.price-tag.free {
    background: var(--success-bg);
    color: var(--success);
}

.price-tag.paid {
    background: var(--warning-bg);
    color: var(--warning);
}

.show-venue {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    line-height: 1.4;
}

.show-venue i {
    font-size: 0.6875rem;
    color: var(--accent-tertiary);
    flex-shrink: 0;
}

.show-time {
    font-size: 0.8125rem;
    color: var(--accent-tertiary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.show-time i {
    font-size: 0.6875rem;
    flex-shrink: 0;
}

/* Day View */
.day-timeline {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.timeline-show {
    display: grid;
    grid-template-columns: 120px 80px 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl);
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.timeline-show:hover {
    border-color: var(--accent-tertiary);
    transform: translateX(4px);
    box-shadow: var(--shadow-card);
}

.timeline-time {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--accent-tertiary);
}

.timeline-band-photo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-md);
    /* Black and white filter - can be removed for color photos */
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

/* Optional: Uncomment to show color on hover */
/*
.timeline-show:hover .timeline-band-photo {
    filter: grayscale(0%);
}
*/

.timeline-details h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.timeline-venue {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: var(--space-sm);
}

.timeline-meta {
    display: flex;
    gap: var(--space-lg);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.timeline-meta i {
    margin-right: 6px;
    color: var(--text-muted);
}

/* Month View */
.month-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: var(--space-sm);
    padding: 0 2px;
}

.month-header span {
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: var(--space-sm);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    background: var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.month-day {
    aspect-ratio: 1;
    background: var(--bg-card);
    padding: var(--space-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
}

.month-day:hover {
    background: var(--bg-card-hover);
}

.month-day.weekend {
    background: rgba(139, 92, 246, 0.05);
}

.month-day.today {
    background: rgba(244, 63, 94, 0.1);
}

.month-day.today .month-day-number {
    color: var(--accent-primary);
    font-weight: 700;
}

.month-day.other-month {
    opacity: 0.35;
}

.month-day-number {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: auto;
}

.month-day-shows {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: var(--space-xs);
}

.month-show-dot {
    height: 4px;
    border-radius: 2px;
    background: var(--accent-tertiary);
}

.month-show-dot.free {
    background: var(--success);
}

.month-day-count {
    font-size: 0.625rem;
    color: var(--text-muted);
    margin-top: auto;
    font-weight: 500;
}

/* Band View */
.band-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.band-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
}

.band-card:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}

.band-card-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.band-card:hover .band-card-photo {
    filter: grayscale(0%);
}

.band-card-photo-link {
    display: block;
    cursor: pointer;
}

.band-card-photo-link:hover .band-card-photo {
    filter: grayscale(0%);
    opacity: 0.9;
}

.band-card-content {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.band-card-name {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
    font-family: var(--font-display);
}

.band-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.genre-tag {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.band-shows {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-subtle);
}

.band-show-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.band-show-item:hover {
    background: var(--bg-tertiary);
}

.band-show-date-venue {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.band-show-date {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.band-show-venue {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.band-show-details {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.band-show-time {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Venue Map Section */
.venue-map-container {
    display: flex;
    flex-direction: row;
    gap: var(--space-xl);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.venue-map-container > * {
    flex: 1;
}

.venue-list {
    flex: 0 0 400px;
}

.map-container {
    height: 600px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.venue-list {
    flex: 0 0 400px;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-height: 600px;
    overflow-y: auto;
    padding-right: var(--space-sm);
}

.venue-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.venue-card:hover {
    border-color: var(--accent-tertiary);
    box-shadow: var(--shadow-card);
}

.venue-card.active {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 1px var(--accent-primary);
}

.venue-card-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.venue-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--accent-gradient);
    color: white;
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.venue-title-wrap {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-sm);
}

.venue-card-header h4 {
    font-size: 1.0625rem;
    margin: 0;
}

.venue-area {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

/* Numbered Map Markers */
.numbered-marker {
    background: transparent;
    border: none;
}

.marker-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #f43f5e 0%, #8b5cf6 100%);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    border: 2px solid white;
}

.marker-number span {
    transform: rotate(45deg);
}

.venue-address {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    transition: color 0.2s ease;
}

.venue-address:hover {
    color: var(--accent-primary);
}

.venue-address:hover i {
    color: var(--accent-primary);
}

.venue-address i {
    color: var(--accent-tertiary);
    width: 14px;
    transition: color 0.2s ease;
}

.venue-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.8125rem;
    color: var(--accent-tertiary);
    margin-bottom: var(--space-md);
}

.venue-link:hover {
    color: var(--accent-primary);
}

.venue-shows {
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--space-md);
    margin-top: var(--space-sm);
}

.venue-shows-header {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.venue-show-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.875rem;
}

.venue-show-item:last-child {
    border-bottom: none;
}

.venue-show-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.venue-show-band {
    font-weight: 600;
    color: var(--text-primary);
}

.venue-show-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.venue-no-shows {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Leaflet custom styles */
.leaflet-popup-content-wrapper {
    background: var(--bg-card);
    color: var(--text-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.leaflet-popup-content {
    margin: var(--space-md);
}

.leaflet-popup-tip {
    background: var(--bg-card);
}

.venue-popup h4 {
    margin-bottom: var(--space-xs);
    font-size: 1rem;
}

.venue-popup p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.venue-popup .show-count {
    color: var(--accent-primary);
    font-weight: 600;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--space-3xl);
    color: var(--text-muted);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: var(--space-lg);
    opacity: 0.3;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.empty-state h3 {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

/* ===================================
   Submit Form
   ================================= */
.submit-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all var(--transition-fast);
    box-sizing: border-box;
}

.form-group select {
    padding-right: 40px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a8a94' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.submit-form .btn {
    display: flex;
    margin: 0 auto;
}

.form-success {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.form-success i {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: var(--space-lg);
    background: color-mix(in srgb, var(--success) 15%, transparent);
    width: 6rem;
    height: 6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.form-success h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
    color: var(--text-primary);
}

.form-success p {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.form-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-xl);
}

.report-form .form-group {
    margin-bottom: var(--space-lg);
}

.report-form .form-group:last-of-type {
    margin-bottom: 0;
}

/* ===================================
   Newsletter & Donate Placeholders
   ================================= */
.newsletter-placeholder,
.donate-placeholder {
    max-width: 500px;
    margin: 0 auto;
}

.placeholder-box {
    background: var(--bg-card);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    text-align: center;
}

.placeholder-box i {
    font-size: 3.5rem;
    margin-bottom: var(--space-lg);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.placeholder-box p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.placeholder-note {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===================================
   About Section
   ================================= */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    font-size: 1.0625rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.feature {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.feature:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.feature i {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature h4 {
    margin-bottom: var(--space-sm);
}

.feature p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

.support-message {
    text-align: center;
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-subtle);
}

.support-message small {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.venmo-link {
    color: var(--accent-tertiary);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: inline;
}

.venmo-link:hover {
    color: var(--accent-primary);
}

.venmo-link i {
    font-size: 0.875rem;
    margin-right: 2px;
    vertical-align: baseline;
}

/* ===================================
   Footer
   ================================= */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-xl) var(--space-xl);
    text-align: center;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.footer-logo .logo-img {
    height: 60px;
}

[data-theme="dark"] .footer-logo .logo-img {
    filter: invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.footer-logo i {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    font-size: 1rem;
}

.footer-tagline i {
    color: var(--accent-primary);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-links a {
    color: var(--text-muted);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-copyright {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ===================================
   Modal
   ================================= */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
}

.modal.open {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 1;
    font-size: 1rem;
    font-weight: 700;
}

.modal-close:hover {
    background: var(--bg-elevated);
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: scale(1.05);
}

.modal-header {
    padding: var(--space-2xl);
    padding-bottom: var(--space-xl);
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.modal-band-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    /* Black and white filter */
    filter: grayscale(100%);
}

.modal-header-content {
    flex: 1;
    min-width: 0;
}

.modal-header .price-tag {
    font-size: 0.8125rem;
    padding: 6px 12px;
    margin-bottom: var(--space-lg);
    display: inline-block;
}

.modal-header h2 {
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
    padding-right: 48px;
    line-height: 1.2;
}

.modal-genre {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-transform: capitalize;
    font-weight: 500;
}

.modal-subtitle {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-top: var(--space-sm);
    font-weight: 400;
}

.modal-body {
    padding: 0 var(--space-2xl) var(--space-lg);
}

.modal-detail {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    border: 1px solid var(--border-subtle);
}

.modal-detail:last-child {
    margin-bottom: 0;
}

.modal-detail i {
    color: var(--accent-tertiary);
    font-size: 1.125rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 3px;
}

.modal-detail strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-detail p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    margin: 0;
    line-height: 1.5;
}

.modal-address-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--accent-tertiary);
    font-size: 1.0625rem;
    text-decoration: none;
    margin-top: 2px;
    padding: 2px 0;
    transition: all var(--transition-fast);
}

.modal-address-link:hover {
    color: var(--accent-primary);
}

.modal-address-link i {
    font-size: 0.75rem;
}

.modal-footer {
    padding: 0 var(--space-2xl) var(--space-2xl);
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.modal-footer .btn {
    flex: 0 1 auto;
    min-width: 140px;
    justify-content: center;
}

/* ===================================
   Responsive Styles
   ================================= */
@media (max-width: 1200px) {
    .show-card {
        flex: 0 1 calc(50% - var(--space-md));
    }
}

@media (max-width: 1024px) {
    .venue-map-container {
        flex-direction: column;
        gap: var(--space-lg);
        padding: 0 var(--space-lg);
    }

    .venue-list {
        flex: 1 1 auto;
        max-height: 500px;
        order: 2;
        padding-right: 0;
        overflow-x: hidden;
    }

    .map-container {
        height: 500px;
        min-height: 500px;
        order: 1;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .header-actions .btn span {
        display: none;
    }

    .mobile-menu-btn {
        display: none; /* Hide hamburger since we use bottom nav */
    }

    .mobile-nav {
        display: flex;
    }

    .main {
        margin-bottom: var(--mobile-nav-height);
        padding-bottom: var(--space-lg);
    }

    .section {
        padding: var(--space-2xl) var(--space-lg);
    }

    .map-container {
        height: 400px;
        min-height: 400px;
    }

    .venue-list {
        max-height: 400px;
    }

    .calendar-controls {
        margin-bottom: var(--space-lg);
    }

    .date-nav {
        position: sticky;
        top: var(--header-height);
        z-index: 49;
        background: var(--bg-primary);
        padding: var(--space-md) 0;
        margin-bottom: var(--space-lg);
        margin-left: calc(var(--space-lg) * -1);
        margin-right: calc(var(--space-lg) * -1);
        padding-left: var(--space-lg);
        padding-right: var(--space-lg);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .week-day-column {
        flex-direction: column;
    }

    .week-day-header {
        flex: 0 0 auto;
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
        padding: var(--space-md);
    }

    .week-day-shows {
        flex-direction: column;
    }

    .show-card {
        flex: 1 1 100%;
        min-width: auto;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: var(--space-xl);
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .calendar-controls {
        gap: var(--space-md);
    }

    .view-tabs {
        width: 100%;
        order: -1;
    }

    .view-tab {
        flex: 1;
        justify-content: center;
    }

    .filters {
        width: 100%;
        gap: var(--space-md);
    }

    .filter-group {
        flex: 1 1 calc(50% - var(--space-md));
        min-width: 140px;
    }

    .filter-select {
        width: 100%;
    }

    #clear-filters {
        flex: 1 1 100%;
        width: 100%;
    }

    .date-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .date-nav h3 {
        order: -1;
        width: 100%;
        margin-bottom: var(--space-sm);
        font-size: 1.25rem;
    }

    .timeline-show {
        grid-template-columns: 80px 1fr;
        gap: var(--space-md);
    }

    .timeline-time {
        font-size: 1.125rem;
        grid-column: 1 / -1;
    }

    .timeline-band-photo {
        width: 80px;
        height: 80px;
    }

    .band-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .band-card-photo {
        height: 180px;
    }

    .band-show-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xs);
    }

    .band-show-date-venue,
    .band-show-details {
        width: 100%;
    }

    .band-show-details {
        justify-content: space-between;
    }

    .modal-content {
        max-width: calc(100% - var(--space-xl));
    }

    .modal-header {
        padding: var(--space-lg);
        padding-bottom: var(--space-md);
        gap: var(--space-sm);
    }

    .modal-band-photo {
        width: 70px;
        height: 70px;
    }

    .modal-header .price-tag {
        font-size: 0.6875rem;
        padding: 4px 10px;
        margin-bottom: var(--space-sm);
    }

    .modal-header h2 {
        font-size: 1.25rem;
        padding-right: 56px;
    }

    .modal-genre {
        font-size: 0.8125rem;
    }

    .modal-body {
        padding: 0 var(--space-lg) var(--space-sm);
    }

    .modal-detail {
        padding: var(--space-sm) var(--space-md);
        gap: var(--space-sm);
    }

    .modal-detail i {
        font-size: 1rem;
    }

    .modal-detail strong {
        font-size: 0.9375rem;
        margin-bottom: 4px;
    }

    .modal-detail p {
        font-size: 0.875rem;
    }

    .modal-address-link {
        font-size: 0.875rem;
    }

    .modal-detail:last-child {
        margin-bottom: 0;
    }

    .modal-footer {
        padding: 0 var(--space-lg) var(--space-lg);
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }

    .modal-footer .btn {
        max-width: none;
        width: 100%;
        font-size: 0.875rem;
        padding: 12px 20px;
    }

    .month-day {
        aspect-ratio: auto;
        min-height: 70px;
    }

    .header-content {
        padding: 0 var(--space-lg);
    }
}

@media (max-width: 480px) {
    .view-tab {
        padding: 10px 14px;
    }

    .header-actions .btn {
        width: 44px;
        padding: 10px;
    }

    .month-grid {
        font-size: 0.75rem;
    }

    .section {
        padding: var(--space-xl) var(--space-md);
    }

    .submit-form {
        padding: var(--space-lg);
    }

    .hero {
        padding: var(--space-2xl) var(--space-md);
    }

    .hero p {
        font-size: 1rem;
    }

    .footer {
        padding: var(--space-xl) var(--space-md);
        padding-bottom: calc(var(--mobile-nav-height) + var(--space-xl));
    }

    .footer-links {
        display: none;
    }
}

/* ===================================
   Utility Classes
   ================================= */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Loading state */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--bg-tertiary) 0%,
        var(--bg-card-hover) 50%,
        var(--bg-tertiary) 100%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-show-card {
    height: 140px;
    margin-bottom: var(--space-md);
}

.skeleton-venue-card {
    height: 220px;
    margin-bottom: var(--space-md);
}

.skeleton-timeline-show {
    height: 120px;
    margin-bottom: var(--space-md);
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 150;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--bg-tertiary);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Selection */
::selection {
    background: rgba(244, 63, 94, 0.3);
    color: var(--text-primary);
}
