:root {
  --bg-dark: #0f0f0f;
  --accent-blue: #00d4ff;
  --alert-red: #ff4b2b;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

body {
  background: var(--bg-dark);
  color: white;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

/* --- Header --- */
#live-events-section {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.header-container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 25px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
}

h1 { font-size: 1.6rem; margin: 0; letter-spacing: 2px; text-transform: uppercase; }
.highlight { color: var(--accent-blue); text-shadow: 0 0 10px var(--accent-blue); }

.live-indicator { position: relative; width: 10px; height: 10px; }
.dot, .pulse { position: absolute; width: 100%; height: 100%; background: var(--alert-red); border-radius: 50%; }
.pulse { animation: pulse-animation 2s infinite; }

@keyframes pulse-animation {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3); opacity: 0; }
}

/* --- Grid Layout --- */
#schedule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 25px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* --- Card Styling --- */
.event-card {
  aspect-ratio: 1 / 1;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.event-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.08);
}

.card-content {
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

/* Card Top Section */
.card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.event-time {
  font-family: monospace;
  color: var(--accent-blue);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* RECTANGLE IMAGE FIX */
.artist-img-container {
  height: 75px;
  width: 100%; /* Spans more width like a rectangle */
  max-width: 140px;
  border-radius: 8px; /* Slight rounding for a modern look, not circular */
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: #222;
}

.artist-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image fills the rectangle without distortion */
}

/* Artist Info */
.artist-name { font-size: 1.25rem; margin: 8px 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.venue-name { color: rgba(255,255,255,0.6); margin: 0; font-size: 0.75rem; }

.directions-link {
  color: var(--accent-blue);
  font-size: 0.7rem;
  text-decoration: none;
  opacity: 0.8;
}

.directions-link:hover { text-decoration: underline; opacity: 1; }

/* Button */
.ticket-btn {
  background: white;
  color: black;
  border: none;
  padding: 10px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  font-size: 0.8rem;
  transition: 0.2s;
  width: 100%;
}

.ticket-btn:hover {
  background: var(--accent-blue);
  color: white;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

/* Footer */
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--glass-border);
}

.age-badge {
  font-size: 0.6rem;
  color: var(--alert-red);
  border: 1px solid var(--alert-red);
  padding: 1px 6px;
  border-radius: 4px;
}

.stream-status { font-size: 0.6rem; display: flex; align-items: center; gap: 4px; opacity: 0.6; }

/* Responsive Settings */
@media (max-width: 1100px) {
  #schedule-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
  #schedule-grid { grid-template-columns: 1fr; }
  .event-card { aspect-ratio: auto; min-height: 350px; }
}



















/* --- Ad Rotator Styles --- */
#roll-ad-1 {
  width: 100%;
  margin: 10px 0;
  display: flex;
  justify-content: center;
}

.ad-viewport {
  width: 100%;
  max-width: 1400px;
  /* Desktop Ratio: 1400 x 375 */
  aspect-ratio: 1400 / 375; 
  overflow: hidden;
  position: relative;
  background: #000;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ad-ribbon {
  display: flex;
  flex-direction: column;
  height: 100%;
  /* 12s cycle = 3s per slide + transition time */
  animation: slide-down-fluid 12s cubic-bezier(0.85, 0, 0.15, 1) infinite;
}

.ad-slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: block;
}

.ad-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Pause on hover */
.ad-viewport:hover .ad-ribbon {
  animation-play-state: paused;
}

/* Vertical Animation Logic */
@keyframes slide-down-fluid {
  0%, 25% { transform: translateY(0); }
  30%, 55% { transform: translateY(-100%); }
  60%, 85% { transform: translateY(-200%); }
  90%, 100% { transform: translateY(-300%); }
}

/* --- Mobile Specifics --- */
@media (max-width: 767px) {
  .ad-viewport {
    border-radius: 0;
    /* Forces height to 200px on mobile */
    height: 200px; 
    aspect-ratio: auto; 
    border-left: none;
    border-right: none;
  }
}





#jdr-nav-bar .nav-link {
	font-size:1.3em;
}
#jdr-nav-bar .nav-link .site-topbar__icon{
	font-size:1.3em;
}