/* ---------- ROOT VARIABLES ---------- */
:root {
  --max-width: 1200px;
  --accent: #d5ff3f;
  --bg: #000;
  --text: #fff;
  --grey: #777;
  --font-main: 'Raleway', sans-serif;
  --header-h: 64px;
  --hudline-h: 12px;
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

 html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  display: flex;
  flex-direction: column;
}


main {
  flex: 1;
  position: relative;
  padding-bottom: 80px;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  margin: 80px auto;
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- HEADER ---------- */
/* ===== HERO HEADER (Animated Yellow Border Line) ===== */
.hero-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: #000;
  padding: 10px 20px;
  z-index: 10000;
  display: flex;
  justify-content: space-between;
  align-items: center;

  /* Simulated animated border-bottom */
  background-image: linear-gradient(to right, var(--accent) 0%, transparent 100%);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 200% 2px;
  animation: borderLineFlow 10s ease-in-out infinite; /* match hero::after */
}


/* ===== SYNCHRONIZED FLOW ANIMATION ===== */
@keyframes borderLineFlow {
  0% {
    background-position: right bottom;
  }
  50% {
    background-position: left bottom;
  }
  100% {
    background-position: right bottom;
  }
}



.logo-group {
  display: flex;
  align-items: center;
  gap: 24px;
 
}

.logo-group img {
  height: 45px;
  transition: height 0.3s ease;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 24px;
  cursor: pointer;
  z-index: 11000;
  margin-left: 16px;
  transition: all 0.3s ease;
}
.hamburger span {
  width: 100%;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* Navigation */
.nav-static {
  display: flex;
  gap: 28px;
  align-items: center;
  transition: all 0.4s ease;
  justify-content: flex-end;
  padding-right: 30px; /* keeps links away from scrollbar edge */
  transition: all 0.4s ease;
}

.nav-static a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 4px 8px;

}
.nav-static a:hover {
  color: #000;
  background: var(--accent);
  padding: 3px 8px;
  border-radius: 4px;
 }


/* ===== MAIN CONTENT ===== */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* centers vertically on desktop */
  padding-top: var(--header-height);
  padding-bottom: 60px;
  box-sizing: border-box;
}

/* ===== TITLE BLOCK ===== */
.title-block {
  display: flex;
  align-items: baseline;       /* ✅ aligns bottoms naturally for visual balance */
  justify-content: flex-start; /* ✅ aligns with header start */
  gap: 6px;                    /* ✅ small tight gap between title & highlight */
  margin: 60px var(--hero-pad-x) 0;  /* aligns with header padding */
  max-width: 100%;
  overflow: visible;
  position: relative;
  flex-wrap: nowrap;
  z-index: 2;
  margin-top: -10px;
}
/* Main Title */
.title-block .title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0;
  padding: 20px;
  transition: all 0.3s ease;
 
}
/* Highlight  */
.title-block .highlight {
  color:var(--accent);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  top: 50px;             /* small upward lift */
  margin: 0;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-transform: none;  /* ✅ keeps custom capitalization */
  font-weight:300;
  margin-left: 290px;
  left: 40px;
}

/* Larger first letter “D” */
.title-block .highlight::first-letter {
  font-size: 5rem;
  font-weight:900;
}


/* Prevent clipping inside parent sections */
.hero,
.hero-overlay,
.main-section {
  overflow: visible !important; /* ensure nothing clips text */
}

/* ===== EVENT SECTION ===== */
.upcoming {
  color: #2ecc71;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  margin: 30px 0 30px;
  text-align: left;
}
.green-border { border: 2px solid green; }
.purple-border { border: 2px solid purple; }
.red-border { border: 2px solid red; }
.yellow-border { border: 2px solid yellow; }
.blue-border { border: 2px solid rgb(64, 1, 255); }
.white-border { border: 2px solid rgb(255, 255, 255); }
.orange-border { border: 2px solid rgb(255, 149, 0); }
.pink-border { border: 2px solid rgb(255, 4, 167); }
.cyan-border { border: 2px solid rgb(4, 242, 255); }
.darkred-border{border: 2px solid rgb(108, 21, 17);}

/* main timeline wrapper */
.timeline {
 width: var(--container-w);
  position: relative;
  padding: 60px 0;

}

/* ===== Timeline Vertical Line ===== */
.timeline {
  position: relative;
}


.timeline::before {
    content: "";
  position: absolute;
  top: 140px; /* ✅ starts exactly at first dot */
  bottom:180px; /* ✅ ends exactly at last dot */
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  background: linear-gradient(to bottom, #d5ff3f 100%, transparent 100%);
  border-radius: 2px;
  z-index: 1;

  /* Animation setup */
   height: var(--line-progress, 0%);
  transition: height 0.8s ease-out;
}

.event::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 30px;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #000;
  border: 4px solid #d5ff3f;
  z-index: 2;
  box-shadow: 0 0 12px rgba(213, 255, 63, 0.8);
}


/* DAY LABELS */
.day-label {
  position: relative;
  text-align: center;
  margin: 60px 0 30px;
  z-index: 999;
}

.day-label span {
  border: 2px solid var(--yellow, #ffd700); /* ✅ bright yellow border */
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 700;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  display: inline-block;
  letter-spacing: 0.4px;
  background-color: #111; /* optional for contrast */
  color: #fff; /* text color */
}
/* EVENT */
.event {
  position: relative;
  width: 100%;
  margin: 40px 0;
  min-height: 90px;
  z-index: 2;
}

/* connector dot */
/* .event::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 30px;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--accent);
  z-index: 3;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
} */


/* event card on left */
.event-card {
  position: absolute;
  left: 50%;
  transform: translateX(-120%);
  width: 380px;
  /* background: #fff; */
   border-radius: 10px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
   transition: transform 0.3s ease, box-shadow 0.3s ease;
   cursor: pointer;
  
}
.event-card:hover {
  
     box-shadow: 0 0 25px var(--border-color, #ffffff);
}

.event-card .title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  
}
.event-card .desc {
  font-size: 13px;
  color: var(--muted);
}

/* time badge on right */
.event-time {
  position: absolute;
  left: 50%;
  transform: translateX(60%);
  top: 20px;
  border: 2px solid var(--yellow, #ffd700);
  /* border: 3px solid var(--accent); */
  border-radius: 10px;
  padding: 6px 14px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}


/* ===== POPUP ===== */
.popup {
  display: none;
  position: fixed;
  inset: 0; /* replaces top/left/right/bottom */
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 20000; /* 👈 higher than the HUD */
  transform: scale(1);
}

.popup.active {
  display: flex !important;
}

.popup-content {
  position: relative;
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 80vw;
  max-height: 150vh;
  animation: fadeIn 0.3s ease;
  z-index: 20001; /* 👈 ensures content is above the overlay */
}

.popup-content img {
  max-width: 950vw;
  max-height: 85vh;
  border-radius: 10px;
   object-fit: contain;
}

.close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 1.8rem;
  color: var(--bg);
  background: var(--accent);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  cursor: pointer;
  z-index: 20002; /* 👈 ensures close button is always clickable */
}

.rbutton a {
  display: inline-block;
  padding: 8px 28px;
  border: 2px solid var(--accent);
  color: var(--text);
  background: transparent;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3rem;
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s ease;
}

.rbutton a:hover {
  background: var(--accent);
  color: var(--bg);
}

/* ===== SOLD OUT LABEL ===== */
.event-card.sold-out {
  position: relative;
  pointer-events: none; /* disables click */
  opacity: 0.7; /* faded to show it's inactive */
  overflow: hidden; /* keeps label inside the card */
}

.sold-out-label {
  position: absolute;
  top: 10%;
  left: 60px;
  transform: rotate(0deg);
  transform-origin: center;
  background: rgba(0, 0, 0, 0.85);
  color: #ff0000;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.2rem;
  padding: 8px 50px;
  border: 2px solid #fff;
  letter-spacing: 2px;
  opacity: 0.9;
  pointer-events: none;
  z-index: 10;
}



/* ===== FOOTER ===== */
.footer {
  background: var(--accent);
  color: #000;
  width: 100%;
  padding: 40px 60px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap; /* keep row layout until smaller screens */
  gap: 40px;
}

.footer-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-buttons button {
  background: transparent;
  border: 2px solid #000;
  color: #000;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-buttons button:hover {
  background: #000;
  color: var(--accent);
}

.footer-text-block {
  max-width: 600px;
  text-align: right;
  line-height: 1.6;
}

.footer-text {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.footer-description {
  font-size: 0.95rem;
  text-align: justify;
  margin: 0;
}

/* ===== RESPONSIVE FOOTER ===== */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-text-block {
    text-align: center;
  }
}


/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {

  main {
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 50px;
  }

  .title-block {
    flex-direction: column;
    align-items: center;
    margin: 40px auto 0;
    gap: 4px;
  }

  .title-block .title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    padding: 10px;
  }

  .title-block .highlight {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin: 0;
    top: 0;
    left: 0;
  }

  .popup-content img {
    max-width: 90vw;
    max-height: 70vh;
  }

  .rbutton a {
    font-size: 1rem;
    padding: 6px 20px;
  }
   .sold-out-label {
    font-size: 1.3rem;
    padding: 6px 80px;
    left: -40px;
  }
  .timeline {
    width: 90%;
    margin: 0 auto;
  }

  .timeline::before {
    left: 20px; /* move the line to the far left */
  }

  .event::before {
    left: 20px; /* align dots with the left line */
  }

  .event {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 40px 0;
    padding-left: 40px; /* adds space between dots & boxes */
    position: relative;
  }

  .event-card,
  .event-time {
    position: static;
    transform: none;
    width: 100%;
    max-width: 340px;
  }

  .event-card {
    order: 1;
    margin-bottom: 8px;
  }

  .event-time {
    order: 2;
    font-size: 1.1rem;
    text-align: left;
    margin-left: 5px;
  }

}


@media  (max-width: 425px) {
  /* :root { --header-h: 54px; --hudline-h: 8px; } */
   html, body {
    width: 100%;
    overflow-x: clip;
  }

   /* Align hero section closer to HUD */
   :root { --header-h: 54px; --hudline-h: 8px; }

   /* Align hero section closer to HUD */
  .hero {
    padding-top: 40px; /* Reduced from 60px */
    top: 60px; /* Lifted closer to the header */
  }



    .hero-header {
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
  }
  .logo-group img { height: 34px; }
  .hamburger { display: flex; }
  .nav-static {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0,0,0,0.95);
    border-top: 1px solid var(--accent);
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
  }
  .nav-static.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .menu-overlay.active {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
  }
  
  .popup-content {
    max-width: 90vw;
    max-height: 80vh;
    padding: 15px;
  }

  .popup-content img {
    max-width: 85vw;
    max-height: 65vh;
  }

  .close {
    font-size: 1.4rem;
    width: 30px;
    height: 30px;
    line-height: 30px;
  }

  .rbutton a {
    font-size: 0.9rem;
    padding: 5px 18px;
  }
 .event-card.sold-out {
    position: relative; /* Correct */
    overflow: hidden; 
    opacity: 0.8;
    /* 💥 REMOVE 'left: 10px;' if it's causing alignment issues */
    left: 10px; 
}

/* 2. Correct the label positioning for centering */
.sold-out-label {
 position: absolute;
 top: 50%;
 left: 10%;
transform: translate(50%, -20%) rotate(-30deg); 
width: 140px;
padding: 15px 15px;
background: rgba(0, 0, 0, 0.85);
color: #ff0000;
font-weight: 800;
 text-transform: uppercase;
font-size: 0.8rem;
border: 1px solid #fff;
text-align: center;
letter-spacing: 1px;
z-index: 10;pointer-events: none;
 }
  .timeline::before,
  .event::before {
    left: 15px;
  }

  .event {
    padding-left: 35px;
  }

  .event-card,
  .event-time {
    max-width: 300px;
  }

  .event-time {
    font-size: 1rem;
  }

  

}

@media (max-width: 375px) {
  :root { --header-h: 50px; --hudline-h: 6px; }
  .logo-group img { height: 30px; }
  .title-block {
    margin-top: 10px;
    gap: 2px;
  }

  .title-block .title {
    font-size: 1.3rem;
  }

  .title-block .highlight {
    font-size: 1.6rem;
  }
  .popup-content {
    padding: 12px;
  }

  .popup-content img {
    max-width: 80vw;
    max-height: 60vh;
  }
   .sold-out-label {
    font-size: 0.9rem;
    padding: 4px 50px;
    left: -25px;
  }
  .timeline::before,
  .event::before {
    left: 12px;
  }

  .event {
    padding-left: 30px;
  }

  .event-card,
  .event-time {
    max-width: 280px;
  }

  .event-time {
    font-size: 0.9rem;
  }
}
/* --- Tablet / iPad (max-width: 768px) --- */
@media (max-width: 768px) {

   .hamburger { 
        display: flex; 
    }

    .nav-static {
        position: fixed;
        top: var(--header-h); /* Aligns right below the fixed header */
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(0,0,0,0.95);
        border-top: 1px solid var(--accent);
        padding: 20px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 9999; /* Higher than the overlay (9998) */
        padding-right: 0;
        justify-content: center;
    }
      
    .nav-static a {
        padding: 10px 0;
        width: 100%;
        text-align: center;
    }
       
    .nav-static.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
      .menu-overlay.active {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        z-index: 9998; /* Below the nav (9999) */
    }

   
    main {
        padding-top: calc(var(--header-height) + 20px);
        padding-bottom: 50px;
    }
    
    .title-block {
        flex-direction: column;
        align-items: center;
        margin: 40px auto 0;
        gap: 4px;
    }

    .title-block .title {
        font-size: clamp(1.5rem, 3.5vw, 2.2rem);
        padding: 10px;
    }

    .title-block .highlight {
        font-size: clamp(1.8rem, 4vw, 2.6rem);
        margin: 0;
        top: 0;
        left: 0;
    }

    .popup-content img {
        max-width: 90vw;
        max-height: 70vh;
    }

    .rbutton a {
        font-size: 1rem;
        padding: 6px 20px;
    }
    
    .sold-out-label {
        font-size: 1.3rem;
        padding: 6px 80px;
        left: -40px;
    }
    
    .timeline {
        width: 90%;
        margin: 0 auto;
    }

    /* 💥 FIX: Timeline Line and Dot Positioning */
    .timeline::before {
        left: 20px; /* move the line to the far left */
    }

    .event::before {
        left: 20px; /* align dots with the left line */
    }

    .event {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin: 40px 0;
        padding-left: 40px; /* adds space between dots & boxes */
        position: relative;
    }

    .event-card,
    .event-time {
        position: static;
        transform: none;
        width: 100%;
        max-width: 340px;
    }

    .event-card {
        order: 1;
        margin-bottom: 8px;
    }

    .event-time {
        order: 2;
        font-size: 1.1rem;
        text-align: left;
        margin-left: 5px;
    }
    
    /* Footer styles */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-text-block {
        text-align: center;
    }
    
    .event-card.sold-out {
    position: relative; /* Correct */
    overflow: hidden; 
    opacity: 0.8;
    /* 💥 REMOVE 'left: 10px;' if it's causing alignment issues */
    left: 10px; 
}


}


@media  (max-width: 430px) {
  /* :root { --header-h: 54px; --hudline-h: 8px; } */
   html, body {
    width: 100%;
    overflow-x: clip;
  }

   /* Align hero section closer to HUD */
   :root { --header-h: 54px; --hudline-h: 8px; }

   /* Align hero section closer to HUD */
  .hero {
    padding-top: 40px; /* Reduced from 60px */
    top: 60px; /* Lifted closer to the header */
  }



    .hero-header {
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
  }
  .logo-group img { height: 34px; }
  .hamburger { display: flex; }
  .nav-static {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0,0,0,0.95);
    border-top: 1px solid var(--accent);
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
  }
  .nav-static.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .menu-overlay.active {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
  }
  
  .popup-content {
    max-width: 90vw;
    max-height: 80vh;
    padding: 15px;
  }

  .popup-content img {
    max-width: 85vw;
    max-height: 65vh;
  }

  .close {
    font-size: 1.4rem;
    width: 30px;
    height: 30px;
    line-height: 30px;
  }

  .rbutton a {
    font-size: 0.9rem;
    padding: 5px 18px;
  }
 .event-card.sold-out {
    position: relative; /* Correct */
    overflow: hidden; 
    opacity: 0.8;
    /* 💥 REMOVE 'left: 10px;' if it's causing alignment issues */
    left: 10px; 
}

/* 2. Correct the label positioning for centering */
.sold-out-label {
 position: absolute;
 top: 50%;
 left: 10%;
transform: translate(50%, -20%) rotate(-30deg); 
width: 140px;
padding: 15px 15px;
background: rgba(0, 0, 0, 0.85);
color: #ff0000;
font-weight: 800;
 text-transform: uppercase;
font-size: 0.8rem;
border: 1px solid #fff;
text-align: center;
letter-spacing: 1px;
z-index: 10;pointer-events: none;
 }
  .timeline::before,
  .event::before {
    left: 15px;
  }

  .event {
    padding-left: 35px;
  }

  .event-card,
  .event-time {
    max-width: 300px;
  }

  .event-time {
    font-size: 1rem;
  }
}


@media  (max-width: 500px) {
  /* :root { --header-h: 54px; --hudline-h: 8px; } */
   html, body {
    width: 100%;
    overflow-x: clip;
  }

   /* Align hero section closer to HUD */
   :root { --header-h: 54px; --hudline-h: 8px; }

   /* Align hero section closer to HUD */
  .hero {
    padding-top: 40px; /* Reduced from 60px */
    top: 60px; /* Lifted closer to the header */
  }



    .hero-header {
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
  }
  .logo-group img { height: 34px; }
  .hamburger { display: flex; }
  .nav-static {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0,0,0,0.95);
    border-top: 1px solid var(--accent);
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
  }
  .nav-static.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .menu-overlay.active {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
  }
  
  .popup-content {
    max-width: 90vw;
    max-height: 80vh;
    padding: 15px;
  }

  .popup-content img {
    max-width: 85vw;
    max-height: 65vh;
  }

  .close {
    font-size: 1.4rem;
    width: 30px;
    height: 30px;
    line-height: 30px;
  }

  .rbutton a {
    font-size: 0.9rem;
    padding: 5px 18px;
  }
 .event-card.sold-out {
    position: relative; /* Correct */
    overflow: hidden; 
    opacity: 0.8;
    /* 💥 REMOVE 'left: 10px;' if it's causing alignment issues */
    left: 10px; 
}

/* 2. Correct the label positioning for centering */
.sold-out-label {
 position: absolute;
 top: 50%;
 left: 10%;
transform: translate(50%, -20%) rotate(-30deg); 
width: 140px;
padding: 15px 15px;
background: rgba(0, 0, 0, 0.85);
color: #ff0000;
font-weight: 800;
 text-transform: uppercase;
font-size: 0.8rem;
border: 1px solid #fff;
text-align: center;
letter-spacing: 1px;
z-index: 10;pointer-events: none;
 }
  .timeline::before,
  .event::before {
    left: 15px;
  }

  .event {
    padding-left: 35px;
  }

  .event-card,
  .event-time {
    max-width: 300px;
  }

  .event-time {
    font-size: 1rem;
  }

  

}