* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
section[id] { scroll-margin-top: 72px; }

:focus-visible { outline: 2px solid #e11d48; outline-offset: 2px; }

:root {
  --bg: #0a0a0b;
  --panel: #161619;
  --line: #26262b;
  --text: #f5f5f4;
  --muted: #9a9aa5;
  --accent: #e11d48;
  --green: #16a34a;
  --amber: #d97706;
  --red: #dc2626;
  --display: 'Anton', 'Noto Sans TC', sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; }
main { flex: 1; width: 100%; }
main.container { max-width: 640px; margin: 0 auto; padding: 24px 20px 48px; }

/* ---------- top bar ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(8px);
  z-index: 20;
}
.brand {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}
.brand-zh { font-size: 13px; margin-left: 8px; color: var(--accent); letter-spacing: 0.2em; }
.mainnav, .adminnav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.mainnav a { text-decoration: none; text-transform: uppercase; letter-spacing: 0.08em; }
.mainnav a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
}
.lang-switch {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  text-decoration: none;
}
.lang-switch:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 560px) { .mainnav a:not(.nav-cta):not(.lang-switch) { display: none; } }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 48px 20px 56px;
  background:
    radial-gradient(ellipse 90% 60% at 50% 110%, rgba(225, 29, 72, 0.30), transparent 70%),
    linear-gradient(rgba(10, 10, 11, 0.18) 0%, rgba(10, 10, 11, 0.30) 40%, rgba(10, 10, 11, 0.88) 78%),
    url('img/hero.jpg') 32% top / auto 88% no-repeat,
    var(--bg);
}

.hero-press {
  position: absolute;
  left: max(24px, 6vw);
  top: 24%;
  display: none;
  gap: 9px;
  justify-items: start;
  text-decoration: none;
}
.hero-press .press-label {
  color: var(--accent);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}
.hero-press-row { display: flex; gap: 8px; }
.hero-press img {
  height: 28px;
  width: auto;
  border-radius: 3px;
  display: block;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}
.hero-press img.hero-press-wide { height: 22px; }
.hero-press:hover img { opacity: 0.88; }
.hero-name, .hero-sub, .hero-kicker { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6); }
.hero-kicker { color: #d5d5dc; }
.hero-kicker { letter-spacing: 0.35em; font-size: 13px; color: var(--muted); text-transform: uppercase; }
.hero-name {
  font-family: var(--display);
  font-size: clamp(96px, 20vw, 190px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 8px 0 4px;
}
@media (min-width: 900px) {
  .hero { background-position: center, center, center 22%; background-size: auto, auto, cover; min-height: 100vh; }
  .hero-name { font-size: 170px; }
  .hero-press { display: grid; left: 6vw; top: 56%; gap: 12px; }
  .press-strip-wrap { display: none; }
  .hero-press img { height: 34px; }
  .hero-press img.hero-press-wide { height: 27px; }
}
.hero-sub { font-size: clamp(16px, 3vw, 22px); font-weight: 700; letter-spacing: 0.12em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }

/* ---------- press strip ---------- */

.press-strip-wrap {
  text-align: center;
  padding: 26px 20px 30px;
  border-top: 1px solid var(--line);
}
.press-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.press-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}
.press-strip img {
  height: 34px;
  width: auto;
  border-radius: 4px;
  display: block;
}
.press-strip:hover img { opacity: 0.85; }

/* ---------- sections ---------- */

.band-videos {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(rgba(10, 10, 11, 0.42), rgba(10, 10, 11, 0.62)),
    url('img/stage.jpg') center 34% / cover no-repeat,
    var(--bg);
}
.band-videos > .section { border-top: none; padding: 110px 24px; }
.band-videos .hero-cta { justify-content: flex-start; }

.section { max-width: 880px; margin: 0 auto; padding: 72px 24px; border-top: 1px solid var(--line); }
.section-accent { border-top-color: var(--accent); }
.section-title {
  font-family: var(--display);
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 28px;
}
.title-zh { color: var(--accent); font-size: 0.45em; vertical-align: middle; margin-left: 12px; letter-spacing: 0.2em; }

/* ---------- tour list ---------- */

.tour-list { border-top: 1px solid var(--line); }
.tour-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.tour-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
  font-family: var(--display);
}
.tour-day { font-size: 40px; line-height: 1; }
.tour-mon { font-size: 15px; letter-spacing: 0.2em; color: var(--accent); }
.tour-info { flex: 1; }
.tour-info h3 { font-size: 19px; }
.tour-action { text-align: right; display: grid; gap: 6px; justify-items: end; }
@media (max-width: 560px) {
  .tour-row { flex-wrap: wrap; }
  .tour-action { width: 100%; text-align: left; justify-items: start; }
}
.press-date { min-width: 64px; font-weight: 700; }
.press-outlet { color: var(--accent); font-weight: 700; font-size: 14px; }
.tour-info h3 a { text-decoration: none; }
.tour-info h3 a:hover { color: var(--accent); }

.standing-gig {
  margin-top: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
}

/* ---------- mailing list / services / contact ---------- */

.subscribe-form { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; max-width: 480px; }
.subscribe-form input { flex: 1; min-width: 220px; }
.subscribe-thanks { font-size: 20px; font-weight: 700; color: #4ade80; }

.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 28px; }
.service {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  font-size: 26px;
}
.service h3 { font-size: 17px; margin-top: 8px; }
a.service { text-decoration: none; }
.feature-photo {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  display: block;
  margin-top: 24px;
}
.feature-cap { text-align: center; margin-top: 8px; }
.curriculum {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 28px;
  margin-top: 28px;
}
.curr-title { font-size: 20px; color: var(--accent); margin-bottom: 14px; }
.curriculum ol { padding-left: 22px; display: grid; gap: 14px; }
.curriculum li strong { font-size: 17px; }
.curriculum .hl { color: #fcd34d; font-weight: 700; }

.cta-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 24px 0 4px;
  display: grid;
  gap: 6px;
  justify-items: start;
}
.cta-box .btn { margin-bottom: 6px; }
.trust-line { font-weight: 700; color: var(--accent); }

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  background: #25d366;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  padding: 14px 20px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}
.wa-float:hover { filter: brightness(1.08); }

.kidgroup-press { margin-top: 20px; justify-content: flex-start; }
.kidgroup-press img { height: 28px; }

.reel-wrap { max-width: 340px; margin: 28px auto 0; }
.reel-wrap video {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  display: block;
  background: #000;
}

.faq { margin-top: 28px; }
.faq .curr-title { margin-bottom: 10px; }
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin-top: 10px; color: var(--muted); }

.quotes { display: grid; gap: 14px; margin-top: 28px; }
.quotes blockquote {
  background: var(--panel);
  border-left: 3px solid var(--accent);
  border-radius: 0 14px 14px 0;
  padding: 16px 20px;
  font-size: 17px;
}
.quotes cite { display: block; color: var(--muted); font-size: 13px; font-style: normal; margin-top: 6px; }
a.service:hover { border-color: var(--accent); }

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
}
@media (max-width: 640px) { .about-grid { grid-template-columns: 1fr; } }
.portrait {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  display: block;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  display: block;
}
.gallery figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: center; }

.about-text { font-size: 17px; max-width: 640px; margin-bottom: 12px; }

.kids-slogan { font-size: 20px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.kids-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0 4px;
}
.stat {
  flex: 1;
  min-width: 150px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  text-align: center;
}
.stat-num { display: block; font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1.3; }
.stat-label { display: block; font-size: 13px; color: var(--muted); }
.kids-cta { justify-content: flex-start; margin-top: 24px; }
.icon-btn { display: inline-flex; align-items: center; gap: 8px; }
.icon-btn svg { display: block; }
.contact-lines { font-size: 18px; line-height: 2.1; margin-top: 12px; }

/* ---------- shared ui (buy box, tickets, admin) ---------- */

h1 { font-size: 26px; margin-bottom: 8px; }
h2 { font-size: 18px; margin: 16px 0 8px; }
.when { font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.desc { margin: 12px 0; white-space: pre-line; }
.price { font-weight: 700; margin-top: 8px; }

.cards { display: grid; gap: 12px; margin-top: 16px; }
.card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  text-decoration: none;
}
.card:hover { border-color: var(--accent); }

.badge {
  display: inline-block;
  background: #2c2c38;
  border-radius: 999px;
  padding: 2px 12px;
  font-size: 13px;
  font-weight: 700;
}
.badge-green { background: var(--green); }
.badge-amber { background: var(--amber); }
.badge-red { background: var(--red); }
.badge.big { font-size: 16px; padding: 8px 18px; margin-top: 12px; }

.buybox {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  margin-top: 20px;
  display: grid;
  gap: 12px;
}
.form-grid label { display: grid; gap: 4px; font-size: 14px; }

input, select, textarea {
  background: var(--bg);
  border: 1px solid #3a3a48;
  border-radius: 8px;
  color: var(--text);
  padding: 12px;
  font-size: 16px;
  width: 100%;
}

.btn {
  display: inline-block;
  background: #26262e;
  color: var(--text);
  border: none;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.15); }
.btn-primary { background: var(--accent); }
.btn-big { font-size: 18px; padding: 16px 26px; border-radius: 999px; letter-spacing: 0.04em; }
.btn.small { padding: 6px 12px; font-size: 13px; }

.table-wrap { overflow-x: auto; margin-top: 12px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }

.ticket { text-align: center; }
.qr-wrap {
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  margin: 20px auto;
  max-width: 320px;
}
.qr-wrap img { width: 100%; display: block; }

.scan-page { text-align: center; }
#reader { max-width: 420px; margin: 12px auto; border-radius: 12px; overflow: hidden; }

.scan-result {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}
.scan-result.ok { background: rgba(22, 163, 74, 0.96); }
.scan-result.bad { background: rgba(220, 38, 38, 0.96); }
.scan-result-inner { text-align: center; padding: 24px; }
#result-icon { font-size: 88px; font-weight: 800; }
#result-name { font-size: 30px; font-weight: 700; margin-top: 8px; }
#result-detail { font-size: 20px; margin: 8px 0 24px; }

/* ---------- footer ---------- */

.footer { text-align: center; padding: 32px 20px; border-top: 1px solid var(--line); }
.socials { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-bottom: 12px; }
.socials a { text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; font-weight: 700; text-decoration: none; }
.socials a:hover { color: var(--accent); }
