/* ZAHUDBOU.CZ - Complete Styles */

:root {
    --primary: #DC2626;
    --primary-hover: #B91C1C;
    --primary-light: rgba(220,38,38,0.1);
    --black: #0A0A0A;
    --gray-900: #171717;
    --gray-800: #262626;
    --gray-700: #404040;
    --gray-600: #525252;
    --gray-500: #737373;
    --gray-400: #A3A3A3;
    --gray-300: #D4D4D4;
    --gray-200: #E5E5E5;
    --gray-100: #F5F5F5;
    --white: #FAFAFA;
    --success: #16A34A;
    --warning: #CA8A04;
    --error: #DC2626;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --header-height: 72px;
    --radius: 0.5rem;
    --radius-lg: 1rem;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.3);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--gray-100); background: var(--gray-900); min-height: 100vh; }
a { color: var(--primary); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--primary-hover); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; height: auto; display: block; }
input, textarea, select { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4, h5, h6 { color: var(--white); line-height: 1.2; }
h1 { font-size: 2.5rem; font-weight: 800; }
h2 { font-size: 1.875rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }
p { margin-bottom: 1rem; }

/* Container & Layout */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.page-wrapper { padding-top: var(--header-height); min-height: 100vh; }

/* ==================== HEADER ==================== */
.header {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--header-height);
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 200;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1.5rem; }

/* Logo */
.logo { display: flex; align-items: center; gap: 0.25rem; font-size: 1.25rem; font-weight: 700; color: var(--white); text-decoration: none; }
.logo:hover { color: var(--white); }
.logo-text { font-weight: 800; }
.logo-dot { color: var(--primary); }

/* Navigation */
.nav { display: flex; align-items: center; }
.nav-main { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--gray-300); font-size: 0.875rem; font-weight: 500;
    border-radius: var(--radius);
    transition: all 0.15s;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-link.active { color: var(--primary); background: var(--primary-light); }
.nav-link svg { width: 18px; height: 18px; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-trigger {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--gray-300); font-size: 0.875rem; font-weight: 500;
    border-radius: var(--radius);
    transition: all 0.15s;
}
.dropdown-trigger:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.dropdown-trigger svg { width: 16px; height: 16px; }
.dropdown-menu {
    position: absolute; top: 100%; left: 0;
    min-width: 220px; padding: 0.5rem;
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.15s;
    z-index: 100;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(4px); }
.dropdown-item {
    display: flex; align-items: center; gap: 0.75rem;
    width: 100%; padding: 0.75rem 1rem;
    color: var(--gray-300); font-size: 0.875rem;
    border-radius: var(--radius);
    transition: all 0.15s; text-align: left;
}
.dropdown-item:hover { color: var(--white); background: var(--gray-700); }
.dropdown-item svg { width: 18px; height: 18px; }
.dropdown-header { padding: 0.75rem 1rem; color: var(--white); font-weight: 600; border-bottom: 1px solid var(--gray-700); margin-bottom: 0.5rem; }
.dropdown-divider { height: 1px; background: var(--gray-700); margin: 0.5rem 0; }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 0.75rem; }

/* User Menu */
.user-menu { position: relative; }
.user-menu-trigger {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem; color: var(--gray-300);
    border-radius: var(--radius);
    transition: all 0.15s;
}
.user-menu-trigger:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.user-menu-trigger svg { width: 16px; height: 16px; }
.user-dropdown {
    position: absolute; top: calc(100% + 0.5rem); right: 0;
    width: 240px; padding: 0.5rem;
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.15s;
    z-index: 100;
}
.user-menu:hover .user-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

/* Avatar */
.avatar {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--gray-700), var(--gray-600));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.875rem; font-weight: 600; color: var(--gray-300);
    overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-sm { width: 32px; height: 32px; font-size: 0.75rem; }
.avatar-lg { width: 80px; height: 80px; font-size: 1.5rem; }

/* Mobile Menu */
.mobile-menu { display: none; }
.mobile-menu-toggle {
    display: none;
    width: 40px; height: 40px;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 5px; color: var(--gray-300);
    border-radius: var(--radius);
}
.mobile-menu-toggle span { width: 20px; height: 2px; background: currentColor; transition: all 0.2s; }
.mobile-nav-link { display: block; padding: 1rem; color: var(--gray-300); font-size: 1rem; border-bottom: 1px solid var(--gray-800); }
.mobile-nav-link:hover { color: var(--white); background: var(--gray-800); }
.mobile-nav-section { padding: 1rem 0; }
.mobile-nav-label { display: block; padding: 0.5rem 1rem; color: var(--gray-500); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; }

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem; font-weight: 500;
    border-radius: var(--radius);
    transition: all 0.15s;
    cursor: pointer; border: none;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-hover); color: var(--white); }
.btn-secondary { background: var(--gray-700); color: var(--white); }
.btn-secondary:hover { background: var(--gray-600); }
.btn-outline { background: transparent; color: var(--gray-300); border: 1px solid var(--gray-600); }
.btn-outline:hover { background: rgba(255,255,255,0.1); color: var(--white); border-color: var(--gray-500); }
.btn-ghost { background: transparent; color: var(--gray-300); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn-danger { background: var(--error); color: var(--white); }
.btn-danger:hover { background: #B91C1C; }
.btn-success { background: var(--success); color: var(--white); }
.btn-success:hover { background: #15803D; }
.btn-icon { width: 40px; height: 40px; padding: 0; }
.btn-icon svg { width: 20px; height: 20px; }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.75rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ==================== SEARCH ==================== */
.search-toggle { color: var(--gray-300); }
.search-toggle:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.search-toggle svg { width: 20px; height: 20px; }
.search-bar-full {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 500;
    opacity: 0; visibility: hidden;
    transition: all 0.25s;
}
.search-bar-full.active { opacity: 1; visibility: visible; }
.search-bar-content {
    max-width: 700px; margin: 0 auto;
    padding: 5rem 1rem 2rem;
    display: flex; align-items: center; gap: 1rem;
}
.search-bar-content > svg { width: 24px; height: 24px; color: var(--gray-500); flex-shrink: 0; }
.search-bar-input {
    flex: 1; padding: 1rem 1.25rem;
    background: var(--gray-800);
    border: 2px solid var(--gray-700);
    border-radius: var(--radius-lg);
    color: var(--white); font-size: 1.25rem;
}
.search-bar-input:focus { outline: none; border-color: var(--primary); }
.search-bar-input::placeholder { color: var(--gray-500); }
.search-bar-close {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-400); border-radius: 50%;
    transition: all 0.15s;
}
.search-bar-close:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.search-bar-close svg { width: 24px; height: 24px; }
.search-results { max-width: 700px; margin: 0 auto; padding: 0 1rem; }

/* ==================== HERO ==================== */
.hero {
    position: relative;
    padding: 8rem 0 5rem;
    background: linear-gradient(180deg, var(--black) 0%, var(--gray-900) 100%);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(220,38,38,0.15) 0%, transparent 60%);
    pointer-events: none;
}
.hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0.1; }
.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px; margin: 0 auto;
    z-index: 1;
}
.hero-title {
    font-size: 3rem; font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
.text-gradient {
    background: linear-gradient(135deg, var(--primary), #FF6B6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle { font-size: 1.25rem; color: var(--gray-400); margin-bottom: 2rem; }

/* Hero Search */
.hero-search { max-width: 600px; margin: 0 auto 2rem; }
.hero-search-input {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
}
.hero-search-input svg { width: 20px; height: 20px; color: var(--gray-500); margin-left: 1rem; }
.hero-search-input input {
    flex: 1; padding: 0.875rem 0.5rem;
    background: transparent; border: none;
    color: var(--white); font-size: 1rem;
}
.hero-search-input input::placeholder { color: var(--gray-500); }
.hero-search-input input:focus { outline: none; }
.hero-search-input .btn { flex-shrink: 0; }

/* Hero Tags */
.hero-tags {
    display: flex; align-items: center; justify-content: center;
    gap: 0.5rem; flex-wrap: wrap;
    color: var(--gray-500); font-size: 0.875rem;
}
.tag {
    padding: 0.5rem 1rem;
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: 9999px;
    color: var(--gray-300); font-size: 0.875rem;
    transition: all 0.15s;
}
.tag:hover { background: var(--gray-700); color: var(--white); border-color: var(--gray-600); }

/* ==================== SECTIONS ==================== */
.section { padding: 4rem 0; }
.section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem;
}
.section-title {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 1.5rem; font-weight: 700; color: var(--white);
}
.section-title svg { width: 28px; height: 28px; color: var(--primary); }
.section-description { color: var(--gray-400); margin-top: 0.5rem; }
.section-link {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.875rem; font-weight: 500; color: var(--primary);
}
.section-link svg { width: 16px; height: 16px; transition: transform 0.15s; }
.section-link:hover svg { transform: translateX(4px); }
.section-link:hover { color: var(--primary-hover); }

/* ==================== EVENT CARDS ==================== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.event-card {
    background: var(--gray-800);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-700);
    transition: all 0.2s;
}
.event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-600);
}
.event-card-image {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--gray-700);
    overflow: hidden;
}
.event-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.event-card:hover .event-card-image img { transform: scale(1.05); }
.event-card-badge {
    position: absolute; top: 0.75rem; left: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--primary); color: var(--white);
    font-size: 0.75rem; font-weight: 600;
    border-radius: 9999px;
}
.event-card-favorite {
    position: absolute; top: 0.75rem; right: 0.75rem;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.5);
    border-radius: 50%; color: var(--white);
    transition: all 0.15s;
}
.event-card-favorite:hover { background: var(--primary); }
.event-card-favorite.active { background: var(--primary); }
.event-card-favorite svg { width: 18px; height: 18px; }
.event-card-content { padding: 1.25rem; }
.event-card-date {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.875rem; color: var(--primary); font-weight: 500;
    margin-bottom: 0.5rem;
}
.event-card-date svg { width: 16px; height: 16px; }
.event-card-title {
    font-size: 1.125rem; font-weight: 600; color: var(--white);
    margin-bottom: 0.5rem; line-height: 1.3;
}
.event-card-title a { color: inherit; }
.event-card-title a:hover { color: var(--primary); }
.event-card-location {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.875rem; color: var(--gray-400);
    margin-bottom: 1rem;
}
.event-card-location svg { width: 16px; height: 16px; flex-shrink: 0; }
.event-card-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-700);
}
.event-card-genre {
    padding: 0.25rem 0.75rem;
    background: var(--gray-700);
    border-radius: 9999px;
    font-size: 0.75rem; color: var(--gray-300);
}
.event-card-price { font-size: 0.875rem; font-weight: 600; color: var(--white); }
.event-card-price.free { color: var(--success); }

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--gray-700) 25%, var(--gray-600) 50%, var(--gray-700) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-image { aspect-ratio: 16/9; border-radius: var(--radius-lg); }
.skeleton-text { height: 1rem; margin-bottom: 0.5rem; }
.skeleton-text-sm { height: 0.875rem; width: 60%; }

/* Empty State */
.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-state svg { width: 64px; height: 64px; margin: 0 auto 1rem; color: var(--gray-600); }
.empty-state h3 { font-size: 1.25rem; color: var(--gray-300); margin-bottom: 0.5rem; }
.empty-state p { color: var(--gray-500); }

/* Loading */
.loading-spinner {
    width: 48px; height: 48px;
    border: 3px solid var(--gray-700);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 2rem auto;
}
.loading-spinner-sm { width: 24px; height: 24px; border-width: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==================== REGIONS ==================== */
.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.region-card {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.25rem;
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-lg);
    transition: all 0.2s;
}
.region-card:hover {
    transform: translateY(-2px);
    border-color: var(--gray-600);
    box-shadow: var(--shadow-lg);
}
.region-card-icon {
    width: 56px; height: 56px;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
}
.region-card-icon svg { width: 28px; height: 28px; }
.region-card-content { flex: 1; }
.region-card-name { font-weight: 600; color: var(--white); margin-bottom: 0.25rem; }
.region-card-count { font-size: 0.875rem; color: var(--gray-400); }

/* Map */
.map-container { height: 500px; border-radius: var(--radius-lg); overflow: hidden; background: var(--gray-800); border: 1px solid var(--gray-700); }
#map { width: 100%; height: 100%; }

/* ==================== FILTERS ==================== */
.filters {
    display: flex; flex-wrap: wrap; gap: 1rem;
    padding: 1.5rem;
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}
.filter-group { flex: 1; min-width: 150px; }
.filter-label {
    display: block;
    font-size: 0.75rem; color: var(--gray-400);
    margin-bottom: 0.5rem;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.filter-select, .filter-input {
    width: 100%; padding: 0.625rem 1rem;
    background: var(--gray-700);
    border: 1px solid var(--gray-600);
    border-radius: var(--radius);
    color: var(--white); font-size: 0.875rem;
    cursor: pointer;
}
.filter-select:focus, .filter-input:focus { outline: none; border-color: var(--primary); }

/* ==================== FORMS ==================== */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--gray-300); }
.form-label.required::after { content: ' *'; color: var(--primary); }
.form-input, .form-textarea, .form-select {
    width: 100%; padding: 0.75rem 1rem;
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius);
    color: var(--white); font-size: 1rem;
    transition: border-color 0.15s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--primary); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--gray-500); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-select { cursor: pointer; }
.form-hint { font-size: 0.75rem; color: var(--gray-500); margin-top: 0.5rem; }
.form-error { font-size: 0.75rem; color: var(--error); margin-top: 0.5rem; }
.form-input.error { border-color: var(--error); }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.form-checkbox {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 0.875rem; color: var(--gray-300);
    cursor: pointer;
}
.form-checkbox input { width: 18px; height: 18px; accent-color: var(--primary); }

/* ==================== CARDS ==================== */
.card {
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}
.card-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.5rem; padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-700);
}
.card-title { font-size: 1.125rem; font-weight: 600; color: var(--white); }
.card-body { }
.card-footer { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--gray-700); }

/* ==================== ALERTS ==================== */
.alert {
    display: flex; align-items: flex-start; gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}
.alert svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 0.125rem; }
.alert-error { background: rgba(220,38,38,0.1); border: 1px solid rgba(220,38,38,0.3); color: #FCA5A5; }
.alert-success { background: rgba(22,163,74,0.1); border: 1px solid rgba(22,163,74,0.3); color: #86EFAC; }
.alert-warning { background: rgba(202,138,4,0.1); border: 1px solid rgba(202,138,4,0.3); color: #FDE047; }
.alert-info { background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.3); color: #93C5FD; }

/* ==================== BADGES ==================== */
.badge {
    display: inline-flex; align-items: center; gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem; font-weight: 500;
    border-radius: 9999px;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-success { background: rgba(22,163,74,0.1); color: var(--success); }
.badge-warning { background: rgba(202,138,4,0.1); color: var(--warning); }
.badge-error { background: rgba(220,38,38,0.1); color: var(--error); }
.badge-gray { background: var(--gray-700); color: var(--gray-300); }

/* ==================== TABS ==================== */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--gray-700); margin-bottom: 1.5rem; overflow-x: auto; }
.tab {
    padding: 0.875rem 1.25rem;
    color: var(--gray-400); font-size: 0.875rem; font-weight: 500;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.15s;
    white-space: nowrap;
}
.tab:hover { color: var(--white); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ==================== MODAL ==================== */
.modal {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex; align-items: center; justify-content: center;
    z-index: 500; padding: 1rem;
    opacity: 0; visibility: hidden;
    transition: all 0.25s;
}
.modal.active { opacity: 1; visibility: visible; }
.modal-content {
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-lg);
    max-width: 500px; width: 100%;
    max-height: 90vh; overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.25s;
}
.modal.active .modal-content { transform: scale(1); }
.modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-700);
}
.modal-title { font-size: 1.25rem; font-weight: 600; color: var(--white); }
.modal-close {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-400);
    border-radius: var(--radius);
    transition: all 0.15s;
}
.modal-close:hover { color: var(--white); background: var(--gray-700); }
.modal-close svg { width: 20px; height: 20px; }
.modal-body { padding: 1.5rem; }
.modal-footer {
    display: flex; justify-content: flex-end; gap: 0.75rem;
    padding: 1.5rem;
    border-top: 1px solid var(--gray-700);
}

/* ==================== TABLES ==================== */
.table-container { overflow-x: auto; border: 1px solid var(--gray-700); border-radius: var(--radius-lg); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--gray-700); }
.table th { font-weight: 600; color: var(--gray-300); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; background: var(--gray-800); }
.table td { color: var(--gray-100); }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: rgba(255,255,255,0.02); }
.table-actions { display: flex; gap: 0.5rem; }

/* ==================== PAGINATION ==================== */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.pagination-btn {
    min-width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius);
    color: var(--gray-300); font-size: 0.875rem;
    transition: all 0.15s;
}
.pagination-btn:hover { background: var(--gray-700); color: var(--white); }
.pagination-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.pagination-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.pagination-btn svg { width: 18px; height: 18px; }

/* ==================== AUTH PAGES ==================== */
.auth-page {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 2rem 1rem;
    background: var(--black);
}
.auth-card {
    width: 100%; max-width: 420px;
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: 1.5rem;
    padding: 2.5rem;
}
.auth-header { text-align: center; margin-bottom: 2rem; }
.auth-logo {
    display: inline-flex; align-items: center; gap: 0.25rem;
    font-size: 1.5rem; font-weight: 700; color: var(--white);
    margin-bottom: 1.5rem;
}
.auth-title { font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.auth-subtitle { color: var(--gray-400); }
.auth-footer { text-align: center; margin-top: 1.5rem; color: var(--gray-400); font-size: 0.875rem; }
.auth-footer a { color: var(--primary); font-weight: 500; }
.auth-divider {
    display: flex; align-items: center; gap: 1rem;
    margin: 1.5rem 0;
    color: var(--gray-500); font-size: 0.875rem;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-700); }
.social-btn {
    display: flex; align-items: center; justify-content: center; gap: 0.75rem;
    width: 100%; padding: 0.75rem;
    background: var(--gray-700);
    border: 1px solid var(--gray-600);
    border-radius: var(--radius);
    color: var(--white); font-size: 0.875rem; font-weight: 500;
    transition: all 0.15s;
}
.social-btn:hover { background: var(--gray-600); }
.social-btn svg { width: 20px; height: 20px; }

/* ==================== PROFILE ==================== */
.profile-header {
    display: flex; align-items: center; gap: 2rem;
    padding: 2rem;
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}
.profile-avatar {
    width: 100px; height: 100px;
    background: linear-gradient(135deg, var(--gray-700), var(--gray-600));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; font-weight: 600; color: var(--gray-400);
    overflow: hidden; flex-shrink: 0;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-info h1 { font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.profile-info p { color: var(--gray-400); margin-bottom: 0; }
.profile-stats { display: flex; gap: 2rem; margin-top: 1rem; }
.profile-stat-value { font-size: 1.25rem; font-weight: 700; color: var(--white); }
.profile-stat-label { font-size: 0.75rem; color: var(--gray-500); text-transform: uppercase; }

/* ==================== ADMIN ==================== */
.admin-layout { display: flex; min-height: 100vh; padding-top: var(--header-height); }
.admin-sidebar {
    width: 280px;
    background: var(--gray-800);
    border-right: 1px solid var(--gray-700);
    padding: 1.5rem;
    position: fixed;
    top: var(--header-height);
    left: 0; bottom: 0;
    overflow-y: auto;
}
.admin-content { flex: 1; margin-left: 280px; padding: 2rem; }
.admin-nav { display: flex; flex-direction: column; gap: 0.25rem; }
.admin-nav-section { margin-top: 1.5rem; margin-bottom: 0.5rem; }
.admin-nav-label { font-size: 0.75rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px; padding: 0 1rem; }
.admin-nav-item {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--gray-300); font-size: 0.875rem;
    border-radius: var(--radius);
    transition: all 0.15s;
}
.admin-nav-item:hover { background: var(--gray-700); color: var(--white); }
.admin-nav-item.active { background: var(--primary-light); color: var(--primary); }
.admin-nav-item svg { width: 20px; height: 20px; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.admin-title { font-size: 1.5rem; font-weight: 700; color: var(--white); }

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.stat-card {
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}
.stat-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.stat-icon {
    width: 48px; height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
}
.stat-icon svg { width: 24px; height: 24px; }
.stat-icon.success { background: rgba(22,163,74,0.1); color: var(--success); }
.stat-icon.warning { background: rgba(202,138,4,0.1); color: var(--warning); }
.stat-icon.info { background: rgba(37,99,235,0.1); color: #3B82F6; }
.stat-value { font-size: 2rem; font-weight: 700; color: var(--white); margin-bottom: 0.25rem; }
.stat-label { font-size: 0.875rem; color: var(--gray-400); }
.stat-change { font-size: 0.75rem; margin-top: 0.5rem; }
.stat-change.positive { color: var(--success); }
.stat-change.negative { color: var(--error); }

/* ==================== EVENT DETAIL ==================== */
.event-detail { padding: 2rem 0; }
.event-hero {
    position: relative;
    height: 400px;
    background: var(--gray-800);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
}
.event-hero img { width: 100%; height: 100%; object-fit: cover; }
.event-hero-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}
.event-hero-badge { margin-bottom: 1rem; }
.event-hero-title { font-size: 2rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.event-hero-meta { display: flex; align-items: center; gap: 1.5rem; color: var(--gray-300); font-size: 0.875rem; }
.event-hero-meta span { display: flex; align-items: center; gap: 0.5rem; }
.event-hero-meta svg { width: 16px; height: 16px; }
.event-content { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
.event-main { }
.event-sidebar { }
.event-section { margin-bottom: 2rem; }
.event-section-title { font-size: 1.25rem; font-weight: 600; color: var(--white); margin-bottom: 1rem; }
.event-description { color: var(--gray-300); line-height: 1.8; }
.event-info-card {
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}
.event-price { font-size: 2rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.event-price span { font-size: 0.875rem; font-weight: 400; color: var(--gray-400); }
.event-info-item {
    display: flex; align-items: flex-start; gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-700);
}
.event-info-item:last-child { border-bottom: none; }
.event-info-item svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 0.125rem; }
.event-info-label { font-size: 0.75rem; color: var(--gray-500); margin-bottom: 0.25rem; }
.event-info-value { font-size: 0.875rem; color: var(--white); }

/* ==================== FOOTER ==================== */
.footer {
    background: var(--black);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--gray-800);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand { max-width: 300px; }
.footer-logo {
    display: flex; align-items: center; gap: 0.25rem;
    margin-bottom: 1rem;
    color: var(--white); font-size: 1.25rem; font-weight: 700;
    text-decoration: none;
}
.footer-brand p { font-size: 0.875rem; line-height: 1.75; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.5rem; }
.footer-social-link {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gray-800);
    border-radius: var(--radius);
    color: var(--gray-400);
    transition: all 0.15s;
}
.footer-social-link:hover { background: var(--primary); color: var(--white); }
.footer-social-link svg { width: 18px; height: 18px; }
.footer-column h4 {
    color: var(--white);
    font-size: 0.875rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-link { color: var(--gray-400); font-size: 0.875rem; transition: color 0.15s; }
.footer-link:hover { color: var(--white); }
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    font-size: 0.875rem;
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--gray-500); }
.footer-legal a:hover { color: var(--white); }

/* ==================== UTILITIES ==================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-error { color: var(--error); }
.text-muted { color: var(--gray-500); }
.text-white { color: var(--white); }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-4 { margin-right: 1rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-4 { margin-left: 1rem; }
.ml-auto { margin-left: auto; }
.p-0 { padding: 0; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: 9999px; }
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-nowrap { white-space: nowrap; }
.cursor-pointer { cursor: pointer; }
.pointer-events-none { pointer-events: none; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.transition { transition: all 0.15s; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-sidebar { display: none; }
    .admin-content { margin-left: 0; }
    .event-content { grid-template-columns: 1fr; }
    .event-info-card { position: static; }
}

@media (max-width: 768px) {
    .hero { padding: 6rem 0 4rem; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .nav { display: none; }
    .mobile-menu-toggle { display: flex; }
    .mobile-menu {
        display: block;
        position: fixed;
        top: var(--header-height);
        left: 0; right: 0; bottom: 0;
        background: var(--gray-900);
        padding: 1rem;
        transform: translateX(-100%);
        transition: transform 0.3s;
        z-index: 100;
        overflow-y: auto;
    }
    .mobile-menu.open { transform: translateX(0); }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .events-grid { grid-template-columns: 1fr; }
    .regions-grid { grid-template-columns: 1fr; }
    .filters { flex-direction: column; }
    .filter-group { min-width: 100%; }
    .profile-header { flex-direction: column; text-align: center; }
    .profile-stats { justify-content: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .event-hero { height: 300px; }
    .event-hero-title { font-size: 1.5rem; }
    .event-hero-meta { flex-wrap: wrap; gap: 0.75rem; }
    .section-header { flex-direction: column; align-items: flex-start; }
    .map-container { height: 350px; }
    .table-container { margin: 0 -1rem; border-radius: 0; border-left: none; border-right: none; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .hero { padding: 5rem 0 3rem; }
    .hero-title { font-size: 1.75rem; }
    .hero-search-input { flex-direction: column; padding: 1rem; gap: 0.75rem; }
    .hero-search-input input { width: 100%; padding: 0.75rem 0; }
    .hero-search-input .btn { width: 100%; }
    .section { padding: 3rem 0; }
    .section-title { font-size: 1.25rem; }
    .auth-card { padding: 1.5rem; border-radius: 1rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card { padding: 1.25rem; }
    .stat-value { font-size: 1.5rem; }
    .event-card-content { padding: 1rem; }
    .card { padding: 1.25rem; }
    .modal-content { border-radius: var(--radius-lg); margin: 0.5rem; }
    .modal-header, .modal-body, .modal-footer { padding: 1.25rem; }
    .btn { padding: 0.625rem 1rem; }
    .btn-lg { padding: 0.75rem 1.25rem; }
}

/* ==================== PRINT ==================== */
@media print {
    .header, .footer, .mobile-menu, .btn, .admin-sidebar { display: none !important; }
    .page-wrapper { padding-top: 0; }
    body { background: white; color: black; }
    .card, .event-card { border: 1px solid #ccc; box-shadow: none; }
}
