/* ==========================================================================
   SUNDAZE — GET'S SPOOKY | HALLOWEEN 2026 CINEMATIC EXPERIENCE
   Campaign: SUNDAZE GET'S SPOOKY · Costume Contest (31 Oct 2026)
   Autonomous seasonal layer with deterministic WIB activation/expiration.
   ========================================================================== */

/* ── Seasonal Color System & Atmospheric Tokens ── */
:root {
  --hw-bg-black: #060506;
  --hw-bg-dark: #0d0a0c;
  --hw-charcoal: #141012;
  --hw-burgundy: #4a080d;
  --hw-wine: #6e0f16;
  --hw-red-primary: #C5222A;
  --hw-red-glow: #F0282F;
  --hw-red-dark: #500a0e;
  --hw-gold: #D9A13A;
  --hw-gold-bright: #F5BD58;
  --hw-gold-pale: #FFE6A8;
  --hw-orange: #ED8532;
  --hw-cream: #F5F0E9;
  --hw-white: #FFFFFF;
  --hw-glow-amber: rgba(237, 133, 50, 0.35);
  --hw-glow-red: rgba(240, 40, 47, 0.55);
  --hw-glow-burgundy: rgba(110, 15, 22, 0.45);
  --hw-font-creepy: 'Creepster', Georgia, serif;
  --hw-font-brush: 'Lacquer', 'Creepster', cursive, sans-serif;
}

/* ── Inactive State (Default Safe Isolation) ── */
.sd-hero-halloween,
.sd-hw-fog-wrap,
.sd-hw-bats-wrap,
.sd-hw-embers-wrap,
.sd-hw-web,
.sd-hw-web-wrap,
.sd-hw-sec-web,
.sd-hw-spider-dangle,
.sd-hw-ghost-wrap,
.sd-hw-modal {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   ACTIVE SEASONAL PRESENTATION (.sd-halloween-active)
   ══════════════════════════════════════════════════════════════════════════ */

.sd-halloween-active {
  --black: #060506;
  --charcoal: #110e10;
  --orange: #D86D1E;
}

/* Full-Page Cinematic Dark Background with Layered Gradients */
.sd-halloween-active body {
  background-color: #060506 !important;
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(138, 20, 26, 0.32) 0%, transparent 68%),
    radial-gradient(circle 850px at 85% 20%, rgba(217, 161, 58, 0.10) 0%, transparent 55%),
    radial-gradient(circle 900px at 12% 42%, rgba(110, 15, 22, 0.22) 0%, transparent 58%),
    radial-gradient(circle 800px at 88% 68%, rgba(197, 34, 42, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 95% 70% at 50% 98%, rgba(138, 20, 26, 0.25) 0%, transparent 65%),
    linear-gradient(180deg, #070607 0%, #0d0a0c 35%, #080708 65%, #050405 100%) !important;
  background-attachment: fixed !important;
}

/* Hide default hero content when seasonal campaign is active */
.sd-halloween-active .sd-hero-default {
  display: none !important;
}

/* Ensure hero section centers seasonal composition with dramatic height */
.sd-halloween-active .sd-hero {
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh;
  padding: 96px 0 56px !important;
  display: flex !important;
  position: relative;
  overflow: hidden;
  background: transparent !important;
}

/* Cinematic Multi-Layer Hero Overlay */
.sd-halloween-active .sd-hero-overlay {
  background:
    radial-gradient(circle 700px at 78% 46%, rgba(240, 40, 47, 0.32) 0%, rgba(110, 15, 22, 0.18) 45%, transparent 72%),
    radial-gradient(circle 580px at 20% 48%, rgba(237, 133, 50, 0.20) 0%, rgba(110, 15, 22, 0.14) 45%, transparent 68%),
    linear-gradient(180deg, rgba(6,5,6,0.88) 0%, rgba(6,5,6,0.62) 38%, rgba(6,5,6,0.92) 82%, #060506 100%) !important;
}

/* Seasonal Navigation Accents */
.sd-halloween-active .sd-logo-tag {
  color: var(--hw-red-glow) !important;
  letter-spacing: .28em !important;
  text-shadow: 0 0 12px rgba(240,40,47,0.6);
}

.sd-halloween-active .sd-nav-cta {
  background: linear-gradient(135deg, var(--hw-red-primary) 0%, #8E161C 100%) !important;
  border: 1px solid rgba(240,40,47,0.45) !important;
  box-shadow: 0 4px 20px var(--hw-glow-red) !important;
  transition: all .3s cubic-bezier(.2,0,0,1) !important;
}
.sd-halloween-active .sd-nav-cta:hover {
  background: linear-gradient(135deg, var(--hw-red-glow) 0%, var(--hw-red-primary) 100%) !important;
  box-shadow: 0 6px 26px rgba(240,40,47,0.75) !important;
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════════════════════
   HERO GRID COMPOSITION
   ══════════════════════════════════════════════════════════════════════════ */
.sd-halloween-active .sd-hero-halloween {
  display: grid !important;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 52px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
  padding: 0 32px;
}

/* ── Left Content Block (Editorial Event Panel) ── */
.sd-hw-left {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 6;
  opacity: 1;
}

/* Eyebrow Badge */
.sd-hw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.sd-hw-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 16, 18, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 189, 88, 0.45);
  border-radius: 999px;
  padding: 6px 16px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.6), 0 0 16px rgba(245,189,88,0.2);
}

.sd-hw-crown {
  width: 20px;
  height: 20px;
  color: var(--hw-gold-bright);
  filter: drop-shadow(0 0 6px rgba(245,189,88,0.75));
  transform: rotate(-6deg);
}

.sd-hw-eyebrow-text {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--hw-gold-bright);
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(245,189,88,0.45);
}

.sd-hw-eyebrow-sub {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: rgba(245,240,233,0.55);
  text-transform: uppercase;
}

/* Spooky Hero Headline with Ambient Aura */
.sd-hw-title-wrap {
  position: relative;
  margin-bottom: 24px;
}

.sd-hw-title-aura {
  position: absolute;
  top: 10%;
  left: -20px;
  width: 90%;
  height: 90%;
  background: radial-gradient(ellipse at 40% 50%, rgba(240, 40, 47, 0.28) 0%, transparent 65%);
  filter: blur(36px);
  z-index: -1;
  pointer-events: none;
}

.sd-hw-title {
  display: flex;
  flex-direction: column;
  line-height: 0.92;
  margin: 0;
}

.sd-hw-title-top {
  font-family: var(--hw-font-creepy);
  font-size: clamp(3.8rem, 7.8vw, 6.2rem);
  font-weight: 400;
  letter-spacing: .05em;
  color: var(--hw-white);
  text-transform: uppercase;
  text-shadow:
    0 4px 24px rgba(0,0,0,0.98),
    0 0 35px rgba(240,40,47,0.75),
    0 0 75px rgba(197,34,42,0.45);
  transform: rotate(-1.5deg);
  display: inline-block;
  transform-origin: left bottom;
}

.sd-hw-title-bot {
  font-family: var(--hw-font-brush);
  font-size: clamp(2.7rem, 5.6vw, 4.4rem);
  font-weight: 400;
  letter-spacing: .03em;
  color: var(--hw-red-glow);
  text-transform: uppercase;
  text-shadow:
    0 4px 22px rgba(0,0,0,0.98),
    0 0 32px rgba(240,40,47,0.85),
    0 0 60px rgba(110,15,22,0.95);
  margin-top: 6px;
  transform: rotate(-2.8deg);
  display: inline-block;
  transform-origin: left top;
}

/* Event Details & Prize Section */
.sd-hw-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.sd-hw-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.sd-hw-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 14, 16, 0.92);
  border: 1px solid rgba(245, 189, 88, 0.45);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--hw-gold-bright);
  box-shadow: 0 6px 20px rgba(0,0,0,0.7), 0 0 16px rgba(217,161,58,0.18);
}

.sd-hw-date-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hw-red-glow);
  box-shadow: 0 0 10px var(--hw-red-glow), 0 0 16px var(--hw-red-glow);
  animation: sd-hw-pulse 1.8s infinite ease-in-out;
}

.sd-hw-date-main {
  color: var(--hw-white);
  font-weight: 800;
}

.sd-hw-date-sep {
  color: rgba(245,189,88,0.5);
}

.sd-hw-date-sub {
  font-size: .75rem;
  color: var(--hw-gold-bright);
  letter-spacing: .18em;
}

.sd-hw-gate-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(32, 10, 14, 0.95) 0%, rgba(18, 12, 14, 0.92) 100%);
  border: 1px solid rgba(240, 40, 47, 0.55);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--hw-cream);
  box-shadow: 0 6px 20px rgba(0,0,0,0.7), 0 0 20px rgba(240, 40, 47, 0.35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.sd-hw-gate-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.85), 0 0 28px rgba(240, 40, 47, 0.55);
}
.sd-hw-gate-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 10px #22C55E, 0 0 18px rgba(34, 197, 94, 0.6);
  animation: sd-hw-pulse 1.4s infinite ease-in-out;
}
.sd-hw-gate-label {
  color: var(--hw-gold-bright);
  font-size: .75rem;
  letter-spacing: .18em;
  font-weight: 800;
}
.sd-hw-gate-time {
  color: var(--hw-white);
  font-weight: 800;
  letter-spacing: .08em;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.sd-hw-motto-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .95rem;
  color: var(--hw-cream);
  letter-spacing: .05em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

/* Distressed Grand Prize Voucher Ticket */
.sd-hw-prize-container {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.sd-hw-prize-card {
  position: relative;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(240,40,47,0.3) 0%, transparent 60%),
    linear-gradient(135deg, #A81B22 0%, #5E0C11 50%, #300609 100%);
  border: 1.5px solid rgba(245, 189, 88, 0.55);
  border-radius: 14px;
  padding: 16px 26px;
  box-shadow:
    0 16px 44px rgba(0,0,0,0.8),
    0 0 36px rgba(197,34,42,0.45),
    inset 0 1px 0 rgba(255,255,255,0.35);
  transform: rotate(-1deg);
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,0,0,1), box-shadow .35s cubic-bezier(.2,0,0,1);
  overflow: hidden;
}
.sd-hw-prize-card:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow:
    0 20px 54px rgba(0,0,0,0.9),
    0 0 50px rgba(240,40,47,0.7),
    inset 0 1px 0 rgba(255,255,255,0.45);
}

.sd-hw-prize-shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 100%);
  pointer-events: none;
}

.sd-hw-prize-border-top {
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--hw-gold-bright) 50%, transparent 100%);
}

.sd-hw-prize-ticket-notch {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  background: #060506;
  border-radius: 50%;
  transform: translateY(-50%);
  border: 1.5px solid rgba(245, 189, 88, 0.45);
}
.sd-hw-notch-left {
  left: -6px;
  border-left-color: transparent;
}
.sd-hw-notch-right {
  right: -6px;
  border-right-color: transparent;
}

.sd-hw-prize-content {
  position: relative;
  z-index: 1;
}

.sd-hw-prize-top-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.sd-hw-prize-pill {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .16em;
  background: rgba(245,189,88,0.22);
  color: var(--hw-gold-bright);
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}

.sd-hw-prize-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .9rem;
  color: var(--hw-cream);
  letter-spacing: .04em;
}

.sd-hw-prize-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
}

.sd-hw-prize-rp {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--hw-gold-bright);
  letter-spacing: .04em;
}

.sd-hw-prize-digits {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(2.3rem, 4.2vw, 3.1rem);
  font-weight: 800;
  color: var(--hw-white);
  letter-spacing: .02em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.85), 0 0 16px rgba(245, 189, 88, 0.3);
}

.sd-hw-prize-cur {
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--hw-gold-bright);
  padding-left: 2px;
}

/* Callout Card with Handwritten Energy */
.sd-hw-callout-wrap {
  display: flex;
  align-items: center;
}

.sd-hw-callout-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sd-hw-callout-arrow {
  width: 46px;
  height: 26px;
  color: var(--hw-gold-bright);
  filter: drop-shadow(0 0 8px rgba(245,189,88,0.6));
}

.sd-hw-callout-text-wrap {
  display: flex;
  flex-direction: column;
}

.sd-hw-callout-sub {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--hw-gold-bright);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.sd-hw-callout-text {
  font-family: var(--hw-font-brush), sans-serif;
  font-size: 1.18rem;
  letter-spacing: .05em;
  color: var(--hw-white);
  text-transform: uppercase;
  transform: rotate(2.5deg);
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

/* Actions Row */
.sd-hw-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.sd-hw-btn-book {
  background: linear-gradient(135deg, var(--hw-red-primary) 0%, #8E161C 100%) !important;
  color: var(--hw-white) !important;
  border: 1px solid rgba(240,40,47,0.5) !important;
  box-shadow: 0 8px 30px var(--hw-glow-red) !important;
  padding: 14px 30px !important;
  font-weight: 700 !important;
  transition: all .35s cubic-bezier(.2,0,0,1) !important;
}
.sd-hw-btn-book:hover {
  background: linear-gradient(135deg, var(--hw-red-glow) 0%, var(--hw-red-primary) 100%) !important;
  box-shadow: 0 12px 40px rgba(240,40,47,0.8) !important;
  transform: translateY(-2px);
}

.sd-hw-btn-explore {
  border: 1px solid rgba(245,240,233,0.25) !important;
  color: var(--hw-cream) !important;
  background: rgba(20, 16, 18, 0.6) !important;
  backdrop-filter: blur(8px) !important;
  transition: all .3s ease !important;
}
.sd-hw-btn-explore:hover {
  border-color: var(--hw-gold-bright) !important;
  color: var(--hw-gold-bright) !important;
  background: rgba(217,161,58,0.12) !important;
  transform: translateY(-2px);
}

.sd-hw-btn-poster {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 16, 18, 0.85);
  border: 1px solid rgba(245, 189, 88, 0.45);
  color: var(--hw-gold-bright);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 13px 20px;
  border-radius: 8px;
  transition: all .3s ease;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}
.sd-hw-btn-poster:hover {
  background: rgba(217,161,58,0.2);
  border-color: var(--hw-gold-bright);
  color: var(--hw-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,189,88,0.35);
}
.sd-hw-btn-poster svg {
  width: 17px;
  height: 17px;
}

/* Original Brand Tagline Subtly Retained */
.sd-hw-sub-brand {
  font-size: .9rem;
  line-height: 1.65;
  color: rgba(245,240,233,0.65);
  max-width: 500px;
}
.sd-hw-sub-brand em {
  font-style: italic;
  color: var(--hw-gold-bright);
  font-family: var(--font-serif);
}

/* ══════════════════════════════════════════════════════════════════════════
   RIGHT CONTENT: CINEMATIC PORTRAIT VIDEO FRAME (9:16)
   ══════════════════════════════════════════════════════════════════════════ */
.sd-hw-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 6;
  opacity: 1;
}

.sd-hw-video-container {
  position: relative;
  width: 100%;
  max-width: 380px;
}

/* Ambient Volumetric Backlight Wash Behind Video */
.sd-hw-video-ambient-wash {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 50% 50%, rgba(138, 20, 26, 0.42) 0%, rgba(110, 15, 22, 0.18) 55%, transparent 75%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

/* Edge Glow Halo */
.sd-hw-video-glow {
  position: absolute;
  inset: -14px;
  background:
    radial-gradient(circle at 50% 20%, rgba(240,40,47,0.4) 0%, transparent 60%),
    radial-gradient(circle at 50% 85%, rgba(237,133,50,0.45) 0%, transparent 65%);
  border-radius: 32px;
  filter: blur(24px);
  z-index: 0;
  pointer-events: none;
  animation: sd-hw-glow-breathe 5.5s ease-in-out infinite alternate;
}

/* Portrait Card Frame with Beveled Edges */
.sd-hw-video-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 9/16;
  max-height: 72vh;
  background: #000;
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid rgba(245, 189, 88, 0.45);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.98),
    0 0 0 1px rgba(255,255,255,0.1),
    0 0 45px rgba(197,34,42,0.4),
    inset 0 0 30px rgba(0,0,0,0.65);
  transition: transform .4s cubic-bezier(.2,0,0,1), box-shadow .4s cubic-bezier(.2,0,0,1);
}

.sd-hw-video-frame:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow:
    0 36px 90px rgba(0,0,0,0.99),
    0 0 0 1px rgba(245,189,88,0.6),
    0 0 60px rgba(240,40,47,0.65),
    inset 0 0 30px rgba(0,0,0,0.65);
}

/* Subtle Glass Shimmer Sweep */
.sd-hw-video-glare {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 100%);
  z-index: 4;
  pointer-events: none;
}

/* Camera Viewfinder Corner Brackets */
.sd-hw-frame-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--hw-gold-bright);
  border-style: solid;
  z-index: 4;
  pointer-events: none;
  opacity: 0.85;
}
.sd-hw-corner-tl {
  top: 14px;
  left: 14px;
  border-width: 2px 0 0 2px;
}
.sd-hw-corner-tr {
  top: 14px;
  right: 14px;
  border-width: 2px 2px 0 0;
}
.sd-hw-corner-bl {
  bottom: 14px;
  left: 14px;
  border-width: 0 0 2px 2px;
}
.sd-hw-corner-br {
  bottom: 14px;
  right: 14px;
  border-width: 0 2px 2px 0;
}

/* Native Autoplaying Video */
.sundaze-halloween-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #000;
}

/* Fallback Poster Image */
.sd-hw-poster-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 2;
}

/* Card Header Status Pill */
.sd-hw-video-badge {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(8,8,9,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245,189,88,0.35);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--hw-cream);
  text-transform: uppercase;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.8);
  white-space: nowrap;
}

.sd-hw-rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hw-red-glow);
  box-shadow: 0 0 8px var(--hw-red-glow);
  animation: sd-hw-pulse 1.6s infinite ease-in-out;
}

/* ══════════════════════════════════════════════════════════════════════════
   HALLOWEEN MOTION SYSTEM (3-Tier Fog, 12 Embers, Bats, Spiderwebs)
   ══════════════════════════════════════════════════════════════════════════ */

.sd-halloween-active .sd-hw-fog-wrap,
.sd-halloween-active .sd-hw-bats-wrap,
.sd-halloween-active .sd-hw-embers-wrap,
.sd-halloween-active .sd-hw-web,
.sd-halloween-active .sd-hw-web-wrap,
.sd-halloween-active .sd-hw-sec-web,
.sd-halloween-active .sd-hw-spider-dangle,
.sd-halloween-active .sd-hw-ghost-wrap {
  display: block !important;
  pointer-events: none !important;
}

/* A. 3-Tier Billowing Horizon Fog at Hero Bottom */
.sd-hw-fog-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52%;
  overflow: hidden;
  z-index: 3;
  pointer-events: none;
}

.sd-hw-fog {
  position: absolute;
  left: -50%;
  width: 200%;
  height: 100%;
  filter: blur(20px);
}

.sd-hw-fog-1 {
  background:
    radial-gradient(ellipse at 25% 90%, rgba(220, 205, 195, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 75% 85%, rgba(217, 161, 58, 0.08) 0%, transparent 55%),
    linear-gradient(to top, rgba(6,5,6,0.85) 0%, transparent 85%);
  opacity: 0.85;
  animation: sd-hw-fog-drift 32s ease-in-out infinite alternate;
}

.sd-hw-fog-2 {
  bottom: -15px;
  background:
    radial-gradient(ellipse at 65% 90%, rgba(197, 34, 42, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 35% 85%, rgba(237, 133, 50, 0.09) 0%, transparent 55%),
    linear-gradient(to top, rgba(6,5,6,0.7) 0%, transparent 75%);
  opacity: 0.75;
  animation: sd-hw-fog-drift-rev 24s ease-in-out infinite alternate;
}

.sd-hw-fog-3 {
  bottom: -30px;
  background:
    radial-gradient(ellipse at 50% 95%, rgba(245, 235, 220, 0.07) 0%, transparent 65%),
    linear-gradient(to top, rgba(6,5,6,0.95) 0%, transparent 65%);
  opacity: 0.9;
  animation: sd-hw-fog-drift 40s ease-in-out infinite alternate;
}

@keyframes sd-hw-fog-drift {
  0% { transform: translateX(0); }
  100% { transform: translateX(25%); }
}

@keyframes sd-hw-fog-drift-rev {
  0% { transform: translateX(20%); }
  100% { transform: translateX(-5%); }
}

/* B. Bold, Prominent Flying Bats with Flapping Wings & Red Glowing Eyes */
.sd-hw-bats-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 5;
  pointer-events: none;
}

.sd-hw-bat {
  position: absolute;
  filter: drop-shadow(0 0 6px rgba(245, 189, 88, 0.95)) drop-shadow(0 0 14px rgba(240, 40, 47, 0.8)) drop-shadow(0 6px 12px rgba(0,0,0,0.95));
  opacity: 0;
  pointer-events: none;
}

.sd-hw-bat-body {
  width: 100%;
  height: 100%;
  color: #080708;
  transform-origin: center center;
  animation: sd-hw-bat-wing-flap 0.24s ease-in-out infinite alternate;
}

@keyframes sd-hw-bat-wing-flap {
  0% { transform: scaleY(0.4) scaleX(0.98); }
  100% { transform: scaleY(1.1) scaleX(1); }
}

.sd-hw-bat-1 {
  top: 12%;
  left: -80px;
  width: 68px;
  height: 38px;
  animation: sd-hw-bat-flight-1 13s cubic-bezier(.4, 0, .5, 1) infinite;
  animation-delay: 0.5s;
}

.sd-hw-bat-2 {
  top: 24%;
  left: -80px;
  width: 52px;
  height: 30px;
  animation: sd-hw-bat-flight-2 17s cubic-bezier(.35, 0, .45, 1) infinite;
  animation-delay: 3.5s;
}

.sd-hw-bat-3 {
  top: 8%;
  left: -80px;
  width: 78px;
  height: 44px;
  animation: sd-hw-bat-flight-3 15s cubic-bezier(.4, 0, .6, 1) infinite;
  animation-delay: 7s;
}

.sd-hw-bat-4 {
  top: 18%;
  left: -80px;
  width: 58px;
  height: 34px;
  animation: sd-hw-bat-flight-1 14s cubic-bezier(.38, 0, .55, 1) infinite;
  animation-delay: 10s;
}

.sd-hw-bat-5 {
  top: 30%;
  left: -80px;
  width: 64px;
  height: 36px;
  animation: sd-hw-bat-flight-2 18s cubic-bezier(.35, 0, .5, 1) infinite;
  animation-delay: 13s;
}

@keyframes sd-hw-bat-flight-1 {
  0% { transform: translate(-80px, 0) scale(0.7) rotate(10deg); opacity: 0; }
  6% { opacity: 0.98; }
  35% { transform: translate(38vw, -45px) scale(0.92) rotate(-8deg); }
  68% { transform: translate(72vw, 25px) scale(1) rotate(6deg); }
  92% { opacity: 0.98; }
  100% { transform: translate(110vw, -30px) scale(1.05) rotate(-10deg); opacity: 0; }
}

@keyframes sd-hw-bat-flight-2 {
  0% { transform: translate(-80px, 20px) scale(0.65) rotate(-6deg); opacity: 0; }
  8% { opacity: 0.95; }
  45% { transform: translate(48vw, 55px) scale(0.85) rotate(10deg); }
  85% { opacity: 0.95; }
  100% { transform: translate(110vw, -40px) scale(1) rotate(-6deg); opacity: 0; }
}

@keyframes sd-hw-bat-flight-3 {
  0% { transform: translate(-80px, 10px) scale(0.85) rotate(14deg); opacity: 0; }
  5% { opacity: 1; }
  40% { transform: translate(42vw, -60px) scale(1.15) rotate(-10deg); }
  75% { transform: translate(78vw, 15px) scale(1.1) rotate(8deg); }
  94% { opacity: 1; }
  100% { transform: translate(110vw, -10px) scale(1.2) rotate(4deg); opacity: 0; }
}

/* C. 12 Floating Amber & Crimson Embers */
.sd-hw-embers-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 4;
  pointer-events: none;
}

.sd-hw-ember {
  position: absolute;
  bottom: -10px;
  border-radius: 50%;
  pointer-events: none;
  animation: sd-hw-ember-rise linear infinite;
}

.sd-hw-ember-1 { left: 12%; width: 3px; height: 3px; background: #ED8532; box-shadow: 0 0 8px #ED8532; animation-duration: 9s; animation-delay: 0s; }
.sd-hw-ember-2 { left: 24%; width: 4px; height: 4px; background: #F5BD58; box-shadow: 0 0 10px #F5BD58; animation-duration: 12s; animation-delay: 2.5s; }
.sd-hw-ember-3 { left: 38%; width: 2.5px; height: 2.5px; background: #F0282F; box-shadow: 0 0 8px #F0282F; animation-duration: 8s; animation-delay: 4.5s; }
.sd-hw-ember-4 { left: 52%; width: 3.5px; height: 3.5px; background: #ED8532; box-shadow: 0 0 9px #ED8532; animation-duration: 11s; animation-delay: 1.2s; }
.sd-hw-ember-5 { left: 66%; width: 4px; height: 4px; background: #F5BD58; box-shadow: 0 0 10px #F5BD58; animation-duration: 13s; animation-delay: 3.8s; }
.sd-hw-ember-6 { left: 78%; width: 2.5px; height: 2.5px; background: #F0282F; box-shadow: 0 0 8px #F0282F; animation-duration: 7.5s; animation-delay: 6s; }
.sd-hw-ember-7 { left: 88%; width: 3.5px; height: 3.5px; background: #ED8532; box-shadow: 0 0 9px #ED8532; animation-duration: 10s; animation-delay: 5s; }
.sd-hw-ember-8 { left: 18%; width: 3px; height: 3px; background: #F5BD58; box-shadow: 0 0 8px #F5BD58; animation-duration: 11.5s; animation-delay: 7s; }
.sd-hw-ember-9 { left: 45%; width: 2.5px; height: 2.5px; background: #F0282F; box-shadow: 0 0 7px #F0282F; animation-duration: 8.5s; animation-delay: 8.5s; }
.sd-hw-ember-10 { left: 60%; width: 4px; height: 4px; background: #ED8532; box-shadow: 0 0 10px #ED8532; animation-duration: 12.5s; animation-delay: 9.5s; }
.sd-hw-ember-11 { left: 82%; width: 3px; height: 3px; background: #F5BD58; box-shadow: 0 0 8px #F5BD58; animation-duration: 9.5s; animation-delay: 10.5s; }
.sd-hw-ember-12 { left: 94%; width: 2.5px; height: 2.5px; background: #F0282F; box-shadow: 0 0 8px #F0282F; animation-duration: 8s; animation-delay: 3s; }

@keyframes sd-hw-ember-rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  15% { opacity: 0.9; }
  50% { transform: translateY(-45vh) translateX(18px); opacity: 0.7; }
  85% { opacity: 0.4; }
  100% { transform: translateY(-90vh) translateX(-14px); opacity: 0; }
}

/* D. Natural, Translucent Corner Spiderwebs (Seamless Bonding with Atmosphere) */
.sd-hw-web-wrap {
  position: absolute;
  width: clamp(190px, 18vw, 270px);
  height: auto;
  pointer-events: none;
  z-index: 6;
  mix-blend-mode: screen;
  opacity: 0.58;
  transition: opacity .5s ease;
}

.sd-hw-web-tl {
  top: 0;
  left: 0;
}

.sd-hw-web-tr {
  top: 0;
  right: 0;
}

.sd-hw-web-img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.82;
  filter: drop-shadow(0 0 6px rgba(255, 240, 220, 0.18));
}

.sd-hw-web-svg {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.95;
}

/* Dangling Animated Spiders */
.sd-hw-spider-dangle {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 7;
}

.sd-hw-spider-1 {
  left: 120px;
  animation: sd-hw-spider-swing-1 6s ease-in-out infinite alternate;
}

.sd-hw-spider-2 {
  left: 140px;
  animation: sd-hw-spider-swing-2 7.5s ease-in-out infinite alternate;
}

.sd-hw-spider-thread {
  width: 1.5px;
  height: 85px;
  background: linear-gradient(180deg, rgba(248, 237, 218, 0.85) 0%, rgba(245, 189, 88, 1) 100%);
  box-shadow: 0 0 6px rgba(245, 189, 88, 0.8);
  transform-origin: top center;
}

.sd-hw-spider-icon {
  width: 28px;
  height: 28px;
  color: #141012;
  filter: drop-shadow(0 0 5px rgba(240, 40, 47, 0.9)) drop-shadow(0 0 12px rgba(245, 189, 88, 0.7));
  margin-top: -2px;
}

@keyframes sd-hw-spider-swing-1 {
  0% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(22px) rotate(6deg); }
  100% { transform: translateY(10px) rotate(-5deg); }
}

@keyframes sd-hw-spider-swing-2 {
  0% { transform: translateY(12px) rotate(7deg); }
  50% { transform: translateY(-8px) rotate(-6deg); }
  100% { transform: translateY(18px) rotate(4deg); }
}

/* E. 3D Animated Floating Ghost (Setan Melayang) */
.sd-hw-ghost-wrap {
  position: absolute;
  pointer-events: none;
  z-index: 7;
}

.sd-hw-ghost-hero {
  top: 7%;
  right: 4%;
  width: 105px;
  animation: sd-hw-ghost-float 7s ease-in-out infinite alternate;
  pointer-events: none !important;
}

.sd-hw-ghost-img {
  width: 100%;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 22px 32px rgba(0, 0, 0, 0.95))
    drop-shadow(0 0 25px rgba(245, 240, 233, 0.45))
    drop-shadow(0 0 45px rgba(240, 40, 47, 0.35));
}

@keyframes sd-hw-ghost-float {
  0% {
    transform: translate(0, 0) rotate(-3deg) scale(0.96);
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.85)) drop-shadow(0 0 18px rgba(245, 240, 233, 0.35));
  }
  35% {
    transform: translate(8px, -14px) rotate(2deg) scale(1.02);
    filter: drop-shadow(0 22px 32px rgba(0,0,0,0.75)) drop-shadow(0 0 28px rgba(240, 40, 47, 0.45));
  }
  70% {
    transform: translate(-6px, -20px) rotate(-2deg) scale(1.03);
    filter: drop-shadow(0 26px 36px rgba(0,0,0,0.7)) drop-shadow(0 0 30px rgba(245, 189, 88, 0.45));
  }
  100% {
    transform: translate(2px, -6px) rotate(3deg) scale(1);
    filter: drop-shadow(0 18px 26px rgba(0,0,0,0.8)) drop-shadow(0 0 20px rgba(245, 240, 233, 0.38));
  }
}

/* F. High-Fidelity Varied Section Spiderwebs (Cobwebs in Section Corners) */
.sd-hw-sec-web {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
  opacity: 0.46;
  transition: opacity .5s ease, transform .5s ease;
  filter: drop-shadow(0 0 5px rgba(255, 245, 230, 0.14));
}

.sd-hw-sec-web:hover {
  opacity: 0.62;
}

.sd-hw-sec-web-tl {
  top: 0;
  left: 0;
  width: clamp(130px, 14vw, 220px);
  height: auto;
}

.sd-hw-sec-web-tr {
  top: 0;
  right: 0;
  width: clamp(130px, 14vw, 220px);
  height: auto;
}

.sd-hw-sec-web-bl {
  bottom: 0;
  left: 0;
  width: clamp(130px, 14vw, 220px);
  height: auto;
}

.sd-hw-sec-web-br {
  bottom: 0;
  right: 0;
  width: clamp(130px, 14vw, 220px);
  height: auto;
}

.sd-hw-sec-web-top {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(200px, 28vw, 380px);
  height: auto;
  opacity: 0.42;
}

/* Reservation Book Card Specific Corner Webs */
.sd-hw-sec-web-book-tr {
  top: 0;
  right: 0;
  width: clamp(90px, 14vw, 160px);
  height: auto;
  opacity: 0.48;
}

.sd-hw-sec-web-book-bl {
  bottom: 0;
  left: 0;
  width: clamp(85px, 13vw, 140px);
  height: auto;
  opacity: 0.42;
}

.sd-hw-section-web-right {
  top: 0;
  right: 0;
  width: 160px;
  height: 160px;
  transform: scaleX(-1);
  color: #F8EDDA;
  filter: drop-shadow(0 0 6px rgba(245, 189, 88, 0.65));
  opacity: 0.85;
}

/* ══════════════════════════════════════════════════════════════════════════
   SECTION-WIDE POLISH & ENVIRONMENTAL CONTINUITY
   ══════════════════════════════════════════════════════════════════════════ */

/* Vibe Ribbon */
.sd-halloween-active .sd-vibe {
  background: linear-gradient(90deg, #070607 0%, #170d10 50%, #070607 100%) !important;
  border-top: 1px solid rgba(197,34,42,0.35) !important;
  border-bottom: 1px solid rgba(245,189,88,0.2) !important;
  box-shadow: 0 0 25px rgba(110,15,22,0.3) !important;
}

.sd-halloween-active .sd-vibe .dot {
  background: var(--hw-red-glow) !important;
  box-shadow: 0 0 8px var(--hw-red-glow) !important;
}

/* About / Our Story Section */
.sd-halloween-active .sd-about {
  background: radial-gradient(circle 600px at 15% 30%, rgba(110,15,22,0.20) 0%, transparent 65%), #0c0a0c !important;
}

.sd-halloween-active .sd-about-frame {
  border-color: rgba(245,189,88,0.35) !important;
}

.sd-halloween-active .sd-about-float {
  background: rgba(20, 16, 18, 0.95) !important;
  border-color: rgba(197,34,42,0.4) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px rgba(110,15,22,0.35) !important;
}

.sd-halloween-active .sd-pillar {
  background: rgba(18, 14, 16, 0.85) !important;
  border-color: rgba(255,255,255,0.06) !important;
  border-left-color: var(--hw-red-primary) !important;
  transition: all .3s ease !important;
}
.sd-halloween-active .sd-pillar:hover {
  background: rgba(26, 19, 22, 0.95) !important;
  border-color: rgba(197,34,42,0.35) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6) !important;
}

/* Atmosphere / Gallery Section (Our Space) with Blurred Custom Background */
.sd-halloween-active .sd-atmosphere {
  position: relative !important;
  overflow: hidden !important;
  background: #080708 !important;
}

.sd-halloween-active .sd-atmosphere::before {
  content: '' !important;
  position: absolute !important;
  inset: -25px !important;
  background:
    linear-gradient(180deg, rgba(8,7,8,0.70) 0%, rgba(8,7,8,0.40) 50%, rgba(8,7,8,0.75) 100%),
    url('../assets/sundaze/halloween-2026/section_ourspace.jpg') center/cover no-repeat !important;
  filter: blur(10px) !important;
  -webkit-filter: blur(10px) !important;
  opacity: 0.72 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  transform: scale(1.06) !important;
}

.sd-halloween-active .sd-atmosphere > .container {
  position: relative !important;
  z-index: 1 !important;
}

.sd-halloween-active .sd-atm-cell:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.9), 0 0 30px rgba(197,34,42,0.25) !important;
}

.sd-halloween-active .sd-atm-label {
  border-color: rgba(245,189,88,0.25) !important;
  background: rgba(11,9,10,0.7) !important;
}

/* Menu Section (Featured Menu) with Blurred Custom Background */
.sd-halloween-active .sd-menu {
  position: relative !important;
  overflow: hidden !important;
  background: #060506 !important;
}

.sd-halloween-active .sd-menu::before {
  content: '' !important;
  position: absolute !important;
  inset: -25px !important;
  background:
    linear-gradient(180deg, rgba(6,5,6,0.72) 0%, rgba(6,5,6,0.44) 50%, rgba(6,5,6,0.78) 100%),
    url('../assets/sundaze/halloween-2026/section_ourfeature.jpg') center/cover no-repeat !important;
  filter: blur(11px) !important;
  -webkit-filter: blur(11px) !important;
  opacity: 0.68 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  transform: scale(1.06) !important;
}

.sd-halloween-active .sd-menu > .container {
  position: relative !important;
  z-index: 1 !important;
}

.sd-halloween-active .sd-menu-tabs {
  background: rgba(18, 14, 16, 0.9) !important;
  border-color: rgba(245,189,88,0.2) !important;
}

.sd-halloween-active .sd-tab.active {
  background: linear-gradient(135deg, var(--hw-red-primary) 0%, #8E161C 100%) !important;
  color: var(--hw-white) !important;
  box-shadow: 0 4px 16px var(--hw-glow-red) !important;
}

.sd-halloween-active .sd-menu-card {
  background: rgba(18, 14, 16, 0.9) !important;
  border-color: rgba(255,255,255,0.06) !important;
}
.sd-halloween-active .sd-menu-card:hover {
  border-color: rgba(197,34,42,0.45) !important;
  box-shadow: 0 16px 50px rgba(0,0,0,0.8), 0 0 25px rgba(110,15,22,0.3) !important;
}

/* Seductive Reservation Section */
.sd-halloween-active .sd-book {
  background: radial-gradient(circle 800px at 50% 50%, rgba(138,20,26,0.22) 0%, transparent 68%), #070607 !important;
}

.sd-halloween-active .sd-book-inner {
  background: linear-gradient(135deg, rgba(24, 18, 20, 0.95) 0%, rgba(14, 10, 12, 0.98) 100%) !important;
  border: 1.5px solid rgba(245, 189, 88, 0.45) !important;
  box-shadow:
    0 25px 80px rgba(0,0,0,0.95),
    0 0 50px rgba(197,34,42,0.3),
    inset 0 1px 0 rgba(255,255,255,0.2) !important;
}

.sd-halloween-active .sd-book-btn {
  background: linear-gradient(135deg, var(--hw-red-primary) 0%, #8E161C 100%) !important;
  color: var(--hw-white) !important;
  border: 1px solid rgba(240,40,47,0.5) !important;
  box-shadow: 0 10px 32px var(--hw-glow-red) !important;
  transition: all .35s ease !important;
}
.sd-halloween-active .sd-book-btn:hover {
  background: linear-gradient(135deg, var(--hw-red-glow) 0%, var(--hw-red-primary) 100%) !important;
  box-shadow: 0 14px 44px rgba(240,40,47,0.8) !important;
  transform: translateY(-2px);
}

/* Closing / Footer */
.sd-halloween-active .sd-footer {
  background: #040304 !important;
  border-top: 1px solid rgba(245,189,88,0.15) !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   ANIMATED POSTER MODAL (Video B: 4.13s Costume Contest Poster)
   ══════════════════════════════════════════════════════════════════════════ */
.sd-hw-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 4, 5, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}

.sd-hw-modal.active {
  display: flex !important;
  opacity: 1;
  visibility: visible;
}

.sd-hw-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(4, 4, 5, 0.88);
  cursor: pointer;
}

.sd-hw-modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  background: #110F10;
  border: 1.5px solid rgba(245,189,88,0.45);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.98),
    0 0 60px rgba(197,34,42,0.45);
  transform: scale(0.95);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}

.sd-hw-modal.active .sd-hw-modal-dialog {
  transform: scale(1);
}

.sd-hw-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(22,18,20,0.98);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sd-hw-modal-title {
  font-family: var(--hw-font-creepy);
  font-size: 1.2rem;
  letter-spacing: .06em;
  color: var(--hw-gold-bright);
}

.sd-hw-modal-close {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--hw-cream);
  font-size: 1.2rem;
  transition: all .2s ease;
  cursor: pointer;
  border: none;
  outline: none;
  z-index: 10;
}
.sd-hw-modal-close:hover {
  background: var(--hw-red-primary);
  color: #fff;
  transform: scale(1.08);
}

.sd-hw-modal-body {
  position: relative;
  aspect-ratio: 9/16;
  width: 100%;
  background: #000;
}

.sd-hw-modal-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sd-hw-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(22,18,20,0.98);
  border-top: 1px solid rgba(255,255,255,0.08);
  gap: 12px;
}

.sd-hw-audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--hw-cream);
  background: rgba(255,255,255,0.08);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all .2s ease;
}
.sd-hw-audio-btn:hover {
  background: rgba(255,255,255,0.16);
}

/* ══════════════════════════════════════════════════════════════════════════
   PULSE & GLOW KEYFRAMES
   ══════════════════════════════════════════════════════════════════════════ */
@keyframes sd-hw-pulse {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.18); }
}

@keyframes sd-hw-glow-breathe {
  0% { opacity: 0.5; filter: blur(22px); transform: scale(0.98); }
  100% { opacity: 0.9; filter: blur(32px); transform: scale(1.02); }
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE LAYOUTS & BREAKPOINTS
   ══════════════════════════════════════════════════════════════════════════ */

/* Tablet & Smaller Desktops */
@media (max-width: 1080px) {
  .sd-halloween-active .sd-hero-halloween {
    gap: 36px;
    grid-template-columns: 1.15fr 0.85fr;
  }
  .sd-hw-video-container {
    max-width: 340px;
  }
}

/* Stacked Layout on Tablet Portrait & Mobile */
@media (max-width: 860px) {
  .sd-halloween-active .sd-hero {
    padding: 76px 0 36px !important;
    min-height: auto !important;
  }

  .sd-halloween-active .sd-hero-halloween {
    grid-template-columns: 1fr !important;
    gap: 36px;
    padding: 16px 20px 24px !important;
    text-align: center;
  }

  .sd-hw-left {
    align-items: center;
  }

  .sd-hw-eyebrow {
    justify-content: center;
  }

  .sd-hw-title {
    align-items: center;
  }
  .sd-hw-title-top {
    transform: none;
    font-size: clamp(3rem, 11.5vw, 4.4rem);
  }
  .sd-hw-title-bot {
    transform: none;
    font-size: clamp(2.2rem, 8.8vw, 3.4rem);
  }

  .sd-hw-details {
    align-items: center;
  }

  .sd-hw-meta-row {
    justify-content: center;
  }

  .sd-hw-prize-container {
    justify-content: center;
  }

  .sd-hw-callout-wrap {
    justify-content: center;
  }

  .sd-hw-actions {
    justify-content: center;
    width: 100%;
  }

  .sd-hw-sub-brand {
    text-align: center;
    max-width: 460px;
  }

  .sd-hw-right {
    width: 100%;
    margin-top: 6px;
  }

  .sd-hw-video-container {
    max-width: 300px;
  }

  .sd-hw-ghost-hero {
    top: 7%;
    right: 4%;
    width: 85px;
  }
}

/* Mobile Screens (<= 600px) */
@media (max-width: 600px) {
  .sd-halloween-active .sd-hero {
    min-height: auto !important;
    padding-top: 72px !important;
    padding-bottom: 28px !important;
  }

  .sd-halloween-active .sd-hero-halloween {
    padding: 14px 16px 20px !important;
    gap: 22px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .sd-hw-eyebrow {
    margin-bottom: 12px;
    gap: 8px;
    justify-content: center;
  }
  .sd-hw-eyebrow-badge {
    padding: 5px 12px;
  }
  .sd-hw-eyebrow-text {
    font-size: .72rem;
    letter-spacing: .16em;
  }
  .sd-hw-eyebrow-sub {
    display: none;
  }

  .sd-hw-title-wrap {
    margin-bottom: 16px;
  }
  .sd-hw-title-top {
    font-size: clamp(2.4rem, 10vw, 3.2rem) !important;
    letter-spacing: .03em;
    transform: none !important;
  }
  .sd-hw-title-bot {
    font-size: clamp(1.45rem, 6.8vw, 1.95rem) !important;
    letter-spacing: .01em;
    transform: none !important;
    white-space: nowrap;
  }

  .sd-hw-details {
    gap: 12px;
    margin-bottom: 16px;
    width: 100%;
  }

  .sd-hw-date-badge {
    font-size: .74rem;
    padding: 6px 14px;
    margin: 0 auto;
  }
  .sd-hw-date-sub {
    display: none;
  }
  .sd-hw-date-sep {
    display: none;
  }

  .sd-hw-motto-tag {
    font-size: .84rem;
  }

  .sd-hw-prize-container {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .sd-hw-prize-card {
    padding: 10px 16px;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
    transform: none;
  }

  .sd-hw-prize-label {
    font-size: .78rem;
  }

  .sd-hw-prize-amount {
    gap: 3px;
    justify-content: center;
  }

  .sd-hw-prize-rp {
    font-size: 1rem;
  }
  .sd-hw-prize-digits {
    font-size: 1.75rem;
    line-height: 1.1;
  }
  .sd-hw-prize-cur {
    font-size: .68rem;
    letter-spacing: .08em;
  }

  .sd-hw-callout-wrap {
    justify-content: center;
    margin-top: 4px;
  }

  .sd-hw-callout-arrow {
    width: 34px;
    height: 20px;
  }

  .sd-hw-callout-text {
    font-size: .95rem;
    letter-spacing: .04em;
    transform: rotate(2deg);
  }

  .sd-hw-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    max-width: 340px;
    margin: 0 auto 18px;
  }

  .sd-hw-btn-book {
    grid-column: 1 / -1;
    min-height: 48px;
    padding: 13px 18px !important;
    font-size: .92rem !important;
    justify-content: center;
  }

  .sd-hw-btn-explore {
    min-height: 44px;
    padding: 11px 14px !important;
    font-size: .84rem !important;
    justify-content: center;
    text-align: center;
  }

  .sd-hw-btn-poster {
    min-height: 44px;
    padding: 11px 12px !important;
    font-size: .84rem !important;
    justify-content: center;
    text-align: center;
  }

  .sd-hw-sub-brand {
    font-size: .8rem;
    line-height: 1.55;
    margin: 0 auto 12px;
    max-width: 320px;
  }

  .sd-hw-video-container {
    max-width: 270px;
    margin: 0 auto;
  }

  .sd-hw-web-wrap {
    width: 130px;
    height: auto;
  }

  .sd-hw-ghost-hero {
    top: 7%;
    right: 3%;
    width: 68px;
  }

  .sd-hw-spider-1 {
    left: 65px;
  }

  .sd-hw-spider-2 {
    left: 75px;
  }

  .sd-hw-spider-thread {
    height: 48px;
  }

  .sd-hw-spider-icon {
    width: 20px;
    height: 20px;
  }

  .sd-hw-bat-1 { width: 46px; height: 26px; }
  .sd-hw-bat-2 { width: 38px; height: 22px; }
  .sd-hw-bat-3 { width: 54px; height: 30px; }
  .sd-hw-bat-4 { width: 40px; height: 24px; }
  .sd-hw-bat-5 { width: 44px; height: 26px; }

  .sd-hw-fog-wrap {
    height: 32%;
  }
}

/* Very Small Mobile (<= 360px) */
@media (max-width: 360px) {
  .sd-hw-web-wrap {
    width: 100px;
    height: auto;
  }

  .sd-hw-ghost-hero {
    top: 6%;
    right: 2%;
    width: 54px;
  }

  .sd-hw-spider-1 {
    left: 50px;
  }

  .sd-hw-spider-2 {
    left: 60px;
  }

  .sd-hw-spider-thread {
    height: 38px;
  }

  .sd-hw-title-top {
    font-size: 2.3rem !important;
  }
  .sd-hw-title-bot {
    font-size: 1.55rem !important;
  }
  .sd-hw-prize-digits {
    font-size: 1.85rem !important;
  }
  .sd-hw-prize-card {
    padding: 10px 16px;
    max-width: 290px;
  }
  .sd-hw-video-container {
    max-width: 240px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   ACCESSIBILITY: REDUCED MOTION PREFERENCE
   ══════════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .sd-hw-fog-1,
  .sd-hw-fog-2,
  .sd-hw-fog-3,
  .sd-hw-bat,
  .sd-hw-bat-body,
  .sd-hw-spider-1,
  .sd-hw-spider-2,
  .sd-hw-ghost-hero,
  .sd-hw-ember,
  .sd-hw-video-glow,
  .sd-hw-rec-dot,
  .sd-hw-date-dot {
    animation: none !important;
  }

  .sd-hw-bats-wrap,
  .sd-hw-embers-wrap {
    display: none !important;
  }

  .sd-hw-video-frame:hover,
  .sd-hw-prize-card:hover {
    transform: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   HALLOWEEN PARTY SPOTLIGHT CARD (Featured Nightmare Poster & Open Gate)
   ══════════════════════════════════════════════════════════════════════════ */
.sd-hw-party-spotlight {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 36px;
  align-items: center;
  background:
    radial-gradient(ellipse at 15% 30%, rgba(197, 34, 42, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 75%, rgba(217, 161, 58, 0.12) 0%, transparent 60%),
    linear-gradient(135deg, rgba(22, 14, 17, 0.96) 0%, rgba(12, 9, 11, 0.98) 100%);
  border: 1.5px solid rgba(245, 189, 88, 0.45);
  border-radius: 24px;
  padding: 32px 36px;
  margin-bottom: 44px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.85),
    0 0 40px rgba(197, 34, 42, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.sd-hw-party-spotlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--hw-gold-bright) 30%, var(--hw-red-primary) 70%, transparent);
}

.sd-hw-spotlight-visual {
  position: relative;
  cursor: pointer;
}

.sd-hw-spotlight-poster-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(245, 189, 88, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 30px rgba(197, 34, 42, 0.35);
  transition: transform .35s cubic-bezier(.2,0,0,1), box-shadow .35s cubic-bezier(.2,0,0,1);
  background: #000;
  aspect-ratio: 9/16;
  max-height: 480px;
}

.sd-hw-spotlight-poster-frame:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.95), 0 0 45px rgba(240, 40, 47, 0.6);
  border-color: var(--hw-gold-bright);
}

.sd-hw-spotlight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sd-hw-spotlight-zoom-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(8, 8, 9, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 189, 88, 0.35);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--hw-cream);
  pointer-events: none;
  white-space: nowrap;
}

.sd-hw-spotlight-info {
  display: flex;
  flex-direction: column;
}

.sd-hw-spotlight-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.sd-hw-spotlight-tag {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  background: rgba(240, 40, 47, 0.25);
  color: #FFA3A7;
  border: 1px solid rgba(240, 40, 47, 0.5);
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.sd-hw-spotlight-contest-pill {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  background: rgba(245, 189, 88, 0.2);
  color: var(--hw-gold-bright);
  border: 1px solid rgba(245, 189, 88, 0.45);
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.sd-hw-spotlight-title {
  font-family: var(--hw-font-creepy);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  letter-spacing: .04em;
  color: var(--hw-white);
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.9), 0 0 24px rgba(197, 34, 42, 0.5);
}

.sd-hw-spotlight-sub {
  font-size: .95rem;
  line-height: 1.6;
  color: rgba(245, 235, 220, 0.85);
  margin-bottom: 22px;
}

.sd-hw-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 26px;
}

.sd-hw-spotlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 8, 10, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
}

.sd-hw-spotlight-opengate {
  background: linear-gradient(135deg, rgba(38, 12, 18, 0.9) 0%, rgba(18, 10, 14, 0.8) 100%);
  border-color: rgba(240, 40, 47, 0.55);
  box-shadow: 0 4px 16px rgba(240, 40, 47, 0.25);
}

.sd-hw-spot-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.sd-hw-spot-meta {
  display: flex;
  flex-direction: column;
}

.sd-hw-spot-lbl {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--hw-gold-bright);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.sd-hw-spot-val {
  font-size: .88rem;
  font-weight: 700;
  color: var(--hw-cream);
}

.sd-hw-spot-highlight {
  color: #4ADE80;
  font-weight: 800;
  letter-spacing: .04em;
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.4);
}

.sd-hw-spot-gold {
  color: var(--hw-gold-bright);
  font-weight: 800;
}

.sd-hw-spotlight-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.sd-hw-spotlight-btn-book {
  padding: 14px 28px;
  font-size: .92rem;
}

.sd-hw-spotlight-btn-view {
  padding: 13px 22px;
  font-size: .88rem;
  cursor: pointer;
}

/* Modal Tabs & Layout Enhancements */
.sd-hw-modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sd-hw-modal-gate-tag {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: #4ADE80;
  text-transform: uppercase;
}

.sd-hw-modal-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #0B0A0C;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px;
  gap: 6px;
}

.sd-hw-mtab {
  background: transparent;
  border: 1px solid transparent;
  color: rgba(245, 235, 220, 0.65);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s ease;
}

.sd-hw-mtab:hover {
  color: var(--hw-white);
  background: rgba(255, 255, 255, 0.05);
}

.sd-hw-mtab.active {
  background: linear-gradient(135deg, rgba(168, 27, 34, 0.85) 0%, rgba(94, 12, 17, 0.85) 100%);
  color: #fff;
  border-color: rgba(245, 189, 88, 0.4);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.sd-hw-modal-panel {
  display: none;
  width: 100%;
  height: 100%;
}

.sd-hw-modal-panel.active {
  display: block;
}

.sd-hw-modal-poster-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}

.sd-hw-modal-footer-info {
  display: flex;
  flex-direction: column;
}

.sd-hw-modal-info-gate {
  font-size: .78rem;
  color: var(--hw-cream);
}

.sd-hw-modal-info-gate strong {
  color: #4ADE80;
  letter-spacing: .02em;
}

.sd-hw-modal-info-date {
  font-size: .68rem;
  color: var(--hw-gold-bright);
  letter-spacing: .08em;
}

.sd-hw-modal-footer-btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 860px) {
  .sd-hw-party-spotlight {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 24px;
  }
  .sd-hw-spotlight-poster-frame {
    max-width: 280px;
    margin: 0 auto;
  }
  .sd-hw-spotlight-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
