/* ============================================================
   Long Island Car Shows — Blue Glassmorphism Theme
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
    --bg-deep: #0a1628;
    --bg-mid: #0f1f3a;
    --bg-surface: rgba(15, 31, 58, 0.7);
    --glass: rgba(20, 40, 80, 0.45);
    --glass-border: rgba(100, 160, 255, 0.15);
    --glass-hover: rgba(30, 60, 110, 0.55);
    --glass-light: rgba(255, 255, 255, 0.06);
    --primary: #3b8bff;
    --primary-glow: rgba(59, 139, 255, 0.3);
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --accent: #06d6a0;
    --accent-glow: rgba(6, 214, 160, 0.25);
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
    --text: #e8edf5;
    --text-muted: #8b9dc3;
    --text-dim: #5a6f94;
    --card-radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --font: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    background: var(--bg-deep);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated background gradient */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(59, 139, 255, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(6, 214, 160, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 0%, rgba(100, 80, 200, 0.1) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.2; color: #fff; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---- Glass Card ---- */
.glass {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
}

.glass-light {
    background: var(--glass-light);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--card-radius);
}

/* ============================================================
   Navigation
   ============================================================ */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-border);
    transition: background var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
}
.nav-brand:hover { color: #fff; }
.brand-icon { font-size: 1.4rem; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--text-muted);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: #fff; background: var(--glass-light); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-cta { margin-left: 8px; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    font: inherit;
    position: relative;
}
.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
    position: absolute;
    top: 4px;
    right: -2px;
}
.badge-count {
    background: var(--danger);
    color: #fff;
    font-size: 0.7rem;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 600;
}
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: rgba(15, 25, 50, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
}
.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    color: var(--text-muted);
    border-radius: 8px;
    font-size: 0.9rem;
}
.nav-dropdown-menu a:hover { background: var(--glass-light); color: #fff; }
.nav-dropdown-menu hr { border: none; border-top: 1px solid var(--glass-border); margin: 4px 0; }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 16px var(--primary-glow);
}
.btn-primary:hover { box-shadow: 0 6px 24px var(--primary-glow); color: #fff; }

.btn-accent {
    background: linear-gradient(135deg, var(--accent), #059669);
    color: #fff;
    box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-glass {
    background: var(--glass);
    color: var(--text);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
}
.btn-glass:hover { background: var(--glass-hover); color: #fff; }

.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ============================================================
   Form Elements
   ============================================================ */
.form-group { margin-bottom: 20px; }

.form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 25, 50, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: all var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-input::placeholder { color: var(--text-dim); }
.form-select { cursor: pointer; }
.form-select option { background: var(--bg-mid); color: var(--text); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 0.8rem; color: var(--text-dim); margin-top: 4px; }

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ============================================================
   Event Cards
   ============================================================ */
.event-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(100, 160, 255, 0.3);
}

.event-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--bg-mid);
}
.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.event-card:hover .event-card-image img { transform: scale(1.05); }

.event-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
}
.event-card-featured {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(245, 158, 11, 0.9);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.event-card-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: 8px;
}

.event-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}
.event-card-title a { color: #fff; }
.event-card-title a:hover { color: var(--primary-light); }

.event-card-venue {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.event-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--glass-border);
}

.event-card-rsvp {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 500;
}

.event-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    background: linear-gradient(135deg, var(--bg-mid), rgba(30, 50, 90, 0.5));
    font-size: 3rem;
}

/* Event grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 32px;
}

.hero-search {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}
.hero-search input {
    width: 100%;
    padding: 18px 24px 18px 50px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 60px;
    color: var(--text);
    font-size: 1rem;
    font-family: var(--font);
}
.hero-search input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}
.hero-search input::placeholder { color: var(--text-dim); }
.hero-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 48px;
}
.hero-stat { text-align: center; }
.hero-stat-value { font-size: 2rem; font-weight: 800; color: #fff; }
.hero-stat-label { font-size: 0.85rem; color: var(--text-dim); }

/* ============================================================
   Section Headers
   ============================================================ */
.section { padding: 60px 0; }
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
}

/* ============================================================
   Filters
   ============================================================ */
.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
    padding: 20px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
}
.filters-bar .form-input,
.filters-bar .form-select {
    flex: 1;
    min-width: 150px;
    padding: 10px 14px;
    font-size: 0.88rem;
}

/* ============================================================
   Event Detail Page
   ============================================================ */
.event-detail { padding: 100px 0 60px; }

.event-hero-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--card-radius);
    margin-bottom: 32px;
}

.event-detail-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}

.event-detail-sidebar .glass {
    padding: 24px;
    position: sticky;
    top: 88px;
}

.event-info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--glass-border);
}
.event-info-row:last-child { border-bottom: none; }
.event-info-icon { color: var(--primary-light); flex-shrink: 0; margin-top: 2px; }
.event-info-label { font-size: 0.8rem; color: var(--text-dim); }
.event-info-value { font-size: 0.95rem; color: var(--text); }

.rsvp-buttons {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}
.rsvp-buttons .btn { flex: 1; }
.rsvp-count-bar {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}
.rsvp-count-item {
    text-align: center;
    flex: 1;
}
.rsvp-count-num { font-size: 1.4rem; font-weight: 700; color: #fff; }
.rsvp-count-label { font-size: 0.75rem; color: var(--text-dim); }

/* ============================================================
   Calendar
   ============================================================ */
.calendar-container { padding: 100px 0 60px; }

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}
.calendar-header-cell {
    padding: 12px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.calendar-cell {
    min-height: 100px;
    padding: 8px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    transition: all var(--transition);
}
.calendar-cell:hover { border-color: var(--primary); }
.calendar-cell.today { border-color: var(--primary); background: rgba(59, 139, 255, 0.08); }
.calendar-cell.other-month { opacity: 0.4; }
.calendar-day-num { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.calendar-event {
    display: block;
    padding: 3px 6px;
    margin-bottom: 2px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}
.calendar-event:hover { opacity: 0.8; color: #fff; }

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.calendar-nav h2 { font-size: 1.3rem; }
.calendar-nav-btns { display: flex; gap: 8px; }

/* ============================================================
   Map
   ============================================================ */
.map-page { padding: 80px 0 0; }
.map-wrapper {
    height: calc(100vh - 80px);
    border-radius: var(--card-radius) var(--card-radius) 0 0;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}
#eventMap { height: 100%; width: 100%; background: var(--bg-mid); }

.leaflet-popup-content-wrapper {
    background: rgba(15, 25, 50, 0.95) !important;
    color: var(--text) !important;
    border-radius: 12px !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--shadow) !important;
}
.leaflet-popup-tip { background: rgba(15, 25, 50, 0.95) !important; }
.leaflet-popup-content { margin: 16px !important; font-family: var(--font) !important; }
.map-popup-title { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.map-popup-date { font-size: 0.82rem; color: var(--primary-light); }
.map-popup-venue { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 8px; }
.map-popup-link { color: var(--primary-light); font-size: 0.82rem; font-weight: 600; }

/* ============================================================
   Gallery
   ============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(0,0,0,0.7));
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-title { font-size: 0.82rem; color: #fff; font-weight: 600; }
.gallery-item-date { font-size: 0.75rem; color: rgba(255,255,255,0.7); }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 95vw; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   Flash Messages
   ============================================================ */
.flash-container {
    position: fixed;
    top: 76px;
    right: 20px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 400px;
}
.flash {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    backdrop-filter: blur(20px);
    animation: slideIn 0.3s ease;
}
.flash-success { background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.3); color: var(--success); }
.flash-error { background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.3); color: var(--danger); }
.flash-warning { background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.3); color: var(--warning); }
.flash-info { background: rgba(59, 139, 255, 0.15); border: 1px solid rgba(59, 139, 255, 0.3); color: var(--primary-light); }
.flash-close { background: none; border: none; color: inherit; cursor: pointer; font-size: 1.2rem; opacity: 0.7; }
.flash-close:hover { opacity: 1; }

@keyframes slideIn {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ============================================================
   Toast Notifications
   ============================================================ */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.toast {
    padding: 14px 20px;
    border-radius: 12px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--text);
    font-size: 0.88rem;
    box-shadow: var(--shadow);
    animation: slideIn 0.3s ease;
}

/* ============================================================
   Pagination
   ============================================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.pagination a, .pagination span {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all var(--transition);
}
.pagination a {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
}
.pagination a:hover { background: var(--glass-hover); color: #fff; }
.pagination .current {
    background: var(--primary);
    color: #fff;
}

/* ============================================================
   Auth Pages
   ============================================================ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
}
.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 40px;
}
.auth-card h1 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    text-align: center;
}
.auth-card p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 0.92rem;
}
.auth-separator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    color: var(--text-dim);
    font-size: 0.82rem;
}
.auth-separator::before, .auth-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--glass-border);
}
.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ============================================================
   Dashboard
   ============================================================ */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}
.stat-card {
    padding: 24px;
    text-align: center;
}
.stat-card-value { font-size: 2rem; font-weight: 800; color: #fff; }
.stat-card-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: rgba(5, 10, 20, 0.8);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 32px;
    margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-brand h3 { font-size: 1.15rem; margin: 8px 0; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }
.footer-links h4 { font-size: 0.9rem; margin-bottom: 16px; color: var(--text); }
.footer-links a {
    display: block;
    color: var(--text-muted);
    font-size: 0.88rem;
    padding: 4px 0;
}
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-dim);
    font-size: 0.82rem;
}

/* ============================================================
   Utility
   ============================================================ */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary-light); }
.text-danger { color: var(--danger); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.gap-2 { gap: 16px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.w-full { width: 100%; }

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-dim);
}
.empty-state-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 { color: var(--text-muted); margin-bottom: 8px; }

.tag {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.table-wrapper { overflow-x: auto; }
.data-table {
    width: 100%;
    border-collapse: collapse;
}
.data-table th, .data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.88rem;
}
.data-table th {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.data-table tr:hover { background: var(--glass-light); }

.status-badge {
    display: inline-flex;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.status-published { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.status-draft { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.status-yes { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.status-maybe { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.status-waitlist { background: rgba(59, 139, 255, 0.15); color: var(--primary-light); }
.status-cancelled { background: rgba(239, 68, 68, 0.15); color: var(--danger); }

/* ============================================================
   Mobile Responsive
   ============================================================ */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.95);
        backdrop-filter: blur(24px);
        padding: 16px;
        flex-direction: column;
        border-bottom: 1px solid var(--glass-border);
    }
    .nav-menu.open { display: flex; }
    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
    }
    .nav-cta { margin-left: 0; width: 100%; text-align: center; }

    .hero { padding: 110px 0 50px; }
    .hero h1 { font-size: 2rem; }
    .hero-stats { gap: 24px; }
    .hero-stat-value { font-size: 1.5rem; }

    .events-grid { grid-template-columns: 1fr; }
    .event-detail-grid { grid-template-columns: 1fr; }
    .event-detail-sidebar { order: -1; }

    .filters-bar { flex-direction: column; }

    .calendar-grid { grid-template-columns: repeat(7, 1fr); }
    .calendar-cell { min-height: 60px; padding: 4px; }
    .calendar-header-cell { font-size: 0.7rem; padding: 8px 4px; }
    .calendar-event { font-size: 0.6rem; padding: 2px 4px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

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

    .gallery-grid { grid-template-columns: repeat(2, 1fr); }

    .rsvp-buttons { flex-direction: column; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .dashboard-stats { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 12px; }
}
