.event-header {
    position: relative;
    height: 500px;
    background-color: #000;
    overflow: hidden;
}

.event-header img,
.event-header .event-hero-carousel video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

/* Multi-slide hero carousel — fills the 500px / 300px container exactly
   like the single-image variant, indicators sit above the .event-header-
   content overlay so they aren't covered by the title gradient. */
.event-header .event-hero-carousel,
.event-header .event-hero-carousel .carousel-inner,
.event-header .event-hero-carousel .carousel-item { height: 100%; }
.event-header .event-hero-carousel .carousel-item img,
.event-header .event-hero-carousel .carousel-item video { width: 100%; height: 100%; object-fit: cover; }
.event-header .event-hero-carousel .carousel-indicators { z-index: 3; margin-bottom: .5rem; }
.event-header .event-hero-carousel .carousel-control-prev,
.event-header .event-hero-carousel .carousel-control-next { z-index: 3; width: 8%; opacity: .6; }
.event-header .event-hero-carousel .carousel-control-prev:hover,
.event-header .event-hero-carousel .carousel-control-next:hover { opacity: 1; }

.event-header-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0));
}

.event-details {
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.event-meta {
    background-color: #242424;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Ticket Summary Styles */
.ticket-summary-desktop {
    position: sticky;
    top: 20px;
    background-color: #242424;
    border-radius: 8px;
    padding: 1.5rem;
}

.ticket-summary-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    border-top: 1px solid #333;
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.5);
}

.ticket-type-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #333;
}

.ticket-type-item:last-child {
    border-bottom: none;
}

.similar-event-card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.similar-event-card:hover {
    transform: translateY(-5px);
}

.event-tag {
    background-color: #333;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    text-decoration: none;
}

.event-tag:hover {
    background-color: var(--primary-red);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 991px) {
    .event-header {
        height: 300px;
    }

    .ticket-summary-desktop {
        display: none;
    }

    .ticket-summary-mobile {
        display: block;
    }

    body {
        padding-bottom: 80px;
    }
}

.ticket-type-row {
background-color: #242424;
border-radius: 8px;
transition: all 0.3s ease;
}

.ticket-type-row:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.vip-ticket {
border: 1px solid #4a4a4a;
background-color: #242424;
}

.vip-badge {
background-color: var(--primary-red);
color: white;
padding: 0.25rem 0.75rem;
border-radius: 20px;
font-size: 0.75rem;
font-weight: 600;
}

.vip-benefits {
list-style: none;
padding: 0;
margin: 0;
font-size: 0.85rem;
color: #888;
}

.vip-benefits li {
margin-bottom: 0.25rem;
}

.ticket-quantity-selector {
display: flex;
align-items: center;
background-color: #333;
border-radius: 4px;
padding: 0.25rem;
}

.quantity-btn {
width: 36px;
height: 36px;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
border-color: #444;
transition: all 0.2s ease;
}

.quantity-btn:hover {
border-color: var(--primary-red);
color: var(--primary-red);
}

.quantity-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}

.quantity-number {
min-width: 50px;
text-align: center;
font-size: 1.1rem;
font-weight: 500;
color: #fff;
padding: 0 0.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
.ticket-type-row {
margin-bottom: 1rem;
}

.ticket-type-row > div {
flex-direction: column;
text-align: center;
}

.ticket-info {
margin-bottom: 1.5rem;
}

.vip-benefits {
text-align: left;
display: inline-block;
margin: 0 auto;
}

.ticket-quantity-selector {
margin: 0 auto;
}
}
.venues-section {
margin-bottom: 3rem;
}

.venue-card {
background-color: #242424;
border-radius: 8px;
overflow: hidden;
transition: transform 0.3s ease;
}

.venue-card:hover {
transform: translateY(-5px);
}

.venue-header {
position: relative;
height: 160px;
overflow: hidden;
}

.venue-image {
width: 100%;
height: 100%;
object-fit: cover;
}

.venue-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
}

.venue-content {
padding: 1.5rem;
}

.venue-name {
color: #fff;
font-size: 1.25rem;
margin-bottom: 0.5rem;
}

.venue-address {
color: #888;
font-size: 0.9rem;
margin-bottom: 1rem;
}

.venue-actions {
display: flex;
gap: 0.5rem;
}

.venue-actions .btn {
flex: 1;
font-size: 0.9rem;
border-color: #444;
transition: all 0.2s ease;
}

.venue-actions .btn:hover {
border-color: var(--primary-red);
color: var(--primary-red);
}

.venue-description {
background-color: #1a1a1a;
border-radius: 4px;
padding: 1rem;
font-size: 0.9rem;
color: #888;
line-height: 1.5;
}

/* ─── Placeholder cards (shown when no venues are announced yet) ─── */
.venue-empty-caption {
font-size: 0.95rem;
font-style: italic;
}

.venue-card-placeholder {
position: relative;
}

.venue-card-placeholder:hover {
transform: none;
}

/* Dim, lounge-feeling gradient stand-in for a venue photo. Layered radial
   glow + diagonal sheen so it doesn't read as a flat background. */
.venue-placeholder-media {
background:
    radial-gradient(circle at 30% 30%, rgba(170, 80, 200, 0.25) 0%, transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(255, 90, 90, 0.20) 0%, transparent 60%),
    linear-gradient(135deg, #2a1f3a 0%, #1a1228 50%, #221530 100%);
display: flex;
align-items: center;
justify-content: center;
filter: blur(0.5px);
}

.venue-placeholder-media::after {
content: '';
position: absolute;
inset: 0;
background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 8px);
pointer-events: none;
}

.venue-placeholder-icon {
font-size: 2.6rem;
color: rgba(255, 255, 255, 0.18);
position: relative;
z-index: 1;
}

.venue-placeholder-badge {
position: absolute;
top: 10px;
right: 10px;
z-index: 2;
background: rgba(0, 0, 0, 0.65);
color: #ffd166;
padding: 4px 10px;
border-radius: 12px;
font-size: 0.7rem;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
border: 1px solid rgba(255, 209, 102, 0.35);
backdrop-filter: blur(4px);
}

.venue-placeholder-title {
color: #d0d0d0;
font-style: italic;
}

.venue-placeholder-meta {
color: #888;
font-size: 0.85rem;
font-style: italic;
}

/* ─── Past-event banner (replaces the ticket selector for ended events) ─── */
.event-ended-banner {
background:
    radial-gradient(circle at 20% 20%, rgba(120, 120, 140, 0.10) 0%, transparent 60%),
    linear-gradient(135deg, #1f1f24 0%, #16161a 100%);
border: 1px solid #333;
border-radius: 10px;
padding: 2.5rem 1.5rem;
text-align: center;
}

.event-ended-icon {
font-size: 2.4rem;
color: #888;
margin-bottom: 0.75rem;
}

.event-ended-title {
color: #e0e0e0;
font-size: 1.4rem;
margin: 0 0 0.5rem 0;
}

.event-ended-subtitle {
color: #999;
font-size: 0.95rem;
margin: 0;
}

.event-ended-link {
color: var(--primary-red, #e94560);
text-decoration: none;
font-weight: 600;
}

.event-ended-link:hover {
text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
.venue-header {
height: 120px;
}

.venue-actions {
flex-direction: column;
}

.venue-actions .btn {
width: 100%;
}
}


.gm-style .gm-style-iw-c {
background-color: #ffffff !important;
padding: 16px !important;
border-radius: 8px !important;
box-shadow: 0 2px 7px 1px rgba(0,0,0,0.3);
}

.gm-style .gm-style-iw-d {
overflow: hidden !important;
}

.gm-style .gm-style-iw-t::after {
background: #ffffff !important;
}

.map-info-window {
color: #000;
min-width: 200px;
}

.map-info-window h5 {
color: #000;
font-size: 1.1rem;
margin-bottom: 0.5rem;
font-weight: 600;
}

.map-info-window p {
font-size: 0.9rem;
color: #666;
}

.map-info-window .btn {
font-size: 0.8rem;
padding: 0.25rem 0.75rem;
}

.map-info-window .btn-outline-dark:hover {
background-color: #dc3545;
border-color: #dc3545;
}
.venues-map-section {
margin-bottom: 3rem;
width: 100%;
}

/* Venue role badges */
.venue-role { font-size: 0.7rem; font-weight: 600; padding: 0.2em 0.5em; border-radius: 4px; vertical-align: middle; margin-left: 4px; }
.role-start { background: #198754; color: #fff; }
.role-checkin { background: #0d6efd; color: #fff; }
.role-after { background: #ffc107; color: #000; }
.role-vip { background: #0dcaf0; color: #000; }
.role-sponsor { background: #6c757d; color: #fff; }

/* Venue card video hover */
.venue-media-wrap {
position: relative;
overflow: hidden;
}
.venue-media-img {
transition: opacity 0.5s ease;
}
.venue-media-video {
position: absolute;
top: 0; left: 0;
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0;
transition: opacity 0.5s ease;
pointer-events: none;
}
.venue-media-wrap.video-active .venue-media-img {
opacity: 0;
}
.venue-media-wrap.video-active .venue-media-video {
opacity: 1;
}
.venue-media-loader {
position: absolute;
top: 0; left: 0; right: 0;
height: 3px;
z-index: 5;
overflow: hidden;
opacity: 0;
transition: opacity 0.2s;
}
.venue-media-wrap.video-loading .venue-media-loader {
opacity: 1;
}
.venue-media-loader::after {
content: '';
display: block;
width: 40%;
height: 100%;
background: #e74c3c;
border-radius: 2px;
animation: venueLoader 1s ease-in-out infinite;
}
@keyframes venueLoader {
0% { transform: translateX(250%); }
100% { transform: translateX(-100%); }
}

.venue-map-directory {
display: flex;
height: 500px;
border-radius: 12px;
overflow: hidden;
border: 1px solid #333;
}

.venue-directory {
width: 360px;
flex-shrink: 0;
overflow-y: auto;
background: #111;
border-left: 1px solid #333;
order: 2;
}

.venue-dir-item {
display: flex;
align-items: center;
gap: 12px;
padding: 18px 16px;
border-bottom: 1px solid #1a1a1a;
cursor: pointer;
transition: background .15s;
}
.venue-dir-item:hover,
.venue-dir-item.active {
background: #1a1a2e;
}
.venue-dir-item.highlighted {
background: #2a1a1a;
border-left: 3px solid #e74c3c;
}

.venue-dir-number {
width: 32px;
height: 32px;
border-radius: 50%;
background: #e74c3c;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-size: 13px;
font-weight: 700;
flex-shrink: 0;
}

.venue-dir-info {
display: flex;
align-items: center;
gap: 12px;
min-width: 0;
}

.venue-dir-thumb {
width: 56px;
height: 56px;
border-radius: 8px;
object-fit: cover;
flex-shrink: 0;
}

.venue-dir-name {
font-weight: 600;
color: #fff;
font-size: 14px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.venue-dir-addr {
color: #888;
font-size: 12px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 220px;
}

.venue-map-container {
background-color: #242424;
flex: 1;
height: 100%;
order: 1;
min-height: 300px;
}

#venuesMap {
width: 100%;
height: 100%;
}

/* Scrollbar for directory */
.venue-directory::-webkit-scrollbar { width: 4px; }
.venue-directory::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }
.venue-directory::-webkit-scrollbar-track { background: transparent; }

@media (max-width: 768px) {
.venue-map-directory {
flex-direction: column;
height: auto;
}
.venue-map-container {
height: 250px !important;
flex: none !important;
min-height: 250px !important;
order: 0;
}
.venue-directory {
width: 100%;
max-height: none;
border-right: none;
border-top: 1px solid #333;
border-bottom: none;
display: flex;
flex-direction: row;
overflow-x: auto;
overflow-y: hidden;
gap: 10px;
padding: 12px;
scroll-snap-type: x mandatory;
-webkit-overflow-scrolling: touch;
}
.venue-directory::-webkit-scrollbar { height: 0; display: none; }
.venue-dir-item {
flex-direction: column;
align-items: center;
text-align: center;
min-width: 120px;
max-width: 120px;
padding: 8px;
border-bottom: none;
border-radius: 10px;
background: #1a1a1a;
scroll-snap-align: start;
gap: 6px;
flex-shrink: 0;
}
.venue-dir-item.highlighted {
border-left: none;
border: 2px solid #e74c3c;
}
.venue-dir-info {
flex-direction: column;
align-items: center;
gap: 6px;
}
.venue-dir-thumb {
width: 100%;
height: 70px;
border-radius: 6px;
}
.venue-dir-name {
font-size: 11px;
white-space: normal;
text-align: center;
line-height: 1.2;
}
.venue-dir-addr {
display: none;
}
.venue-dir-number {
width: 22px;
height: 22px;
font-size: 10px;
position: absolute;
top: 4px;
left: 4px;
}
.venue-dir-item {
position: relative;
}
}
