/* ═══════════════════════════════════════════════════════════════════════
   Halloween 2026 theme — nạp sau main.css, chỉ ghi đè giao diện
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --hw-night: #140a26;
  --hw-night-2: #1f0e38;
  --hw-night-3: #2a1150;
  --hw-purple: #6d28d9;
  --hw-ink: #2a1440;
  --hw-ink-soft: #6b5a73;
  --hw-pumpkin: #ff8a1f;
  --hw-pumpkin-deep: #ea580c;
  --hw-pumpkin-dark: #c2410c;
  --hw-pumpkin-light: #ffb347;
  --hw-candle: #ffe29a;
  --hw-parchment: #fffaf3;
  --hw-lavender: #eadcff;

  --bs-success: #c2410c;
  --bs-success-rgb: 194, 65, 12;
  --bs-success-text-emphasis: #9a3412;
  --bs-success-bg-subtle: #ffedd5;
  --bs-success-border-subtle: #fed7aa;
  --bs-primary: #6d28d9;
  --bs-primary-rgb: 109, 40, 217;
  --bs-link-color: #c2410c;
  --bs-link-color-rgb: 194, 65, 12;
  --bs-link-hover-color: #9a3412;
  --bs-link-hover-color-rgb: 154, 52, 18;

  --bb-link-color: #c2410c;
  --bdl-success: #c2410c;
  --bdl-success-soft: rgba(255, 138, 31, .1);
  --bdl-border: rgba(255, 138, 31, .26);
  --bdl-text-soft: var(--hw-ink-soft);
}

body {
  background-color: var(--hw-night);
  color: var(--hw-ink);
}

/* ── Bầu trời đêm (cố định, nằm sau nội dung) ─────────────── */
.hw-sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 50% -8%, rgba(124, 58, 237, .45) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 85% 12%, rgba(255, 196, 92, .16) 0%, transparent 60%),
    linear-gradient(180deg, #1d0d36 0%, #140a26 55%, #0c0518 100%);
}
.hw-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.6px 1.6px at 22px 34px, #fff, transparent),
    radial-gradient(1px 1px at 84px 120px, rgba(255, 255, 255, .8), transparent),
    radial-gradient(1.3px 1.3px at 150px 62px, #fff3c4, transparent),
    radial-gradient(1px 1px at 196px 180px, rgba(255, 255, 255, .7), transparent),
    radial-gradient(1.8px 1.8px at 120px 210px, #fff, transparent);
  background-size: 230px 240px;
  animation: hwTwinkle 4.5s ease-in-out infinite alternate;
}
.hw-stars-2 {
  background-size: 340px 300px;
  background-position: 90px 40px;
  opacity: .6;
  animation-duration: 6.5s;
  animation-delay: -2s;
}
@keyframes hwTwinkle {
  from { opacity: .35; }
  to { opacity: 1; }
}
.hw-moon {
  position: absolute;
  top: 76px;
  right: 7%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, #fffbea 0%, #ffeab0 45%, #f4c66a 100%);
  box-shadow:
    0 0 50px 14px rgba(255, 214, 120, .35),
    0 0 140px 60px rgba(255, 160, 60, .14);
  animation: hwMoonGlow 6s ease-in-out infinite alternate;
}
.hw-moon::before,
.hw-moon::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(214, 160, 70, .35);
}
.hw-moon::before { width: 22px; height: 22px; top: 30px; left: 58px; }
.hw-moon::after { width: 14px; height: 14px; top: 72px; left: 32px; box-shadow: 40px -6px 0 -3px rgba(214, 160, 70, .3); }
@keyframes hwMoonGlow {
  from { box-shadow: 0 0 40px 10px rgba(255, 214, 120, .3), 0 0 120px 50px rgba(255, 160, 60, .1); }
  to { box-shadow: 0 0 60px 18px rgba(255, 214, 120, .42), 0 0 160px 70px rgba(255, 160, 60, .18); }
}
.hw-fog {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -6vh;
  height: 34vh;
  background:
    radial-gradient(ellipse 30% 55% at 20% 70%, rgba(200, 170, 255, .16), transparent 70%),
    radial-gradient(ellipse 35% 60% at 60% 75%, rgba(200, 170, 255, .14), transparent 70%),
    radial-gradient(ellipse 30% 50% at 92% 70%, rgba(200, 170, 255, .14), transparent 70%);
  filter: blur(6px);
  animation: hwFogDrift 22s ease-in-out infinite alternate;
}
.hw-fog-2 {
  bottom: -10vh;
  opacity: .7;
  animation-duration: 30s;
  animation-direction: alternate-reverse;
}
@keyframes hwFogDrift {
  from { transform: translateX(-6%); }
  to { transform: translateX(6%); }
}

/* ── Dơi & ma bay ngang màn hình ──────────────────────────── */
.hw-flyers {
  position: fixed;
  inset: 0;
  z-index: 1031;
  overflow: hidden;
  pointer-events: none;
}
.hw-flyer {
  position: absolute;
  left: 0;
  width: 46px;
  opacity: 0;
  --hw-scale: 1;
  animation: hwFly 22s linear infinite;
}
.hw-flyer-1 { top: 14vh; }
.hw-flyer-2 { top: 40vh; --hw-scale: .7; animation-duration: 28s; animation-delay: 7s; }
.hw-flyer-3 { top: 64vh; --hw-scale: .85; animation-duration: 25s; animation-delay: 13s; animation-direction: reverse; }
.hw-flyer-4 { top: 26vh; --hw-scale: .55; animation-duration: 31s; animation-delay: 19s; animation-direction: reverse; }
@keyframes hwFly {
  0% { transform: translate3d(-70px, 0, 0) scale(var(--hw-scale)); opacity: 0; }
  2% { opacity: 1; }
  10% { transform: translate3d(25vw, -40px, 0) scale(var(--hw-scale)); }
  20% { transform: translate3d(50vw, 18px, 0) scale(var(--hw-scale)); }
  30% { transform: translate3d(75vw, -30px, 0) scale(var(--hw-scale)); }
  38% { transform: translate3d(calc(100vw + 70px), 0, 0) scale(var(--hw-scale)); opacity: 1; }
  39%, 100% { transform: translate3d(calc(100vw + 70px), 0, 0) scale(var(--hw-scale)); opacity: 0; }
}
.hw-bat {
  display: block;
  width: 100%;
  height: auto;
  fill: #0d0618;
  filter: drop-shadow(0 0 5px rgba(255, 138, 31, .6));
  animation: hwBatBob .9s ease-in-out infinite alternate;
}
.hw-bat-wing {
  transform-box: fill-box;
  animation: hwFlap .2s ease-in-out infinite alternate;
}
.hw-bat-wing-l { transform-origin: right center; }
.hw-bat-wing-r { transform-origin: left center; }
@keyframes hwFlap {
  from { transform: scaleY(1); }
  to { transform: scaleY(.25); }
}
@keyframes hwBatBob {
  from { transform: translateY(-4px); }
  to { transform: translateY(4px); }
}
.hw-ghost-float {
  position: absolute;
  left: 0;
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 0 10px rgba(234, 220, 255, .7));
  animation-duration: 12s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}
@keyframes hwGhostLtr {
  0% { transform: translate(-80px, 0) rotate(-8deg); opacity: 0; }
  8% { opacity: .92; }
  25% { transform: translate(25vw, -22px) rotate(6deg); }
  50% { transform: translate(50vw, 12px) rotate(-6deg); }
  75% { transform: translate(75vw, -16px) rotate(6deg); }
  92% { opacity: .92; }
  100% { transform: translate(calc(100vw + 80px), 0) rotate(-6deg); opacity: 0; }
}
@keyframes hwGhostRtl {
  0% { transform: translate(calc(100vw + 80px), 0) rotate(8deg); opacity: 0; }
  8% { opacity: .92; }
  25% { transform: translate(75vw, -22px) rotate(-6deg); }
  50% { transform: translate(50vw, 12px) rotate(6deg); }
  75% { transform: translate(25vw, -16px) rotate(-6deg); }
  92% { opacity: .92; }
  100% { transform: translate(-80px, 0) rotate(6deg); opacity: 0; }
}
.hw-bat-burst {
  position: fixed;
  z-index: 1060;
  width: 38px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(255, 138, 31, .8));
  transform: translate(-50%, -50%) scale(.3);
  animation: hwBatBurst 1.5s cubic-bezier(.2, .7, .3, 1) forwards;
}
@keyframes hwBatBurst {
  0% { transform: translate(-50%, -50%) scale(.3); opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translate(calc(-50% + var(--hw-tx)), calc(-50% + var(--hw-ty))) scale(1.1); opacity: 0; }
}

/* ── Loading ──────────────────────────────────────────────── */
#loading-overlay {
  background: radial-gradient(circle at 50% 45%, #3b1a63 0%, #140a26 70%);
}
.hw-loading-pumpkin {
  width: 88px;
  height: 88px;
  filter: drop-shadow(0 0 18px rgba(255, 138, 31, .8));
}

/* ── Header ───────────────────────────────────────────────── */
.bdl-header {
  background: rgba(20, 10, 38, .84);
  border-bottom: 1px solid rgba(255, 138, 31, .3);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .45);
}
.bdl-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff8a1f, #a855f7, #ff8a1f, transparent);
  background-size: 200% 100%;
  animation: hwGlowLine 6s linear infinite;
}
@keyframes hwGlowLine {
  from { background-position: 0 0; }
  to { background-position: 200% 0; }
}
.bdl-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-family: 'Pattaya', sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: .01em;
  text-transform: none;
  line-height: 1.1;
  white-space: nowrap;
  min-width: 0;
}
.hw-logo-text {
  background: linear-gradient(180deg, var(--hw-candle) 0%, var(--hw-pumpkin-light) 45%, #ff6a00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 8px rgba(255, 120, 20, .55));
}
.hw-logo-pumpkin {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 6px rgba(255, 138, 31, .75));
  animation: hwPumpkinBob 2.8s ease-in-out infinite;
}
@keyframes hwPumpkinBob {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-3px) rotate(6deg); }
}
.bdl-icon-btn {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 138, 31, .35);
  color: var(--hw-pumpkin-light);
  box-shadow: 0 0 14px rgba(255, 120, 20, .15);
  transition: box-shadow .2s ease, background .2s ease;
}
.bdl-icon-btn:hover,
.bdl-icon-btn:focus-visible {
  background: rgba(255, 138, 31, .14);
  color: var(--hw-candle);
  box-shadow: 0 0 18px rgba(255, 138, 31, .45);
}

/* Nhện treo dưới header */
.hw-spider {
  position: absolute;
  top: 100%;
  left: 42%;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.hw-spider-thread {
  display: block;
  width: 1px;
  height: 22px;
  background: linear-gradient(rgba(234, 220, 255, .15), rgba(234, 220, 255, .75));
  animation: hwSpiderDrop 7s ease-in-out infinite;
}
.hw-spider img {
  width: 26px;
  height: auto;
  margin-top: -3px;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, .5));
  animation: hwSpiderSwing 3.5s ease-in-out infinite;
  transform-origin: 50% -30px;
}
@keyframes hwSpiderDrop {
  0%, 100% { height: 10px; }
  45%, 60% { height: 40px; }
}
@keyframes hwSpiderSwing {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
}

/* ── Menu ─────────────────────────────────────────────────── */
.offcanvas {
  --bs-offcanvas-bg: #170b2c;
  --bs-offcanvas-color: #f3e8ff;
  background-image:
    url('halloween/cobweb-light.svg'),
    radial-gradient(circle at 90% 100%, rgba(255, 138, 31, .14), transparent 45%);
  background-repeat: no-repeat;
  background-size: 120px auto, auto;
  background-position: right -14px top 56px, 0 0;
}
.offcanvas .border-bottom { border-color: rgba(255, 138, 31, .3) !important; }
.offcanvas .offcanvas-title.text-success {
  color: var(--hw-pumpkin-light) !important;
  font-family: 'Pattaya', sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
}
.offcanvas .btn-close {
  position: relative;
  z-index: 1;
  opacity: 1;
  filter: invert(1) grayscale(1) brightness(2) drop-shadow(0 0 4px rgba(255, 138, 31, .95));
}
.bdl-nav-link {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 138, 31, .2);
  color: #f3e8ff;
  transition: background .2s ease, transform .2s ease;
}
.bdl-nav-link:hover {
  background: rgba(255, 138, 31, .12);
  color: #fff;
  transform: translateX(3px);
}
.bdl-nav-link i { color: var(--hw-pumpkin-light); }
.hw-nav-featured {
  background: linear-gradient(135deg, #ff8a1f 0%, #e8590c 55%, #9a3412 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 22px rgba(255, 120, 20, .45);
}
.hw-nav-featured:hover {
  background: linear-gradient(135deg, #ffa046 0%, #f06418 55%, #b03d12 100%);
  color: #fff;
}
.hw-nav-featured img { animation: hwPumpkinBob 2.8s ease-in-out infinite; }

/* ── Card ─────────────────────────────────────────────────── */
.bdl-search-card,
.bdl-contact-card,
.bdl-section,
.bdl-daily-item {
  position: relative;
  background: var(--hw-parchment);
  border-color: rgba(255, 138, 31, .28);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .38);
}
.bdl-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 62px;
  height: 62px;
  background: url('halloween/cobweb.svg') no-repeat top right / contain;
  border-top-right-radius: 20px;
  opacity: .36;
  pointer-events: none;
}
.bdl-section-title {
  color: #3b0f5c;
}
.bdl-section-title::before {
  content: "";
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  margin-right: .4em;
  vertical-align: -.2em;
  background: url('halloween/pumpkin.svg') center / contain no-repeat;
}
.d-flex > .bdl-section-title::before,
.bdl-section-title.mt-3::before { display: none; }

.bdl-search-input {
  border-color: rgba(255, 138, 31, .32);
}
.form-control:focus,
.form-select:focus {
  border-color: #fb923c;
  box-shadow: 0 0 0 .25rem rgba(249, 115, 22, .22);
}
.form-check-input:checked {
  background-color: var(--hw-pumpkin-deep);
  border-color: var(--hw-pumpkin-deep);
}

/* ── Nút ──────────────────────────────────────────────────── */
.btn-success {
  --bs-btn-color: #fff;
  --bs-btn-bg: #e8590c;
  --bs-btn-border-color: #e8590c;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #c2410c;
  --bs-btn-hover-border-color: #c2410c;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #9a3412;
  --bs-btn-active-border-color: #9a3412;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #e8590c;
  --bs-btn-disabled-border-color: #e8590c;
  --bs-btn-focus-shadow-rgb: 234, 88, 12;
  background-image: linear-gradient(135deg, #ff8a1f 0%, #e8590c 55%, #c2410c 100%);
  box-shadow: 0 6px 18px rgba(234, 88, 12, .35);
}
.btn-outline-success {
  --bs-btn-color: #c2410c;
  --bs-btn-border-color: #ea580c;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #ea580c;
  --bs-btn-hover-border-color: #ea580c;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #c2410c;
  --bs-btn-active-border-color: #c2410c;
  --bs-btn-disabled-color: #c2410c;
  --bs-btn-disabled-border-color: #ea580c;
  --bs-btn-focus-shadow-rgb: 234, 88, 12;
}
.btn-primary {
  --bs-btn-bg: #6d28d9;
  --bs-btn-border-color: #6d28d9;
  --bs-btn-hover-bg: #5b21b6;
  --bs-btn-hover-border-color: #5b21b6;
  --bs-btn-active-bg: #4c1d95;
  --bs-btn-active-border-color: #4c1d95;
  --bs-btn-focus-shadow-rgb: 109, 40, 217;
}

/* ── Thẻ bánh ─────────────────────────────────────────────── */
.bdl-cake-card,
.bdl-mini-card,
.bdl-more-card,
.bdl-grid-card,
.bdl-praise-card {
  border-color: rgba(255, 138, 31, .26);
  box-shadow: 0 8px 22px rgba(60, 20, 90, .14);
  transition: transform .22s ease, box-shadow .22s ease;
}
.bdl-mini-card:hover,
.bdl-cake-card:hover,
.bdl-grid-card:hover,
.bdl-praise-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255, 110, 20, .3);
}
.bdl-card-thumb,
.bdl-daily-thumb-wrap {
  background: linear-gradient(180deg, #ffe8d1 0%, #fff6ec 100%);
}
.bdl-mini-title,
.bdl-card-title,
.bdl-praise-title { color: var(--hw-ink); }
.bdl-more-card {
  flex-direction: column;
  gap: .5rem;
  background: linear-gradient(160deg, #2a1150 0%, #160a28 100%);
  color: var(--hw-pumpkin-light);
  border-color: rgba(255, 138, 31, .4);
}
.bdl-more-card::before {
  content: "";
  width: 44px;
  height: 50px;
  background: url('halloween/ghost.svg') center / contain no-repeat;
  filter: drop-shadow(0 0 8px rgba(234, 220, 255, .6));
  animation: hwGhostBob 3s ease-in-out infinite;
}
.bdl-more-card:hover { color: var(--hw-candle); }
@keyframes hwGhostBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.bdl-album-item,
.bdl-praise-thumb { background: #fbe9d7; }
.bdl-praise-badge {
  color: #9a3412;
  border-color: rgba(255, 138, 31, .3);
}
.bdl-topic-item {
  background: #fff3e6;
  border-color: rgba(255, 138, 31, .22);
}
.bdl-topic-name { color: var(--hw-ink); }
.bdl-topic-count {
  background: rgba(255, 138, 31, .16);
  color: var(--hw-pumpkin-dark);
}
.bdl-price-sale { color: var(--hw-pumpkin-dark); }
.tag:hover { box-shadow: 0 4px 15px rgba(234, 88, 12, .3); }

/* ── Footer & nghĩa địa ───────────────────────────────────── */
.hw-graveyard {
  position: relative;
  height: 112px;
  margin-top: 1.25rem;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}
.hw-graveyard svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hw-grave-back path { fill: #2a1350; }
.hw-grave-tree path { stroke: #1a0b2e; }
.hw-grave-fence path { fill: #1a0b2e; stroke: #1a0b2e; }
.hw-grave-stones path { fill: #24104a; }
.hw-grave-text text {
  font: 800 11px/1 system-ui, sans-serif;
  fill: #5b3a86;
  letter-spacing: .08em;
}
.hw-grave-front path { fill: var(--hw-night-2); }
.hw-grave-ghost {
  position: absolute;
  left: 47%;
  bottom: 26px;
  width: 40px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(234, 220, 255, .65));
  animation: hwGhostPeek 5s ease-in-out infinite;
}
@keyframes hwGhostPeek {
  0%, 100% { transform: translateY(26px); opacity: 0; }
  30%, 70% { transform: translateY(-6px); opacity: .95; }
}
.hw-grave-pumpkin {
  position: absolute;
  bottom: 6px;
  height: auto;
  animation: hwFlicker 2.6s ease-in-out infinite;
}
.hw-grave-pumpkin-1 { left: 30%; width: 34px; }
.hw-grave-pumpkin-2 { left: 38%; width: 24px; animation-delay: -.8s; }
.hw-grave-pumpkin-3 { right: 26%; width: 28px; animation-delay: -1.6s; }
@keyframes hwFlicker {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(255, 138, 31, .7)); }
  40% { filter: drop-shadow(0 0 14px rgba(255, 160, 50, 1)); }
  55% { filter: drop-shadow(0 0 4px rgba(255, 138, 31, .5)); }
}
.bdl-footer {
  background: linear-gradient(180deg, var(--hw-night-2) 0%, #150a28 100%);
  border: 1px solid rgba(255, 138, 31, .22);
  border-top: 0;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
  color: var(--hw-lavender);
}
.bdl-footer-title {
  color: var(--hw-pumpkin-light);
  font-family: 'Pattaya', sans-serif;
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: 0;
  text-transform: none;
  text-shadow: 0 0 12px rgba(255, 120, 20, .45);
}
.bdl-footer .contact-line { color: var(--hw-lavender); }
.bdl-footer .contact-line i { color: var(--hw-pumpkin-light); }
.bdl-footer .text-dark { color: var(--hw-lavender) !important; }
.bdl-footer .text-success { color: var(--hw-pumpkin-light) !important; }

/* ── Hero Halloween trang chủ ─────────────────────────────── */
.hw-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: .5rem;
  padding: 1.15rem 1rem 6.5rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 138, 31, .4);
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 214, 120, .3) 0, transparent 28%),
    radial-gradient(ellipse at 10% 110%, rgba(255, 120, 20, .28) 0, transparent 45%),
    linear-gradient(160deg, #2e1258 0%, #1a0b33 55%, #100620 100%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5), inset 0 0 60px rgba(124, 58, 237, .2);
  color: #f3e8ff;
}
.hw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.4px 1.4px at 30px 40px, #fff, transparent),
    radial-gradient(1px 1px at 110px 90px, rgba(255, 255, 255, .8), transparent),
    radial-gradient(1.2px 1.2px at 170px 30px, #fff3c4, transparent);
  background-size: 200px 130px;
  opacity: .7;
  animation: hwTwinkle 3.5s ease-in-out infinite alternate;
  pointer-events: none;
}
.hw-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 96px;
  height: 96px;
  background: url('halloween/cobweb-light.svg') no-repeat top right / contain;
  transform: scaleX(-1);
  opacity: .35;
  pointer-events: none;
}
.hw-hero-moon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, #fffbea 0%, #ffeab0 45%, #f4c66a 100%);
  box-shadow: 0 0 34px 10px rgba(255, 214, 120, .35);
  animation: hwMoonGlow 5s ease-in-out infinite alternate;
}
.hw-hero-bat {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 0 4px rgba(255, 138, 31, .55));
  animation: hwBatHover 3.2s ease-in-out infinite;
}
.hw-hero-bat-1 { top: 38px; right: 34px; width: 54px; }
.hw-hero-bat-2 { top: 92px; right: 98px; width: 34px; animation-delay: -1.4s; }
@keyframes hwBatHover {
  0%, 100% { transform: translate(0, 0) rotate(-4deg); }
  50% { transform: translate(-8px, -8px) rotate(5deg); }
}
.hw-hero-ghost {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 50px;
  height: auto;
  z-index: 1;
  filter: drop-shadow(0 0 12px rgba(234, 220, 255, .7));
  animation: hwGhostBob 3.4s ease-in-out infinite;
}
.hw-hero-text {
  position: relative;
  z-index: 2;
}
.hw-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 31, .45);
  background: rgba(255, 138, 31, .16);
  color: var(--hw-pumpkin-light);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hw-hero-title {
  margin: .6rem 0 .45rem;
  padding-right: 84px;
  font-family: 'Pattaya', sans-serif;
  font-weight: 400;
  font-size: 2.05rem;
  line-height: 1.12;
  background: linear-gradient(180deg, var(--hw-candle) 0%, var(--hw-pumpkin) 55%, #ff5e00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 120, 20, .45));
}
.hw-hero-desc {
  margin-bottom: .9rem;
  color: #d9c8f0;
  font-size: .93rem;
  line-height: 1.55;
}
.hw-countdown-units {
  display: flex;
  gap: .4rem;
}
.hw-countdown-unit {
  flex: 1 1 0;
  max-width: 76px;
  padding: .45rem .25rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 138, 31, .32);
  background: rgba(255, 255, 255, .06);
  text-align: center;
}
.hw-countdown-unit b {
  display: block;
  color: var(--hw-pumpkin-light);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 10px rgba(255, 138, 31, .55);
}
.hw-countdown-unit small {
  color: #cdb8ea;
  font-size: .66rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hw-countdown-message {
  padding: .65rem .85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 138, 31, .35);
  background: rgba(255, 138, 31, .12);
  color: #ffd8a8;
  font-weight: 700;
}
.hw-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}
.hw-btn-glow {
  border: 0;
  border-radius: 14px;
  padding: .7rem 1.1rem;
  background: linear-gradient(135deg, var(--hw-pumpkin-light) 0%, #ff7a18 50%, #e8590c 100%);
  color: #2a0e00;
  font-weight: 800;
  animation: hwPulse 2.2s ease-out infinite;
}
.hw-btn-glow:hover,
.hw-btn-glow:focus-visible,
.hw-btn-glow:active { color: #2a0e00; background: linear-gradient(135deg, #ffc46b 0%, #ff8a2e 50%, #f06418 100%); }
@keyframes hwPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 138, 31, .6); }
  70% { box-shadow: 0 0 0 14px rgba(255, 138, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 138, 31, 0); }
}
.hw-btn-ghost {
  border-radius: 14px;
  padding: .7rem 1rem;
  border: 1px solid rgba(243, 232, 255, .28);
  background: rgba(255, 255, 255, .06);
  color: #f3e8ff;
  font-weight: 700;
}
.hw-btn-ghost:hover,
.hw-btn-ghost:focus-visible,
.hw-btn-ghost:active { background: rgba(255, 255, 255, .14); border-color: rgba(243, 232, 255, .45); color: #fff; }
.hw-hero-pumpkins {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: .25rem;
  padding-bottom: 8px;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(12, 5, 24, .9) 0%, transparent 75%);
}
.hw-hero-pumpkin {
  height: auto;
  animation: hwFlicker 2.4s ease-in-out infinite, hwPumpkinBob 3.2s ease-in-out infinite;
}
.hw-hero-pumpkin-1 { width: 58px; animation-delay: -.6s, -1s; }
.hw-hero-pumpkin-2 { width: 86px; }
.hw-hero-pumpkin-3 { width: 48px; animation-delay: -1.3s, -2s; }

/* Section carousel Halloween nổi bật hơn các section khác */
.hw-home .bdl-section {
  margin-bottom: 0 !important;
  background: linear-gradient(180deg, #fff1e0 0%, var(--hw-parchment) 60%);
  border: 1.5px solid rgba(255, 138, 31, .6);
  box-shadow: 0 0 0 4px rgba(255, 138, 31, .1), 0 14px 36px rgba(0, 0, 0, .42);
}
.hw-home .bdl-section-title {
  font-family: 'Pattaya', sans-serif;
  font-weight: 400;
  font-size: 1.55rem;
  color: var(--hw-pumpkin-dark);
}
.hw-home .bdl-section-desc { color: #5a4466; }
.hw-home .bdl-scroller { padding-block: .45rem .6rem; }
.hw-home .bdl-mini-card:nth-child(odd) { transform: rotate(-1.4deg); }
.hw-home .bdl-mini-card:nth-child(even) { transform: rotate(1.4deg); }
.hw-home .bdl-mini-card:hover { transform: rotate(0) translateY(-3px); }

/* ── Sửa chữ nằm trực tiếp trên nền tối ───────────────────── */
#contentDetailPage > .d-flex > a { color: var(--hw-pumpkin-light); }
.drink-kicker { color: var(--hw-pumpkin-light); }
.drink-heading h1 { color: #fff1e0; text-shadow: 0 2px 12px rgba(12, 5, 24, .9); }
.drink-heading p { color: #d6c4ea; }

/* ── Modal cảm ơn: mưa bí ngô & ma thay cho tim ───────────── */
.thanks-modal .modal-header {
  background: linear-gradient(135deg, #2a1150 0%, #4c1d95 55%, #c2410c 100%);
  color: #fff;
}
.heart { color: var(--hw-pumpkin); }
.heart.bi-heart-fill::before {
  content: "🎃";
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important;
}
.heart.bi-heart-fill:nth-child(even)::before { content: "👻"; }
.heart.bi-heart-fill:nth-child(3n)::before { content: "🦇"; }

.consultation-return-entry {
  border-color: rgba(255, 138, 31, .4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .4), 0 0 18px rgba(255, 120, 20, .3);
}
.consultation-return-entry:hover,
.consultation-return-entry:focus-visible { background: #9a3412; }

/* Màn hình hẹp: nội dung phủ gần hết bề ngang nên trăng nền dễ đè lên chữ */
@media (max-width: 899.98px) {
  .hw-moon { display: none; }
}

@media (max-width: 400px) {
  .bdl-logo { font-size: 1.12rem; gap: .25rem; }
  .hw-logo-pumpkin { width: 20px; height: 20px; }
}

@media (min-width: 576px) {
  .hw-hero {
    padding: 1.6rem 1.5rem 1.6rem;
    min-height: 300px;
  }
  .hw-hero-text { max-width: 58%; }
  .hw-hero-title { padding-right: 0; font-size: 2.5rem; }
  .hw-hero-moon { width: 96px; height: 96px; top: 22px; right: 26px; }
  .hw-hero-bat-1 { top: 54px; right: 52px; }
  .hw-hero-bat-2 { top: 118px; right: 150px; }
  .hw-hero-pumpkins {
    left: auto;
    width: 42%;
    height: 140px;
  }
  .hw-hero-pumpkin-1 { width: 74px; }
  .hw-hero-pumpkin-2 { width: 112px; }
  .hw-hero-pumpkin-3 { width: 62px; }
  .hw-hero-ghost { right: auto; left: 60%; bottom: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  .hw-flyers { display: none; }
  .hw-stars,
  .hw-moon,
  .hw-fog,
  .bdl-header::after,
  .hw-logo-pumpkin,
  .hw-spider-thread,
  .hw-spider img,
  .hw-nav-featured img,
  .bdl-more-card::before,
  .hw-grave-ghost,
  .hw-grave-pumpkin,
  .hw-hero::before,
  .hw-hero-moon,
  .hw-hero-bat,
  .hw-hero-ghost,
  .hw-btn-glow,
  .hw-hero-pumpkin { animation: none; }
  .hw-grave-ghost { opacity: .9; transform: none; }
}
