/* Halloween layer for the home page. Loaded only while the wheel event is on. */
.hw-home-web { position: absolute; top: 64px; z-index: 0; width: 240px; height: auto; pointer-events: none; opacity: 0.75; }
.hw-home-web--left { left: 0; }
.hw-home-web--right { right: 0; }

.hw-banner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1120px;
  min-height: 140px;
  margin: 32px auto 28px;
  padding: 18px 28px 18px 170px;
  border-radius: 18px;
  background: url("/halloween/home/promo-banner-desktop.png") left center / cover no-repeat, #120c1f;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  color: #fff;
  text-align: left;
  text-decoration: none;
}
.hw-banner__text { flex: 1; min-width: 0; }
.hw-banner__tag {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 10px;
  border: 1px solid rgba(60, 168, 107, 0.35);
  border-radius: 999px;
  background: rgba(60, 168, 107, 0.12);
  color: #3ca86b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hw-banner__title { display: block; font-size: 20px; font-weight: 900; line-height: 1.25; }
.hw-banner__sub { display: block; margin-top: 4px; color: #cbd5e1; font-size: 14px; }
.hw-banner__cta {
  flex-shrink: 0;
  padding: 12px 20px;
  border-bottom: 3px solid #8f3e14;
  border-radius: 12px;
  background: linear-gradient(135deg, #e08245 0%, #d96b27 55%, #b34e16 100%);
  font-weight: 800;
  white-space: nowrap;
}
.hw-banner:hover .hw-banner__cta { box-shadow: 0 4px 18px rgba(217, 107, 39, 0.24); }
.hw-banner--panel { margin: 0 0 18px; min-height: 0; padding-left: 150px; }

/* Pumpkins sitting on the tariff cards. */
.hw-home .plan-card { position: relative; }
.hw-home .plan-card::before {
  content: "";
  position: absolute;
  top: -46px;
  right: 22px;
  width: 64px;
  height: 64px;
  background: url("/halloween/home/card-pumpkin-1.png") center / contain no-repeat;
  pointer-events: none;
}
.hw-home .plan-card:nth-child(3n + 2)::before { background-image: url("/halloween/home/card-pumpkin-2.png"); right: auto; left: calc(50% - 32px); }
.hw-home .plan-card:nth-child(3n)::before { background-image: url("/halloween/home/card-pumpkin-3.png"); }

@media (max-width: 760px) {
  .hw-home-web { width: 120px; }
  .hw-banner {
    flex-direction: column;
    align-items: stretch;
    margin: 24px 0 22px;
    gap: 14px;
    padding: 56px 20px 20px;
    background-image: url("/halloween/home/promo-banner-mobile.png");
    background-position: center;
    background-size: 100% 100%;
  }
  .hw-banner--panel { padding-top: 56px; }
  .hw-banner__cta { text-align: center; }
}
