/**
 * ANREXHUB - Festive Hero Section Styling
 * Matches reference design 100% same-to-same with dynamic background
 * and rich festive animations (Diyas, Stars, Fireworks, Countdown, Coupon).
 */

/* ==========================================================================
   1. MAIN SECTION & BACKGROUND WRAPPERS
   ========================================================================== */
.festive-hero-section {
  position: relative;
  width: 100%;
  min-height: 520px;
  background-color: #061122;
  overflow: hidden;
  border-bottom: 2px solid rgba(212, 175, 55, 0.45);
  display: flex;
  align-items: center;
}

/* Dynamic Background Image Layer */
.festive-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: brightness(0.65) saturate(1.2);
  transform: scale(1.02);
  transition: background-image 0.6s ease-in-out, filter 0.6s ease;
  z-index: 1;
}

/* Festive Radial Ambient Glow */
.festive-hero-radial-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 45%, rgba(255, 179, 0, 0.22) 0%, rgba(13, 27, 56, 0.6) 45%, rgba(5, 12, 26, 0.94) 80%);
  z-index: 2;
  pointer-events: none;
}

/* Semi-Transparent Midnight Overlay */
.festive-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 17, 34, 0.45) 0%, rgba(8, 22, 44, 0.72) 45%, rgba(4, 11, 24, 0.92) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Fireworks / Patakha HTML5 Canvas */
.festive-fireworks-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

/* Twinkling Stars & Sparkles Layer (सितारे / चमक) */
.festive-stars-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.twinkle-star {
  position: absolute;
  color: #FFD700;
  font-size: 1rem;
  opacity: 0.3;
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.9));
  animation: starTwinkle 2.8s ease-in-out infinite alternate;
}

.star-1 { top: 12%; left: 8%; font-size: 1.1rem; animation-delay: 0s; }
.star-2 { top: 22%; left: 32%; font-size: 1.4rem; animation-delay: 0.6s; color: #FFF; }
.star-3 { top: 8%; left: 52%; font-size: 0.9rem; animation-delay: 1.2s; }
.star-4 { top: 18%; left: 68%; font-size: 1.3rem; animation-delay: 1.8s; color: #FFF; }
.star-5 { top: 10%; left: 88%; font-size: 1.2rem; animation-delay: 0.4s; }
.star-6 { top: 48%; left: 4%; font-size: 1.2rem; animation-delay: 1.4s; color: #FFF; }
.star-7 { top: 72%; left: 45%; font-size: 0.9rem; animation-delay: 0.9s; }
.star-8 { top: 42%; left: 94%; font-size: 1.4rem; animation-delay: 2.1s; color: #FFEB3B; }
.star-9 { top: 80%; left: 82%; font-size: 1rem; animation-delay: 1.6s; }
.star-10 { top: 30%; left: 48%; font-size: 1.1rem; animation-delay: 0.8s; color: #FFF; }

@keyframes starTwinkle {
  0% {
    opacity: 0.25;
    transform: scale(0.7) rotate(0deg);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.25) rotate(90deg);
    filter: drop-shadow(0 0 10px rgba(255, 235, 59, 1)) drop-shadow(0 0 18px rgba(255, 160, 0, 0.8));
  }
  100% {
    opacity: 0.35;
    transform: scale(0.85) rotate(180deg);
  }
}

/* ==========================================================================
   2. MAIN HERO CONTAINER & GRID LAYOUT
   ========================================================================== */
.festive-hero-container {
  position: relative;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 24px 24px 28px;
  z-index: 5;
}

.festive-hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
}

/* Left Column: Visual Artwork (Lord Ganesha & Lakshmi on Golden Throne) */
.festive-hero-visual-col {
  flex: 0 0 38%;
  max-width: 490px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.festive-visual-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.festive-visual-img {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 30px rgba(255, 179, 0, 0.35));
  animation: visualFloat 4.5s ease-in-out infinite alternate;
}

@keyframes visualFloat {
  0% {
    transform: translateY(0);
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 25px rgba(255, 179, 0, 0.3));
  }
  100% {
    transform: translateY(-6px);
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 40px rgba(255, 193, 7, 0.5));
  }
}

.festive-visual-ambient-aura {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 45%;
  background: radial-gradient(ellipse at center, rgba(255, 160, 0, 0.45) 0%, rgba(255, 87, 34, 0.18) 50%, transparent 80%);
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
  animation: diyaAuraPulse 3s ease-in-out infinite alternate;
}

@keyframes diyaAuraPulse {
  0% { opacity: 0.65; transform: translateX(-50%) scale(0.95); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

/* Right Column: Offer Structure (100% Matches Reference Image) */
.festive-hero-content-col {
  flex: 1 1 60%;
  max-width: 880px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.festive-hero-content-col.is-full-width {
  flex: 1 1 100%;
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
  align-items: center;
}

/* ==========================================================================
   3. ROW 1: ORNATE GOLDEN FRAME BADGE
   ========================================================================== */
.festive-ornate-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.festive-ornate-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 26px;
  background: rgba(8, 22, 45, 0.88);
  border: 2px solid #D4AF37;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 16px rgba(212, 175, 55, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Diamond Gem Accents on Corners */
.ornate-gem {
  position: absolute;
  color: #FFD700;
  font-size: 0.55rem;
  line-height: 1;
  text-shadow: 0 0 6px #FFD700;
}
.gem-tl { top: -4px; left: -4px; }
.gem-tr { top: -4px; right: -4px; }
.gem-bl { bottom: -4px; left: -4px; }
.gem-br { bottom: -4px; right: -4px; }

.ornate-badge-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Animated Diya Flames (दीये की लौ) */
.flicker-diya {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  line-height: 1;
  animation: diyaFlameFlicker 1.8s ease-in-out infinite alternate;
}

.flicker-diya .diya-flame {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #FFF7C2 0%, #FFA000 65%, rgba(255, 69, 0, 0.8) 100%);
  border-radius: 50% 50% 30% 30%;
  filter: blur(2px);
  pointer-events: none;
  animation: flameGlowPulse 1.2s ease-in-out infinite alternate;
}

@keyframes diyaFlameFlicker {
  0% {
    transform: scale(1) rotate(-1deg);
    filter: drop-shadow(0 0 6px rgba(255, 179, 0, 0.95)) drop-shadow(0 0 12px rgba(255, 87, 34, 0.7));
  }
  50% {
    transform: scale(1.15) rotate(2deg);
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 1)) drop-shadow(0 0 20px rgba(255, 111, 0, 0.9));
  }
  100% {
    transform: scale(0.98) rotate(-1.5deg);
    filter: drop-shadow(0 0 8px rgba(255, 193, 7, 0.9)) drop-shadow(0 0 14px rgba(255, 69, 0, 0.75));
  }
}

@keyframes flameGlowPulse {
  0% { opacity: 0.6; transform: translateX(-50%) scale(0.9); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.25); }
}

/* ==========================================================================
   4. ROW 2: DUAL ACTION PILLS (MEGA DHAMAKA & FLAT 30% OFF)
   ========================================================================== */
.festive-pills-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Pill 1: Golden Mega Dhamaka Pill */
.festive-pill-mega {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: linear-gradient(90deg, #F5BA31 0%, #E8A817 50%, #F5BA31 100%);
  color: #0A192F;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(245, 186, 49, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.festive-pill-mega::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: pillShine 3.2s infinite;
}

@keyframes pillShine {
  0% { left: -100%; }
  30%, 100% { left: 180%; }
}

.festive-pill-mega:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 186, 49, 0.6);
  color: #061122;
}

.pill-gift-icon {
  font-size: 0.95rem;
}

.pill-arrow-icon {
  font-size: 0.72rem;
  transition: transform 0.2s ease;
}

.festive-pill-mega:hover .pill-arrow-icon {
  transform: translateX(3px);
}

/* Pill 2: Royal Blue Flat Off Pill */
.festive-pill-discount {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: linear-gradient(90deg, #0052CC 0%, #0066FF 50%, #0052CC 100%);
  color: #FFFFFF;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(82, 155, 255, 0.5);
  transition: all 0.25s ease;
}

.festive-pill-discount:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 102, 255, 0.65);
  border-color: #85B8FF;
}

.pill-tag-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #FFFFFF;
  color: #0066FF;
  border-radius: 50%;
  font-size: 0.65rem;
}

.text-yellow-glow {
  color: #FFEB3B;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(255, 235, 59, 0.8);
}

/* ==========================================================================
   5. ROW 3 & 4: HEADLINE & SUBHEADLINE
   ========================================================================== */
.festive-hero-heading {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8);
}

.title-diya-glow {
  font-size: 1.85rem;
  margin-right: 4px;
}

.heading-white-part {
  color: #FFFFFF;
}

.heading-gold-part {
  color: #F8C346;
  background: linear-gradient(90deg, #FFD700 0%, #FFA000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(255, 179, 0, 0.4);
}

.festive-hero-subtext {
  font-size: 0.94rem;
  line-height: 1.55;
  color: #E2E8F0;
  margin: 0;
  max-width: 820px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.festive-hero-subtext .highlight-green {
  color: #22C55E;
  font-weight: 800;
  background: rgba(34, 197, 94, 0.14);
  padding: 1px 7px;
  border-radius: 4px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  text-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}

/* ==========================================================================
   6. ROW 5: ACTION CARDS (COUPON & LIVE COUNTDOWN TIMER)
   ========================================================================== */
.festive-action-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

/* Card 1: 1-Click Copy Festival Coupon Box */
.festive-card-coupon {
  background: rgba(8, 22, 45, 0.82);
  border: 1.5px solid rgba(59, 130, 246, 0.45);
  border-radius: 12px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.festive-card-coupon:hover {
  border-color: rgba(245, 186, 49, 0.85);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 186, 49, 0.3);
}

.card-coupon-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-ticket-icon {
  color: #F5BA31;
  font-size: 0.95rem;
}

.card-coupon-label {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  color: #F5BA31;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.card-coupon-code-dashed {
  border: 1.5px dashed rgba(245, 186, 49, 0.8);
  border-radius: 6px;
  padding: 3px 12px;
  background: rgba(0, 0, 0, 0.25);
}

.coupon-val-text {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 2px;
}

.btn-copy-gold {
  background: linear-gradient(135deg, #F5BA31 0%, #D4AF37 100%);
  color: #0A192F;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(245, 186, 49, 0.35);
  transition: all 0.2s ease;
}

.btn-copy-gold:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(245, 186, 49, 0.55);
}

.btn-copy-gold.copied {
  background: #10B981;
  color: #FFFFFF;
}

/* Card 2: LIVE Real-Time Countdown Timer Card (Ticking 100% Live) */
.festive-card-timer {
  background: rgba(8, 22, 45, 0.82);
  border: 1.5px solid rgba(59, 130, 246, 0.45);
  border-radius: 12px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.festive-card-timer:hover {
  border-color: rgba(82, 155, 255, 0.85);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 102, 255, 0.3);
}

.card-timer-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-hourglass-icon {
  color: #F5BA31;
  font-size: 0.95rem;
  animation: hourglassFlip 6s infinite;
}

@keyframes hourglassFlip {
  0%, 90% { transform: rotate(0deg); }
  95%, 100% { transform: rotate(180deg); }
}

.card-timer-label {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  color: #CBD5E1;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.timer-countdown-display {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Deep Blue Square Box for Each Time Unit (Matching Screenshot) */
.timer-blue-box {
  background: linear-gradient(180deg, #0052CC 0%, #073887 100%);
  border: 1px solid rgba(82, 155, 255, 0.65);
  border-radius: 6px;
  padding: 3px 6px;
  min-width: 40px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.timer-blue-box.pulse-sec {
  animation: secPulse 0.4s ease-out;
}

@keyframes secPulse {
  0% { transform: scale(1.08); border-color: #FFEB3B; }
  100% { transform: scale(1); border-color: rgba(82, 155, 255, 0.65); }
}

.timer-digit {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  display: block;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.timer-sublabel {
  font-family: var(--font-heading);
  font-size: 0.54rem;
  font-weight: 700;
  color: #85B8FF;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: block;
}

.timer-separator {
  color: #0099FF;
  font-size: 0.95rem;
  font-weight: 800;
}

/* ==========================================================================
   7. ROW 6: BOTTOM ANNOUNCEMENT CARD
   ========================================================================== */
.festive-announcement-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 18px;
  background: rgba(8, 22, 45, 0.82);
  border: 1.5px solid rgba(59, 130, 246, 0.4);
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.festive-announcement-card:hover {
  border-color: #25D366;
  background: rgba(8, 26, 48, 0.94);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.35);
  transform: translateY(-1px);
}

.announcement-gift-icon {
  font-size: 1.05rem;
}

.announcement-text-content {
  font-size: 0.85rem;
  color: #E2E8F0;
  flex: 1;
  line-height: 1.35;
}

.announcement-text-content .highlight-gold {
  color: #F5BA31;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(245, 186, 49, 0.5);
}

.announcement-arrow {
  color: #85B8FF;
  font-size: 0.8rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.festive-announcement-card:hover .announcement-arrow {
  color: #25D366;
  transform: translateX(4px);
}

/* ==========================================================================
   8. TOAST NOTIFICATION
   ========================================================================== */
.festive-copy-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10050;
  background: rgba(8, 22, 44, 0.96);
  border: 2px solid #D4AF37;
  border-radius: 12px;
  padding: 12px 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  max-width: 360px;
}

.festive-copy-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.toast-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-sparkle {
  font-size: 1.6rem;
}

.toast-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toast-title {
  color: #FFD700;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
}

.toast-desc {
  font-size: 0.82rem;
  color: #E2E8F0;
  line-height: 1.3;
}

/* ==========================================================================
   9. FULL RESPONSIVENESS (DESKTOP -> TABLET -> MOBILE)
   ========================================================================== */
@media (max-width: 1200px) {
  .festive-hero-heading {
    font-size: 1.85rem;
  }
  .festive-hero-subtext {
    font-size: 0.88rem;
  }
  .festive-action-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991px) {
  .festive-hero-section {
    min-height: auto;
    padding: 20px 0 30px;
  }
  .festive-hero-container {
    padding: 16px 18px 24px;
  }
  .festive-hero-layout {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .festive-hero-visual-col {
    flex: 0 0 auto;
    max-width: 260px;
    margin: 0 auto;
  }
  .festive-hero-content-col {
    flex: 1 1 auto;
    align-items: center;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }
  .festive-ornate-header {
    justify-content: center;
  }
  .festive-pills-row {
    justify-content: center;
  }
  .festive-hero-heading {
    justify-content: center;
    text-align: center;
    font-size: 1.65rem;
  }
  .festive-hero-subtext {
    text-align: center;
  }
  .festive-action-cards-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .festive-hero-section {
    min-height: auto;
    padding-top: 14px;
    padding-bottom: 24px;
  }
  .festive-hero-container {
    padding: 8px 12px 16px;
  }
  .festive-hero-visual-col {
    max-width: 200px;
  }
  .festive-ornate-header {
    justify-content: center;
    width: 100%;
  }
  .festive-ornate-badge {
    padding: 5px 12px;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    gap: 6px;
  }
  .ornate-badge-title {
    font-size: 0.82rem;
    letter-spacing: 0.2px;
    text-align: center;
    word-break: break-word;
  }
  .flicker-diya {
    font-size: 1rem;
  }
  .festive-pills-row {
    gap: 8px;
    width: 100%;
    justify-content: center;
  }
  .festive-pill-mega,
  .festive-pill-discount {
    font-size: 0.74rem;
    padding: 5px 12px;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
  }
  .festive-hero-heading {
    font-size: 1.25rem;
    line-height: 1.35;
    gap: 6px;
    text-align: center;
    justify-content: center;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }
  .title-diya-glow {
    font-size: 1.35rem;
  }
  .festive-hero-subtext {
    font-size: 0.82rem;
    line-height: 1.5;
    text-align: center;
    word-break: break-word;
  }
  .festive-action-cards-grid {
    gap: 12px;
    width: 100%;
    max-width: 100%;
  }
  /* Coupon card mobile layout */
  .festive-card-coupon {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
  }
  .card-coupon-left {
    width: 100%;
    justify-content: center;
    margin-bottom: 2px;
  }
  .card-coupon-code-dashed {
    flex: 1 1 auto;
    text-align: center;
    padding: 4px 10px;
    min-width: 100px;
    box-sizing: border-box;
  }
  .coupon-val-text {
    font-size: 1.05rem;
    letter-spacing: 1.5px;
  }
  .btn-copy-gold {
    padding: 6px 14px;
    font-size: 0.78rem;
    flex-shrink: 0;
  }
  /* Timer card mobile layout */
  .festive-card-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
  }
  .card-timer-left {
    width: 100%;
    justify-content: center;
  }
  .timer-countdown-display {
    width: 100%;
    justify-content: center;
    gap: 4px;
    flex-wrap: nowrap;
  }
  .timer-blue-box {
    min-width: 36px;
    padding: 3px 5px;
    flex: 0 0 auto;
    box-sizing: border-box;
  }
  .timer-digit {
    font-size: 1rem;
  }
  .timer-sublabel {
    font-size: 0.5rem;
  }
  .timer-separator {
    font-size: 0.85rem;
  }
  .festive-announcement-card {
    padding: 10px 14px;
    border-radius: 12px;
    gap: 8px;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
  }
  .announcement-text-content {
    font-size: 0.78rem;
    line-height: 1.4;
    word-break: break-word;
  }
}

@media (max-width: 380px) {
  .festive-hero-visual-col {
    max-width: 160px;
  }
  .festive-hero-heading {
    font-size: 1.1rem;
  }
  .festive-pill-mega,
  .festive-pill-discount {
    font-size: 0.68rem;
    padding: 4px 8px;
    gap: 5px;
  }
  .pill-gift-icon, .pill-arrow-icon {
    font-size: 0.7rem;
  }
  .card-coupon-code-dashed {
    min-width: 80px;
    padding: 4px 6px;
  }
  .coupon-val-text {
    font-size: 0.92rem;
    letter-spacing: 1px;
  }
  .btn-copy-gold {
    padding: 5px 10px;
    font-size: 0.72rem;
  }
  .timer-blue-box {
    min-width: 30px;
    padding: 2px 3px;
  }
  .timer-digit {
    font-size: 0.88rem;
  }
}
