/* ===================================================================
 * Events Discovery Page - QuickPlana
 * Advanced UI/UX with Filtering & Interactive Elements
 * ------------------------------------------------------------------- */

/* =================================
   VARIABLES
   ================================= */
:root {
    --primary-gradient: linear-gradient(135deg, #437bcb 0%, #3b82f6 100%);
    --secondary-gradient: linear-gradient(135deg, #3b82f6 0%, #3b82f6 100%);
    --accent-gradient: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);

    --text-dark: #111827;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.2);

    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
}

/* =================================
   BASE STYLES
   ================================= */
.events-discover-page {
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    overflow-x: hidden;
}

.container-custom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* =================================
   HERO SECTION
   ================================= */
.discover-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.discover-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.discover-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.discover-hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* =================================
   ADVANCED SEARCH BAR
   ================================= */
.discover-search-bar {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto 3rem;
    transition: all 0.3s ease;
}

.discover-search-bar:hover {
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.25);
}

.search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 0.5rem;
}

.search-icon {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--text-dark);
    font-family: inherit;
    background: transparent;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.search-select-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 0.5rem;
    min-width: 150px;
}

.search-select {
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--text-dark);
    font-family: inherit;
    background: transparent;
    cursor: pointer;
    width: 100%;
}

.search-select:focus {
    color: #3b82f6;
}

.search-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.search-btn:active {
    transform: translateY(0);
}

/* =================================
   QUICK STATS
   ================================= */
.discover-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* =================================
   MAIN LAYOUT
   ================================= */
.discover-main {
    padding: 4rem 0;
}

.discover-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: start;
}

/* =================================
   SIDEBAR FILTERS
   ================================= */
.discover-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.sidebar-header h3 i {
    color: #3b82f6;
}

.filter-reset {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.filter-reset:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: rgba(99, 102, 241, 0.05);
}

.filter-group {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-title i {
    color: #3b82f6;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    transition: all 0.2s ease;
}

.filter-checkbox:hover {
    background: rgba(99, 102, 241, 0.05);
}

.filter-checkbox input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.filter-checkbox input:checked + .checkbox-custom {
    background: var(--primary-gradient);
    border-color: #3b82f6;
}

.filter-checkbox input:checked + .checkbox-custom::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 0.75rem;
}

.checkbox-label {
    flex: 1;
    font-size: 0.875rem;
    color: var(--text-dark);
    font-weight: 500;
}

.checkbox-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg-light);
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-weight: 600;
}

/* Filter Tags */
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-tag {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tag:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: rgba(99, 102, 241, 0.05);
}

.filter-tag.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

/* =================================
   VIEW CONTROLS
   ================================= */
.view-controls {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.view-count {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.view-count span {
    color: #3b82f6;
}

.view-actions {
    display: flex;
    gap: 1rem;
}

/* Sort Dropdown */
.sort-dropdown {
    position: relative;
}

.sort-btn {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.sort-btn:hover {
    border-color: #3b82f6;
    background: rgba(99, 102, 241, 0.05);
}

.sort-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    min-width: 200px;
    z-index: 100;
}

.sort-option {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.sort-option:hover {
    background: var(--bg-light);
}

.sort-option.active {
    background: rgba(99, 102, 241, 0.1);
    color: #3b82f6;
}

.sort-option i {
    width: 20px;
}

/* View Toggle */
.view-toggle {
    display: flex;
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    padding: 0.25rem;
}

.view-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.view-btn:hover {
    color: #3b82f6;
}

.view-btn.active {
    background: white;
    color: #3b82f6;
    box-shadow: var(--shadow-sm);
}

/* =================================
   EVENTS GRID VIEW
   ================================= */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.event-card-modern {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

.event-card-modern:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.event-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card-modern:hover .event-card-image img {
    transform: scale(1.1);
}

.event-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, transparent 50%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-card-modern:hover .event-card-overlay {
    opacity: 1;
}

.favorite-btn {
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-light);
}

.favorite-btn:hover {
    background: white;
    color: #3b82f6;
    transform: scale(1.1);
}

.favorite-btn.active {
    color: #3b82f6;
}

.favorite-btn.active i {
    font-weight: 900;
}

.event-card-badges {
    display: flex;
    gap: 0.5rem;
}

.event-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.event-badge-music {
    background: linear-gradient(135deg, #3b82f6 0%, #3b82f6 100%);
    color: white;
}

.event-badge-conference {
    background: linear-gradient(135deg, #3b82f6 0%, #3b82f6 100%);
    color: white;
}

.event-badge-sports {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
}

.event-badge-food {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: white;
}

.event-badge-free {
    background: rgba(255, 255, 255, 0.9);
    color: #10b981;
}

.event-card-body {
    padding: 1.5rem;
}

.event-card-date {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.date-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.date-info {
    display: flex;
    flex-direction: column;
}

.date-day {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--text-dark);
}

.date-month {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
}

.event-card-title {
    margin: 0 0 1rem;
}

.event-card-title a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.event-card-title a:hover {
    color: #3b82f6;
}

.event-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.meta-item i {
    width: 16px;
    color: var(--text-muted);
}

.event-card-description {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.event-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.price-amount {
    font-size: 1.25rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-free {
    font-size: 1rem;
    font-weight: 700;
    color: #10b981;
}

.event-btn {
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.event-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* =================================
   EVENTS LIST VIEW
   ================================= */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.event-card-list {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 280px 1fr;
    overflow: hidden;
    transition: all 0.3s ease;
}

.event-card-list:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.event-list-image {
    position: relative;
    overflow: hidden;
}

.event-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card-list:hover .event-list-image img {
    transform: scale(1.1);
}

.event-list-date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: white;
    border-radius: var(--border-radius-md);
    padding: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.event-list-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.event-list-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.event-list-title {
    margin: 0.5rem 0 0;
}

.event-list-title a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.event-list-title a:hover {
    color: #3b82f6;
}

.event-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.event-list-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.event-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.event-btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* =================================
   MAP VIEW
   ================================= */
.events-map-view {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 700px;
}

.events-map {
    width: 100%;
    height: 100%;
    background: #e5e7eb;
    position: relative;
}

.events-map::before {
    content: '🗺️ Map View';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: var(--text-muted);
    text-align: center;
}

.map-events-list {
    padding: 2rem;
    overflow-y: auto;
    background: var(--bg-light);
}

.map-events-list h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.map-event-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.map-event-item {
    display: flex;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.map-event-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
}

.map-event-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
}

.map-event-info {
    flex: 1;
}

.map-event-info h5 {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    color: var(--text-dark);
}

.map-event-info p {
    font-size: 0.75rem;
    color: var(--text-light);
    margin: 0 0 0.5rem;
}

.map-event-info a {
    font-size: 0.75rem;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

/* =================================
   LOADING STATE
   ================================= */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

.loading-state p {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

/* =================================
   PAGINATION
   ================================= */
.discover-pagination {
    display: flex;
    justify-content: center;
    padding: 3rem 0;
}

.discover-pagination nav {
    display: flex;
    gap: 0.5rem;
}

.discover-pagination a,
.discover-pagination span {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.discover-pagination a {
    background: white;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.discover-pagination a:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: rgba(99, 102, 241, 0.05);
}

.discover-pagination .active {
    background: var(--primary-gradient);
    color: white;
    border: none;
}

/* =================================
   NEWSLETTER SECTION
   ================================= */
.newsletter-section {
    padding: 4rem 0;
    background: white;
}

.newsletter-card {
    background: linear-gradient(135deg, #3b82f6 0%, #3b82f6 100%);
    padding: 4rem 3rem;
    border-radius: var(--border-radius-xl);
    text-align: center;
    color: white;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
}

.newsletter-card h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.newsletter-card p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: white;
    color: #3b82f6;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* =================================
   RESPONSIVE DESIGN
   ================================= */
@media (max-width: 1200px) {
    .discover-layout {
        grid-template-columns: 280px 1fr;
    }

    .events-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 1024px) {
    .discover-layout {
        grid-template-columns: 1fr;
    }

    .discover-sidebar {
        position: static;
    }

    .events-map-view {
        grid-template-columns: 1fr;
        height: auto;
    }

    .events-map {
        height: 400px;
    }

    .event-card-list {
        grid-template-columns: 1fr;
    }

    .event-list-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .discover-hero {
        padding: 6rem 0 3rem;
        min-height: 60vh;
    }

    .discover-hero-title {
        font-size: 2rem;
    }

    .discover-search-bar {
        flex-direction: column;
        padding: 1.5rem;
    }

    .search-divider {
        display: none;
    }

    .search-input-group,
    .search-select-group {
        width: 100%;
    }

    .search-btn {
        width: 100%;
        justify-content: center;
    }

    .discover-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .view-controls {
        flex-direction: column;
        gap: 1rem;
    }

    .view-actions {
        width: 100%;
        justify-content: space-between;
    }

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

    .event-card-date {
        flex-direction: column;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .newsletter-card {
        padding: 3rem 2rem;
    }
}

@media (max-width: 480px) {
    .container-custom {
        padding: 0 1rem;
    }

    .discover-hero-title {
        font-size: 1.75rem;
    }

    .discover-hero-description {
        font-size: 1rem;
    }

    .sidebar-card {
        position: static;
    }

    .event-card-modern {
        box-shadow: var(--shadow-sm);
    }

    .event-list-content {
        padding: 1.5rem;
    }

    .event-list-footer {
        flex-direction: column;
        gap: 1rem;
    }

    .event-btn-lg {
        width: 100%;
        justify-content: center;
    }
}

/* =================================
   UTILITY ANIMATIONS
   ================================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* =================================
   ACCESSIBILITY
   ================================= */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .event-card-modern,
    .event-card-list,
    .sidebar-card {
        border: 2px solid currentColor;
    }
}
