:root {
  --gold-light: #f5cb5c;
  --gold-main: #d49a22;
  --gold-dark: #8c5b05;
  --blue-accent: #2c6eb5;
  --blue-dark: #143563;
  --bg-dark: #0f1115;
  --card-bg: #1a1d24;
  --text-light: #f0f2f5;
  --text-muted: #a0a6b5;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background-color: #0d0d0d;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
}

/* Background Depth Grid */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% 20%, rgba(243, 198, 73, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(255, 105, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Header & Navigation */
header {
  background: linear-gradient(135deg, #14171d 0%, #0d0f13 100%);
  border-bottom: 2px solid var(--gold-main);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  width: 100%;
  max-width: 100vw; /* Strict bound to prevent spilling past screen */
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  max-width: 100%;
}

.logo-container {
  width: 45px;
  height: 45px;
  flex-shrink: 0; /* Prevents logo from shrinking awkwardly */
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-light);
  box-shadow: 0 0 10px rgba(212, 154, 34, 0.4);
  background-color: #000;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-title {
  font-size: 1.1rem;
  letter-spacing: 1px;
  font-weight: bold;
  color: var(--text-light);
  line-height: 1.2;
}

.brand-title span {
  color: var(--blue-accent);
  display: block;
  font-size: 0.7rem;
  letter-spacing: 2px;
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 100%;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--gold-main);
}

/* Language Switcher Flags */
.lang-switcher {
  display: flex;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(212, 154, 34, 0.2);
}

.flag-btn {
  background: none;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-light);
  cursor: pointer;
  opacity: 0.5;
  transition: transform 0.2s, opacity 0.2s, color 0.2s;
  padding: 2px 6px;
}

.flag-btn:hover, .flag-btn.active {
  opacity: 1;
  color: var(--gold-light);
  transform: scale(1.1);
}

/* Main Container */
main {
  flex: 1;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Hero Section & Titles */
.hero {
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(rgba(15,17,21,0.8), rgba(15,17,21,0.9)), radial-gradient(circle, var(--blue-dark) 0%, var(--bg-dark) 100%);
  border-radius: 12px;
  border: 1px solid rgba(212, 154, 34, 0.3);
  margin-bottom: 3rem;
}

.hero h1, .hero-title {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 30%, #f3c649 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(243, 198, 73, 0.2);
  margin-bottom: 1rem;
  text-align: center;
}

.hero p, .hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem auto;
  text-align: center;
}

/* CTA Container & Buttons */
.cta-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-main) 100%);
  color: #000;
  box-shadow: 0 4px 15px rgba(212, 154, 34, 0.3);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 154, 34, 0.5);
}

.btn-blue {
  background: linear-gradient(135deg, var(--blue-accent) 0%, var(--blue-dark) 100%);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(44, 110, 181, 0.3);
}

.btn-blue:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(44, 110, 181, 0.5);
}

.btn-contact {
  display: inline-block;
  background: linear-gradient(135deg, #f3c649, #e0a81d);
  color: #000;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 14px 36px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(243, 198, 73, 0.4);
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(243, 198, 73, 0.7);
}

/* Glassmorphic Ticket Box */
.ticket-card {
  position: relative;
  background: rgba(18, 18, 18, 0.85);
  border: 1px solid transparent;
  background: linear-gradient(#121212, #121212) padding-box,
              linear-gradient(135deg, #f3c649, #ff6900, #f3c649) border-box;
  border-radius: 16px;
  padding: 32px 24px;
  max-width: 650px;
  margin: 20px auto;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(243, 198, 73, 0.12);
  backdrop-filter: blur(10px);
}

.card-title {
  color: #f3c649;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

/* Grid & Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 1.5rem;
  border-top: 4px solid var(--gold-main);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.card h3 {
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}

.card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Feature Grid with Gold Icons */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 40px auto;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 2px solid #f3c649;
  border-radius: 12px;
  padding: 24px;
  text-align: left;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #f3c649;
  background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
  margin-bottom: 12px;
  background: rgba(243, 198, 73, 0.1);
  display: inline-block;
  padding: 10px;
  border-radius: 8px;
}

/* Standard Carousel (Past Events) */
.carousel-wrapper {
  max-width: 650px;
  margin: 2rem auto;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid rgba(212, 154, 34, 0.4);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  overflow: hidden;
}

.carousel-container {
  position: relative;
  width: 100%;
  padding-top: 130%;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #050608;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 17, 21, 0.7);
  color: var(--gold-light);
  border: 1px solid var(--gold-main);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.carousel-btn:hover {
  background: var(--gold-main);
  color: #000;
}

.carousel-btn.prev { left: 15px; }
.carousel-btn.next { right: 15px; }

.carousel-caption {
  text-align: center;
  padding: 1.2rem;
  background: #14171d;
  border-top: 1px solid rgba(212, 154, 34, 0.2);
}

.carousel-caption h3 {
  color: var(--gold-light);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.carousel-caption p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0.8rem;
  background: #14171d;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: var(--gold-main);
}

/* Hero Carousel Layout */
.hero-carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto 2rem auto;
}

.hero-slide {
  display: none;
  flex-direction: column;
  align-items: center;
}

.hero-slide.active {
  display: flex;
}

.hero-slide .slide-image {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
}

.hero-slide .slide-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* Navigation Arrows */
.carousel-prev, .carousel-next {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #f3c649;
  border: 1px solid #f3c649;
  font-size: 1.5rem;
  padding: 8px 14px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}

.carousel-prev:hover, .carousel-next:hover {
  background: #f3c649;
  color: #000;
}

.carousel-prev { left: -20px; }
.carousel-next { right: -20px; }

.hero-dot {
  display: inline-block;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #555;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero-dot.active {
  background-color: #f3c649;
}

/* About Page Image Layouts */
.about-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.about-block {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about-block.reverse {
  flex-direction: row-reverse;
}

.about-text {
  flex: 1;
  line-height: 1.8;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.about-img-container {
  flex: 0 0 320px;
  max-width: 320px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(212, 154, 34, 0.4);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  background-color: var(--card-bg);
}

.about-img-container img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.about-img-container img:hover {
  transform: scale(1.03);
}

/* Event Header & Side-by-side Widget */
.event-header {
  text-align: center;
  margin-bottom: 2rem;
}

.event-title {
  color: var(--gold-light);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.event-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.widget-container {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin: 0 auto 2rem auto;
  max-width: 1200px;
}

.widget-image {
  flex: 0 0 400px;
  max-width: 400px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(212, 154, 34, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.widget-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.widget-content {
  flex: 1;
  min-width: 0;
}

.venue-title {
  background-color: #1a1a1a;
  border: 1px solid #f3c649;
  border-radius: 4px;
  text-align: center;
  padding: 10px 15px;
  margin-bottom: 10px;
}

.venue-name {
  color: #f3c649;
  font-weight: 600;
  font-size: 1.1rem;
}

.venue-address {
  color: #cccccc;
  font-size: 0.9rem;
  margin-top: 4px;
}

/* Countdown Ticker Styling */
.countdown-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 24px 0 32px;
}

.time-block {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(243, 198, 73, 0.2);
  border-radius: 8px;
  padding: 12px 16px;
  min-width: 70px;
}

.time-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
}

.time-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #a0a0a0;
  letter-spacing: 1px;
}

/* Modal Backdrop Overlay & Content */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  background: #121212;
  border: 1px solid #f3c649;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(243, 198, 73, 0.2);
}

.modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  background: #f3c649;
  color: #000;
  border: none;
  font-size: 24px;
  font-weight: bold;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 10;
}

.modal-close:hover {
  transform: scale(1.1);
  background: #ffffff;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer */
footer {
  background-color: #0a0b0e;
  border-top: 1px solid rgba(212, 154, 34, 0.2);
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==========================================
   Mobile & Tablet Responsiveness
   ========================================== */
@media screen and (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0.5rem;
    gap: 0.75rem;
    width: 100%;
  }

  .brand {
    justify-content: center;
    text-align: center;
  }

  nav {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem; /* Compact vertical and horizontal spacing */
    width: 100%;
  }

  .lang-switcher {
    margin-top: 0.25rem;
  }
}

  main {
    padding: 1.5rem 1rem;
  }

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

  .event-title {
    font-size: 1.8rem;
  }

  .hero-carousel-container {
    width: 100%;
    padding: 0 5px;
  }

  .ticket-card {
    padding: 1.5rem 1rem;
    margin: 1.5rem auto;
    width: 100%;
  }

  .cta-container {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1rem;
  }

  .carousel-prev {
    left: 5px;
  }

  .carousel-next {
    right: 5px;
  }

  .carousel-prev, .carousel-next {
    padding: 6px 10px;
    font-size: 1.2rem;
  }

  .about-block, .about-block.reverse, .widget-container {
    flex-direction: column;
  }

  .about-img-container, .widget-image {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .about-img-container img {
    height: 250px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .brand-title {
    font-size: 1.1rem;
  }

  .card-title {
    font-size: 1.25rem;
  }

  .time-block {
    min-width: 55px;
    padding: 8px;
  }

  .time-number {
    font-size: 1.4rem;
  }
}