:root {
  --dark: #111111;
  --dark-2: #1e1e1e;
  --gold: #f5a623;
  --gold-light: #ffd580;
  --red: #c0392b;
  --light: #f5f0e8;
  --gray: #e8e4dc;
  --text-dark: #1a1a1a;
  --text-faded: #666;
}

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

body { font-family: 'Segoe UI', system-ui, sans-serif; color: var(--text-dark); background: white; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--dark);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 64px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.nav-logo {
  font-size: 1.15rem; font-weight: 800; text-decoration: none;
  color: var(--gold); letter-spacing: -0.01em;
}
.nav-logo span { color: white; }
.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-links a {
  text-decoration: none; color: rgba(255,255,255,0.75);
  font-size: 0.9rem; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: white; margin: 5px 0; border-radius: 2px; }

/* HERO */
.hero {
  background: var(--dark);
  min-height: 520px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 40px,
    rgba(245,166,35,0.04) 40px, rgba(245,166,35,0.04) 41px
  );
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gold); background: rgba(245,166,35,0.12);
  padding: 5px 14px; border-radius: 100px; margin-bottom: 1.25rem;
  border: 1px solid rgba(245,166,35,0.3);
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 900;
  color: white; line-height: 1.1; margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.7); margin-bottom: 2rem; line-height: 1.6; }

/* BUTTONS */
.btn {
  display: inline-block; padding: 0.85rem 2rem; border-radius: 8px;
  font-size: 0.95rem; font-weight: 700; text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.btn-gold { background: var(--gold); color: var(--dark); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--dark); color: white; }

/* SECTIONS */
section { padding: 5rem 1.5rem; }
.bg-light { background: var(--light); }
.bg-dark { background: var(--dark); color: white; }
.bg-dark-2 { background: var(--dark-2); color: white; }
.bg-gray { background: var(--gray); }
.container { max-width: 1000px; margin: 0 auto; }
.text-center { text-align: center; }

.section-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--gold); background: rgba(245,166,35,0.1);
  padding: 4px 12px; border-radius: 100px; margin-bottom: 0.75rem;
  border: 1px solid rgba(245,166,35,0.25);
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 1rem; line-height: 1.2;
}

/* EVENT DETAILS ROW */
.details-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}
.detail-card {
  background: white; border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border-top: 3px solid var(--gold);
}
.detail-card .icon { font-size: 1.6rem; margin-bottom: 0.75rem; }
.detail-card h4 {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.4rem;
}
.detail-card p { font-size: 0.95rem; color: var(--text-dark); line-height: 1.5; font-weight: 500; }

/* STATS BAR */
.stats-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 3rem;
  padding: 1rem 0;
}
.stat-num { font-size: 2.4rem; font-weight: 900; color: var(--gold); }
.stat-label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: rgba(255,255,255,0.65); margin-top: 0.2rem; }

/* FLYER DISPLAY */
.flyer-wrap {
  max-width: 460px; margin: 2rem auto 0;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}
.flyer-wrap img { width: 100%; display: block; }

/* REGISTER SECTION */
.register-box {
  background: var(--gold); border-radius: 20px;
  padding: 3rem 2rem; text-align: center;
  max-width: 600px; margin: 0 auto;
}
.register-box h2 { font-size: 1.8rem; font-weight: 900; color: var(--dark); margin-bottom: 0.75rem; }
.register-box p { color: rgba(0,0,0,0.65); margin-bottom: 1.75rem; font-size: 1rem; line-height: 1.6; }

/* HISTORY CARDS */
.history-grid { display: flex; flex-direction: column; gap: 2.5rem; }
.history-card {
  background: white; border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  overflow: hidden;
  display: grid; grid-template-columns: 260px 1fr;
  align-items: start;
}
.history-card-img { align-self: stretch; background: #1a1a1a; display: flex; align-items: center; justify-content: center; }
.history-card-img img { width: 100%; height: 100%; display: block; object-fit: contain; }
.history-card-body { padding: 2rem 2rem 2rem; }
.history-year {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--gold); margin-bottom: 0.4rem;
}
.history-card-body h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.25rem; }
.history-card-body .subtitle { font-size: 0.9rem; color: var(--text-faded); margin-bottom: 1rem; }
.history-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.history-pill {
  background: #f3f4f6; color: #374151;
  font-size: 0.78rem; font-weight: 600;
  padding: 4px 12px; border-radius: 100px;
}
.history-pill.gold { background: rgba(245,166,35,0.15); color: #92680a; }

/* CONTACT ROW */
.contact-row {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
  margin-top: 1.5rem;
}
.contact-row a {
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  padding: 0.5rem 1.25rem; border-radius: 8px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.2s;
}
.contact-row a:hover { background: rgba(245,166,35,0.2); color: var(--gold); }

/* ORGANIZERS */
.org-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }
.org-tag {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85); font-size: 0.88rem; font-weight: 600;
  padding: 0.6rem 1.4rem; border-radius: 100px;
}

/* FADE IN */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* FOOTER */
footer {
  background: #0a0a0a; color: rgba(255,255,255,0.55);
  padding: 2.5rem 2rem; text-align: center;
  font-size: 0.85rem; line-height: 1.8;
}
footer a { color: var(--gold); text-decoration: none; }
footer strong { color: white; }

/* LIVESTREAM THUMBNAIL */
.livestream {
  display: block; position: relative; margin-top: 1.25rem;
  border-radius: 10px; overflow: hidden; text-decoration: none;
  border: 2px solid rgba(245,166,35,0.3);
  transition: border-color 0.2s, transform 0.15s;
}
.livestream:hover { border-color: var(--gold); transform: translateY(-2px); }
.livestream img { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; max-height: 260px; }
.livestream-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%);
  font-size: 2rem; color: white;
  background: rgba(0,0,0,0.6); border: 2px solid rgba(255,255,255,0.8);
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.livestream:hover .livestream-play { background: var(--gold); border-color: var(--gold); color: #111; }
.livestream-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: white; font-size: 0.8rem; font-weight: 600;
  padding: 1.5rem 0.75rem 0.6rem; text-align: center; letter-spacing: 0.04em;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--dark); padding: 1rem 2rem 1.5rem; gap: 1rem; }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: block; }
  .history-card { grid-template-columns: 1fr; }
  .history-card-img img { min-height: 200px; }
  .details-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .details-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
}
