* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
    padding: 0;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* For mobile - make logo slightly smaller */
@media (max-width: 768px) {
    .logo-image {
        height: 28px;
    }
}

.search-container {
    flex: 1;
    max-width: 500px;
    margin: 0 40px;
    position: relative;
}

.search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    padding: 16px 50px 16px 20px;
    border-radius: 14px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: rgba(0, 245, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 18px;
}

.filters-container {
    display: flex;
    gap: 12px;
}

.filter-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    padding: 14px 24px;
    border-radius: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.filter-pill:hover, .filter-pill.active {
    background: rgba(0, 245, 255, 0.12);
    border-color: rgba(0, 245, 255, 0.25);
    color: #00f5ff;
}

.filter-pill.near-me.active {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.25);
    color: #22c55e;
}

.main-container {
    margin-top: 100px;
    padding: 50px 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    gap: 60px;
}

.events-section {
    flex: 1;
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    background: linear-gradient(45deg, #ffffff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.1rem;
    font-weight: 400;
}

.loading-message {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    padding: 60px 20px;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.event-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    backdrop-filter: blur(20px);
    cursor: pointer;
    display: flex;
    height: 200px;
    /* REMOVE any background-image here */
}

.event-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.event-image {
    flex: 2;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 200px !important;
}


.event-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.status-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 8px 16px;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 600;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-badge.live {
    background: rgba(34, 197, 94, 0.9);
    color: white;
}

.status-badge.soon {
    background: rgba(234, 179, 8, 0.9);
    color: white;
}

.status-badge.trending {
    background: rgba(249, 115, 22, 0.9);
    color: white;
}

.event-content {
    flex: 1;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
    line-height: 1.3;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14.5px;
    font-weight: 400;
}

.meta-icon {
    font-size: 16px;
    opacity: 0.8;
    width: 20px;
    text-align: center;
}

.distance-badge {
    background: rgba(0, 245, 255, 0.15);
    color: #00f5ff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-left: 8px;
}

.venues-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.sidebar-header {
    margin-bottom: 30px;
}

.sidebar-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.sidebar-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.venues-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.venue-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.venue-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.venue-name {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.venue-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin-bottom: 12px;
}

.venue-status {
    display: inline-block;
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.venue-status.closed {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

@media (max-width: 1024px) {
    .main-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .venues-sidebar {
        width: 100%;
    }
    
    .venues-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }
    
    .search-container {
        margin: 0;
        max-width: 100%;
    }
    
    .filters-container {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .main-container {
        padding: 30px 20px;
        margin-top: 180px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    /* MOBILE-ONLY event card styles */
    .event-card {
        flex-direction: column !important;
        height: auto !important;
        position: relative;
        background-size: cover;
        background-position: center;
        min-height: 300px;
    }
    
    .event-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
        z-index: 1;
    }
    
    .event-image {
        display: none !important;
    }
    
    .event-content {
        position: relative;
        z-index: 2;
        margin-top: auto;
        background: transparent !important;
        color: white;
    }
    
    .event-title {
        color: #ffffff !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    }
    
    .meta-item {
        color: rgba(255, 255, 255, 0.9) !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    }
    
    .status-badge {
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 3;
    }
}

/* DESKTOP-ONLY styles - make sure these override mobile */
@media (min-width: 769px) {
    .event-card {
        display: flex !important;
        flex-direction: row !important;
        height: 200px !important;
        background: rgba(255, 255, 255, 0.04) !important;
        /* Remove any background-image from desktop cards */
        background-image: none !important;
    }
    
    .event-card::before {
        display: none !important;
    }
    
    .event-image {
        display: block !important;
        flex: 2;
    }
    
    .event-content {
        flex: 1;
        background: transparent !important;
        z-index: auto !important;
        margin-top: 0 !important;
    }
}

/* Add this to styles/event-detail.css for event detail images */

.poster-container {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin-bottom: 30px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.related-event-image {
    height: 200px;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}