:root {
  --green: #7ed321;
  --green-dark: #5aa318;
  --gold: #f0c419;
  --purple: #6f009b;
  --purple-mid: #e298ff;
  --purple-deep: #680091;
  --ink: #111;
  --muted: #4b5563;
  --paper: #fffaf3;
  --leaf: #e85d04;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Rubik, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
.lang-switch {
  position: fixed; top: 16px; right: 16px; z-index: 80;
  display: flex; background: rgba(255,255,255,.92);
  border-radius: 999px; padding: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  backdrop-filter: blur(8px);
}
.lang-switch button {
  border: 0; background: transparent; padding: 8px 14px;
  border-radius: 999px; font-weight: 700; font-size: 13px; letter-spacing: .4px;
  color: #444;
}
.lang-switch button.active {
  background: linear-gradient(90deg, var(--purple), #9b2dc4);
  color: #fff;
}

/* HERO */
.hero {
  position: relative;
  min-height: 800px;
  background:
    linear-gradient(180deg, #c9e4ff 0%, #f2c98a 42%, #e07a3d 78%, #c2410c 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 0;
  background: url("../img/autumn-sky.jpg") right center / cover no-repeat;
  opacity: .38;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(255,248,236,.82) 0%, rgba(255,248,236,.42) 40%, rgba(255,248,236,.08) 72%, transparent 100%);
  pointer-events: none;
}
.maple {
  position: absolute; left: -40px; top: 40px; width: min(720px, 62vw); height: auto;
  pointer-events: none; z-index: 1; filter: drop-shadow(0 8px 10px rgba(80,20,0,.15));
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 90px 40px 70px;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 24px; align-items: center;
  min-height: 800px;
}
.meta {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 28px;
}
.meta .date {
  font-family: Oswald, sans-serif; font-weight: 700;
  font-size: clamp(42px, 5.2vw, 64px); line-height: 1; color: var(--green);
  letter-spacing: .5px; text-transform: uppercase;
}
.meta .time {
  font-family: Oswald, sans-serif; font-weight: 700;
  font-size: clamp(42px, 5.2vw, 64px); line-height: 1; color: var(--gold);
}
.meta .city {
  font-family: Oswald, sans-serif; font-weight: 700;
  font-size: clamp(42px, 5.2vw, 64px); line-height: 1; color: #111;
  text-transform: uppercase;
}
.sep { width: 2px; height: 48px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.btn-ticket {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 280px; padding: 18px 48px;
  color: #fff; font-family: Oswald, sans-serif; font-weight: 600;
  font-size: 28px; letter-spacing: 1px; text-transform: uppercase;
  border: 1px solid #000; border-radius: 65px;
  background-image: linear-gradient(.267turn, #6f009b 0%, #e298ff 20%, #680091 50%, #e298ff 77%, #6f009b 100%);
  box-shadow: 0 5px 7px rgba(51,51,51,.15);
  transition: transform .2s, box-shadow .2s;
}
.btn-ticket:hover { transform: translateY(-2px); box-shadow: 0 10px 18px rgba(80,0,110,.28); }
.venue {
  margin-top: 22px; color: var(--green-dark);
  font-weight: 600; font-size: 18px; line-height: 1.45;
}
.photos { position: relative; height: 560px; }
.photos img {
  position: absolute; width: 78%; border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  object-fit: cover; height: 340px;
  border: 6px solid #fff;
}
.photos .p1 { right: 8%; top: 18px; transform: rotate(6deg); z-index: 2; }
.photos .p2 { left: 0; bottom: 28px; transform: rotate(-5deg); width: 70%; height: 280px; z-index: 1; }

.falling { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 3; }
.leaf {
  position: absolute; top: -40px; width: 22px; height: 22px;
  background: #e85d04;
  clip-path: polygon(50% 0%, 70% 18%, 100% 30%, 78% 48%, 85% 80%, 50% 68%, 15% 80%, 22% 48%, 0 30%, 30% 18%);
  animation: fall linear infinite;
  opacity: .85;
}
@keyframes fall {
  0% { transform: translateY(-20px) rotate(0); }
  100% { transform: translateY(110vh) rotate(360deg); }
}

/* COUNTDOWN */
.countdown {
  position: relative; min-height: 50vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; overflow: hidden;
}
.countdown-bg {
  position: absolute; inset: 0;
  background: url("../img/autumn-sky.jpg") center / cover no-repeat;
  filter: saturate(1.15) contrast(1.05);
}
.countdown-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(40,10,0,.45), rgba(20,8,0,.62));
}
.countdown-inner { position: relative; z-index: 2; padding: 48px 20px; }
.school-logo { width: 84px; height: 84px; margin: 0 auto 8px; object-fit: contain; mix-blend-mode: screen; }
.school-name {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  opacity: .9; margin-bottom: 18px;
}
.countdown h2 {
  font-family: Oswald, sans-serif; font-size: clamp(32px, 5vw, 52px);
  font-weight: 600; margin-bottom: 28px;
}
.timer { display: flex; justify-content: center; gap: 10px; align-items: flex-start; }
.t-block { min-width: 90px; }
.t-num {
  font-family: Oswald, sans-serif; font-size: clamp(48px, 7vw, 80px);
  font-weight: 500; line-height: 1;
}
.t-label { font-size: 15px; opacity: .95; margin-top: 6px; }
.t-div { width: 1px; height: 72px; background: rgba(255,255,255,.55); margin-top: 16px; }
.hurry { margin-top: 28px; font-size: 16px; opacity: .95; }

/* SECTIONS */
.section { padding: 88px 24px; }
.wrap { max-width: 1100px; margin: 0 auto; }
.kicker {
  font-family: Oswald, sans-serif; font-size: 14px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--purple); font-weight: 600; margin-bottom: 10px;
}
h2.sec {
  font-family: Oswald, sans-serif; font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 600; line-height: 1.15; margin-bottom: 20px;
}
.lead { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 760px; }
.about { background: var(--paper); }
.about p + p { margin-top: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.card {
  background: #fff; border-radius: 18px; padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(80,30,0,.08);
  border: 1px solid rgba(232,93,4,.12);
}
.card h3 { font-family: Oswald, sans-serif; font-size: 22px; margin-bottom: 10px; color: var(--purple); }
.card p { color: var(--muted); line-height: 1.6; font-size: 15px; }
.await { background: #1a0c08; color: #fff; }
.await .kicker { color: var(--gold); }
.await .lead { color: rgba(255,255,255,.8); }
.pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.pill {
  background: rgba(255,255,255,.08); border: 1px solid rgba(240,196,25,.35);
  color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 500;
}
.program { background: #fff; }
.timeline { margin-top: 36px; display: grid; gap: 0; }
.row {
  display: grid; grid-template-columns: 180px 1fr;
  gap: 20px; padding: 18px 0; border-bottom: 1px solid #eee;
  align-items: center;
}
.row time {
  font-family: Oswald, sans-serif; font-size: 22px; color: var(--purple); font-weight: 600;
}
.org { background: linear-gradient(180deg, #2b1208, #140805); color: #fff; }
.org .kicker { color: var(--gold); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.stat { background: rgba(255,255,255,.06); border-radius: 16px; padding: 24px; text-align: center; }
.stat b { display: block; font-family: Oswald, sans-serif; font-size: 40px; color: var(--gold); }
.stat span { font-size: 14px; opacity: .85; }
.hosts { background: #fff8f0; }
.hosts .wrap { max-width: 1080px; }
.host-grid {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 40px;
}
.host-profile {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 36px;
  align-items: start;
  background: #fff;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(80, 20, 0, .08);
  border: 1px solid rgba(111, 0, 155, .08);
  hyphens: none;
}
.host-profile.is-flip { grid-template-columns: 1fr 300px; }
.host-profile.is-flip .host-profile__media { order: 2; }
.host-profile.is-flip .host-profile__body { order: 1; }
.host-profile__media {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, #6f009b, #e298ff 55%, #c2410c);
  box-shadow: 0 12px 28px rgba(111, 0, 155, .18);
}
.host-profile__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block;
}
.host-profile__media span {
  display: none; position: absolute; inset: 0;
  align-items: center; justify-content: center;
  font-family: Oswald, sans-serif; font-size: 64px; font-weight: 600; color: #fff;
}
.host-profile__media.is-fallback span { display: flex; }
.host-profile__media.is-fallback img { display: none; }
.host-profile__media em {
  position: absolute; left: 12px; bottom: 12px;
  font-family: Oswald, sans-serif; font-style: normal; font-size: 13px; font-weight: 600;
  letter-spacing: 1px; color: #fff;
  background: rgba(20, 8, 0, .45); backdrop-filter: blur(6px);
  padding: 4px 10px; border-radius: 999px;
}
.host-profile__place {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: #c2410c; font-weight: 700; margin-bottom: 6px;
}
.host-profile__body h3 {
  font-family: Oswald, sans-serif; font-size: 32px; font-weight: 600;
  line-height: 1.15; margin-bottom: 10px;
}
.host-profile__role {
  color: var(--muted); font-size: 15px; line-height: 1.55; margin-bottom: 12px;
}
.host-profile__game {
  display: inline-block;
  max-width: 100%;
  font-weight: 700; color: #fff; font-size: 15px; line-height: 1.45;
  background: linear-gradient(.267turn, #6f009b 0%, #9b2dc4 50%, #680091 100%);
  padding: 8px 16px; border-radius: 16px; margin-bottom: 16px;
}
.host-profile__text p {
  color: #3f3a36; font-size: 15.5px; line-height: 1.7; margin-bottom: 10px;
}
.host-profile__links {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px;
}
.host-profile__links a {
  color: var(--purple); font-weight: 600; font-size: 14px; text-decoration: none;
  border: 1px solid rgba(111, 0, 155, .25); padding: 8px 14px; border-radius: 999px;
}
.host-profile__links a:hover { background: rgba(111, 0, 155, .08); }
.cta { background: var(--paper); text-align: center; }
.faq { background: #fff; }
.item { border-bottom: 1px solid #eee; padding: 16px 0; }
.item summary { cursor: pointer; font-weight: 600; font-size: 17px; }
.item p { margin-top: 10px; color: var(--muted); line-height: 1.6; }
footer {
  background: #0d0705; color: #fff; padding: 40px 24px; text-align: center;
}
footer a { color: var(--gold); text-decoration: none; }
.foot-links { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin: 12px 0 18px; }

/* MODAL */
.modal {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center;
  background: rgba(20,8,0,.55); padding: 20px;
}
.modal.open { display: flex; }
.modal-card {
  background: #fff; width: min(440px, 100%);
  border-radius: 22px; padding: 32px 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
  position: relative;
}
.modal-card h3 { font-family: Oswald, sans-serif; font-size: 28px; margin-bottom: 8px; }
.modal-card p { color: var(--muted); margin-bottom: 20px; font-size: 15px; }
.close {
  position: absolute; top: 12px; right: 14px; border: 0; background: transparent;
  font-size: 28px; line-height: 1; color: #666;
}
label { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 6px; }
input {
  width: 100%; padding: 14px 14px; border: 1px solid #ddd; border-radius: 12px;
  font-size: 16px;
}
input:focus { outline: 2px solid #e298ff; border-color: var(--purple); }
.err { color: #c1121f; font-size: 13px; min-height: 18px; margin-top: 4px; }
.ok { display: none; text-align: center; padding: 12px 0; }
.ok.show { display: block; }
.ok h4 { color: var(--green-dark); font-size: 22px; margin-bottom: 8px; }

@media (max-width: 900px) {
  .hero, .hero-inner { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; padding: 70px 20px 40px; }
  .photos { height: 380px; margin-top: 10px; }
  .photos img { height: 220px; }
  .grid-3, .stats { grid-template-columns: 1fr; }
  .host-profile, .host-profile.is-flip {
    grid-template-columns: 1fr;
  }
  .host-profile.is-flip .host-profile__media { order: 0; }
  .host-profile__media { max-width: 360px; margin: 0 auto; }
  .row { grid-template-columns: 1fr; gap: 4px; }
  .sep { height: 36px; }
  .maple { width: 120%; left: -20%; top: -20px; opacity: .85; }
}
@media (max-width: 560px) {
  .host-profile { padding: 18px; }
}
