/* Mundle — Events Section Styles */
/* ==================== */
/* Immersive Video Section */
/* ==================== */
.video-immersive-section {
    position: relative;
    padding: 80px 0;
    /* remove background to integrate with site */
    background: transparent;
}

.video-immersive-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.video-immersive-card {
    position: relative;
    width: 100%;
    max-width: 1400px;
    aspect-ratio: 16 / 9;
    background: transparent;
    border-radius: 40px;
    /* Kept for border styling if needed, but mask will override */
    overflow: hidden;
    /* Removed the shadow/border for seamless integration */
}

.video-immersive-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Fade the video out into the dark background on the top/bottom edges */
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.video-immersive-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gradient overlay for text readability */
.video-immersive-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.05) 40%,
            rgba(0, 0, 0, 0.05) 60%,
            rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Text content overlay */
.video-immersive-content {
    position: absolute;
    bottom: 60px;
    left: 60px;
    z-index: 3;
    max-width: 500px;
}

.video-immersive-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(209, 0, 126, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.video-immersive-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.video-immersive-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

/* Hide progress bar - not needed for looping video */
.video-progress-bar {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .video-immersive-wrapper {
        padding: 0 24px;
    }

    .video-immersive-card {
        border-radius: 32px;
    }

    .video-immersive-content {
        bottom: 40px;
        left: 40px;
        right: 40px;
    }

    .video-immersive-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .video-immersive-section {
        padding: 60px 0;
    }

    .video-immersive-wrapper {
        padding: 0 16px;
    }

    .video-immersive-card {
        border-radius: 24px;
        aspect-ratio: 4 / 3;
    }

    .video-immersive-content {
        bottom: 24px;
        left: 20px;
        right: 20px;
    }

    .video-immersive-title {
        font-size: 28px;
    }

    .video-immersive-subtitle {
        font-size: 14px;
    }
}

/* Features & Stats — defined in components.css (BEM) */

/* CTA Section — now defers to components.css for .cta-section, .cta-card, .cta-buttons */
/* Legacy overrides kept minimal */

/* Footer — now defined in style-base.css */

/* Responsive — hero/header/footer/features/stats now in style-base.css */
/* Only events-specific responsive rules remain below (in the events section) */

/* ==================== */
/* Events Section - Premium Design */
/* ==================== */
.events-section {
    background-color: #ffffff;
    border-radius: 48px 48px 0 0;
    margin-top: -40px;
    position: relative;
    z-index: 5;
    scroll-margin-top: 100px;
    overflow: hidden;
}

/* Unified Events Section */
.unified-events-section {
    padding-top: 100px;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.events-search-header {
    margin-bottom: 40px;
}

.events-search-header .search-unified {
    margin-bottom: 20px;
}

/* Search clear button */
.search-clear-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.search-clear-btn:hover {
    color: var(--primary-color);
}

/* Section Label */
.section-label {
    margin-bottom: 10px;
}

.label-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(209, 0, 126, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.section-label h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

/* ==================== */
/* 1. Featured Events - Stacked Carousel */
/* ==================== */
/* Note: Carousel now lives inside unified-events-section */

/* Featured Events Section Wrapper */
.featured-events-section {
    padding-top: 80px;
}

/* Stacked Carousel Container */
.stacked-carousel {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 0 60px;
}

.carousel-track {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 360px;
    perspective: 1000px;
}

/* Individual Carousel Card */
.carousel-card {
    position: absolute;
    width: 320px;
    height: 310px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background: white;
}

.carousel-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

/* Card positions - will be updated by JS */
.carousel-card[data-position="center"] {
    z-index: 5;
    transform: translateX(0) scale(1);
    opacity: 1;
}

.carousel-card[data-position="left-1"] {
    z-index: 4;
    transform: translateX(-280px) scale(0.9) rotateY(8deg);
    opacity: 0.85;
}

.carousel-card[data-position="left-2"] {
    z-index: 3;
    transform: translateX(-480px) scale(0.8) rotateY(12deg);
    opacity: 0.6;
}

.carousel-card[data-position="right-1"] {
    z-index: 4;
    transform: translateX(280px) scale(0.9) rotateY(-8deg);
    opacity: 0.85;
}

.carousel-card[data-position="right-2"] {
    z-index: 3;
    transform: translateX(480px) scale(0.8) rotateY(-12deg);
    opacity: 0.6;
}

.carousel-card[data-position="hidden"] {
    z-index: 1;
    transform: translateX(0) scale(0.7);
    opacity: 0;
    pointer-events: none;
}

/* Card Image */
.carousel-card-image {
    position: relative;
    height: 180px;
    background-size: cover;
    background-position: center;
}

.carousel-card-image .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.4) 100%);
}

/* Play Button */
.card-play-btn {
    position: absolute;
    bottom: 16px;
    left: 16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.card-play-btn svg {
    color: #1a1a1a;
    margin-left: 3px;
}

.card-play-btn:hover {
    transform: scale(1.1);
    background: white;
}

/* Card Badge */
.carousel-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-color);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.carousel-card-badge.free {
    background: #10b981;
}

/* Card Content */
.carousel-card-content {
    padding: 14px 18px 16px;
    background: white;
    display: flex;
    flex-direction: column;
    height: 130px;
}

.carousel-card-date {
    font-size: 12px;
    color: #888;
    font-weight: 500;
    display: block;
    margin-bottom: 6px;
}

.carousel-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.carousel-card-description {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Price positioned at top-right of image */
.carousel-card-price {
    position: absolute;
    top: 16px;
    right: 16px;
    background: white;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.carousel-card-price.free {
    background: #10b981;
    color: white;
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
}

.carousel-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.carousel-nav-btn svg {
    color: #666;
}

.carousel-nav-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.carousel-nav-btn:hover svg {
    color: white;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    background: var(--primary-color);
    width: 28px;
    border-radius: 5px;
}

.carousel-dot:hover:not(.active) {
    background: #bbb;
}

/* Carousel Responsive */
@media (max-width: 1200px) {
    .carousel-card {
        width: 280px;
        height: 290px;
    }

    .carousel-card-image {
        height: 160px;
    }

    .carousel-card-content {
        height: 130px;
    }

    .carousel-card[data-position="left-1"] {
        transform: translateX(-240px) scale(0.9) rotateY(8deg);
    }

    .carousel-card[data-position="right-1"] {
        transform: translateX(240px) scale(0.9) rotateY(-8deg);
    }

    .carousel-card[data-position="left-2"],
    .carousel-card[data-position="right-2"] {
        opacity: 0;
        pointer-events: none;
    }
}

@media (max-width: 900px) {
    .carousel-track {
        height: 340px;
    }

    .carousel-card {
        width: 260px;
        height: 280px;
    }

    .carousel-card-image {
        height: 150px;
    }

    .carousel-card-content {
        height: 130px;
    }

    .carousel-card[data-position="left-1"] {
        transform: translateX(-180px) scale(0.85) rotateY(10deg);
        opacity: 0.7;
    }

    .carousel-card[data-position="right-1"] {
        transform: translateX(180px) scale(0.85) rotateY(-10deg);
        opacity: 0.7;
    }
}

@media (max-width: 600px) {
    .featured-events {
        padding: 80px 0 40px;
    }

    .stacked-carousel {
        padding: 10px 0 40px;
    }

    .carousel-track {
        height: 300px;
    }

    .carousel-card {
        width: 240px;
        height: 260px;
    }

    .carousel-card-image {
        height: 140px;
    }

    .carousel-card-content {
        height: 120px;
    }

    .carousel-card[data-position="left-1"],
    .carousel-card[data-position="right-1"] {
        transform: translateX(-140px) scale(0.8);
        opacity: 0.5;
    }

    .carousel-card[data-position="right-1"] {
        transform: translateX(140px) scale(0.8);
    }

    .carousel-nav-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-card-title {
        font-size: 15px;
    }

    .carousel-card-description {
        font-size: 12px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .carousel-card-price {
        padding: 6px 10px;
        font-size: 13px;
    }
}

/* Legacy featured styles - keep for compatibility */
.organizer-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color), #ff6b9d);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.organizer-avatar.small {
    width: 28px;
    height: 28px;
    font-size: 10px;
}

/* ==================== */
/* 2. Search Section */
/* ==================== */
.search-section {
    padding: 40px 0 60px;
    background: #fff;
}

.search-header {
    max-width: 800px;
    margin: 0 auto;
}

.search-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    text-align: center;
}

.search-bar-wrapper {
    margin-bottom: 20px;
}

.search-input-container {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 16px 20px;
    transition: all 0.3s ease;
}

.search-input-container:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(209, 0, 126, 0.1);
}

.search-input-container .search-icon {
    color: #999;
    flex-shrink: 0;
}

.search-input-container .search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: var(--font-family);
    color: #1a1a1a;
    background: transparent;
}

.search-input-container .search-input::placeholder {
    color: #999;
}

/* Filter Chips */
.filter-chips {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-chip {
    background: transparent;
    border: 1px solid #e5e5e5;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-family);
}

.filter-chip:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-chip.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* ==================== */
/* Events Discovery Section - Modern Design */
/* ==================== */
.events-discovery-section {
    padding: 80px 0 60px;
    background: #fff;
}

/* Section Header Modern */
.section-header-modern {
    text-align: center;
    margin-bottom: 40px;
}

.section-header-modern h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Filters Bar */
.filters-bar {
    display: flex;
    gap: 16px;
    align-items: center;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

/* Search Input */
.filter-search-input {
    flex: 1;
    min-width: 250px;
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 12px;
    border: 2px solid #eee;
    padding: 0 16px;
    transition: all 0.3s ease;
}

.filter-search-input:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 90, 95, 0.1);
}

.filter-search-input .search-icon {
    color: #999;
    flex-shrink: 0;
}

.filter-search-input .filter-input {
    border: none;
    outline: none;
    padding: 14px 12px;
    font-size: 15px;
    width: 100%;
    background: transparent;
    font-family: var(--font-family);
}

.filter-search-input .filter-input::placeholder {
    color: #aaa;
}

/* Filter Dropdown Group */
.filter-dropdown-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Filter Dropdown */
.filter-dropdown {
    position: relative;
}

.filter-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: white;
    border: 2px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    transition: all 0.2s ease;
    font-family: var(--font-family);
}

.filter-dropdown-trigger:hover {
    border-color: #ccc;
    background: #fafafa;
}

.filter-dropdown.active .filter-dropdown-trigger {
    border-color: var(--primary-color);
    background: white;
}

.filter-dropdown-trigger svg:first-child {
    color: #666;
}

.filter-chevron {
    transition: transform 0.2s ease;
    color: #999;
}

.filter-dropdown.active .filter-chevron {
    transform: rotate(180deg);
}

/* Filter Dropdown Menu */
.filter-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 180px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid #eee;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 100;
    overflow: hidden;
}

.filter-dropdown.active .filter-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.filter-option {
    display: block;
    width: 100%;
    padding: 12px 16px;
    text-align: left;
    background: none;
    border: none;
    font-size: 14px;
    color: #444;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: var(--font-family);
}

.filter-option:hover {
    background: #f5f5f5;
    color: var(--primary-color);
}

.filter-option.active {
    background: linear-gradient(135deg, #ff5a5f 0%, #ff385c 100%);
    color: white;
}

/* Active Filters Bar */
.active-filters-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.active-filters-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.active-filter-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #ff5a5f 0%, #ff385c 100%);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.active-filter-tag button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    display: flex;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.active-filter-tag button:hover {
    opacity: 1;
}

.clear-all-filters {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-family: var(--font-family);
}

.clear-all-filters:hover {
    background: rgba(255, 90, 95, 0.1);
}

/* Events Grid Modern - 3x2 */
.events-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
    min-height: 680px;
    /* Fixed height for 2 rows */
    align-content: start;
}

/* Event Card Modern */
.event-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.event-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Card Image */
.event-card-image {
    height: 140px;
    position: relative;
    border-radius: 16px 16px 0 0;
}

/* Date Badge - Top Left (Pink style) */
.event-card-date {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #ff5a5f 0%, #ff385c 100%);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 90, 95, 0.4);
    text-transform: capitalize;
}

/* Price Badge - Top Right */
.event-card-price {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 10px 16px;
    background: white;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.event-card-price.free {
    background: linear-gradient(135deg, #00d4aa 0%, #00c896 100%);
    color: white;
}

/* Card Body - White Section */
.event-card-body {
    padding: 16px 18px;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.event-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Location, Time & Organizer Row */
.event-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #666;
}

.event-card-meta svg {
    width: 14px;
    height: 14px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Price Row */
.event-card-price-row {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

.event-card-bottom-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.event-card-bottom-price.free {
    color: #00c896;
}

/* Pagination Modern */
.pagination-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.pagination-arrow {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 2px solid #eee;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #444;
}

.pagination-arrow:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.05);
}

.pagination-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-page {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-family);
}

.pagination-page:hover {
    background: #f5f5f5;
    color: #333;
}

.pagination-page.active {
    background: linear-gradient(135deg, #ff5a5f 0%, #ff385c 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 90, 95, 0.35);
}

.pagination-dots {
    color: #999;
    font-size: 14px;
    padding: 0 4px;
}

/* Responsive - Events Grid */
@media (max-width: 1024px) {
    .events-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .filters-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-search-input {
        min-width: 100%;
    }

    .filter-dropdown-group {
        justify-content: center;
    }

    .events-grid-modern {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pagination-pages {
        gap: 4px;
    }

    .pagination-page {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .events-discovery-section {
        padding: 60px 0 40px;
    }

    .section-header-modern {
        margin-bottom: 24px;
    }

    .filter-dropdown-group {
        width: 100%;
    }

    .filter-dropdown {
        flex: 1;
        min-width: calc(50% - 6px);
    }

    .filter-dropdown-trigger {
        width: 100%;
        justify-content: center;
    }
}

/* ==================== */
.search-empty-state {
    padding: 40px 0 60px;
    background: #fff;
}

.empty-state-section {
    margin-bottom: 40px;
}

.empty-state-section:last-child {
    margin-bottom: 0;
}

.empty-state-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.empty-state-header .empty-state-icon {
    color: var(--primary-color);
}

.empty-state-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

/* Popular Searches */
.popular-searches {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.search-suggestion {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-family);
}

.search-suggestion svg {
    color: #999;
    flex-shrink: 0;
}

.search-suggestion:hover {
    background: rgba(209, 0, 126, 0.08);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.search-suggestion:hover svg {
    color: var(--primary-color);
}

/* Trending Categories */
.trending-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.trend-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.trend-card:hover {
    background: white;
    border-color: rgba(209, 0, 126, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.trend-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trend-icon svg {
    color: white;
}

.trend-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.trend-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.trend-count {
    font-size: 12px;
    color: #888;
    font-weight: 500;
}

.trend-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

.trend-badge.hot {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

/* Popular Cities */
.popular-cities {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.city-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-family);
}

.city-chip .city-flag {
    font-size: 18px;
}

.city-chip:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Responsive Empty State */
@media (max-width: 768px) {
    .search-empty-state {
        padding: 30px 0 40px;
    }

    .trending-categories {
        grid-template-columns: 1fr;
    }

    .empty-state-header h4 {
        font-size: 15px;
    }
}

.search-unified {
    display: flex;
    align-items: center;
    gap: 0;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 8px;
    border: 1px solid #eee;
}

.search-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    flex: 1;
    min-width: 200px;
}

.search-input-group svg {
    color: #999;
    flex-shrink: 0;
}

.search-input-group input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    font-family: var(--font-family);
    color: #1a1a1a;
    background: transparent;
}

.search-input-group input::placeholder {
    color: #999;
}

.search-divider {
    width: 1px;
    height: 32px;
    background: #e0e0e0;
    margin: 0 8px;
}

.filter-chips-inline {
    display: flex;
    gap: 8px;
    padding: 0 8px;
}

.chip-filter {
    display: flex;
    align-items: center;
    gap: 6px;
    background: white;
    border: 1px solid #e5e5e5;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-family);
    white-space: nowrap;
}

.chip-filter svg {
    width: 16px;
    height: 16px;
    color: #888;
}

.chip-filter .chip-chevron {
    width: 14px;
    height: 14px;
    margin-left: 2px;
    transition: transform 0.2s ease;
}

.chip-filter:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.chip-filter:hover svg {
    color: var(--primary-color);
}

.chip-filter.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.chip-filter.active svg {
    color: white;
}

.btn-search-unified {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b9d 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 8px;
}

.btn-search-unified svg {
    color: white;
}

.btn-search-unified:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(209, 0, 126, 0.35);
}

/* Quick Tags */
.quick-tags {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.quick-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid #e5e5e5;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-family);
}

.quick-tag svg {
    width: 14px;
    height: 14px;
    color: var(--primary-color);
}

.quick-tag:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(209, 0, 126, 0.04);
}

.quick-tag.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.quick-tag.active svg {
    color: white;
}

/* ==================== */
/* 3. Events Results */
/* ==================== */
.events-results {
    padding: 60px 0 100px;
    background: #fff;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.results-count {
    font-size: 15px;
    color: #666;
}

.results-count strong {
    color: #1a1a1a;
}

.results-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #888;
}

.sort-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    font-family: var(--font-family);
    transition: color 0.2s ease;
}

.sort-dropdown-btn:hover {
    color: var(--primary-color);
}

.sort-dropdown-btn svg {
    transition: transform 0.2s ease;
}

/* Premium Events Grid */
.events-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.event-card-premium {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid #f0f0f0;
}

.event-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

.event-card-premium.large {
    grid-column: span 2;
    grid-row: span 2;
}

.event-card-premium.large .card-image {
    height: 280px;
}

.event-card-premium.large .card-title {
    font-size: 24px;
}

.card-image {
    position: relative;
    height: 160px;
    background-size: cover;
    background-position: center;
}

.card-date {
    position: absolute;
    top: 14px;
    left: 14px;
    background: white;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-badge {
    position: absolute;
    top: 14px;
    left: 80px;
    background: #10b981;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

.card-favorite {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.card-favorite svg {
    color: #999;
    transition: color 0.2s ease;
}

.card-favorite:hover {
    background: white;
    transform: scale(1.1);
}

.card-favorite:hover svg {
    color: var(--primary-color);
}

.card-content {
    padding: 20px;
}

.card-category {
    display: inline-block;
    background: rgba(209, 0, 126, 0.08);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.card-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.card-info {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.card-info span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #888;
}

.card-info svg {
    color: var(--primary-color);
    opacity: 0.8;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f5f5f5;
}

.card-organizer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-organizer span {
    font-size: 13px;
    color: #666;
}

.card-organizer-simple {
    font-size: 13px;
    color: #888;
}

.card-price {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color);
}

.card-price.free {
    color: #10b981;
}

/* Load More */
.load-more-container {
    text-align: center;
    margin-top: 48px;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 2px solid #e5e5e5;
    color: #1a1a1a;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-family);
}

.btn-load-more:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(209, 0, 126, 0.04);
}

.btn-load-more svg {
    transition: transform 0.3s ease;
}

.btn-load-more:hover svg {
    transform: translateY(3px);
}

.load-more-hint {
    margin-top: 16px;
    font-size: 13px;
    color: #999;
}

/* ==================== */
/* Events Section Responsive */
/* ==================== */
@media (max-width: 1200px) {
    .featured-carousel {
        grid-template-columns: 1fr;
        padding: 0 24px;
    }

    .featured-main {
        grid-template-columns: 1fr 1fr;
    }

    .featured-secondary {
        flex-direction: row;
    }

    .events-grid-premium {
        grid-template-columns: repeat(2, 1fr);
    }

    .event-card-premium.large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 900px) {
    .featured-main {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .featured-main .featured-image {
        min-height: 220px;
    }

    .featured-secondary {
        flex-direction: column;
    }

    .featured-small {
        flex-direction: row;
    }

    .search-unified {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
    }

    .search-divider {
        display: none;
    }

    .filter-chips-inline {
        flex-wrap: wrap;
        padding: 0;
    }

    .btn-search-unified {
        width: 100%;
        height: 48px;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .featured-events {
        padding: 80px 0 40px;
    }

    .section-label h2 {
        font-size: 28px;
    }

    .featured-small {
        flex-direction: column;
    }

    .featured-small .featured-image {
        width: 100%;
        min-height: 140px;
    }

    .events-grid-premium {
        grid-template-columns: 1fr;
    }

    .event-card-premium.large {
        grid-column: span 1;
    }

    .event-card-premium.large .card-image {
        height: 180px;
    }

    .quick-tags {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .quick-tag {
        flex-shrink: 0;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* Legacy styles kept for compatibility */
.events-header {
    text-align: center;
    margin-bottom: 50px;
}

.btn-explore-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b9d 100%);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(209, 0, 126, 0.3);
}

.btn-explore-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(209, 0, 126, 0.4);
}

.btn-explore-all svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-explore-all:hover svg {
    transform: translateX(4px);
}

/* Events Section Responsive */
@media (max-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filters-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .advanced-filters {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        padding-top: 16px;
        border-top: 1px solid #e5e5e5;
        justify-content: flex-start;
    }

    .sort-control {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        padding-top: 16px;
        border-top: 1px solid #e5e5e5;
    }
}

@media (max-width: 768px) {

    /* Events Section */
    .events-section {
        padding: 60px 0 80px;
        border-radius: 32px 32px 0 0;
    }

    .events-header h2 {
        font-size: 28px;
    }

    /* New Search & Filters responsive */
    .search-bar-main {
        flex-direction: column;
        padding: 16px;
        gap: 12px;
    }

    .search-input-wrapper {
        width: 100%;
    }

    .btn-search-main {
        width: 100%;
        justify-content: center;
    }

    .quick-filters {
        justify-content: center;
    }

    .filter-pill span {
        display: none;
    }

    .filter-pill {
        padding: 10px 14px;
    }

    .advanced-filters {
        flex-wrap: wrap;
        justify-content: center;
    }

    .active-filters {
        justify-content: center;
    }

    /* Legacy */
    .search-filters {
        padding: 20px;
        border-radius: 16px;
    }

    .main-search {
        flex-direction: column;
        padding: 16px;
    }

    .main-search input {
        width: 100%;
        text-align: center;
    }

    .btn-search {
        width: 100%;
    }

    .filter-chips {
        justify-content: center;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .btn-explore-all {
        padding: 16px 32px;
        font-size: 15px;
    }
}