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

:root {
  --navy: #0a1628;
  --navy-light: #0f2040;
  --blue: #1a3a6b;
  --blue-accent: #2d5aa0;
  --blue-glow: rgba(45,90,160,0.35);
  --white: #ffffff;
  --text: #e6edf3;
  --muted: #6e7e96;
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Noto Sans TC', -apple-system, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Single full-bleed background ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(26,58,107,0.55) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 90%, rgba(45,90,160,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 60% 40%, rgba(10,30,70,0.3) 0%, transparent 50%),
    var(--navy);
  z-index: -1;
  pointer-events: none;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== Navigation ===== */
.hamburger {
  position: fixed;
  top: 22px;
  left: 22px;
  z-index: 310;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background 0.2s;
}
.hamburger:hover { background: rgba(255,255,255,0.14); }
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Slide-out drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 270px;
  background: rgba(8, 18, 36, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-right: 1px solid rgba(255,255,255,0.07);
  z-index: 300;
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  padding-top: 80px;
  overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }

.nav-header {
  padding: 0 24px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 8px;
}
.nav-logo { width: 48px; height: 48px; }

.nav-link {
  display: block;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s, padding-left 0.2s;
}
.nav-link:hover { color: var(--white); padding-left: 30px; }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 290;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.nav-backdrop.show { opacity: 1; visibility: visible; }

/* Language Toggle */
.lang-toggle {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 310;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 8px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s;
}
.lang-toggle:hover { background: rgba(255,255,255,0.14); }

/* ===== Pages (full-height sections) ===== */
.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}

/* ===== Reveal animation system ===== */
[data-reveal] {
  opacity: 0;
  will-change: opacity, transform;
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}
[data-reveal="up"]    { transform: translateY(56px); }
[data-reveal="left"]  { transform: translateX(-56px); }
[data-reveal="right"] { transform: translateX(56px); }
[data-reveal="fade"]  { transform: scale(0.94); }

.page.active [data-reveal] {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Exit: scrolling down → elements leave upward */
.page.exit-up [data-reveal] {
  opacity: 0;
  transform: translateY(-40px) !important;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: 0s !important;
}
/* Exit: scrolling up → elements leave downward */
.page.exit-down [data-reveal] {
  opacity: 0;
  transform: translateY(40px) !important;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: 0s !important;
}

/* Stagger delays */
[data-delay="0"]   { transition-delay: 0s; }
[data-delay="80"]  { transition-delay: 0.08s; }
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="250"] { transition-delay: 0.25s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="350"] { transition-delay: 0.35s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="450"] { transition-delay: 0.45s; }

/* ===== HERO ===== */
#hero { text-align: center; }

.hero-content { padding: 0 24px; }

.hero-logo-wrap {
  display: block;
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 40px;
}

.hero-logo {
  width: 200px;
  height: 200px;
  object-fit: contain;
  animation: floatBall 7s ease-in-out infinite;
  filter:
    drop-shadow(0 6px 10px rgba(0,0,0,0.55))
    drop-shadow(0 18px 40px rgba(0,0,0,0.4))
    drop-shadow(0 -2px 8px rgba(255,255,255,0.04))
    drop-shadow(0 0 60px rgba(45,90,160,0.25));
}

/* Ground shadow under ball */
.hero-logo-wrap::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 18px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.45) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(6px);
  animation: shadowPulse 7s ease-in-out infinite;
}

.hero-title {
  font-family: 'Noto Sans TC', 'Inter', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 40px;
  color: var(--white);
  text-shadow:
    0 2px 6px rgba(0,0,0,0.5),
    0 10px 32px rgba(0,0,0,0.35),
    0 0 80px rgba(45,90,160,0.18);
}

/* Language-specific title display */
html[data-lang="zh"] .hero-title .en-text { display: none; }
html[data-lang="en"] .hero-title .zh-text { display: none; }
html[data-lang="en"] .hero-title .en-text {
  display: block;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.06em;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 3D glass buttons — no brand colours */
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 4px 16px rgba(0,0,0,0.35),
    0 1px 3px rgba(0,0,0,0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s var(--ease);
}
.hero-btn:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.08) 100%);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    0 8px 28px rgba(0,0,0,0.4),
    0 2px 6px rgba(0,0,0,0.3);
}
.hero-btn img { flex-shrink: 0; }

/* ===== ABOUT ===== */
#about { padding: 100px 0; }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.about-line {
  font-family: 'Noto Sans TC', sans-serif;
  color: var(--muted);
  line-height: 1.5;
}
.line-1 {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 8px;
}
.line-2 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
  margin-bottom: 28px;
}
.about-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-accent), transparent);
  border-radius: 2px;
  margin-bottom: 28px;
}
.line-3, .line-4 {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 500;
  margin-bottom: 10px;
}
.line-5 {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 600;
  color: var(--white);
}

.about-logo-wrap {
  position: relative;
}
.about-logo {
  border-radius: var(--radius-lg);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.04);
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.stat { flex: 1; text-align: center; }
.stat-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-lbl {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* ===== SECTION TITLE (shared) ===== */
.section-title {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--blue-accent);
  margin: 14px auto 0;
  border-radius: 2px;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 48px;
}

/* ===== HOSTS ===== */
.hosts-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 48px;
}
.host-card {
  text-align: center;
  padding: 48px 40px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  min-width: 220px;
  transition: transform 0.3s var(--ease), background 0.3s, box-shadow 0.3s;
}
.host-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.host-avatar-ring {
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
  border-radius: 50%;
}
.host-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 14px 40px rgba(0,0,0,0.6),
    0 4px 12px rgba(0,0,0,0.4),
    0 1px 3px rgba(0,0,0,0.3);
}
.host-avatar::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse 65% 55% at 38% 28%, rgba(255,255,255,0.14) 0%, transparent 60%);
  pointer-events: none;
}
.host-avatar svg { width: 44px; height: 44px; }
.host-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
}
.host-name-zh { font-family: 'Noto Sans TC', sans-serif; font-size: 1.4rem; font-weight: 900; margin-bottom: 4px; color: var(--white); }
.host-name-en { font-size: 0.9rem; font-weight: 400; color: var(--muted); margin-bottom: 10px; }
.host-role { color: var(--blue-accent); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; }

/* ===== PLATFORMS ===== */
#platforms .container { width: 100%; }

.platforms-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 48px;
}
.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 36px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  min-width: 150px;
  transition: transform 0.3s var(--ease), background 0.3s, box-shadow 0.3s, border-color 0.3s;
  cursor: pointer;
}
.platform-card:hover {
  transform: translateY(-8px) scale(1.03);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.platform-img { width: 48px; height: 48px; }
.platform-card span { font-weight: 600; font-size: 0.9rem; color: var(--text); }

/* ===== LATEST EPISODE ===== */
.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  align-items: start;
}
.embed-col {}
.embed-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
/* YouTube clickable card */
.yt-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.yt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.15);
}
.yt-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.yt-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yt-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
  transition: background 0.2s;
}
.yt-card:hover .yt-play-btn { background: rgba(0,0,0,0.1); }
.yt-title {
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

/* ===== REELS ===== */
.reels-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
  align-items: start;
  justify-items: center;
}
.reel-col {
  width: 100%;
  max-width: 320px;
  background: #000;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 24px 64px rgba(0,0,0,0.65),
    0 6px 20px rgba(0,0,0,0.4);
  overflow: hidden;
  position: relative;
}
/* Force Instagram embed to fill frame */
.reel-col .instagram-media {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}
.reel-col iframe {
  display: block;
  border-radius: 0 !important;
}
.reels-cta {
  text-align: center;
  margin-top: 44px;
}
.ig-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 8px 28px rgba(188,24,136,0.4);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  letter-spacing: 0.01em;
}
.ig-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(188,24,136,0.55);
}

/* ===== CONTACT ===== */
.contact-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 44px 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  min-width: 260px;
  transition: transform 0.3s var(--ease), background 0.3s, box-shadow 0.3s;
}
.contact-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
.contact-icon { color: var(--blue-accent); }
.contact-card h3 { font-size: 1.1rem; font-weight: 700; }
.contact-card p { color: var(--muted); font-size: 0.9rem; word-break: break-all; }
.contact-email-link {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  word-break: break-all;
  transition: color 0.2s;
}
.contact-email-link:hover { color: var(--white); }

/* ===== FOOTER ===== */
.footer {
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 0 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1rem;
}
.footer-logo { width: 36px; height: 36px; }
.footer-icons {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-icons a { opacity: 0.5; transition: opacity 0.2s, transform 0.2s; display: flex; }
.footer-icons a:hover { opacity: 1; transform: scale(1.2); }
.footer-copy { color: var(--muted); font-size: 0.8rem; }

/* ===== Animations ===== */
@keyframes floatBall {
  0%, 100% { transform: translateY(0); }
  30%       { transform: translateY(-16px); }
  60%       { transform: translateY(-10px); }
}
@keyframes shadowPulse {
  0%, 100% { transform: translateX(-50%) scale(1);    opacity: 0.45; }
  30%       { transform: translateX(-50%) scale(0.65); opacity: 0.22; }
  60%       { transform: translateX(-50%) scale(0.78); opacity: 0.3; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .about-left { order: 2; }
  .about-right { order: 1; max-width: 400px; margin: 0 auto; }
  .latest-grid { grid-template-columns: 1fr; }
  .reels-row { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; }
  .ig-cta-btn { padding: 14px 32px; font-size: 0.95rem; }
  .line-2 { font-size: 2.4rem; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .page { padding: 90px 0 70px; }
  .hero-logo-wrap { width: 160px; height: 160px; }
  .hero-logo { width: 160px; height: 160px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-btn { width: 100%; max-width: 260px; justify-content: center; }
  .hosts-row { flex-direction: column; align-items: center; }
  .platforms-grid { gap: 14px; }
  .platform-card { min-width: 130px; padding: 28px 20px; }
  .contact-card { min-width: 0; width: 100%; max-width: 340px; }
}
