.diwali-bar {
  position: relative;
  z-index: 20;
  background:
    radial-gradient(120px 40px at 8% 50%, rgba(255, 196, 70, 0.35), transparent 70%),
    radial-gradient(120px 40px at 92% 50%, rgba(255, 120, 40, 0.28), transparent 70%),
    linear-gradient(90deg, #3a1208 0%, #7a1d12 38%, #b45309 68%, #3a1208 100%);
  color: #fff8e8;
  overflow: hidden;
}

.diwali-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 220, 140, 0.85) 0 1.5px, transparent 2px);
  background-size: 42px 18px;
  background-position: 0 6px;
  opacity: 0.45;
  pointer-events: none;
  animation: diwaliTwinkle 2.8s ease-in-out infinite;
}

.diwali-bar__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.25rem;
  flex-wrap: wrap;
  min-height: 46px;
  padding: 0.45rem 0;
}

.diwali-bar__wish,
.diwali-bar__offer {
  margin: 0;
  line-height: 1.3;
}

.diwali-bar__wish {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: "Courgette", cursive;
  font-size: 1.15rem;
  color: #ffe7a3;
}

.diwali-bar__offer {
  font-size: 0.92rem;
  color: rgba(255, 248, 232, 0.92);
}

.diwali-bar__offer strong {
  color: #ffe08a;
}

.diwali-bar__cta {
  border: 0;
  border-radius: 999px;
  padding: 0.32rem 0.85rem;
  background: #ffe08a;
  color: #4a2208;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.diwali-bar__cta:hover {
  background: #fff4cc;
}

.diwali-diya {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 8px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(#f8d56a, #c47a12);
  box-shadow: 0 0 8px rgba(255, 180, 40, 0.65);
}

.diwali-diya::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 7px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 50% 50% 45% 45%;
  background: radial-gradient(circle at 50% 75%, #fff8d6 0 2px, #ffd15c 3px, #ff7a18 7px, transparent 8px);
  animation: diyaFlicker 1.3s ease-in-out infinite;
}

.diwali-sparkles {
  position: fixed;
  inset: 0;
  z-index: 15;
  pointer-events: none;
  overflow: hidden;
}

.diwali-spark {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffd56a;
  box-shadow: 0 0 8px 2px rgba(255, 186, 60, 0.75);
  opacity: 0;
  animation: diwaliRise linear infinite;
}

.home-hero {
  background:
    radial-gradient(520px 280px at 12% 0%, rgba(255, 176, 48, 0.22), transparent 70%),
    radial-gradient(720px 380px at 88% 12%, rgba(11, 107, 203, 0.28), transparent 62%),
    linear-gradient(135deg, #1a0c08 0%, #062a63 46%, #0648b3 100%);
}

.diwali-hero-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 208, 92, 0.16);
  border: 1px solid rgba(255, 214, 120, 0.45);
  color: #ffe7a8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.callout--diwali {
  background:
    radial-gradient(140px 80px at 100% 0%, rgba(255, 186, 60, 0.28), transparent 70%),
    linear-gradient(160deg, #3a1208 0%, #1a2744 55%, #071833 100%);
  border-color: rgba(255, 208, 92, 0.35);
}

.callout--diwali .callout__kicker {
  color: #ffd56a;
}

.callout--diwali .callout__cta {
  background: #ffd56a;
  color: #4a2208;
}

.callout--diwali .callout__cta:hover {
  background: #ffe7a3;
}

.diwali-modal .modal-content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #2a1608;
}

.diwali-modal .modal-body {
  background: #2a1608 !important;
  padding: 0 !important;
}

.diwali-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 248, 232, 0.92);
  color: #3a1608;
  font-size: 1.25rem;
  line-height: 1;
}

.diwali-modal__offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem 1rem;
  color: #fff8e8;
}

.diwali-modal__offer p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.35;
}

.diwali-modal__offer strong {
  color: #ffd56a;
}

.diwali-modal__offer button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  background: #ffd56a;
  color: #4a2208;
  font-size: 0.85rem;
  font-weight: 700;
}

@keyframes diyaFlicker {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.85; }
  50% { transform: translateX(-50%) scale(1.12, 0.92); opacity: 1; }
}

@keyframes diwaliTwinkle {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.7; }
}

@keyframes diwaliRise {
  0% { transform: translateY(12px) scale(0.6); opacity: 0; }
  15% { opacity: 0.9; }
  100% { transform: translateY(-120px) scale(1); opacity: 0; }
}

@media (max-width: 576px) {
  .diwali-bar__wish {
    font-size: 1.05rem;
  }

  .diwali-bar__offer {
    text-align: center;
  }

  .diwali-modal__offer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .diwali-bar::before,
  .diwali-diya::before,
  .diwali-spark {
    animation: none;
  }

  .diwali-spark {
    display: none;
  }
}
