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

:root {
  --red: #C0392B;
  --red-dark: #7B241C;
  --red-mid: #A93226;
  --gold: #E8A825;
  --gold-light: #F5D06A;
  --gold-pale: #FDF0C0;
  --gold-dark: #A67C00;
  --black: #0D0500;
  --dark: #160900;
  --dark2: #1E0D02;
  --cream: #FDF6E8;
  --cream-dim: rgba(253,246,232,0.7);
  --glow-gold: rgba(232,168,37,0.4);
  --glow-red: rgba(192,57,43,0.3);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Serif SC', Georgia, serif;
  background: var(--black);
  color: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== CANVAS ===== */
#fireworks {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 3rem;
  height: 64px;
  background: rgba(13,5,0,0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid rgba(232,168,37,0.15);
  transition: background 0.4s;
}
.nav-logo { display: flex; flex-direction: column; gap: 0.05rem; }
.logo-zh {
  font-size: 1rem; font-weight: 900;
  color: var(--gold); letter-spacing: 0.2em;
  text-shadow: 0 0 20px var(--glow-gold);
}
.logo-en {
  font-size: 0.6rem; color: var(--cream);
  opacity: 0.45; letter-spacing: 0.12em;
  font-family: 'Cinzel', serif;
}
.nav-links { display: flex; list-style: none; gap: 0.25rem; }
.nav-links a {
  color: var(--cream-dim);
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  transition: all 0.3s;
}
.nav-links a:hover {
  color: var(--gold);
  background: rgba(232,168,37,0.1);
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; z-index: 1;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-poster-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.28;
  filter: saturate(1.4) blur(1px);
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(192,57,43,0.18) 0%, transparent 70%),
    linear-gradient(180deg, rgba(13,5,0,0.6) 0%, rgba(13,5,0,0.3) 40%, rgba(13,5,0,0.75) 100%);
}
/* 装饰角线 */
.hero-corner {
  position: absolute; width: 80px; height: 80px;
  z-index: 2; opacity: 0.5;
}
.hero-corner.tl { top: 80px; left: 40px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.hero-corner.tr { top: 80px; right: 40px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.hero-corner.bl { bottom: 40px; left: 40px; border-bottom: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.hero-corner.br { bottom: 40px; right: 40px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }

.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 7rem 2rem 5rem;
  max-width: 860px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(192,57,43,0.25);
  border: 1px solid rgba(232,168,37,0.35);
  color: var(--gold-light); font-size: 0.78rem;
  padding: 0.45rem 1.4rem; border-radius: 2rem;
  letter-spacing: 0.2em; margin-bottom: 2.5rem;
  backdrop-filter: blur(8px);
}
.hero-title-zh {
  font-size: clamp(4.5rem, 11vw, 9rem);
  font-weight: 900; color: var(--gold);
  letter-spacing: 0.25em; line-height: 1;
  text-shadow:
    0 0 80px rgba(232,168,37,0.7),
    0 0 30px rgba(232,168,37,0.4),
    3px 3px 0 rgba(123,36,28,0.8);
  margin-bottom: 0.6rem;
  animation: titleGlow 3s ease-in-out infinite alternate;
}
@keyframes titleGlow {
  from { text-shadow: 0 0 80px rgba(232,168,37,0.7), 0 0 30px rgba(232,168,37,0.4), 3px 3px 0 rgba(123,36,28,0.8); }
  to   { text-shadow: 0 0 120px rgba(232,168,37,0.9), 0 0 50px rgba(232,168,37,0.6), 3px 3px 0 rgba(123,36,28,0.8); }
}
.hero-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin: 1.2rem auto;
}
.hero-divider::before, .hero-divider::after {
  content: ''; display: block;
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.hero-divider::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.hero-divider span { color: var(--gold); font-size: 1.2rem; }
.hero-title-en {
  font-family: 'Cinzel', serif;
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  color: var(--cream); opacity: 0.85;
  letter-spacing: 0.25em; font-weight: 700;
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero-subtitle {
  font-size: 0.9rem; color: var(--gold-light);
  opacity: 0.65; letter-spacing: 0.2em;
  margin-bottom: 2.5rem;
}
.hero-icons {
  display: flex; justify-content: center; gap: 2rem;
  font-size: 1.8rem; margin-bottom: 3rem;
}
.hero-icons span {
  display: inline-block;
  animation: iconFloat 2s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 8px var(--glow-gold));
}
.hero-icons span:nth-child(1) { animation-delay: 0s; }
.hero-icons span:nth-child(2) { animation-delay: 0.2s; }
.hero-icons span:nth-child(3) { animation-delay: 0.4s; }
.hero-icons span:nth-child(4) { animation-delay: 0.6s; }
.hero-icons span:nth-child(5) { animation-delay: 0.8s; }
.hero-icons span:nth-child(6) { animation-delay: 1.0s; }
@keyframes iconFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-6px); }
}
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--red-mid), var(--red-dark));
  color: var(--gold-light); text-decoration: none;
  padding: 0.9rem 2.8rem; border-radius: 0.25rem;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.15em;
  border: 1px solid rgba(232,168,37,0.4);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 4px 24px var(--glow-red), inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute;
  inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(232,168,37,0.45);
  border-color: var(--gold);
}
.btn-primary:hover::after { opacity: 1; }
.scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  color: var(--gold); opacity: 0.4;
  font-size: 0.75rem; letter-spacing: 0.25em;
  animation: bounce 2.5s ease-in-out infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
  50%       { transform: translateX(-50%) translateY(-10px); opacity: 0.7; }
}

/* ===== MARQUEE ===== */
.marquee-bar {
  position: relative; z-index: 1;
  background: linear-gradient(90deg, var(--red-dark) 0%, var(--red-mid) 50%, var(--red-dark) 100%);
  border-top: 1px solid rgba(232,168,37,0.4);
  border-bottom: 1px solid rgba(232,168,37,0.4);
  overflow: hidden; padding: 0.7rem 0;
}
.marquee-track {
  display: flex; gap: 3.5rem; white-space: nowrap;
  animation: marquee 35s linear infinite;
}
.marquee-track span {
  color: var(--gold-light); font-size: 0.88rem;
  font-weight: 700; letter-spacing: 0.12em; flex-shrink: 0;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== SHARED ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }

.section-header { text-align: center; margin-bottom: 4.5rem; }
.section-tag {
  display: inline-block; color: var(--gold);
  font-size: 0.7rem; letter-spacing: 0.35em; text-transform: uppercase;
  border: 1px solid rgba(232,168,37,0.3);
  padding: 0.35rem 1.2rem; border-radius: 2rem; margin-bottom: 1.2rem;
  opacity: 0.75;
}
.sec-zh {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900; color: var(--gold);
  letter-spacing: 0.18em;
  text-shadow: 0 0 30px rgba(232,168,37,0.25);
}
.sec-en {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.8rem, 1.5vw, 1.1rem);
  color: var(--cream); opacity: 0.45;
  letter-spacing: 0.25em; margin-top: 0.4rem;
}
.sec-rule {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-top: 1.5rem;
}
.sec-rule::before, .sec-rule::after {
  content: ''; display: block;
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,168,37,0.5));
}
.sec-rule::after { background: linear-gradient(90deg, rgba(232,168,37,0.5), transparent); }
.sec-rule span { color: var(--gold); opacity: 0.5; font-size: 0.8rem; }

/* ===== PROGRAM ===== */
.program {
  position: relative; z-index: 1;
  padding: 7rem 0;
  background: linear-gradient(180deg, var(--black) 0%, var(--dark2) 50%, var(--black) 100%);
}
.program-cards {
  display: flex; flex-direction: column; gap: 2px;
}
.program-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(232,168,37,0.1);
  border-radius: 0.5rem;
  transition: border-color 0.4s;
}
.program-card:hover { border-color: rgba(232,168,37,0.3); }
.program-card.reverse { direction: rtl; }
.program-card.reverse > * { direction: ltr; }

.pc-img {
  position: relative; overflow: hidden;
}
.pc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(1.1);
  transition: filter 0.6s, transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.program-card:hover .pc-img img {
  filter: brightness(0.9) saturate(1.3);
  transform: scale(1.04);
}
.pc-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,5,0,0.6) 0%, transparent 100%);
}
.program-card.reverse .pc-img-overlay {
  background: linear-gradient(270deg, rgba(13,5,0,0.6) 0%, transparent 100%);
}
.pc-num {
  position: absolute; top: 1.5rem; left: 1.5rem;
  font-family: 'Cinzel', serif; font-size: 5rem;
  font-weight: 900; line-height: 1;
  color: var(--gold); opacity: 0.12;
  pointer-events: none;
}
.program-card.reverse .pc-num { left: auto; right: 1.5rem; }

.pc-body {
  display: flex; flex-direction: column; justify-content: center;
  padding: 3.5rem;
  background: linear-gradient(135deg, rgba(22,9,0,0.95), rgba(30,13,2,0.95));
  position: relative;
}
.pc-body::before {
  content: ''; position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent 0%, var(--red) 30%, var(--gold) 70%, transparent 100%);
  opacity: 0; transition: opacity 0.4s;
}
.program-card:hover .pc-body::before { opacity: 1; }
.program-card.reverse .pc-body::before { left: auto; right: 0; }

.pc-icon { font-size: 2.8rem; margin-bottom: 1.2rem; filter: drop-shadow(0 0 10px var(--glow-gold)); }
.pc-zh {
  font-size: 1.9rem; font-weight: 900;
  color: var(--gold); letter-spacing: 0.12em;
  margin-bottom: 0.3rem; line-height: 1.2;
}
.pc-en {
  font-family: 'Cinzel', serif; font-size: 0.78rem;
  color: var(--cream); opacity: 0.45;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.pc-rule {
  width: 40px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 1.6rem;
  transition: width 0.4s;
}
.program-card:hover .pc-rule { width: 80px; }
.pc-desc-zh {
  font-size: 0.88rem; color: var(--gold-pale);
  line-height: 1.95; opacity: 0.8; margin-bottom: 0.8rem;
}
.pc-desc-en {
  font-size: 0.82rem; color: var(--cream);
  opacity: 0.45; line-height: 1.8; font-style: italic;
}

/* ===== GALLERY ===== */
.gallery {
  position: relative; z-index: 1;
  padding: 7rem 0;
  background: var(--dark);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 6px;
}
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  background: var(--dark2);
}
.gi-1 { grid-column: span 5; grid-row: span 2; }
.gi-2 { grid-column: span 4; grid-row: span 1; }
.gi-3 { grid-column: span 3; grid-row: span 1; }
.gi-4 { grid-column: span 4; grid-row: span 2; }
.gi-5 { grid-column: span 3; grid-row: span 1; }
.gi-6 { grid-column: span 5; grid-row: span 2; }
.gi-7 { grid-column: span 4; grid-row: span 1; }
.gi-8 { grid-column: span 3; grid-row: span 1; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(1.05);
  transition: filter 0.5s ease, transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.gallery-item:hover img {
  filter: brightness(1) saturate(1.25);
  transform: scale(1.06);
}
.gallery-cap {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13,5,0,0.88) 100%);
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 1.2rem;
  opacity: 0; transition: opacity 0.35s ease;
}
.gallery-item:hover .gallery-cap { opacity: 1; }
.gallery-cap span {
  color: var(--gold); font-size: 0.85rem;
  font-weight: 700; letter-spacing: 0.12em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* ===== ABOUT ===== */
.about {
  position: relative; z-index: 1;
  padding: 7rem 0;
  background: linear-gradient(180deg, var(--dark) 0%, var(--black) 100%);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 5rem; align-items: center;
}
.about-text .section-tag { margin-bottom: 1.5rem; display: block; }
.about-text .sec-zh { text-align: left; }
.about-text .sec-en { text-align: left; margin-bottom: 2.5rem; }
.about-desc-zh {
  font-size: 0.92rem; color: var(--gold-pale);
  line-height: 2.1; opacity: 0.82; margin-bottom: 1.2rem;
}
.about-desc-en {
  font-size: 0.85rem; color: var(--cream);
  opacity: 0.45; line-height: 1.95;
  font-style: italic; margin-bottom: 3rem;
}
.about-stats {
  display: flex; gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(232,168,37,0.15);
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Cinzel', serif; font-size: 2.8rem;
  font-weight: 900; color: var(--gold); line-height: 1;
  margin-bottom: 0.6rem;
  text-shadow: 0 0 20px var(--glow-gold);
}
.stat-label {
  font-size: 0.72rem; color: var(--cream);
  opacity: 0.5; line-height: 1.6;
  letter-spacing: 0.08em;
}
.about-poster {
  border-radius: 0.5rem; overflow: hidden;
  border: 1px solid rgba(232,168,37,0.25);
  box-shadow:
    0 0 0 1px rgba(232,168,37,0.08),
    0 25px 70px rgba(13,5,0,0.8),
    0 0 60px rgba(192,57,43,0.2);
  position: relative;
}
.about-poster::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(232,168,37,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.about-poster img { width: 100%; display: block; }

/* ===== BLESSINGS ===== */
.blessings {
  position: relative; z-index: 1;
  padding: 7rem 0;
  background: var(--black);
}
.blessings-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.blessing-card {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, rgba(30,13,2,0.9), rgba(13,5,0,0.95));
  border: 1px solid rgba(232,168,37,0.15);
  border-radius: 0.5rem;
  padding: 2.8rem 2rem;
  text-align: center;
  transition: all 0.45s cubic-bezier(0.4,0,0.2,1);
}
.blessing-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.blessing-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(232,168,37,0.08) 0%, transparent 70%);
  opacity: 0; transition: opacity 0.4s;
}
.blessing-card:hover {
  transform: translateY(-10px);
  border-color: rgba(232,168,37,0.4);
  box-shadow: 0 25px 60px rgba(13,5,0,0.7), 0 0 30px rgba(192,57,43,0.2);
}
.blessing-card:hover::before, .blessing-card:hover::after { opacity: 1; }
.b-zh {
  font-size: 2.2rem; font-weight: 900;
  color: var(--gold); letter-spacing: 0.25em;
  margin-bottom: 0.9rem;
  text-shadow: 0 0 25px rgba(232,168,37,0.35);
}
.b-en {
  font-family: 'Cinzel', serif; font-size: 0.75rem;
  color: var(--cream); opacity: 0.4;
  letter-spacing: 0.12em; font-style: italic;
}

/* ===== FOOTER ===== */
.footer {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, var(--black) 0%, rgba(123,36,28,0.4) 60%, var(--red-dark) 100%);
  border-top: 1px solid rgba(232,168,37,0.2);
  padding: 5rem 2rem; text-align: center;
}
.footer-logo {
  font-size: 3.5rem; margin-bottom: 2rem;
  display: inline-block;
  animation: floatY 3.5s ease-in-out infinite;
  filter: drop-shadow(0 0 20px var(--glow-gold));
}
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.f-zh {
  font-size: 1rem; color: var(--gold);
  letter-spacing: 0.25em; margin-bottom: 0.6rem;
}
.f-en {
  font-size: 0.82rem; color: var(--cream);
  opacity: 0.45; font-style: italic;
  letter-spacing: 0.12em; font-family: 'Cinzel', serif;
}
.footer-line {
  width: 120px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 2rem auto;
}
.f-small {
  font-size: 0.72rem; color: var(--cream);
  opacity: 0.25; letter-spacing: 0.18em;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1), transform 0.75s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .program-card { grid-template-columns: 1fr; }
  .pc-img { min-height: 220px; }
  .program-card.reverse { direction: ltr; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .gallery-grid { grid-template-columns: repeat(6,1fr); }
  .gi-1,.gi-4,.gi-6 { grid-column: span 3; grid-row: span 2; }
  .gi-2,.gi-3,.gi-5,.gi-7,.gi-8 { grid-column: span 3; }
}
@media (max-width: 768px) {
  .navbar { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .hero-corner { display: none; }
  .blessings-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: repeat(4,1fr); }
  .gi-1,.gi-4,.gi-6 { grid-column: span 2; }
  .gi-2,.gi-3,.gi-5,.gi-7,.gi-8 { grid-column: span 2; }
}
@media (max-width: 480px) {
  .blessings-grid { grid-template-columns: 1fr; }
  .about-stats { gap: 1.5rem; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gi-1,.gi-4,.gi-6 { grid-column: span 2; grid-row: span 1; }
}

/* ===== WELCOME ===== */
.welcome {
  position: relative; z-index: 1;
  padding: 7rem 0;
  background: linear-gradient(180deg, var(--black) 0%, var(--dark2) 100%);
}
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}
.welcome-card {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 0;
  border: 1px solid rgba(232,168,37,0.2);
  border-radius: 0.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(22,9,0,0.97), rgba(30,13,2,0.97));
  box-shadow: 0 25px 70px rgba(13,5,0,0.6), 0 0 40px rgba(192,57,43,0.1);
  transition: border-color 0.4s;
}
.welcome-card:hover { border-color: rgba(232,168,37,0.4); }
.welcome-img {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  min-height: 380px;
}
.welcome-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.9) saturate(1.1);
  transition: filter 0.5s, transform 0.5s;
}
.welcome-card:hover .welcome-img img {
  filter: brightness(0.95) saturate(1.2);
  transform: scale(1.03);
}
.welcome-body {
  padding: 3rem;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.welcome-body::before {
  content: ''; position: absolute;
  top: 0; left: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.welcome-card:hover .welcome-body::before { opacity: 1; }
.welcome-role {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem; color: var(--gold);
  letter-spacing: 0.3em; text-transform: uppercase;
  opacity: 0.7; margin-bottom: 0.8rem;
}
.welcome-name-en {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem; font-weight: 900;
  color: var(--gold); letter-spacing: 0.08em;
  line-height: 1.2; margin-bottom: 0.3rem;
  text-shadow: 0 0 20px rgba(232,168,37,0.3);
}
.welcome-name-zh {
  font-size: 1.1rem; font-weight: 700;
  color: var(--gold-light); opacity: 0.8;
  letter-spacing: 0.15em; margin-bottom: 1.5rem;
}
.welcome-rule {
  width: 50px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 1.5rem;
  transition: width 0.4s;
}
.welcome-card:hover .welcome-rule { width: 100px; }
.welcome-desc-zh {
  font-size: 0.88rem; color: var(--gold-pale);
  line-height: 1.95; opacity: 0.82; margin-bottom: 0.8rem;
}
.welcome-desc-en {
  font-size: 0.82rem; color: var(--cream);
  opacity: 0.5; line-height: 1.8;
  font-style: italic; margin-bottom: 2rem;
}
.welcome-also {
  display: flex; align-items: flex-start; gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(232,168,37,0.15);
}
.welcome-also-label {
  font-size: 0.7rem; color: var(--gold);
  opacity: 0.5; letter-spacing: 0.15em;
  white-space: nowrap; padding-top: 0.2rem;
}
.welcome-also-name-zh {
  font-size: 1rem; font-weight: 700;
  color: var(--gold); letter-spacing: 0.12em;
  margin-bottom: 0.3rem;
}
.welcome-also-name-en {
  font-size: 0.75rem; color: var(--cream);
  opacity: 0.5; line-height: 1.7;
  font-style: italic;
}
@media (max-width: 768px) {
  .welcome-card { grid-template-columns: 1fr; }
  .welcome-img { min-height: 280px; }
}

/* ===== 移动端全面优化 ===== */
@media (max-width: 768px) {

  /* 导航 */
  .navbar { padding: 0 1.2rem; height: 56px; }
  .logo-zh { font-size: 0.9rem; }
  .logo-en { display: none; }
  .nav-links { display: none; }

  /* Hero */
  .hero-content { padding: 5rem 1.5rem 3rem; }
  .hero-tag { font-size: 0.7rem; padding: 0.4rem 1rem; margin-bottom: 1.5rem; }
  .hero-title-zh { font-size: clamp(3rem, 16vw, 5rem); letter-spacing: 0.15em; }
  .hero-title-en { font-size: clamp(0.85rem, 4vw, 1.2rem); letter-spacing: 0.1em; }
  .hero-subtitle { font-size: 0.78rem; letter-spacing: 0.1em; }
  .hero-icons { font-size: 1.4rem; gap: 1rem; margin-bottom: 2rem; }
  .hero-corner { width: 40px; height: 40px; }
  .hero-corner.tl { top: 60px; left: 16px; }
  .hero-corner.tr { top: 60px; right: 16px; }
  .btn-primary { padding: 0.8rem 2rem; font-size: 0.82rem; }

  /* 跑马灯 */
  .marquee-track span { font-size: 0.78rem; }

  /* 通用容器 */
  .container { padding: 0 1.2rem; }
  .sec-zh { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .sec-en { font-size: 0.75rem; }
  .section-header { margin-bottom: 2.5rem; }

  /* 欢迎致辞 */
  .welcome { padding: 4rem 0; }
  .welcome-card { grid-template-columns: 1fr; }
  .welcome-img { min-height: 260px; }
  .welcome-img img { height: 100%; object-fit: cover; }
  .welcome-body { padding: 2rem 1.5rem; }
  .welcome-name-en { font-size: 1.3rem; }
  .welcome-name-zh { font-size: 0.95rem; }
  .welcome-desc-zh, .welcome-desc-en { font-size: 0.82rem; }
  .welcome-also { flex-direction: column; gap: 0.5rem; }

  /* 节目单 */
  .program { padding: 4rem 0; }
  .program-card { grid-template-columns: 1fr; border-radius: 0.4rem; margin-bottom: 1rem; }
  .program-card.reverse { direction: ltr; }
  .pc-img { min-height: 200px; }
  .pc-img img { height: 200px; object-fit: cover; }
  .pc-body { padding: 1.8rem 1.5rem; }
  .pc-icon { font-size: 2rem; margin-bottom: 0.8rem; }
  .pc-zh { font-size: 1.4rem; }
  .pc-en { font-size: 0.72rem; margin-bottom: 1rem; }
  .pc-desc-zh, .pc-desc-en { font-size: 0.82rem; line-height: 1.8; }
  .pc-num { font-size: 3.5rem; }

  /* 画廊 */
  .gallery { padding: 4rem 0; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    gap: 4px;
  }
  .gi-1, .gi-2, .gi-3, .gi-4, .gi-5, .gi-6, .gi-7, .gi-8 {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gi-1, .gi-6 { grid-column: span 2; grid-row: span 1; }
  .gallery-cap { opacity: 1; transform: translateY(0); }
  .gallery-cap span { font-size: 0.72rem; }

  /* About */
  .about { padding: 4rem 0; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-text .sec-zh, .about-text .sec-en { text-align: center; }
  .about-text .section { display: block; text-align: center; }
  .about-desc- { font-size: 0.82rem; }
  .about-stats { justify-content: center; gap: 2rem; }
  .stat-num { font-size: 2rem; }

  /* 祝福 */
  .blessings { padding: 4rem 0; }
  .blessings-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .blessing-card { padding: 1.8rem 1rem; }
  .b-zh { font-size: 1.6rem; letter-spacing: 0.15em; }
  .b-en { font-size: 0.68rem; }

  /* 页脚 */
  .footer { padding: 3rem 1.5rem; }
  .footer-logo { font-size: 2.5rem; }
  .f-zh { font-size: 0.88rem; }
  .f-en { font-size: 0.72rem; }
}

@media (max-width: 390px) {
  .hero-title-zh { font-size: 3rem; }
  .blessings-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-auto-rows: 120px; }
  .gi-1, .gi-6 { grid-column: span 2; }
  .pc-img img { height: 160px; }
}

/* ===== 音乐控制按钮 ===== */
.music-btn {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 300;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(192,57,43,0.9), rgba(123,36,28,0.95));
  border: 1px solid rgba(232,168,37,0.5);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(13,5,0,0.5), 0 0 15px rgba(192,57,43,0.3);
  transition: all 0.3s;
  backdrop-filter: blur(8px);
}
.music-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(13,5,0,0.6), 0 0 25px rgba(232,168,37,0.3);
  border-color: var(--gold);
}
.music-icon {
  font-size: 1.4rem;
  display: block;
  filter: drop-shadow(0 0 6px rgba(232,168,37,0.5));
}
.music-bars {
  display: none;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
}
.music-bars span {
  display: block;
  width: 3px;
  background: var(--gold);
  border-radius: 2px;
  animation: barBounce 0.8s ease-in-out infinite alternate;
}
.music-bars span:nth-child(1) { height: 8px;  animation-delay: 0s; }
.music-bars span:nth-child(2) { height: 16px; animation-delay: 0.15s; }
.music-bars span:nth-child(3) { height: 12px; animation-delay: 0.3s; }
.music-bars span:nth-child(4) { height: 6px;  animation-delay: 0.45s; }
@keyframes barBounce {
  from { transform: scaleY(0.4); opacity: 0.6; }
  to   { transform: scaleY(1);   opacity: 1; }
}
.music-btn.playing .music-icon { display: none; }
.music-btn.playing .music-bars { display: flex; }

/* ===== HOSTS ===== */
.hosts {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--dark2) 0%, var(--dark) 100%);
}
.hosts-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(30,13,2,0.9), rgba(22,9,0,0.95));
  border: 1px solid rgba(232,168,37,0.2);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.hosts-img {
  height: 320px;
  min-height: 320px;
  max-height: 320px;
  overflow: hidden;
}
.hosts-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}
.hosts-card:hover .hosts-img img {
  transform: scale(1.04);
}
.hosts-body {
  padding: 2.5rem 2.5rem 2.5rem 0;
}

/* ===== PC PERFORMERS ===== */
.pc-performers {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(232,168,37,0.15);
}
.pc-performers span {
  font-size: 0.82rem;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .hosts-card {
    grid-template-columns: 1fr;
  }
  .hosts-img {
    min-height: 240px;
  }
  .hosts-body {
    padding: 1.5rem;
  }
}

/* ===== MESSAGES ===== */
.messages-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--dark) 0%, var(--black) 100%);
}
.msg-form-wrap {
  max-width: 700px;
  margin: 0 auto 3rem;
}
.msg-form {
  background: linear-gradient(135deg, rgba(30,13,2,0.95), rgba(22,9,0,0.98));
  border: 1px solid rgba(232,168,37,0.25);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.msg-form-row { margin-bottom: 1rem; }
.msg-form input, .msg-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(232,168,37,0.2);
  border-radius: 0.5rem;
  padding: 0.8rem 1rem;
  color: var(--cream);
  font-family: 'Noto Serif SC', Georgia, serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
  resize: none;
}
.msg-form input::placeholder, .msg-form textarea::placeholder {
  color: rgba(253,246,232,0.3);
}
.msg-form input:focus, .msg-form textarea:focus {
  border-color: rgba(232,168,37,0.5);
}
.msg-form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}
.msg-char-count {
  font-size: 0.75rem;
  color: rgba(253,246,232,0.35);
  letter-spacing: 0.05em;
}
.msg-form button {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--gold-light);
  border: 1px solid rgba(232,168,37,0.3);
  border-radius: 2rem;
  padding: 0.6rem 1.8rem;
  font-family: 'Noto Serif SC', serif;
  font-size: 0.9rem;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: all 0.3s;
}
.msg-form button:hover {
  background: linear-gradient(135deg, var(--red-mid), var(--red));
  box-shadow: 0 4px 20px rgba(192,57,43,0.4);
  transform: translateY(-1px);
}
.msg-form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.msg-feedback {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  text-align: center;
  min-height: 1.2em;
  letter-spacing: 0.05em;
}
.msg-feedback.success { color: var(--gold-light); }
.msg-feedback.error { color: #e74c3c; }

/* 留言列表 */
.msg-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 1 !important;
  transform: none !important;
}
.msg-loading {
  text-align: center;
  color: rgba(253,246,232,0.3);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  padding: 2rem 0;
}
.msg-card {
  background: linear-gradient(135deg, rgba(30,13,2,0.9), rgba(22,9,0,0.95));
  border: 1px solid rgba(232,168,37,0.15);
  border-radius: 0.75rem;
  padding: 1.2rem 1.5rem;
  transition: border-color 0.3s;
  animation: msgFadeIn 0.4s ease forwards;
}
.msg-card:hover { border-color: rgba(232,168,37,0.3); }
@keyframes msgFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.msg-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}
.msg-name {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.msg-time {
  font-size: 0.72rem;
  color: rgba(253,246,232,0.25);
  letter-spacing: 0.05em;
}
.msg-text {
  font-size: 0.92rem;
  color: var(--cream-dim);
  line-height: 1.7;
}
.msg-empty {
  text-align: center;
  color: rgba(253,246,232,0.25);
  font-size: 0.85rem;
  padding: 2rem 0;
  letter-spacing: 0.1em;
}
