/* ==========================================================================
   NCR Property Deals - Diwali Festive Theme & Visual Effects System
   Auspicious Golden Aesthetic, Glowing Diyas, Fireworks & Sparkle Particles
   ========================================================================== */

/* 1. Auspicious Top Announcement Ribbon */
.diwali-top-ribbon {
  background: linear-gradient(90deg, #3b0716 0%, #7f1d1d 25%, #831843 50%, #7f1d1d 75%, #3b0716 100%);
  color: #fef08a;
  border-bottom: 2px solid #eab308;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  position: relative;
  z-index: 1002;
  box-shadow: 0 4px 15px rgba(234, 179, 8, 0.25);
  overflow: hidden;
}

.diwali-top-ribbon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(254, 240, 138, 0.35), transparent);
  transform: translate3d(-100%, 0, 0);
  animation: diwaliShimmerRibbon 4.5s infinite ease-in-out;
  will-change: transform;
}

@keyframes diwaliShimmerRibbon {
  0% { transform: translate3d(-100%, 0, 0); }
  50%, 100% { transform: translate3d(100%, 0, 0); }
}

.diwali-ribbon-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
  position: relative;
  z-index: 2;
}

.diwali-ribbon-badge {
  background: #ca8a04;
  color: #451a03;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border: 1px solid #fef08a;
}

.diwali-ribbon-btn {
  background: #facc15;
  color: #422006;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  border: 1px solid #fef08a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}
.diwali-ribbon-btn:hover {
  background: #ffffff;
  color: #713f12;
  transform: scale(1.05);
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.8);
}

/* 2. Attractive Diwali Festive Hero Showcase Banner */
.diwali-hero-banner-container {
  margin-top: 25px;
  margin-bottom: 25px;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid #eab308;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(234, 179, 8, 0.25);
  background: #180509;
}

.diwali-banner-bg {
  position: relative;
  min-height: 440px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.diwali-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(24, 5, 9, 0.88) 0%, rgba(30, 9, 15, 0.75) 45%, rgba(15, 23, 42, 0.82) 100%);
  backdrop-filter: blur(2px);
}

.diwali-banner-content {
  position: relative;
  z-index: 5;
  padding: 40px 32px;
  color: #ffffff;
  max-width: 820px;
}

.diwali-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #ca8a04 0%, #eab308 100%);
  color: #422006;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(234, 179, 8, 0.4);
  margin-bottom: 16px;
  border: 1px solid #fef08a;
  animation: diwaliPulseGlow 2.5s infinite alternate;
}

@keyframes diwaliPulseGlow {
  0% { box-shadow: 0 0 10px rgba(234, 179, 8, 0.3); }
  100% { box-shadow: 0 0 25px rgba(234, 179, 8, 0.8); }
}

.diwali-banner-heading {
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.diwali-banner-heading span {
  background: linear-gradient(90deg, #fde047 0%, #f59e0b 50%, #fde047 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.diwali-banner-subtext {
  font-size: 1rem;
  color: #fef08a;
  line-height: 1.6;
  margin-bottom: 24px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.diwali-perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.diwali-perk-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(254, 240, 138, 0.3);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.diwali-perk-card:hover {
  transform: translateY(-3px);
  border-color: #fde047;
  background: rgba(255, 255, 255, 0.16);
}

.diwali-perk-icon {
  font-size: 1.65rem;
  line-height: 1;
}

.diwali-perk-title {
  font-weight: 700;
  font-size: 0.86rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.diwali-perk-desc {
  font-size: 0.74rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.3;
}

.diwali-btn-gold {
  background: linear-gradient(135deg, #facc15 0%, #eab308 50%, #ca8a04 100%);
  color: #422006;
  font-weight: 800;
  font-size: 0.96rem;
  padding: 12px 24px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #fef08a;
  box-shadow: 0 4px 20px rgba(234, 179, 8, 0.45);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.diwali-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(250, 204, 21, 0.7);
  color: #000000;
}

.diwali-btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: #fef08a;
  font-weight: 700;
  font-size: 0.96rem;
  padding: 12px 20px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(254, 240, 138, 0.4);
  backdrop-filter: blur(10px);
  text-decoration: none;
  transition: all 0.25s ease;
}
.diwali-btn-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: #fef08a;
}

/* 3. Floating Diwali Sparkle Particles Canvas */
#diwali-sparkles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform;
}

/* 4. Animated Diya Lamp Flame Styling */
.diwali-diya-flame {
  display: inline-block;
  animation: diyaFlameFlicker 1.8s infinite alternate ease-in-out;
  transform-origin: 50% 90%;
  filter: drop-shadow(0 0 6px rgba(250, 204, 21, 0.8));
}

@keyframes diyaFlameFlicker {
  0% { transform: scale(1) rotate(-1deg); opacity: 0.9; }
  50% { transform: scale(1.1, 1.15) rotate(2deg); opacity: 1; filter: drop-shadow(0 0 10px rgba(250, 204, 21, 1)); }
  100% { transform: scale(0.95, 1.05) rotate(-2deg); opacity: 0.85; }
}

/* 5. Floating Bottom-Right Diwali Festive Widget */
.diwali-floating-widget {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.diwali-widget-pill {
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
  border: 1.5px solid #facc15;
  color: #ffffff;
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 15px rgba(250, 204, 21, 0.4);
  transition: all 0.25s ease;
}
.diwali-widget-pill:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(250, 204, 21, 0.7);
  color: #fef08a;
}

.diwali-toggle-btn {
  background: #0f172a;
  border: 1px solid #ca8a04;
  color: #fde047;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.diwali-toggle-btn:hover {
  opacity: 1;
}

/* 6. Realistic Screen Shake on Bomb Detonation */
@keyframes diwaliScreenShake {
  0% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(-4px, 3px, 0); }
  50% { transform: translate3d(4px, -3px, 0); }
  75% { transform: translate3d(-2px, 2px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.diwali-shake-active {
  animation: diwaliScreenShake 0.3s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  will-change: transform;
}

/* 7. Interactive Cracker Launcher Control Toolbar */
.diwali-cracker-toolbar {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(250, 204, 21, 0.4);
  border-radius: 14px;
  padding: 8px 14px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.cracker-btn-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.cracker-fire-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(254, 240, 138, 0.25);
  color: #fef08a;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.cracker-fire-btn:hover {
  background: linear-gradient(135deg, #ca8a04 0%, #eab308 100%);
  color: #422006;
  border-color: #fef08a;
  transform: translateY(-2px);
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.7);
}

.cracker-fire-btn.active {
  background: #facc15;
  color: #422006;
  border-color: #fef08a;
}

.cracker-sound-btn {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(250, 204, 21, 0.35);
  color: #fde047;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}
.cracker-sound-btn:hover {
  background: rgba(250, 204, 21, 0.2);
  border-color: #facc15;
}

/* Sky notification pill */
.diwali-sky-tip {
  font-size: 0.73rem;
  color: #94a3b8;
  font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .diwali-banner-content {
    padding: 24px 18px;
  }
  .diwali-banner-heading {
    font-size: 1.6rem;
  }
  .diwali-perks-grid {
    grid-template-columns: 1fr;
  }
  .diwali-floating-widget {
    bottom: 80px;
    left: 14px;
  }
  .diwali-cracker-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==========================================================================
   Festive Countdown Timer, Shagun Voucher Modal & Welcome Greeting System
   ========================================================================== */

/* 1. Festive Countdown Pill */
.diwali-countdown-box {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid #facc15;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.74rem;
  color: #fef08a;
  letter-spacing: 0.4px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.diwali-countdown-num {
  color: #422006;
  background: #facc15;
  padding: 1px 5px;
  border-radius: 4px;
  font-family: monospace;
  font-weight: 800;
  font-size: 0.76rem;
}

/* 2. Property Festive Spotlight Badge */
.property-festive-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
  border: 1.5px solid #facc15;
  color: #fef08a;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 10px rgba(250, 204, 21, 0.4);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* 3. Dhanteras Shubh Muhurat Button */
.btn-shubh-muhurat {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.15), rgba(202, 138, 4, 0.25));
  border: 1.5px solid #facc15 !important;
  color: #fef08a !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.btn-shubh-muhurat:hover {
  background: linear-gradient(135deg, #ca8a04 0%, #facc15 100%) !important;
  color: #422006 !important;
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.7);
  transform: translateY(-2px);
}

/* 4. Luxury Diwali Modals (Welcome Modal & Shagun Voucher Modal) */
.diwali-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 5, 8, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.diwali-modal-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.diwali-modal-card {
  width: 100%;
  max-width: 520px;
  background: radial-gradient(circle at 50% 0%, #350810 0%, #170407 100%);
  border: 2px solid #facc15;
  border-radius: 22px;
  padding: 32px 28px;
  color: #ffffff;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(250, 204, 21, 0.35);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.diwali-modal-backdrop.show .diwali-modal-card {
  transform: scale(1);
}

.diwali-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.4);
  color: #fef08a;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s;
  z-index: 10;
}
.diwali-modal-close:hover {
  background: #facc15;
  color: #000000;
  transform: rotate(90deg);
}

.diwali-modal-badge {
  background: #ca8a04;
  color: #451a03;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid #fef08a;
  display: inline-block;
  margin-bottom: 8px;
}

.diwali-voucher-box {
  background: rgba(20, 5, 8, 0.95);
  border: 2px dashed #facc15;
  border-radius: 16px;
  padding: 20px 16px;
  margin: 18px 0;
  text-align: center;
  box-shadow: inset 0 0 20px rgba(250, 204, 21, 0.15);
}

.diwali-voucher-code {
  font-size: 1.3rem;
  font-weight: 900;
  color: #facc15;
  letter-spacing: 2px;
  font-family: monospace;
  background: rgba(250, 204, 21, 0.12);
  padding: 6px 14px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 12px;
  border: 1px solid rgba(250, 204, 21, 0.4);
}

.diwali-voucher-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 0.82rem;
}

