
/* =========================================
   TuneBoto Halloween Hero
   Namespaced styles; preserve global layout
   ========================================= */

.tb-halloween-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at 78% 28%, rgba(117, 65, 177, .30), transparent 35%),
    radial-gradient(ellipse at 8% 100%, rgba(245, 105, 29, .14), transparent 32%),
    linear-gradient(115deg, #100d22 0%, #17102e 52%, #090c1b 100%);
}

.tb-halloween-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .22;
  background-image:
    radial-gradient(circle, #fff 1px, transparent 1.5px),
    radial-gradient(circle, #ff9b43 1px, transparent 1.5px);
  background-size: 73px 73px, 113px 113px;
  background-position: 8px 12px, 35px 50px;
}

.tb-halloween-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(54px, 7vw, 96px);
  padding-bottom: clamp(54px, 7vw, 96px);
}

.tb-halloween-glow {
  position: absolute;
  z-index: -1;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .22;
  pointer-events: none;
}

.tb-halloween-glow-one {
  top: 0;
  right: 12%;
  background: #8a48ff;
}

.tb-halloween-glow-two {
  bottom: -150px;
  left: 18%;
  background: #ff792c;
  opacity: .13;
}

.tb-halloween-bats {
  position: absolute;
  top: 24px;
  right: 7%;
  color: #d7c6ff;
  font-size: 19px;
  opacity: .7;
  pointer-events: none;
}

.tb-halloween-eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 173, 91, .38);
  border-radius: 999px;
  color: #ffe4c6;
  background: rgba(255, 135, 49, .13);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
}

.tb-halloween-eyebrow > span:first-child {
  font-size: 16px;
}

.tb-halloween-eyebrow-divider {
  color: #ff9b43;
}

.tb-halloween-title {
  max-width: 680px;
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(36px, 4.6vw, 62px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.045em;
}

.tb-halloween-title span {
  display: block;
  margin-top: 8px;
  color: #ff9a3c;
}

.tb-halloween-description {
  max-width: 550px;
  margin: 0 0 28px;
  color: #ded9ee;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
}

.tb-halloween-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tb-halloween-btn-primary,
.tb-halloween-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 9px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease,
              border-color .2s ease;
}

.tb-halloween-btn-primary {
  border: 1px solid #ff9a3c;
  color: #211329;
  background: #ff9a3c;
}

.tb-halloween-btn-primary:hover,
.tb-halloween-btn-primary:focus-visible {
  border-color: #ffb56f;
  color: #211329;
  background: #ffb56f;
  transform: translateY(-2px);
}

.tb-halloween-btn-secondary {
  border: 1px solid rgba(255, 255, 255, .45);
  color: #fff;
  background: rgba(255, 255, 255, .04);
}

.tb-halloween-btn-secondary:hover,
.tb-halloween-btn-secondary:focus-visible {
  border-color: #ff9a3c;
  color: #fff;
  background: rgba(255, 154, 60, .12);
}

.tb-halloween-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0;
  color: #c7c2d8;
  font-size: 13px;
}

.tb-halloween-trust > span:first-child {
  color: #ffb56f;
  font-weight: 800;
}

.tb-halloween-trust a {
  color: #ded9ee;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tb-halloween-trust-dot {
  color: #ff9a3c;
}

.tb-halloween-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 25px;
  border: 1px solid rgba(210, 184, 255, .18);
  border-radius: 24px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, .09),
    rgba(255, 255, 255, .015)
  );
  box-shadow: 0 24px 80px rgba(0, 0, 0, .25);
}

.tb-halloween-moon {
  position: absolute;
  top: 28px;
  right: 40px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff1d0, #f5a65d 68%, #bd5a3e);
  box-shadow: 0 0 55px rgba(255, 151, 67, .25);
  opacity: .85;
}

.tb-halloween-product-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 520px;
  max-height: 390px;
  object-fit: contain;
}

.tb-halloween-visual-label {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 2;
  color: #f2eaff;
  font-size: 12px;
  font-weight: 700;
}

.tb-halloween-visual-label span {
  margin-right: 6px;
  color: #ff9a3c;
}

.tb-halloween-floating-card {
  position: absolute;
  right: 15px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  color: #fff;
  background: rgba(20, 15, 40, .92);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}

.tb-halloween-floating-card strong,
.tb-halloween-floating-card small {
  display: block;
}

.tb-halloween-floating-card strong {
  font-size: 13px;
}

.tb-halloween-floating-card small {
  margin-top: 3px;
  color: #c8bfdc;
  font-size: 11px;
}

.tb-halloween-floating-icon {
  color: #ff9a3c;
  font-size: 27px;
}

.tb-halloween-pumpkin {
  position: absolute;
  bottom: 15px;
  z-index: 2;
  font-size: 38px;
  filter: drop-shadow(0 0 15px rgba(255, 125, 36, .2));
}

.tb-pumpkin-left {
  left: 14px;
}

.tb-pumpkin-right {
  right: 12px;
}

/* Respect visitors who prefer reduced motion. */
@media (prefers-reduced-motion: reduce) {
  .tb-halloween-btn-primary,
  .tb-halloween-btn-secondary {
    transition: none;
  }
}

/* Tablet and mobile */
@media (max-width: 991.98px) {
  .tb-halloween-hero-inner {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .tb-halloween-title {
    max-width: 760px;
  }

  .tb-halloween-visual {
    min-height: 300px;
  }

  .tb-halloween-product-image {
    max-height: 320px;
  }
}

@media (max-width: 575.98px) {
  .tb-halloween-eyebrow {
    gap: 6px;
    font-size: 10px;
  }

  .tb-halloween-title {
    font-size: clamp(34px, 10vw, 46px);
  }

  .tb-halloween-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .tb-halloween-btn-primary,
  .tb-halloween-btn-secondary {
    width: 100%;
  }

  .tb-halloween-visual {
    min-height: 245px;
    padding: 18px;
    border-radius: 16px;
  }

  .tb-halloween-moon {
    top: 25px;
    right: 25px;
    width: 70px;
    height: 70px;
  }

  .tb-halloween-floating-card {
    right: 8px;
    bottom: 8px;
    padding: 9px 11px;
  }

  .tb-halloween-floating-card small {
    font-size: 10px;
  }

  .tb-halloween-pumpkin {
    bottom: 8px;
    font-size: 27px;
  }
}

.tb-halloween-product-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 100%;
  margin-bottom: 14px;
  padding: 7px 11px;
  border: 1px solid #ffd0a1;
  border-radius: 7px;
  color: #8b3d12;
  background: #fff1e3;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.tb-halloween-badge-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: #e87522;
}
