/* ==========================================================================
   CHUYEN GIA DEN - VISUAL CINEMA EXPERIENCE DESIGN SYSTEM
   Haute Atelier of Light • UI/UX Pro Max Modern Dark Cinema Architecture
   Color Palette: OLED Cinema Noir, Champagne Gold, Radiant Amber & Frosted Glass
   ========================================================================== */

:root {
  --cinema-bg: #040406;
  --cinema-surface: #0a0c10;
  --cinema-card: rgba(14, 17, 24, 0.88);
  --cinema-card-inner: rgba(20, 24, 34, 0.7);
  --cinema-border: rgba(212, 175, 55, 0.25);
  --cinema-border-hover: rgba(245, 215, 127, 0.65);

  --gold-primary: #d4af37;
  --gold-light: #f5d77f;
  --gold-dark: #8a6d2b;
  --gold-glow: rgba(212, 175, 55, 0.35);

  --cyan-accent: #38bdf8;
  --cyan-glow: rgba(56, 189, 248, 0.3);
  --emerald-accent: #2ecc71;
  --amber-accent: #f59e0b;

  --text-pure: #ffffff;
  --text-main: #f1f0ea;
  --text-muted: #9e9a90;
  --text-dim: #6b675e;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 50px;

  --ease-cinema: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets & theme */
body.experience-page,
.experience-page.cinema-theme {
  background-color: var(--cinema-bg) !important;
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
  padding-bottom: 120px !important;
}

/* Background Ambient Spotlight Cursor Aura */
.exp-spotlight {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle 550px at var(--mouse-x, 50vw) var(--mouse-y, 50vh), rgba(212, 175, 55, 0.055) 0%, rgba(201, 168, 76, 0.012) 40%, transparent 70%);
  mix-blend-mode: screen;
  transition: opacity 0.4s ease;
  will-change: background;
}

.exp-canvas-particles {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
}

/* Global Container */
.cinema-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.cinema-section {
  padding: 85px 0;
  position: relative;
  scroll-margin-top: 90px;
}

/* Gold Badge Component */
.cinema-gold-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.38);
  color: var(--gold-light);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 10px #2ecc71;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* Section Header Typography */
.hero-art-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 36px auto;
}

.hero-cinema-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1.18;
  margin: 0 0 14px 0;
  color: var(--text-pure);
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 40%, #e2dfd5 70%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-cinema-lead {
  font-size: clamp(15px, 1.8vw, 17.5px);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   SECTION 1: HERO 16:9 WIDESCREEN YOUTUBE SHOWCASE & PLAYLIST
   ========================================================================== */
.hero-169-section {
  padding-top: 125px; /* Clear fixed 75px header + 50px luxury breathing space */
  padding-bottom: 70px;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 90px;
}

.cinema-ambient-halo {
  position: absolute;
  top: 45%;
  left: 45%;
  transform: translate(-50%, -50%);
  width: 750px;
  height: 550px;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.18) 0%, rgba(201, 168, 76, 0.05) 50%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
  animation: halo-float 8s ease-in-out infinite alternate;
}

@keyframes halo-float {
  0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.9; }
}

/* Layout 2 Cột YouTube Cinema */
.yt-cinema-layout {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.yt-player-column {
  flex: 1;
  min-width: 0;
}

.yt-playlist-column {
  width: 440px;
  flex-shrink: 0;
  position: sticky;
  top: 95px;
}

/* Khung Trình Phát 16:9 */
.yt-player-card {
  background: var(--cinema-card);
  border: 1.5px solid var(--cinema-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(212, 175, 55, 0.18);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.yt-player-card:hover {
  border-color: var(--cinema-border-hover);
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.95), 0 0 50px rgba(245, 215, 127, 0.28);
}

.yt-player-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.yt-media-element,
.yt-iframe-wrap {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.yt-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Top HUD Trên Player (Lược bỏ hoàn toàn để không che khuất khung hình video) */
.yt-player-hud-top,
.yt-hud-badge {
  display: none !important;
}

/* Nút Bật/Tắt Âm Thanh Tối Ưu Nằm Ngay Trong Thanh Điều Khiển Cạnh Nút Dừng Video */
.yt-sound-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-light);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(6px);
  -webkit-tap-highlight-color: transparent;
}

.yt-sound-btn:hover {
  background: rgba(212, 175, 55, 0.22);
  border-color: var(--gold-primary);
  color: #fff;
  transform: scale(1.05);
}

.yt-sound-btn.is-unmuted {
  background: linear-gradient(135deg, #d4af37 0%, #b8933b 100%);
  color: #040406;
  border-color: var(--gold-light);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.45);
}

.yt-sound-btn.is-unmuted i {
  color: #040406;
}

.yt-sound-btn .yt-sound-status-tag {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Custom Controls YouTube Style */
.yt-custom-controls {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(4, 4, 6, 0.95) 0%, rgba(4, 4, 6, 0.4) 60%, transparent 100%);
  padding: 10px 18px 12px 18px;
  z-index: 4;
  opacity: 0.92;
  transition: opacity 0.25s ease;
}

.yt-player-viewport:hover .yt-custom-controls {
  opacity: 1;
}

.yt-scrubber-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  margin-bottom: 10px;
  transition: height 0.15s ease;
}

.yt-scrubber-track:hover {
  height: 6px;
}

.yt-scrubber-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #d4af37, #f5d77f);
  box-shadow: 0 0 10px rgba(245, 215, 127, 0.8);
  border-radius: 2px;
}

.yt-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.yt-controls-left,
.yt-controls-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.yt-ctrl-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.15s ease;
}

.yt-ctrl-btn:hover {
  color: var(--gold-light);
  transform: scale(1.15);
}

.yt-time-display {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Video Meta Dưới Player */
.yt-video-meta {
  padding: 22px 24px;
}

.yt-video-title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 28px);
  color: #fff;
  margin: 0 0 8px 0;
  font-weight: 700;
  line-height: 1.3;
}

.yt-video-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 18px 0;
  line-height: 1.6;
}

.yt-channel-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.yt-channel-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.yt-channel-avatar {
  border-radius: 50%;
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.yt-channel-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.yt-channel-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.yt-actions-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.yt-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.yt-action-btn--gold {
  background: linear-gradient(135deg, #d4af37 0%, #b8933b 100%);
  color: #040406 !important;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.yt-action-btn--gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.yt-action-btn--glass {
  background: rgba(255, 255, 255, 0.09);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.yt-action-btn--glass:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

.yt-action-btn--icon {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 9px 12px;
}

.yt-action-btn--icon:hover {
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-light);
  border-color: var(--gold-primary);
}

/* ==========================================================================
   YOUTUBE PLAYLIST CARD (KHỚP 100% ẢNH 2 THAM CHIẾU)
   ========================================================================== */
.yt-playlist-card {
  background: var(--cinema-card);
  border: 1.5px solid var(--cinema-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
}

.yt-playlist-header {
  background: rgba(20, 24, 34, 0.85);
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.yt-playlist-badge {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.35;
}

.yt-playlist-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.yt-playlist-controls {
  flex-shrink: 0;
}

.yt-icon-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.yt-icon-btn.active {
  color: var(--gold-light);
}

.yt-icon-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.yt-playlist-items {
  max-height: 540px;
  overflow-y: auto;
  padding: 8px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) transparent;
}

.yt-playlist-items::-webkit-scrollbar {
  width: 6px;
}

.yt-playlist-items::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 3px;
}

/* Hàng Video Item YouTube */
.yt-playlist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  margin: 4px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  user-select: none;
}

.yt-playlist-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.yt-playlist-item.is-active {
  background: rgba(212, 175, 55, 0.16);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.18);
}

.yt-item-handle {
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.yt-item-num {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dim);
}

.yt-playlist-item.is-active .yt-item-num {
  color: var(--gold-light);
}

.yt-handle-icon {
  display: none;
  font-size: 12px;
  color: var(--text-dim);
}

.yt-playlist-item:hover .yt-handle-icon {
  display: block;
}

.yt-playlist-item:hover .yt-item-num {
  display: none;
}

/* Thumbnail 16:9 */
.yt-item-thumb {
  width: 116px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.yt-item-thumb img,
.yt-item-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yt-item-duration {
  position: absolute;
  bottom: 4px;
  right: 4px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 1px 5px;
  border-radius: 4px;
}

/* Sóng Âm Equalizer Khi Đang Phát */
.yt-item-equalizer {
  display: none;
  position: absolute;
  bottom: 5px;
  left: 5px;
  background: rgba(4, 4, 6, 0.85);
  padding: 3px 5px;
  border-radius: 4px;
  gap: 2px;
  align-items: flex-end;
  height: 14px;
}

.yt-playlist-item.is-active .yt-item-equalizer {
  display: flex;
}

.yt-item-equalizer span {
  width: 2.5px;
  height: 100%;
  background: var(--gold-light);
  border-radius: 1px;
  animation: yt-eq-dance 0.7s infinite alternate ease-in-out;
}

.yt-item-equalizer span:nth-child(1) { height: 60%; animation-delay: 0.1s; }
.yt-item-equalizer span:nth-child(2) { height: 100%; animation-delay: 0.3s; }
.yt-item-equalizer span:nth-child(3) { height: 40%; animation-delay: 0.2s; }

@keyframes yt-eq-dance {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

.yt-item-info {
  flex: 1;
  min-width: 0;
}

.yt-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-playlist-item.is-active .yt-item-title {
  color: var(--gold-light);
}

.yt-item-channel {
  font-size: 12px;
  color: var(--gold-light);
  margin-top: 3px;
  font-weight: 600;
}

.yt-item-stats {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}

.yt-item-more {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 15px;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.yt-item-more:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   SECTION 2: 9:16 VERTICAL SHORTS FEED (VUỐT XEM TỰ ĐỘNG PHÁT CÓ ÂM THANH)
   ========================================================================== */
.shorts-section {
  background: linear-gradient(180deg, var(--cinema-bg) 0%, #07080c 50%, var(--cinema-bg) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.section-title-wrap {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px auto;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 42px);
  color: #ffffff;
  margin: 0 0 12px 0;
  line-height: 1.25;
}

.section-sub {
  font-size: clamp(14px, 1.6vw, 16.5px);
  color: var(--text-muted);
  margin: 0 auto;
  line-height: 1.6;
}

.shorts-feed-wrapper {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
}

/* Mũi tên điều hướng lên/xuống trên Desktop */
.shorts-nav-arrow {
  position: absolute;
  right: -60px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20, 24, 34, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: var(--gold-light);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  transition: all 0.2s ease;
}

.shorts-nav--prev {
  top: 35%;
}

.shorts-nav--next {
  top: 55%;
}

.shorts-nav-arrow:hover {
  background: var(--gold-primary);
  color: #040406;
  transform: scale(1.1);
}

/* Khung Cuộn Dọc Tự Nhiên Shorts */
.shorts-feed-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 720px;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-radius: 26px;
}

.shorts-feed-container::-webkit-scrollbar {
  display: none;
}

/* Từng Card Reel 9:16 */
.shorts-reel-card {
  height: 100%;
  min-height: 720px;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: #000;
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.9), 0 0 40px rgba(212, 175, 55, 0.18);
  transition: border-color 0.3s ease;
}

.shorts-reel-card.is-in-view {
  border-color: rgba(245, 215, 127, 0.8);
}

.shorts-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.shorts-poster-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.shorts-video-player,
.shorts-iframe-player {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shorts-video-player {
  opacity: 0;
  transition: opacity 0.28s ease;
}

.shorts-video-player.is-ready {
  opacity: 1;
}

.shorts-iframe-player {
  border: none;
}

/* Scrim Gradient cho độ tương phản */
.shorts-scrim-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 130px;
  background: linear-gradient(180deg, rgba(4, 4, 6, 0.85) 0%, rgba(4, 4, 6, 0.2) 60%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.shorts-scrim-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 250px;
  background: linear-gradient(0deg, rgba(4, 4, 6, 0.95) 0%, rgba(4, 4, 6, 0.7) 50%, rgba(4, 4, 6, 0.15) 80%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

/* Top HUD */
.shorts-hud-top {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shorts-badge-tag {
  background: rgba(14, 17, 24, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.shorts-audio-btn {
  background: rgba(14, 17, 24, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.6);
  color: var(--gold-light);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.shorts-audio-btn:hover {
  background: var(--gold-primary);
  color: #040406;
}

/* Right Action Bar (Shorts Style) */
.shorts-actions-bar {
  position: absolute;
  right: 14px;
  bottom: 120px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.shorts-action-icon {
  background: rgba(14, 17, 24, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.shorts-action-icon span {
  font-size: 9px;
  font-weight: 700;
  margin-top: 2px;
}

.shorts-action-icon:hover {
  background: rgba(212, 175, 55, 0.25);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: scale(1.1);
}

.shorts-action-icon.is-liked {
  color: #ef4444;
  border-color: #ef4444;
}

/* Bottom HUD */
.shorts-hud-bottom {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  z-index: 4;
}

.shorts-author-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.shorts-mini-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--gold-primary);
}

.shorts-author-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.shorts-title {
  font-family: var(--font-serif);
  font-size: 18.5px;
  line-height: 1.35;
  color: #ffffff;
  margin: 0 0 6px 0;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.shorts-subtitle {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 12px 0;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shorts-cta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.shorts-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
  transition: all 0.2s ease;
}

.shorts-cta-btn--gold {
  background: linear-gradient(135deg, #d4af37 0%, #b8933b 100%);
  color: #040406 !important;
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.35);
}

.shorts-cta-btn--gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.shorts-cta-btn--glass {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.shorts-cta-btn--glass:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   SECTION 3: 3D INTERACTIVE SCROLLYTELLING PORTALS
   ========================================================================== */
.portals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.portal-card {
  position: relative;
  min-height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--cinema-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 30px;
  transition: all 0.4s var(--ease-cinema);
}

.portal-card:hover {
  transform: translateY(-6px);
  border-color: var(--cinema-border-hover);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9), 0 0 45px rgba(212, 175, 55, 0.25);
}

.portal-card__bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-cinema);
  z-index: 1;
}

.portal-card:hover .portal-card__bg {
  transform: scale(1.06);
}

.portal-card__overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(4, 4, 6, 0.2) 0%, rgba(4, 4, 6, 0.7) 45%, rgba(4, 4, 6, 0.96) 100%);
  z-index: 2;
}

.portal-card__content {
  position: relative;
  z-index: 3;
}

.portal-badge-live {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.portal-badge-live.gold {
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.portal-badge-live.cyan {
  background: rgba(56, 189, 248, 0.2);
  color: var(--cyan-accent);
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.portal-title {
  font-family: var(--font-serif);
  font-size: 26px;
  color: #fff;
  margin: 0 0 10px 0;
  line-height: 1.25;
}

.portal-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 18px 0;
  line-height: 1.6;
}

.portal-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: #fff;
}

.portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s var(--ease-cinema);
  width: fit-content;
}

.portal-btn--gold {
  background: linear-gradient(135deg, #d4af37 0%, #b8933b 100%);
  color: #040406 !important;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.4);
}

.portal-btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.6);
}

.portal-btn--cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  color: #040406 !important;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.4);
}

.portal-btn--cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.6);
}

/* ==========================================================================
   SECTION 4: VIP PRIVATE CONCIERGE
   ========================================================================== */
.concierge-section {
  padding-bottom: 120px;
}

.concierge-box {
  background: linear-gradient(135deg, rgba(20, 24, 34, 0.9) 0%, rgba(10, 12, 16, 0.95) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(212, 175, 55, 0.15);
}

.concierge-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.concierge-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.2vw, 38px);
  color: #fff;
  margin: 0 0 14px 0;
  line-height: 1.3;
}

.concierge-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 30px auto;
  line-height: 1.7;
}

.concierge-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.concierge-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s var(--ease-cinema);
}

.concierge-btn--gold {
  background: linear-gradient(135deg, #d4af37 0%, #b8933b 100%);
  color: #040406 !important;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.4);
}

.concierge-btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.6);
}

.concierge-btn--glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff !important;
  backdrop-filter: blur(8px);
}

.concierge-btn--glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}

.concierge-note {
  font-size: 12.5px;
  color: var(--text-dim);
}

/* ==========================================================================
   FLOATING CINEMA DOCK (BOTTOM CONTROLLER)
   ========================================================================== */
.cinema-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: calc(100vw - 24px);
  background: rgba(10, 12, 16, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease-cinema);
}

.cinema-dock__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cinema-dock__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.cinema-dock__btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.cinema-dock__btn.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(138, 109, 43, 0.35) 100%);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.25);
}

.dock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

.cinema-dock__btn.active .dock-dot {
  opacity: 1;
  background: var(--gold-light);
  box-shadow: 0 0 6px var(--gold-light);
}

.cinema-dock__sound {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 10px;
}

.sound-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #c9a84c 0%, #b8933b 100%);
  color: #040406;
  border: none;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(201, 168, 76, 0.4);
  transition: all 0.25s var(--ease-cinema);
}

.sound-toggle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(201, 168, 76, 0.6);
}

.sound-toggle-btn.is-active {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: #fff;
  box-shadow: 0 3px 14px rgba(46, 204, 113, 0.45);
}

.soundwaves {
  display: none;
  align-items: center;
  gap: 2px;
  height: 12px;
}

.sound-toggle-btn.is-active .soundwaves {
  display: inline-flex;
}

.sound-toggle-btn.is-active #soundIcon {
  display: none;
}

.soundwaves span {
  width: 2.5px;
  height: 100%;
  background: #fff;
  border-radius: 2px;
  animation: soundwave-jump 0.8s ease-in-out infinite alternate;
}

.soundwaves span:nth-child(1) { animation-delay: 0.1s; }
.soundwaves span:nth-child(2) { animation-delay: 0.3s; }
.soundwaves span:nth-child(3) { animation-delay: 0.2s; }
.soundwaves span:nth-child(4) { animation-delay: 0.4s; }

@keyframes soundwave-jump {
  0% { height: 3px; }
  100% { height: 12px; }
}

/* ==========================================================================
   IMMERSIVE THEATER MODAL (LIGHTBOX)
   ========================================================================== */
.cinema-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cinema-modal.is-open {
  display: flex;
}

.cinema-modal__backdrop {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(4, 4, 6, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  animation: modal-fade 0.3s ease;
}

@keyframes modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cinema-modal__dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  background: #0c0f16;
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(212, 175, 55, 0.25);
  overflow: hidden;
  animation: modal-zoom 0.35s var(--ease-cinema);
}

@keyframes modal-zoom {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.cinema-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.cinema-modal__close:hover {
  background: var(--gold-primary);
  color: #040406;
  transform: rotate(90deg);
}

.cinema-modal__player-wrap {
  width: 100%;
  background: #000;
  position: relative;
}

.cinema-modal__video {
  width: 100%;
  max-height: 65vh;
  display: block;
  background: #000;
}

.cinema-modal__meta {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cinema-modal__meta-text {
  flex: 1;
  min-width: 240px;
}

.cinema-modal__badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 6px;
}

.cinema-modal__title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: #fff;
  margin: 0 0 4px 0;
}

.cinema-modal__desc {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.cinema-modal__meta-actions {
  display: flex;
  gap: 10px;
}

.cinema-modal__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cinema-modal__btn--gold {
  background: linear-gradient(135deg, #d4af37 0%, #b8933b 100%);
  color: #040406;
}

.cinema-modal__btn--gold:hover {
  transform: translateY(-2px);
}

.cinema-modal__btn--zalo {
  background: #0084ff;
  color: #fff;
}

.cinema-modal__btn--zalo:hover {
  background: #006fe6;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   Tối ưu toàn diện góc nhìn điện thoại:
   - Lược bỏ chữ to che khung hình (Badge, lead quá dài)
   - Tối ưu nút tắt bật âm thanh xuống thanh điều khiển cạnh nút dừng video
   - Mở rộng tầm nhìn video, dock nổi gọn gàng không đè giao diện
   ========================================================================== */
@media (max-width: 991px) {
  .hero-169-section {
    padding-top: 85px;
    padding-bottom: 35px;
    scroll-margin-top: 75px;
  }

  .yt-cinema-layout {
    flex-direction: column;
    gap: 18px;
  }

  .yt-playlist-column {
    width: 100%;
    position: static;
  }

  .yt-playlist-items {
    max-height: 420px;
  }

  .shorts-nav-arrow {
    display: none;
  }

  .cinema-dock {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-width: 330px;
    padding: 5px 12px;
    border-radius: 40px;
    background: rgba(10, 12, 16, 0.82);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75);
    justify-content: center;
  }

  .cinema-dock__btn .dock-label {
    display: none;
  }

  .cinema-dock__btn {
    padding: 6px 9px;
    font-size: 13.5px;
  }

  .sound-label {
    display: none;
  }

  .sound-toggle-btn {
    padding: 6px 9px;
  }
}

@media (max-width: 768px) {
  /* Lược bỏ các nhãn chữ phụ không cần thiết trên mobile để không choán màn hình */
  .cinema-gold-badge {
    display: none;
  }

  .hero-art-header {
    margin-bottom: 14px;
  }

  .hero-cinema-title {
    font-size: clamp(20px, 5.2vw, 24px);
    line-height: 1.25;
    margin-bottom: 6px;
  }

  .hero-cinema-lead {
    font-size: 13px;
    line-height: 1.45;
    max-width: 94%;
    margin: 0 auto;
  }

  .yt-custom-controls {
    padding: 8px 12px 10px 12px;
  }

  .yt-controls-left, .yt-controls-right {
    gap: 8px;
  }

  .yt-sound-btn {
    padding: 4px 8px;
    font-size: 12.5px;
    gap: 5px;
  }

  .yt-sound-btn .yt-sound-status-tag {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .hero-169-section {
    padding-top: 72px;
    padding-bottom: 24px;
    scroll-margin-top: 65px;
  }

  .cinema-container {
    padding: 0 10px;
  }

  .hero-art-header {
    margin-bottom: 10px;
  }

  .hero-cinema-title {
    font-size: 20px;
    line-height: 1.22;
    margin-bottom: 4px;
    letter-spacing: -0.3px;
  }

  .hero-cinema-lead {
    font-size: 12px;
    line-height: 1.4;
    color: var(--text-muted);
  }

  .yt-player-card {
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), 0 0 20px rgba(212, 175, 55, 0.15);
  }

  /* Tối ưu controls bar trên mobile: nhỏ gọn, rõ ràng, không che video */
  .yt-custom-controls {
    padding: 6px 10px 8px 10px;
  }

  .yt-scrubber-track {
    margin-bottom: 6px;
    height: 3px;
  }

  .yt-controls-left,
  .yt-controls-right {
    gap: 8px;
  }

  .yt-ctrl-btn {
    font-size: 14px;
    padding: 4px;
    min-width: 28px;
    min-height: 28px;
  }

  /* Nút âm thanh cạnh nút dừng video trên mobile: cực kỳ tinh gọn, không chữ to */
  .yt-sound-btn {
    padding: 4px 6px;
    min-width: 28px;
    min-height: 28px;
    justify-content: center;
    border-radius: var(--radius-pill);
  }

  .yt-sound-btn .yt-sound-status-tag {
    display: none; /* Ẩn chữ to trên mobile theo đúng yêu cầu người dùng */
  }

  .yt-time-display {
    font-size: 10.5px;
  }

  .yt-video-meta {
    padding: 12px 8px 14px 8px;
  }

  .yt-video-title {
    font-size: 15.5px;
    line-height: 1.35;
    margin-bottom: 4px;
  }

  .yt-video-desc {
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 12px;
  }

  .yt-channel-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 10px;
  }

  .yt-channel-avatar {
    width: 36px;
    height: 36px;
  }

  .yt-channel-name {
    font-size: 13.5px;
  }

  .yt-channel-sub {
    font-size: 11px;
  }

  .yt-actions-group {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
  }

  .yt-action-btn {
    flex: 1 1 auto;
    justify-content: center;
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
  }

  #main169ProductBtn {
    flex: 1 1 100%;
  }

  .yt-action-btn--icon {
    flex: 0 0 auto;
    padding: 8px 12px;
  }

  .yt-playlist-item {
    margin: 3px 4px;
    padding: 6px 8px;
    gap: 8px;
  }

  .yt-item-thumb {
    width: 90px;
  }

  .yt-item-title {
    font-size: 12px;
  }

  .shorts-reel-card {
    min-height: 560px;
  }

  .shorts-feed-container {
    height: 560px;
  }

  /* Dock nổi tinh gọn ở đáy màn hình, không choán nội dung */
  .cinema-dock {
    bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-width: min(318px, calc(100vw - 20px));
    padding: 4px 8px;
    gap: 6px;
  }

  .cinema-dock__btn {
    padding: 5px 7px;
    font-size: 13px;
  }

  .cinema-dock__sound {
    padding-left: 6px;
    gap: 4px;
  }

  .dock-motion-btn {
    padding: 5px 7px;
  }

  .dock-motion-btn .motion-label {
    display: none;
  }
}

/* ==========================================================================
   POSTER + FACADE 16:9, CAPTIONS, CHAPTERS, RESUME, TRANSCRIPTS & REDUCED MOTION
   ========================================================================== */
.yt-poster-facade {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #040406;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.yt-poster-facade.is-dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.yt-facade-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-facade-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(4, 4, 6, 0.35) 0%, rgba(4, 4, 6, 0.72) 100%);
}

.yt-facade-play-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px 12px 14px;
  border-radius: 60px;
  background: rgba(10, 12, 16, 0.86);
  border: 1.5px solid rgba(212, 175, 55, 0.75);
  color: #ffffff;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 30px rgba(212, 175, 55, 0.25);
  transition: transform 0.25s var(--ease-cinema), border-color 0.25s ease, box-shadow 0.25s ease;
}

.yt-facade-play-btn:hover {
  transform: scale(1.04);
  border-color: var(--gold-light);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 40px rgba(245, 215, 127, 0.42);
}

.yt-facade-ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5d77f 0%, #d4af37 100%);
  color: #040406;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  padding-left: 2px;
}

.yt-facade-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.3;
}

.yt-facade-text strong {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.yt-facade-text small {
  font-size: 11px;
  color: var(--gold-light);
  opacity: 0.92;
  margin-top: 2px;
}

/* Subtitles Overlay (16:9 & Reels) */
.yt-caption-overlay {
  position: absolute;
  left: 50%;
  bottom: 66px;
  transform: translateX(-50%);
  z-index: 4;
  max-width: min(88%, 680px);
  background: rgba(4, 4, 6, 0.84);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #fffef8;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
  pointer-events: none;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.65);
  transition: opacity 0.2s ease;
}

.yt-caption-overlay.is-hidden,
.shorts-caption-box.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.shorts-caption-box {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 158px;
  z-index: 4;
  background: rgba(4, 4, 6, 0.82);
  border: 1px solid rgba(212, 175, 55, 0.32);
  color: #fffef8;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  pointer-events: none;
  backdrop-filter: blur(8px);
  transition: opacity 0.2s ease;
}

/* Scrubber Chapters & CC Button */
.yt-chapter-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.yt-chapter-marker {
  position: absolute;
  top: -1px;
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: 0 0 6px rgba(245, 215, 127, 0.9);
  transform: translateX(-50%);
}

.yt-cc-btn {
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.78);
}

.yt-cc-btn.active {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.25);
  color: var(--gold-light);
}

.yt-active-chapter-tag {
  font-size: 11.5px;
  color: var(--gold-light);
  font-weight: 600;
  max-width: 190px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yt-kbd-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

/* Resume Bar */
.yt-resume-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  background: rgba(212, 175, 55, 0.12);
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
  font-size: 12.5px;
  color: #f8f6f0;
}

.yt-resume-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.yt-resume-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.yt-resume-btn {
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.yt-resume-btn--go {
  padding: 5px 14px;
  background: var(--gold-primary);
  color: #040406;
}

.yt-resume-btn--dismiss {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Chapters Bar Below Video */
.yt-chapters-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.yt-chapters-prefix {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.yt-chapters-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.yt-chapter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e6e3da;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.yt-chapter-pill .ch-time {
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}

.yt-chapter-pill.is-active,
.yt-chapter-pill:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-primary);
  color: #ffffff;
}

/* Transcript Accordion */
.yt-transcript-accordion {
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.yt-transcript-summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  color: #f3efe4;
}

.yt-transcript-summary::-webkit-details-marker {
  display: none;
}

.yt-transcript-body {
  padding: 0 14px 12px 14px;
  font-size: 13px;
  line-height: 1.65;
  color: #cbc7bc;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
}

.yt-transcript-body p {
  margin: 0;
}

/* Shorts Controls Cluster */
.shorts-controls-cluster {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.shorts-hud-pill {
  background: rgba(14, 17, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.shorts-hud-pill.active,
.shorts-hud-pill:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.shorts-playpause-btn.is-paused {
  background: var(--gold-primary);
  color: #040406;
  border-color: var(--gold-light);
}

/* SEO Transcript Directory Section & Lighting Masterclass */
.transcript-seo-section {
  background: #06070a;
  border-top: 1px solid rgba(212, 175, 55, 0.14);
}

.expert-manifesto-card {
  background: linear-gradient(135deg, rgba(20, 24, 34, 0.92) 0%, rgba(10, 12, 16, 0.96) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 20px;
  padding: 28px 30px;
  margin-bottom: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.expert-manifesto-quote {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.expert-quote-icon {
  font-size: 28px;
  color: var(--gold-primary);
  opacity: 0.78;
  flex-shrink: 0;
  margin-top: 4px;
}

.expert-manifesto-quote h3 {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.2vw, 24px);
  color: var(--gold-light);
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.expert-manifesto-quote p {
  font-size: 14.5px;
  line-height: 1.75;
  color: #dcd7cb;
  margin: 0;
}

.expert-manifesto-quote code,
.masterclass-card-body code {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--gold-light);
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 12.5px;
  font-family: inherit;
  font-weight: 600;
}

.expert-pillars-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.expert-pillar-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  font-weight: 600;
  color: #f3efe4;
}

.masterclass-block-head {
  margin: 46px 0 22px 0;
}

.masterclass-step-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.masterclass-block-head h3 {
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.5vw, 29px);
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.masterclass-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.masterclass-card {
  background: rgba(14, 17, 24, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease-cinema), border-color 0.28s ease;
}

.masterclass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.55);
}

.masterclass-figure {
  margin: 0;
  background: #040406;
}

.masterclass-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.masterclass-figure figcaption {
  padding: 9px 16px;
  font-size: 11.5px;
  color: #b7b3a8;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.masterclass-card-body {
  padding: 20px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mc-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.9px;
  color: var(--gold-light);
  text-transform: uppercase;
}

.masterclass-card-body h4 {
  font-family: var(--font-serif);
  font-size: 19px;
  color: #ffffff;
  margin: 0;
  line-height: 1.35;
}

.masterclass-card-body p {
  font-size: 13.5px;
  line-height: 1.68;
  color: #cec9be;
  margin: 0;
}

.standards-table-shell {
  width: 100%;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(14, 17, 24, 0.88);
  -webkit-overflow-scrolling: touch;
}

.standards-comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.standards-comparison-table th {
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-light);
  font-weight: 700;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
  white-space: nowrap;
}

.standards-comparison-table td {
  padding: 14px 16px;
  color: #dcd7cb;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  vertical-align: top;
  line-height: 1.55;
}

.standards-comparison-table tr:last-child td {
  border-bottom: none;
}

.standards-comparison-table td strong {
  color: #ffffff;
}

.field-audit-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 26px;
  align-items: center;
  margin-top: 28px;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(16, 20, 29, 0.94) 0%, rgba(9, 11, 16, 0.96) 100%);
  border: 1px solid rgba(212, 175, 55, 0.32);
}

.field-audit-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.field-audit-copy h4 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 25px);
  color: #ffffff;
  margin: 8px 0 10px 0;
  line-height: 1.3;
}

.field-audit-copy p {
  font-size: 14px;
  line-height: 1.7;
  color: #d2cdc2;
  margin: 0 0 18px 0;
}

@media (max-width: 960px) {
  .expert-pillars-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .masterclass-visual-grid,
  .field-audit-callout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .expert-manifesto-card {
    padding: 20px 16px;
  }
  .expert-manifesto-quote {
    flex-direction: column;
    gap: 10px;
  }
  .expert-pillars-strip {
    grid-template-columns: 1fr;
  }
  .masterclass-card-body {
    padding: 16px;
  }
  .field-audit-callout {
    padding: 18px 16px;
  }
}

.transcript-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.transcript-group-card {
  background: rgba(14, 17, 24, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 18px;
  padding: 22px;
}

.transcript-group-title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: #ffffff;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.transcript-items-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.transcript-item-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
}

.transcript-item-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.transcript-item-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold-light);
  font-size: 11.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.transcript-item-title {
  margin: 0 0 2px 0;
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.transcript-item-meta {
  font-size: 11.5px;
  color: var(--gold-light);
}

.transcript-item-text {
  font-size: 13px;
  line-height: 1.6;
  color: #c9c5ba;
  margin: 0 0 10px 0;
}

.transcript-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.transcript-jump-btn {
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-light);
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.transcript-prod-link {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.transcript-prod-link:hover {
  color: var(--gold-light);
}

/* Reduced Motion Toggle & Enforcement */
.cinema-dock__sound {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.dock-motion-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #e6e3da;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.dock-motion-btn.is-reduced {
  border-color: var(--gold-primary);
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.18);
}

body.cgd-reduced-motion .exp-spotlight,
body.cgd-reduced-motion .exp-canvas-particles,
body.cgd-reduced-motion .cinema-ambient-halo {
  display: none !important;
}

body.cgd-reduced-motion * {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

@media (prefers-reduced-motion: reduce) {
  .exp-spotlight,
  .exp-canvas-particles,
  .cinema-ambient-halo {
    display: none !important;
  }
  .badge-pulse,
  .yt-item-equalizer span,
  .soundwaves span {
    animation: none !important;
  }
}

/* Tablet & Mobile Zero-Overlap Fixes for Dock vs Sticky Contact vs Back-to-Top */
@media (min-width: 769px) and (max-width: 991px) {
  .cinema-dock {
    bottom: 20px !important;
    max-width: calc(100vw - 170px);
  }
}

@media (max-width: 900px) {
  .transcript-columns {
    grid-template-columns: 1fr;
  }
  .yt-kbd-hint,
  .yt-active-chapter-tag {
    display: none;
  }
}

@media (max-width: 768px) {
  body:has(.cinema-dock) .back-to-top {
    bottom: calc(120px + env(safe-area-inset-bottom, 0px)) !important;
    right: 12px !important;
  }
  .yt-facade-play-btn {
    padding: 9px 16px 9px 10px;
    gap: 10px;
  }
  .yt-facade-ring {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
  .yt-facade-text strong {
    font-size: 12.5px;
  }
  .yt-caption-overlay {
    bottom: 54px;
    font-size: 12px;
    padding: 5px 10px;
    max-width: 94%;
  }
  .shorts-caption-box {
    bottom: 185px;
    font-size: 11.5px;
  }
}
