/* ══════════════════════════════════════════════════════════════════════════════
   SMARTIFY TECH — HALLOWEEN SPOOKTACULAR CYBERPUNK EDITION
   Interactive Pumpkins, Vampire Bats, Glowing Spirits, Cobwebs & Trick-or-Treat
   ══════════════════════════════════════════════════════════════════════════════ */

:root {
  --spooky-orange: #ff7700;
  --spooky-amber: #ffaa00;
  --spooky-purple: #a855f7;
  --spooky-violet: #7c3aed;
  --spooky-blood: #ff0055;
  --spooky-glow: 0 0 20px rgba(255, 119, 0, 0.6), 0 0 40px rgba(168, 85, 247, 0.35);
  --spooky-web-stroke: rgba(255, 255, 255, 0.45);
  --spooky-thread: rgba(255, 255, 255, 0.35);
}

[data-theme="light"] {
  --spooky-orange: #ea580c;
  --spooky-amber: #d97706;
  --spooky-purple: #7c3aed;
  --spooky-violet: #6d28d9;
  --spooky-blood: #dc2626;
  --spooky-glow: 0 0 16px rgba(234, 88, 12, 0.35), 0 0 32px rgba(124, 58, 237, 0.2);
  --spooky-web-stroke: rgba(71, 85, 105, 0.55);
  --spooky-thread: rgba(71, 85, 105, 0.5);
}

/* ════════════════════════════════════════════════════════════
   1. CORNER COBWEBS & SWINGING SPIDERS
   ════════════════════════════════════════════════════════════ */
.spooky-cobweb-left,
.spooky-cobweb-right {
  position: fixed;
  top: 0;
  width: 140px;
  height: 140px;
  pointer-events: none;
  z-index: 1001;
  opacity: 0.65;
  transition: opacity 0.3s ease;
}

.spooky-cobweb-left svg,
.spooky-cobweb-right svg {
  color: var(--spooky-web-stroke);
  transition: color 0.3s ease, filter 0.3s ease;
}

.spooky-cobweb-left {
  left: 0;
}

.spooky-cobweb-right {
  right: 0;
  transform: scaleX(-1);
}

.spooky-spider-wrap {
  position: absolute;
  top: 75px;
  left: 45px;
  transform-origin: top center;
  animation: spiderSwing 4s ease-in-out infinite alternate;
  pointer-events: auto;
  cursor: pointer;
}

.spooky-spider-thread {
  width: 1px;
  height: 35px;
  background: var(--spooky-thread);
  margin: 0 auto;
  transition: background 0.3s ease;
}

.spooky-spider {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 0 6px var(--spooky-purple));
  transition: transform 0.2s ease;
}

.spooky-spider-wrap:hover .spooky-spider {
  transform: scale(1.3) rotate(15deg);
  filter: drop-shadow(0 0 10px var(--spooky-orange));
}

@keyframes spiderSwing {
  0% { transform: rotate(-12deg); }
  100% { transform: rotate(14deg); }
}

@media (max-width: 600px) {
  .spooky-cobweb-left,
  .spooky-cobweb-right {
    width: 90px;
    height: 90px;
    opacity: 0.45;
  }
}

/* ════════════════════════════════════════════════════════════
   2. FLYING VAMPIRE BATS SYSTEM
   ════════════════════════════════════════════════════════════ */
.spooky-bat-sky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 996;
  overflow: hidden;
}

.spooky-bat {
  position: absolute;
  pointer-events: none;
  will-change: transform, left, top;
}

.spooky-bat svg {
  width: 100%;
  height: 100%;
  fill: #0c0918;
  stroke: var(--spooky-purple);
  stroke-width: 0.6;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.45));
}

.spooky-bat .wing-left,
.spooky-bat .wing-right {
  transform-origin: center;
  animation: batFlap 0.22s ease-in-out infinite alternate;
}

.spooky-bat .wing-right {
  animation-delay: 0.03s;
}

@keyframes batFlap {
  0% { transform: scaleY(1) rotate(0deg); }
  100% { transform: scaleY(-0.6) rotate(-15deg); }
}

/* Preset ambient flight paths */
.spooky-bat-1 {
  width: 44px;
  height: 26px;
  top: 15%;
  left: -80px;
  animation: flyBat1 18s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.spooky-bat-2 {
  width: 34px;
  height: 20px;
  top: 28%;
  left: -80px;
  animation: flyBat2 24s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  animation-delay: 6s;
}

.spooky-bat-3 {
  width: 52px;
  height: 30px;
  top: 45%;
  right: -80px;
  animation: flyBat3 21s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  animation-delay: 11s;
}

@keyframes flyBat1 {
  0% {
    left: -80px;
    top: 15%;
    transform: scaleX(1) translateY(0);
  }
  25% {
    top: 25%;
    transform: scaleX(1) translateY(-20px) rotate(10deg);
  }
  50% {
    left: 55%;
    top: 10%;
    transform: scaleX(1) translateY(15px) rotate(-8deg);
  }
  75% {
    left: 85%;
    top: 22%;
    transform: scaleX(1) translateY(-10px) rotate(5deg);
  }
  100% {
    left: 110%;
    top: 12%;
    transform: scaleX(1) translateY(0);
  }
}

@keyframes flyBat2 {
  0% {
    left: -80px;
    top: 32%;
    transform: scaleX(1) translateY(0);
  }
  30% {
    top: 20%;
    transform: scaleX(1) translateY(10px) rotate(-12deg);
  }
  70% {
    left: 65%;
    top: 38%;
    transform: scaleX(1) translateY(-15px) rotate(14deg);
  }
  100% {
    left: 110%;
    top: 24%;
    transform: scaleX(1) translateY(0);
  }
}

@keyframes flyBat3 {
  0% {
    right: -80px;
    top: 45%;
    transform: scaleX(-1) translateY(0);
  }
  40% {
    top: 35%;
    transform: scaleX(-1) translateY(-25px) rotate(-10deg);
  }
  80% {
    right: 75%;
    top: 48%;
    transform: scaleX(-1) translateY(15px) rotate(12deg);
  }
  100% {
    right: 110%;
    top: 38%;
    transform: scaleX(-1) translateY(0);
  }
}

/* Click Burst Bats */
.spooky-burst-bat {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  width: 28px;
  height: 18px;
  animation: burstBatFloat 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.spooky-burst-bat svg {
  width: 100%;
  height: 100%;
  fill: #05040a;
  stroke: var(--spooky-orange);
  stroke-width: 0.8;
  filter: drop-shadow(0 0 10px var(--spooky-orange));
}

@keyframes burstBatFloat {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(0.6);
  }
  100% {
    opacity: 0;
    transform: translate(var(--burst-x, 60px), var(--burst-y, -120px)) scale(1.4) rotate(var(--burst-rot, 25deg));
  }
}

/* ════════════════════════════════════════════════════════════
   3. GHOSTLY EMBERS & MYSTICAL SPIRIT WISPS
   ════════════════════════════════════════════════════════════ */
.spooky-embers-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.7;
}

/* ════════════════════════════════════════════════════════════
   4. FLOATING CYBER JACK-O'-LANTERN MASCOT ("SPOOKY BOT")
   ════════════════════════════════════════════════════════════ */
.spooky-mascot-container {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.spooky-mascot-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  display: block;
  outline: none;
  animation: spookyFloat 3.5s ease-in-out infinite alternate;
}

.spooky-mascot-btn:hover {
  animation: spookyShake 0.4s ease-in-out infinite alternate;
}

@keyframes spookyFloat {
  0% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
  100% { transform: translateY(0) rotate(-2deg); }
}

@keyframes spookyShake {
  0% { transform: translateY(-4px) rotate(-6deg) scale(1.08); }
  100% { transform: translateY(-4px) rotate(6deg) scale(1.08); }
}

.spooky-mascot-svg {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 0 15px rgba(255, 119, 0, 0.65)) drop-shadow(0 0 30px rgba(168, 85, 247, 0.4));
  transition: transform 0.25s ease;
}

.spooky-mascot-glow-eyes {
  animation: pumpkinFlicker 2s ease-in-out infinite;
}

@keyframes pumpkinFlicker {
  0%, 100% { opacity: 0.95; filter: drop-shadow(0 0 10px #ffea00); }
  25% { opacity: 0.6; filter: drop-shadow(0 0 4px #ff5500); }
  50% { opacity: 1; filter: drop-shadow(0 0 14px #ffaa00); }
  75% { opacity: 0.75; filter: drop-shadow(0 0 6px #ff7700); }
}

/* Tooltip Dialog Bubble */
.spooky-mascot-tooltip {
  position: absolute;
  bottom: 84px;
  left: 0;
  background: rgba(11, 9, 25, 0.94);
  border: 1px solid var(--spooky-orange);
  border-radius: 20px;
  padding: 8px 14px;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 119, 0, 0.45), 0 8px 25px rgba(0,0,0,0.8);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 6px;
}

.spooky-mascot-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 28px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--spooky-orange);
}

.spooky-mascot-container:hover .spooky-mascot-tooltip {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 600px) {
  .spooky-mascot-container {
    bottom: 18px;
    left: 15px;
  }
  .spooky-mascot-svg {
    width: 54px;
    height: 54px;
  }
  .spooky-mascot-tooltip {
    font-size: 0.7rem;
    padding: 6px 10px;
    bottom: 64px;
  }
}

/* ════════════════════════════════════════════════════════════
   5. SPOOKY MODE HEADER TOGGLE BUTTON
   ════════════════════════════════════════════════════════════ */
.spooky-mode-toggle {
  background: rgba(255, 119, 0, 0.12);
  border: 1px solid var(--spooky-orange);
  color: var(--spooky-amber);
  border-radius: 20px;
  padding: 6px 14px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 0 12px rgba(255, 119, 0, 0.25);
  text-decoration: none;
}

.spooky-mode-toggle:hover {
  background: var(--spooky-orange);
  color: #000;
  box-shadow: 0 0 20px rgba(255, 119, 0, 0.7);
  transform: translateY(-1px);
}

.spooky-mode-toggle.active {
  background: linear-gradient(135deg, rgba(255, 119, 0, 0.25), rgba(168, 85, 247, 0.25));
  border-color: var(--spooky-amber);
  color: #fff;
}

.spooky-mode-toggle .spooky-icon {
  font-size: 0.95rem;
  display: inline-block;
  animation: pumpkinSpin 6s ease-in-out infinite;
}

@keyframes pumpkinSpin {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

/* ════════════════════════════════════════════════════════════
   6. HALLOWEEN TRICK OR TREAT POPUP MODAL
   ════════════════════════════════════════════════════════════ */
.spooky-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 3, 10, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10005;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.spooky-modal-card {
  background: radial-gradient(circle at top, #1c0e2e 0%, #080612 100%);
  border: 2px solid var(--spooky-orange);
  box-shadow: 0 0 50px rgba(255, 119, 0, 0.4), 0 0 100px rgba(168, 85, 247, 0.25), 0 25px 60px rgba(0,0,0,0.9);
  border-radius: 22px;
  max-width: 490px;
  width: 100%;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  max-height: 92vh;
}


/* Dedicated Festive Halloween Message Banner */
.spooky-message-banner {
  background: linear-gradient(135deg, rgba(255, 119, 0, 0.12) 0%, rgba(168, 85, 247, 0.16) 100%);
  border: 1px solid rgba(255, 119, 0, 0.45);
  box-shadow: 0 0 20px rgba(255, 119, 0, 0.15), inset 0 0 15px rgba(168, 85, 247, 0.1);
  border-radius: 14px;
  padding: 12px 16px;
  margin: 10px 0 12px;
  text-align: center;
  position: relative;
}

.spooky-msg-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--spooky-amber);
  text-transform: uppercase;
  margin-bottom: 5px;
}

.spooky-msg-body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.88rem;
  color: #f1f5f9;
  line-height: 1.48;
  margin: 0 0 4px 0;
  font-style: italic;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.spooky-msg-author {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #c084fc;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.spooky-modal-overlay.open .spooky-modal-card {
  transform: scale(1) translateY(0);
}

.spooky-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-subtle);
  color: #94a3b8;
  font-size: 1.3rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.spooky-modal-close:hover {
  background: var(--spooky-blood);
  color: #fff;
  border-color: var(--spooky-blood);
  transform: rotate(90deg);
}


/* ════════════════════════════════════════════════════════════
   7. SEASONAL STOREFRONT ACCENTS (PUMPKINS ON BADGES & NAVBAR)
   ════════════════════════════════════════════════════════════ */
.halloween-active .velaris-pill-badge {
  border-color: var(--spooky-orange) !important;
  box-shadow: 0 0 15px rgba(255, 119, 0, 0.35) !important;
}

.halloween-active .velaris-badge-text {
  color: var(--spooky-amber) !important;
}

.halloween-active .velaris-title-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #ff8800 45%, #a855f7 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 0 35px rgba(255, 136, 0, 0.45));
}

.halloween-active .flash-deals-header-wrap {
  border-color: rgba(255, 119, 0, 0.4) !important;
  box-shadow: 0 0 30px rgba(255, 119, 0, 0.25) !important;
}

.halloween-active .flash-clock-segment {
  border-color: var(--spooky-orange) !important;
  color: var(--spooky-amber) !important;
  box-shadow: 0 0 15px rgba(255, 119, 0, 0.3) !important;
}

/* Spooky pumpkin on navbar logo */
.spooky-logo-pumpkin {
  display: inline-block;
  margin-left: 6px;
  font-size: 1.15rem;
  animation: pumpkinBob 2s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 8px rgba(255, 119, 0, 0.8));
  vertical-align: middle;
}

@keyframes pumpkinBob {
  0% { transform: translateY(0) rotate(-6deg); }
  100% { transform: translateY(-3px) rotate(6deg); }
}

/* Body Spooky Vignette Overlay */
body.halloween-active::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle at center, transparent 65%, rgba(168, 85, 247, 0.08) 85%, rgba(255, 119, 0, 0.12) 100%);
}

/* ════════════════════════════════════════════════════════════
   8. HANGING SLEEPING BATS UNDER MAIN NAVBAR
   ════════════════════════════════════════════════════════════ */
.spooky-hanging-bats-bar {
  position: fixed;
  top: 62px;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 998;
  display: flex;
  justify-content: space-around;
  padding: 0 10%;
}

.spooky-roost-bat {
  pointer-events: auto;
  cursor: pointer;
  width: 28px;
  height: 38px;
  transform-origin: top center;
  animation: batRoostSway 4s ease-in-out infinite alternate;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.spooky-roost-bat:nth-child(2) {
  animation-delay: 1.2s;
}
.spooky-roost-bat:nth-child(3) {
  animation-delay: 2.1s;
}

.spooky-roost-bat svg {
  width: 100%;
  height: 100%;
  fill: #0d0a1a;
  stroke: var(--spooky-purple);
  stroke-width: 0.8;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.8));
}

@keyframes batRoostSway {
  0% { transform: rotate(-5deg); }
  100% { transform: rotate(5deg); }
}

.spooky-roost-bat:hover {
  transform: scale(1.25) rotate(-15deg);
}

.spooky-roost-bat.swooped {
  animation: batSwoopOff 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  pointer-events: none;
}

@keyframes batSwoopOff {
  0% { transform: scale(1) translateY(0) rotate(0deg); opacity: 1; }
  30% { transform: scale(1.6) translateY(40px) rotate(-180deg); }
  100% { transform: scale(2.2) translate(300px, -200px) rotate(-360deg); opacity: 0; }
}

/* ════════════════════════════════════════════════════════════
   10. FLOATING CYBER GHOST APPARITION
   ════════════════════════════════════════════════════════════ */
.spooky-ghost-container {
  position: fixed;
  pointer-events: auto;
  cursor: pointer;
  z-index: 997;
  width: 55px;
  height: 65px;
  animation: ghostDrift 32s linear infinite;
}

.spooky-ghost-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 16px rgba(0, 240, 255, 0.75)) drop-shadow(0 0 30px rgba(168, 85, 247, 0.5));
  animation: ghostBob 3s ease-in-out infinite alternate;
}

@keyframes ghostBob {
  0% { transform: translateY(0) rotate(-4deg); opacity: 0.8; }
  50% { transform: translateY(-12px) rotate(4deg); opacity: 0.95; }
  100% { transform: translateY(0) rotate(-4deg); opacity: 0.8; }
}

@keyframes ghostDrift {
  0% {
    left: -70px;
    top: 60%;
  }
  25% {
    top: 40%;
  }
  50% {
    left: 50%;
    top: 55%;
  }
  75% {
    top: 30%;
  }
  100% {
    left: 110%;
    top: 45%;
  }
}

.spooky-ghost-dissolve {
  animation: ghostVanish 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  pointer-events: none;
}

@keyframes ghostVanish {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.6) rotate(20deg); filter: drop-shadow(0 0 30px #00f0ff); opacity: 0.5; }
  100% { transform: scale(0) rotate(40deg); opacity: 0; }
}

/* ════════════════════════════════════════════════════════════
   10. CYBER SKULL LANTERN
   ════════════════════════════════════════════════════════════ */

.spooky-skull-wrap {
  position: fixed;
  top: 140px;
  right: 18px;
  width: 40px;
  height: 46px;
  z-index: 999;
  cursor: pointer;
  animation: skullFloat 4s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.65));
}

.spooky-skull-wrap:hover {
  transform: scale(1.25) rotate(-10deg);
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.9));
}

@keyframes skullFloat {
  0% { transform: translateY(0) rotate(-3deg); }
  100% { transform: translateY(-10px) rotate(4deg); }
}

/* ════════════════════════════════════════════════════════════
   12. ATMOSPHERIC LIGHTNING STORM OVERLAY
   ════════════════════════════════════════════════════════════ */
.spooky-lightning-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 99999;
  background: rgba(220, 235, 255, 0.25);
  opacity: 0;
  mix-blend-mode: screen;
}

.spooky-lightning-flash {
  animation: lightningStrike 0.45s ease-out;
}

@keyframes lightningStrike {
  0% { opacity: 0; }
  10% { opacity: 0.9; }
  20% { opacity: 0.2; }
  35% { opacity: 1; }
  55% { opacity: 0.3; }
  75% { opacity: 0.8; }
  100% { opacity: 0; }
}


.spooky-audio-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  border-radius: 14px;
  padding: 3px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.spooky-audio-toggle:hover {
  background: rgba(255, 119, 0, 0.2);
  border-color: var(--spooky-orange);
  color: #fff;
}

/* ════════════════════════════════════════════════════════════════
   13. LIGHT THEME DYNAMIC RESPONSIVENESS ([data-theme="light"])
   ════════════════════════════════════════════════════════════════ */
[data-theme="light"] .spooky-cobweb-left,
[data-theme="light"] .spooky-cobweb-right {
  opacity: 0.75;
}

[data-theme="light"] .spooky-cobweb-left svg,
[data-theme="light"] .spooky-cobweb-right svg {
  color: var(--spooky-web-stroke);
  filter: drop-shadow(0 0 2px rgba(124, 58, 237, 0.15));
}

[data-theme="light"] .spooky-spider-thread {
  background: var(--spooky-thread);
}

[data-theme="light"] .spooky-spider {
  filter: drop-shadow(0 2px 6px rgba(109, 40, 217, 0.45));
}

[data-theme="light"] .spooky-bat svg {
  fill: #1e1b4b !important;
  stroke: #c2410c !important;
  stroke-width: 0.8 !important;
  filter: drop-shadow(0 3px 6px rgba(15, 23, 42, 0.22)) !important;
}

[data-theme="light"] .spooky-roost-bat svg {
  fill: #1e1b4b !important;
  stroke: #ea580c !important;
  stroke-width: 1 !important;
  filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.25)) !important;
}

[data-theme="light"] .spooky-burst-bat svg {
  fill: #1e1b4b !important;
  stroke: #ea580c !important;
  stroke-width: 1 !important;
  filter: drop-shadow(0 2px 8px rgba(234, 88, 12, 0.4)) !important;
}

[data-theme="light"] .spooky-mascot-svg {
  filter: drop-shadow(0 4px 16px rgba(234, 88, 12, 0.45)) drop-shadow(0 2px 6px rgba(124, 58, 237, 0.25));
}

[data-theme="light"] .spooky-mascot-tooltip {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #ea580c !important;
  box-shadow: 0 10px 25px rgba(234, 88, 12, 0.22), 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .spooky-mascot-tooltip::after {
  border-top-color: #ea580c !important;
}

[data-theme="light"] .spooky-mode-toggle {
  background: rgba(234, 88, 12, 0.08) !important;
  border-color: #ea580c !important;
  color: #c2410c !important;
  box-shadow: 0 1px 6px rgba(234, 88, 12, 0.15) !important;
}

[data-theme="light"] .spooky-mode-toggle:hover {
  background: #ea580c !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.35) !important;
}

[data-theme="light"] .spooky-mode-toggle.active {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.16), rgba(124, 58, 237, 0.16)) !important;
  border-color: #ea580c !important;
  color: #9a3412 !important;
}

[data-theme="light"] .spooky-modal-overlay {
  background: rgba(15, 23, 42, 0.68) !important;
}

[data-theme="light"] .spooky-modal-card {
  background: #ffffff !important;
  border: 2px solid #ea580c !important;
  box-shadow: 0 25px 60px rgba(234, 88, 12, 0.25), 0 10px 30px rgba(15, 23, 42, 0.15) !important;
  color: #0f172a !important;
}

[data-theme="light"] .spooky-modal-title,
[data-theme="light"] .spooky-modal-card h3 {
  color: #0f172a !important;
  text-shadow: 0 2px 10px rgba(234, 88, 12, 0.25) !important;
}

[data-theme="light"] .spooky-message-banner {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.85) 0%, rgba(243, 232, 255, 0.85) 100%) !important;
  border-color: rgba(234, 88, 12, 0.35) !important;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.08), inset 0 0 15px rgba(234, 88, 12, 0.05) !important;
}

[data-theme="light"] .spooky-msg-tag {
  color: #c2410c !important;
}

[data-theme="light"] .spooky-msg-body {
  color: #1e293b !important;
  text-shadow: none !important;
  font-weight: 500 !important;
}

[data-theme="light"] .spooky-msg-author {
  color: #6d28d9 !important;
}

[data-theme="light"] .spooky-modal-close {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
}

[data-theme="light"] .spooky-modal-close:hover {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
  color: #ffffff !important;
}

[data-theme="light"] .spooky-ghost-svg {
  filter: drop-shadow(0 4px 16px rgba(109, 40, 217, 0.35)) drop-shadow(0 2px 6px rgba(2, 132, 199, 0.3)) !important;
}

[data-theme="light"] .spooky-ghost-svg path {
  stroke: #6366f1 !important;
  stroke-width: 1.2px;
}

[data-theme="light"] .spooky-skull-wrap {
  filter: drop-shadow(0 4px 12px rgba(124, 58, 237, 0.35)) !important;
}

[data-theme="light"] .spooky-skull-wrap svg path {
  fill: #1e1b4b !important;
  stroke: #7c3aed !important;
}

[data-theme="light"] .halloween-active .velaris-pill-badge {
  border-color: #ea580c !important;
  box-shadow: 0 0 15px rgba(234, 88, 12, 0.3) !important;
}

[data-theme="light"] .halloween-active .velaris-badge-text {
  color: #ea580c !important;
}

[data-theme="light"] .halloween-active .flash-deals-header-wrap {
  border-color: rgba(234, 88, 12, 0.4) !important;
  box-shadow: 0 0 25px rgba(234, 88, 12, 0.15) !important;
}

[data-theme="light"] .halloween-active .flash-clock-segment {
  border-color: #ea580c !important;
  color: #c2410c !important;
}

[data-theme="light"] body.halloween-active::before {
  background: radial-gradient(circle at center, transparent 70%, rgba(249, 115, 22, 0.05) 88%, rgba(168, 85, 247, 0.06) 100%) !important;
}

[data-theme="light"] .spooky-audio-toggle {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}

[data-theme="light"] .spooky-audio-toggle:hover {
  background: rgba(234, 88, 12, 0.12) !important;
  border-color: #ea580c !important;
  color: #c2410c !important;
}

/* ════════════════════════════════════════════════════════════════
   14. COMPREHENSIVE RESPONSIVE ADAPTATION (Mobile & Tablet)
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .spooky-cobweb-left,
  .spooky-cobweb-right {
    width: 85px;
    height: 85px;
    opacity: 0.55;
  }
  .spooky-spider-wrap {
    top: 48px;
    left: 28px;
  }
  .spooky-hanging-bats-bar {
    top: 54px;
    padding: 0 6%;
  }
  .spooky-roost-bat:nth-child(3) {
    display: none;
  }
  .spooky-mascot-container {
    bottom: 18px;
    left: 16px;
  }
  .spooky-mascot-svg {
    width: 52px;
    height: 52px;
  }
  .spooky-modal-card {
    max-width: 92vw;
    padding: 22px 16px;
  }
}

@media (max-width: 480px) {
  .spooky-hanging-bats-bar {
    display: none;
  }
}

