/* ════════════════════════════════════════
   HERO SLIDESHOW
════════════════════════════════════════ */
#hero {
  position: relative;
  margin-top: var(--hh);
  height: calc(100vh - var(--hh));
  min-height: 600px; max-height: 1000px;
  overflow: hidden; background: var(--bg);
}

[data-theme="light"] #hero { background: var(--surface-2); }

/* ── Show tab switcher ── */
.hero-tabs {
  position: absolute; bottom: 1.25rem; left: 1.5rem; z-index: 20;
  display: flex; gap: .5rem; flex-wrap: wrap; max-width: 46%;
}
.hero-tab {
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem .5rem .65rem;
  font-family: var(--font-b); font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(0,0,0,.55); backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong); border-radius: var(--r-pill);
  cursor: pointer; white-space: nowrap;
  transition: color 200ms, background 200ms, border-color 200ms;
}
.hero-tab:hover  { color: var(--text-primary); background: rgba(0,0,0,.75); border-color: var(--text-muted); }
.hero-tab.active { color: var(--gold); background: rgba(0,0,0,.88); border-color: rgba(254,193,8,.5); }

[data-theme="light"] .hero-tab        { color: var(--text-muted); background: rgba(250,247,242,0.8); border-color: var(--border-strong); }
[data-theme="light"] .hero-tab.active { color: var(--burgundy); background: rgba(250,247,242,0.96); border-color: var(--gold); }

.hero-tab-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border-strong); flex-shrink: 0; transition: background 200ms; }
.hero-tab.active .hero-tab-dot { background: var(--gold); box-shadow: 0 0 0 2px rgba(254,193,8,.25); }
[data-theme="light"] .hero-tab.active .hero-tab-dot { background: var(--gold); }

/* ── Slides ── */
.hero-slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; opacity: 0; pointer-events: none; transition: opacity 650ms var(--ease); z-index: 1; }
.hero-slide.active { opacity: 1; pointer-events: all; z-index: 2; }

/* ── Media column ── */
.slide-media  { position: relative; overflow: hidden; background: var(--bg); }
[data-theme="light"] .slide-media { background: var(--surface-2); }
.slide-poster { position: absolute; inset: 0; transition: opacity 500ms; }
.slide-poster img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: saturate(.9) brightness(.88); }
[data-theme="light"] .slide-poster img { filter: saturate(1) brightness(0.95); }
.slide-poster::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 52%, var(--surface-1) 100%);
}

/* Gradient poster stand-in (e.g. Sundari) */
.slide-poster.gradient-poster { background: linear-gradient(160deg, #1a0a2e 0%, #2d1060 40%, #7b2d8b 100%); }
.slide-poster.gradient-poster::after { background: linear-gradient(to right, transparent 50%, var(--surface-1) 100%); }
.gradient-poster-inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1rem; padding: 2rem; }
.gradient-poster-inner .gp-icon  { font-size: clamp(4rem, 8vw, 7rem); line-height: 1; }
.gradient-poster-inner .gp-title { font-family: var(--font-d); font-size: clamp(2.5rem, 5vw, 5.5rem); font-weight: 700; color: #fff; text-align: center; letter-spacing: -.025em; text-shadow: 0 4px 24px rgba(0,0,0,.4); }
.gradient-poster-inner .gp-sub   { font-family: var(--font-d); font-style: italic; font-size: clamp(.9rem, 1.5vw, 1.3rem); color: rgba(255,255,255,.6); text-align: center; }

/* YouTube iframe layer */
.slide-iframe-wrap { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 500ms; }
.slide-iframe-wrap.playing { opacity: 1; pointer-events: all; }
.slide-iframe-wrap::after  { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, transparent 52%, var(--surface-1) 100%); pointer-events: none; }
.slide-iframe-wrap iframe  { width: 100%; height: 100%; border: none; }
#iwdetail::after           { display: none; }

/* ── Content column ── */
.slide-content {
  background: radial-gradient(ellipse 140% 100% at 80% 50%, #2d1008 0%, #1a0803 45%, #0d0a08 100%);
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.5rem, 5vw, 5rem) clamp(2rem, 4vw, 4.5rem) clamp(2.5rem, 5vw, 5rem) clamp(1.5rem, 3vw, 3rem);
  position: relative; overflow: hidden;
}
[data-theme="light"] .slide-content { background: var(--surface-1); }

/* Content entry animations */
.hero-slide.active .slide-eyebrow  { animation: up .6s var(--ease) .05s both; }
.hero-slide.active .slide-title    { animation: up .6s var(--ease) .13s both; }
.hero-slide.active .slide-subtitle { animation: up .6s var(--ease) .20s both; }
.hero-slide.active .slide-badges   { animation: up .6s var(--ease) .26s both; }
.hero-slide.active .slide-desc     { animation: up .6s var(--ease) .33s both; }
.hero-slide.active .slide-ctas     { animation: up .6s var(--ease) .40s both; }
.hero-slide.active .slide-strip    { animation: up .6s var(--ease) .48s both; }
@keyframes up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

.slide-eyebrow     { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.1rem; }
.live-dot          { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(254,193,8,.2); animation: dotPulse 2.4s ease infinite; flex-shrink: 0; }
@keyframes dotPulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(254,193,8,.2); } 50% { box-shadow: 0 0 0 7px rgba(254,193,8,.04); } }

.eyebrow-date {
  display: inline-block; flex-shrink: 0;
  width: 14px; height: 14px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Crect x='0.7' y='1.7' width='12.6' height='11.6' rx='1.4' stroke='%23fec108' stroke-width='1.1'/%3E%3Cline x1='4' y1='0.5' x2='4' y2='3.5' stroke='%23fec108' stroke-width='1.2' stroke-linecap='round'/%3E%3Cline x1='10' y1='0.5' x2='10' y2='3.5' stroke='%23fec108' stroke-width='1.2' stroke-linecap='round'/%3E%3Cline x1='1' y1='5.5' x2='13' y2='5.5' stroke='%23fec108' stroke-width='1'/%3E%3Crect x='2.5' y='7' width='2.2' height='1.8' rx='0.4' fill='%23fec108'/%3E%3Crect x='5.9' y='7' width='2.2' height='1.8' rx='0.4' fill='%23fec108'/%3E%3Crect x='9.3' y='7' width='2.2' height='1.8' rx='0.4' fill='%23fec108'/%3E%3Crect x='2.5' y='10' width='2.2' height='1.8' rx='0.4' fill='%23fec108'/%3E%3Crect x='5.9' y='10' width='2.2' height='1.8' rx='0.4' fill='%23fec108'/%3E%3C/svg%3E");
}
.slide-eyebrow-txt { font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.slide-title       { font-family: var(--font-d); font-size: clamp(2.2rem, 4.2vw, 5rem); font-weight: 700; line-height: .93; letter-spacing: -.025em; color: var(--text-primary); margin-bottom: .45rem; white-space: pre-line; }
.slide-subtitle    { font-family: var(--font-d); font-style: italic; font-size: clamp(1rem, 1.8vw, 1.5rem); color: var(--gold); margin-bottom: 1.2rem; }
.slide-badges      { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.2rem; }
.slide-desc        { font-size: clamp(.82rem, 1.1vw, .95rem); color: var(--text-secondary); line-height: 1.7; max-width: 430px; margin-bottom: 1.75rem; }
.slide-ctas        { display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.slide-strip       { display: flex; gap: 2rem; flex-wrap: wrap; padding-top: 1.35rem; border-top: 1px solid var(--border); }

/* ── Mobile swipe hint arrows (shown via responsive.css on mobile) ── */
.hero-swipe-hint { display: none; }

/* ── Progress dots ── */
.hero-dots { position: absolute; bottom: 1.75rem; right: 2rem; z-index: 20; display: flex; gap: .55rem; align-items: center; }
.hero-dot  { width: 28px; height: 3px; border-radius: 2px; background: var(--border-strong); cursor: pointer; transition: width 300ms var(--ease), background 300ms; position: relative; overflow: hidden; }
.hero-dot.active { width: 50px; background: var(--border-strong); }
.hero-dot.active::after { content: ''; position: absolute; inset: 0; background: var(--gold); animation: dotFill var(--sdur, 8s) linear both; }
@keyframes dotFill { from { width: 0; } to { width: 100%; } }
