:root {
  --teal: #0f8a7e;
  --teal-dark: #0b6c62;
  --teal-soft: #e6f4f2;
  --orange: #f2994a;
  --orange-dark: #e07e2c;
  --ink: #1f2d2b;
  --muted: #5c6b68;
  --bg: #f7faf9;
  --bg-alt: #eef5f3;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 138, 126, 0.10);
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
a { color: var(--teal); text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; display: block; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e4edeb;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 15px; color: var(--ink); }
.brand-text small { font-size: 11px; color: var(--muted); letter-spacing: .3px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--teal); }
.lang-toggle {
  border: 1.5px solid var(--teal); color: var(--teal);
  background: transparent; border-radius: 999px;
  padding: 5px 14px; font-weight: 600; cursor: pointer; font-size: 14px;
}
.lang-toggle:hover { background: var(--teal); color: #fff; }
.menu-btn { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--ink); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--teal-soft) 0%, #f0faf8 100%);
  padding: 64px 0 56px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,153,74,0.18), transparent 70%);
}
.hero-flex {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 48px;
}
.hero-inner { flex: 1 1 0; max-width: 560px; }
.hero-photo {
  flex: 0 0 420px;
  position: relative; z-index: 1;
}
.hero-photo img {
  width: 100%; height: auto;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(15,138,126,0.20);
  border: 4px solid #fff;
  display: block;
}
.badge {
  display: inline-block; background: #fff; color: var(--teal);
  border: 1px solid var(--teal); padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; margin-bottom: 18px;
}
.hero h1 { font-size: 42px; line-height: 1.2; margin: 0 0 16px; color: var(--ink); }
.hero-sub { font-size: 18px; color: var(--muted); margin: 0 0 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { background: #fff; color: var(--teal); border-color: var(--teal); }
.btn-ghost:hover { background: var(--teal-soft); }
.hero-stats { list-style: none; display: flex; gap: 38px; padding: 0; margin: 40px 0 0; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 30px; color: var(--teal); }
.hero-stats span { font-size: 14px; color: var(--muted); }

/* ===== Sections ===== */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 30px; margin: 0 0 10px; text-align: center; }
.section-lead { text-align: center; color: var(--muted); max-width: 680px; margin: 0 auto 36px; font-size: 16px; }
.sub-title { font-size: 22px; margin: 40px 0 18px; text-align: center; }

/* ===== Cards / About ===== */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); border: 1px solid #eef3f2;
}
.card h3 { margin: 0 0 10px; color: var(--teal); font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ===== Events ===== */
.events-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.event {
  background: #fff; border-radius: var(--radius); padding: 22px 24px;
  box-shadow: var(--shadow); border-left: 5px solid var(--teal);
  display: flex; flex-direction: column; gap: 6px;
}
.event .date { font-size: 13px; color: var(--orange-dark); font-weight: 700; letter-spacing: .3px; }
.event h3 { margin: 0; font-size: 19px; color: var(--ink); }
.event .loc { font-size: 14px; color: var(--teal); font-weight: 600; }
.event p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.event .tag { align-self: flex-start; background: var(--teal-soft); color: var(--teal); font-size: 12px; padding: 3px 10px; border-radius: 999px; margin-top: 6px; }

/* ===== Locations ===== */
.locations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.location {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid #eef3f2;
  display: flex; flex-direction: column;
}
.location .map {
  height: 74px; background: linear-gradient(135deg, var(--teal-soft), #d6ebe7);
  display: flex; align-items: center; justify-content: center;
}
.location .season {
  background: rgba(255,255,255,0.9); color: var(--teal);
  font-weight: 700; font-size: 14px; letter-spacing: .3px;
  padding: 6px 18px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.location:nth-child(1) .map { background: linear-gradient(135deg, #fdeccb, #f8dca6); }
.location:nth-child(1) .season { color: #b3781a; }
.location:nth-child(2) .map { background: linear-gradient(135deg, #e0ecfb, #c9dff5); }
.location:nth-child(2) .season { color: #2b5f9e; }
.location .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.location h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.45; }
.location .sched { margin: 0 0 6px; font-size: 14px; color: var(--teal); font-weight: 600; }
.location .addr { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin: 0 0 8px; }
.location .vtype {
  align-self: flex-start; margin: 0 0 12px;
  background: var(--teal-soft); color: var(--teal);
  font-size: 12px; padding: 3px 10px; border-radius: 999px;
}
.location a { font-size: 14px; font-weight: 600; margin-top: auto; }
.venue-note {
  margin: 24px auto 0; max-width: 760px; text-align: center;
  background: #fff8e9; border: 1px solid #f2e0bd; border-radius: 12px;
  padding: 14px 20px; font-size: 14.5px; line-height: 1.7; color: #7a5a20;
}

/* ===== Media ===== */
.media-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 24px; }
.tab {
  border: 1.5px solid var(--teal); background: #fff; color: var(--teal);
  padding: 8px 22px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 14px;
}
.tab.active { background: var(--teal); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.media-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; box-shadow: var(--shadow); background: linear-gradient(135deg, #cfeee9, #eaf4f2);
  display: flex; align-items: flex-end;
}
.media-item .ph-icon {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: rgba(15,138,126,0.35); font-size: 40px;
}
.media-item img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 0; }
.media-item .cap {
  position: relative; z-index: 1; width: 100%;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #fff; font-size: 13px; padding: 22px 14px 12px;
}
.media-item.video.ext { background: linear-gradient(135deg, #0f8a7e, #14a396); text-decoration: none; }
.media-item.video.ext .ph-icon { display: none; }
.media-item.video.ext .cap {
  background: linear-gradient(transparent, rgba(0,0,0,0.45));
  font-size: 14px; font-weight: 600; text-align: center;
}
.media-item.video.ext::after {
  content: "▶"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.85);
  color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 20px; z-index: 2;
}
.media-item video { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 0; }
.media-item.video.local {
  display: flex; flex-direction: column; margin: 0;
  aspect-ratio: auto; height: auto; background: #fff;
}
.media-item.video.local video {
  width: 100%; height: 320px; object-fit: contain; background: #10201f;
}
.media-item.video.local .vcap {
  background: #fff; color: var(--ink); font-size: 13px;
  padding: 10px 14px; text-align: left; border-top: 1px solid #eef3f2;
}
.social-soon { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px dashed #d8e6e3; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); }
.social-soon small { color: #9bb3af; }

/* ===== Sponsors ===== */
.sponsors-current { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 10px; }
.sponsor-chip {
  background: #fff; border: 1px dashed var(--teal); color: var(--teal);
  padding: 14px 22px; border-radius: var(--radius); font-weight: 600; text-align: center; box-shadow: var(--shadow);
}
.sponsor-chip small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; margin-top: 4px; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tier {
  background: #fff; border-radius: var(--radius); padding: 26px; text-align: center;
  box-shadow: var(--shadow); border: 1px solid #eef3f2;
}
.tier h4 { margin: 0 0 6px; color: var(--teal); font-size: 18px; }
.tier .price { font-size: 26px; color: var(--ink); font-weight: 700; margin: 6px 0; }
.tier ul { list-style: none; padding: 0; margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.tier li { padding: 5px 0; border-top: 1px dashed #eef3f2; }
.tier.featured { border: 2px solid var(--orange); }
.sponsor-cta { text-align: center; margin-top: 26px; color: var(--muted); font-size: 15px; }
.sponsor-cta a { font-weight: 700; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 18px 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid #e2ece9; font-size: 15px; }
.contact-list span { display: inline-block; width: 92px; color: var(--muted); font-size: 13px; }
.social-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.social-row a {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid #e2ece9; padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow);
}
.social-row a:hover { border-color: var(--teal); color: var(--teal); }
.join-form { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.join-form h3 { margin: 0 0 16px; color: var(--teal); }
.join-form input, .join-form select, .join-form textarea {
  width: 100%; padding: 11px 14px; margin-bottom: 12px; border: 1px solid #d8e6e3;
  border-radius: 10px; font-size: 14px; font-family: inherit; color: var(--ink); background: #fbfdfc;
}
.join-form textarea { resize: vertical; }
.form-note { font-size: 12px; color: var(--muted); margin: 6px 0 0; }

/* ===== Footer ===== */
.site-footer { background: var(--teal-dark); color: #cfe9e5; padding: 36px 0 18px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.site-footer strong { color: #fff; font-size: 16px; }
.site-footer p { margin: 4px 0 0; font-size: 13px; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-nav a { color: #cfe9e5; font-size: 14px; }
.footer-nav a:hover { color: #fff; }
.copyright { text-align: center; font-size: 12px; color: #9fcac4; margin: 24px 0 0; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 14px; }

/* ===== About Project (项目介绍) ===== */
.project-blocks { display: flex; flex-direction: column; gap: 18px; max-width: 860px; margin: 0 auto; }
.project-block {
  display: flex; gap: 22px; align-items: flex-start;
  background: #fff; border-radius: var(--radius); padding: 24px 26px;
  box-shadow: var(--shadow); border: 1px solid #eef3f2;
}
.pb-index {
  flex: 0 0 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff; font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(15,138,126,0.25);
}
.pb-body { flex: 1; }
.pb-body h3 { margin: 2px 0 12px; color: var(--teal); font-size: 20px; }
.pb-body p { margin: 0 0 10px; color: var(--muted); font-size: 15.5px; line-height: 1.8; }
.pb-body p:last-child { margin-bottom: 0; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .about-grid, .events-list, .locations-grid, .tiers, .gallery, .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .nav { position: fixed; top: 68px; right: 0; background: #fff; flex-direction: column; gap: 0;
    width: 220px; padding: 10px; border-left: 1px solid #e4edeb; box-shadow: -8px 8px 24px rgba(0,0,0,0.08);
    transform: translateX(120%); transition: transform .2s ease; }
  .nav.open { transform: translateX(0); }
  .nav a { padding: 12px 8px; width: 100%; }
  .menu-btn { display: block; }
  .hero h1 { font-size: 32px; }
  .hero-stats { gap: 24px; }
  .hero-flex { flex-direction: column; gap: 28px; }
  .hero-photo { flex: 0 0 auto; width: 100%; max-width: 380px; margin: 0 auto; }
  .hero-inner { max-width: 100%; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  .hero-stats strong { font-size: 24px; }
}
