/* ==========================================================================
   PIXIE IMAGE GROUP — CHINESE DREAMCORE VOL. 6 (LIGHT AMBIENT ELEPHANT VIDEO GLASS)
   Option Q: Light Frosted White Glass & Bright Fullscreen Motion Video Canvas
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&family=ZCOOL+KuaiLe&family=Ma+Shan+Zheng&family=Space+Mono&display=swap');

:root {
  --pink-primary: #ec4899;
  --pink-dark: #db2777;
  --pink-glow: rgba(236, 72, 153, 0.3);
  
  --sky-blue: #0284c7;
  --sky-light: #e0f2fe;
  --butter-yellow: #fde047;
  
  --text-dark: #0f172a;
  --text-muted: #475569;
  
  --glass-white-hero: rgba(255, 255, 255, 0.88);
  --glass-white-card: rgba(255, 255, 255, 0.90);
  --glass-border: rgba(255, 255, 255, 0.9);
  --glass-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
  
  --font-english: 'Outfit', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-chinese: 'ZCOOL KuaiLe', sans-serif;
  --font-calligraphy: 'Ma Shan Zheng', cursive;
  --font-mono: 'Space Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  color: var(--text-dark);
  font-family: var(--font-english);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background-color: #f8fafc;
  overflow-x: hidden;
  position: relative;
}

/* ── FULLSCREEN LIGHT AMBIENT BACKGROUND VIDEO ──────────────────────── */
.bg-video-container {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.bg-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.bg-video-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: 
    radial-gradient(circle at 10% 20%, rgba(252, 231, 243, 0.45) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(224, 242, 254, 0.45) 0%, transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(240, 249, 255, 0.6) 50%, rgba(252, 231, 243, 0.55) 100%);
  pointer-events: none;
  transform: translateZ(0);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── DECORATIVE CHINESE RIBBON FLANK ────────────────────────────────── */
.chinese-flank-left, .chinese-flank-right {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-calligraphy);
  font-size: 1.8rem;
  color: rgba(219, 39, 119, 0.55);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  letter-spacing: 0.6rem;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.chinese-flank-left { left: 1.25rem; }
.chinese-flank-right { right: 1.25rem; }

main {
  position: relative;
  z-index: 2;
}

/* ── TOP NOTIFICATION TICKER ────────────────────────────────────────── */
.ticker-bar {
  background: rgba(219, 39, 119, 0.92);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.6rem 0;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  overflow: hidden;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
}

.ticker-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cn-stamp-badge {
  background: var(--butter-yellow);
  color: #000000;
  font-family: var(--font-chinese);
  padding: 0.1rem 0.6rem;
  border-radius: 4px;
  font-size: 1.05rem;
  margin-right: 0.5rem;
}

/* ── HEADER ──────────────────────────────────────────────────────────── */
.cd6-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1.5px solid rgba(15, 23, 42, 0.08);
  padding: 0.85rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.cd6-nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.cd6-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-dark);
  flex-shrink: 0;
}

.cd6-logo-icon {
  width: 68px;
  height: 68px;
  background: transparent;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(219, 39, 119, 0.45));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.cd6-logo:hover .cd6-logo-icon {
  transform: scale(1.08);
  filter: drop-shadow(0 0 18px rgba(219, 39, 119, 0.95));
}

.cd6-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.35);
  display: block;
  transition: transform 0.25s ease;
}

.cd6-logo:hover .cd6-logo-img {
  transform: scale(1.45);
}

.cd6-logo-text {
  display: flex;
  flex-direction: column;
}

.cd6-logo-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  white-space: nowrap;
}

.cd6-logo-cn {
  font-family: var(--font-chinese);
  font-size: 0.85rem;
  color: var(--pink-dark);
  white-space: nowrap;
}

.cd6-nav-container {
  display: flex;
  align-items: center;
}

.cd6-nav {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.cd6-nav li {
  display: inline-block;
  white-space: nowrap;
}

.cd6-nav a {
  display: inline-block;
  font-family: var(--font-english);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.cd6-nav a:hover {
  background: var(--sky-light);
  color: var(--sky-blue);
}

.cd6-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.cd6-btn-hub {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-muted);
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.cd6-btn-hub:hover {
  background: #ffffff;
  color: var(--text-dark);
  border-color: var(--text-dark);
  transform: translateY(-1px);
}

/* Subtle Audio Toggle */
.cd6-audio-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.cd6-audio-toggle:hover {
  background: #ffffff;
  color: var(--text-dark);
  border-color: rgba(15, 23, 42, 0.3);
  transform: translateY(-1px);
}

.cd6-audio-toggle.playing {
  background: #fdf2f8;
  color: var(--pink-dark);
  border-color: rgba(219, 39, 119, 0.35);
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.15);
}

/* Book Consultation Primary CTA */
.cd6-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.52rem 1.15rem;
  background: var(--pink-primary);
  color: #ffffff;
  border: 2px solid var(--text-dark);
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 2.5px 2.5px 0 var(--text-dark);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.cd6-btn-primary:hover {
  transform: translate(-1.5px, -1.5px);
  background: var(--pink-dark);
  box-shadow: 4px 4px 0 var(--text-dark);
}

.cd6-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.75rem 1.6rem;
  background: var(--pink-primary);
  color: #ffffff;
  border: 2px solid var(--text-dark);
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--text-dark);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.cd6-btn:hover {
  transform: translate(-2px, -2px);
  background: var(--pink-dark);
  box-shadow: 5px 5px 0 var(--text-dark);
}

.cd6-btn.yellow {
  background: var(--butter-yellow);
  color: var(--text-dark);
  border-color: var(--text-dark);
}

/* ── LIGHT HERO FLOATING GLASS PANEL ────────────────────────────────── */
.cd6-hero {
  padding: 4.5rem 0 3.5rem;
}

.cd6-hero-panel {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  border: 3px solid var(--text-dark);
  border-radius: 28px;
  padding: 3.5rem 3rem;
  box-shadow: 8px 8px 0 var(--text-dark);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cd6-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--sky-light);
  color: var(--sky-blue);
  border: 2px solid var(--sky-blue);
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.cd6-hero-h1 {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
}

.cd6-hero-h1 span.pink-highlight {
  color: var(--pink-dark);
}

.cd6-hero-p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-preview-box {
  background: #000000;
  border: 3px solid var(--text-dark);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--text-dark);
  position: relative;
  aspect-ratio: 16/10;
}

.hero-preview-box img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.preview-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.preview-cn-stamp {
  position: absolute;
  bottom: 1rem; right: 1rem;
  background: var(--butter-yellow);
  color: #000;
  font-family: var(--font-chinese);
  font-size: 1.2rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  border: 2px solid #000;
}

/* ── WORKS SECTION (LIGHT FROSTED WHITE GLASS CARDS) ───────────────── */
.works-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.works-title-cn {
  font-family: var(--font-chinese);
  font-size: 2.2rem;
  color: var(--pink-dark);
  margin-bottom: 0.3rem;
}

.works-title-en {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-dark);
}

.cd6-works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.playground-card {
  background: var(--glass-white-card);
  backdrop-filter: blur(18px);
  border: 3px solid var(--text-dark);
  border-radius: 24px;
  box-shadow: 6px 6px 0 var(--text-dark);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-dark);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
}

.playground-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 var(--text-dark);
}

.playground-img-box {
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
  position: relative;
}

.playground-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.playground-card:hover .playground-img-box img {
  transform: scale(1.05);
}

.playground-stamp {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  background: var(--pink-primary);
  color: #fff;
  font-family: var(--font-chinese);
  font-size: 1.1rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  border: 2px solid #000;
}

.playground-body {
  padding: 1.5rem;
}

.playground-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.playground-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.playground-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--sky-blue);
  border-top: 2px solid #f1f5f9;
  padding-top: 0.75rem;
}

/* ── DIRECTORS ──────────────────────────────────────────────────────── */
.cd6-directors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.cd6-director-card {
  background: var(--glass-white-card);
  backdrop-filter: blur(18px);
  border: 3px solid var(--text-dark);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  box-shadow: 6px 6px 0 var(--text-dark);
  color: var(--text-dark);
}

.cd6-director-avatar {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: #fce7f3;
  color: var(--pink-dark);
  display: flex;
  align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border: 2px solid var(--text-dark);
}

.cd6-director-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.cd6-director-role {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--pink-dark);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cd6-director-bio {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── INQUIRY CARD ───────────────────────────────────────────────────── */
.cd6-inquiry-card {
  background: var(--glass-white-hero);
  backdrop-filter: blur(24px);
  border: 4px solid var(--text-dark);
  border-radius: 28px;
  padding: 3.5rem 3rem;
  box-shadow: 8px 8px 0 var(--text-dark);
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-dark);
}

.cd6-form-group {
  margin-bottom: 1.75rem;
}

.cd6-form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cd6-input, .cd6-textarea {
  width: 100%;
  font-family: var(--font-english);
  font-size: 1.05rem;
  padding: 0.85rem 1.1rem;
  border: 2px solid var(--text-dark);
  border-radius: 12px;
  background: #ffffff;
  color: var(--text-dark);
  outline: none;
}

.cd6-input:focus, .cd6-textarea:focus {
  border-color: var(--pink-dark);
  box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.15);
}

/* ── MODAL ───────────────────────────────────────────────────────────── */
.cd6-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cd6-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cd6-modal-card {
  background: var(--glass-white-card);
  backdrop-filter: blur(24px);
  border: 4px solid var(--text-dark);
  border-radius: 24px;
  box-shadow: 12px 12px 0 var(--text-dark);
  max-width: 760px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  color: var(--text-dark);
}

.cd6-modal-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* ── FOOTER ──────────────────────────────────────────────────────────── */
.cd6-footer {
  background: var(--text-dark);
  color: #94a3b8;
  padding: 3rem 0;
  text-align: center;
  margin-top: 6rem;
  border-top: 4px solid var(--pink-primary);
}

@media (max-width: 1080px) {
  .cd6-logo-title { font-size: 1.1rem; }
  .cd6-logo-cn { font-size: 0.75rem; }
  .cd6-nav { gap: 0.25rem; }
  .cd6-nav a { font-size: 0.84rem; padding: 0.35rem 0.55rem; }
  .cd6-btn-hub { font-size: 0.78rem; padding: 0.4rem 0.65rem; }
  .cd6-audio-toggle { font-size: 0.74rem; padding: 0.38rem 0.65rem; }
  .cd6-btn-primary { font-size: 0.82rem; padding: 0.45rem 0.9rem; }
}

@media (max-width: 880px) {
  .cd6-hero-panel { grid-template-columns: 1fr; }
  .cd6-works-grid { grid-template-columns: 1fr; }
  .cd6-directors-grid { grid-template-columns: 1fr; }
  .cd6-nav-container { display: none; }
  .chinese-flank-left, .chinese-flank-right { display: none; }
}
