:root {
  /* TheLotter inspired Light, Clean & Trustworthy Theme */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  
  --primary-blue: #0284c7;        /* Energetic bright brand blue */
  --primary-dark: #0f172a;        /* High-contrast dark slate */
  --accent-green: #16a34a;        /* Conversion "Play Now" emerald green */
  --accent-green-hover: #15803d;
  --gold-jackpot: #d97706;        /* High-energy jackpot amber */
  --gold-bg: #fef3c7;
  --crimson: #dc2626;             /* Urgency badge */
  --crimson-light: #fee2e2;
  
  --text-main: #0f172a;           /* Crisp dark reading text */
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --border-card: #e2e8f0;
  --border-focus: #38bdf8;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 28px -5px rgba(15, 23, 42, 0.12);
  --shadow-green: 0 4px 14px rgba(22, 163, 74, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}
body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 92%;
  max-width: 1220px;
  margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
}

.text-center { text-align: center; }

/* Top Header Bar */
.top-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-card);
  font-size: 0.82rem;
  padding: 8px 0;
  color: var(--text-secondary);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.age-badge {
  background-color: var(--crimson-light);
  color: var(--crimson);
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  margin-right: 8px;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.phone-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
}

.divider {
  margin: 0 8px;
  color: #cbd5e1;
}

/* Main Navigation */
.main-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-card);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
  padding: 14px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.emblem-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(15, 23, 42, 0.12));
  transition: transform 0.2s ease;
}

.brand-logo:hover .emblem-img {
  transform: scale(1.05);
}

.brand-vector-img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 2px;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.62rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--primary-dark);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-jackpot);
  letter-spacing: 0.8px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 6px 4px;
  position: relative;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--primary-blue);
  border-radius: 2px;
  transition: width 0.25s ease-in-out;
}

.nav-links a:hover {
  color: var(--primary-blue);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary-blue);
  font-weight: 800;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-play {
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  box-shadow: var(--shadow-green);
}

.btn-play:hover {
  background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.4);
}

.btn-blue {
  background-color: var(--primary-blue);
  color: #ffffff;
}

.btn-blue:hover {
  background-color: #0369a1;
}

.btn-outline {
  background-color: #ffffff;
  color: var(--primary-dark);
  border: 1px solid var(--border-card);
}

.btn-outline:hover {
  background-color: var(--bg-subtle);
  border-color: #cbd5e1;
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: #1eb956;
}

.btn-large {
  padding: 14px 30px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* TheLotter Style Clean Light Hero Section */

/* Clean Single-Line Hero Banner */
.hero-clean-banner {
  padding: 36px 0 28px;
  background: transparent;
  border-bottom: 1px solid var(--border-card);
  clear: both;
}

.hero-main-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 36px 36px;
  box-shadow: var(--shadow-md);
  display: block;
}

.hero-header-center {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 24px auto;
}

.state-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--primary-blue);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-headline-single {
  font-size: clamp(1.4rem, 2.5vw, 2.15rem);
  font-weight: 800;
  color: #1e3a8a;
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  white-space: normal;
}

@media (min-width: 992px) {
  .hero-headline-single {
    white-space: nowrap;
  }
}

.hero-tagline {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 820px;
  margin: 0 auto;
}

/* Punjab State Diwali Bumper Banner Card */

/* Pulsing LIVE NOW Badge on top right of banner */
.punjab-bumper-banner-wrapper {
  position: relative;
  margin-top: 20px;
}

.live-now-badge-overlay {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220, 38, 38, 0.95);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 30px;
  border: 2px solid #ffffff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.6);
  animation: liveBadgeGlow 1.4s infinite alternate;
  cursor: default;
  backdrop-filter: blur(4px);
}

.live-dot-pulse {
  width: 10px;
  height: 10px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 8px #ffffff;
  animation: dotFlash 0.9s infinite alternate;
}

@keyframes liveBadgeGlow {
  0% {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.7), 0 0 20px rgba(239, 68, 68, 0.5);
    transform: scale(1);
  }
  100% {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 0 18px rgba(255, 60, 60, 1), 0 0 35px rgba(255, 120, 120, 0.8);
    transform: scale(1.05);
  }
}

@keyframes dotFlash {
  0% { opacity: 0.3; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1.2); }
}

@media (max-width: 640px) {
  .live-now-badge-overlay {
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    font-size: 0.78rem;
    gap: 6px;
  }
  .live-dot-pulse {
    width: 8px;
    height: 8px;
  }
}


.punjab-bumper-media-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.punjab-bumper-banner-card {
  margin-top: 6px;
  background: #0b1e4f;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(14, 30, 80, 0.22);
  border: 2px solid #f59e0b;
}

.punjab-bumper-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.punjab-banner-action-bar {
  background: linear-gradient(90deg, #091838 0%, #0f275e 50%, #091838 100%);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(245, 158, 11, 0.4);
}

.punjab-banner-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.banner-pill-tag {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 20px;
  letter-spacing: 0.8px;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
}

.banner-meta-text {
  color: #f1f5f9;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.banner-meta-text strong {
  color: #facc15;
  font-size: 1.45rem;
  font-weight: 900;
  text-shadow: 0 0 12px rgba(250, 204, 21, 0.4);
}

.banner-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Pulsing Golden Buy Now Button */
/* Highlighted, Bigger, Blinking/Glowing Buy Now Button */
/* Refined, High-Converting Buy Now Button */
.btn-buy-diwali-pulsing {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 10px 24px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
  transition: all 0.2s ease;
  text-decoration: none;

  animation: buyNowRedBlink 1.3s infinite ease-in-out;
}

.btn-buy-diwali-pulsing:hover {
  transform: scale(1.08) translateY(-2px);
  filter: brightness(1.15);
}

@keyframes buyNowRedBlink {
  0%, 100% {
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.75), 0 0 25px rgba(220, 38, 38, 0.5);
    filter: brightness(1);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 22px rgba(255, 60, 60, 0.95), 0 0 45px rgba(239, 68, 68, 0.8);
    filter: brightness(1.2);
    transform: scale(1.02);
  }
}

@keyframes buyNowGreenBlink {
  0%, 100% {
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.65), 0 0 20px rgba(5, 150, 105, 0.4);
    filter: brightness(1);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.95), 0 0 35px rgba(16, 185, 129, 0.75);
    filter: brightness(1.18);
    transform: scale(1.02);
  }
}

/* =========================================================
   PERFECT MOBILE EXPERIENCE FOR HERO & DIWALI BANNER CARD
   ========================================================= */
@media (max-width: 768px) {
  .hero-clean-banner {
    padding: 8px 0 14px !important;
  }

  .hero-main-card {
    padding: 14px 3px 16px !important;
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08) !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-header-center {
    margin-bottom: 10px !important;
    padding: 0 2px !important;
  }

  .hero-headline-single {
    font-size: 1.15rem !important;
    line-height: 1.25 !important;
    margin-bottom: 6px !important;
    letter-spacing: -0.2px !important;
    white-space: normal !important;
  }

  .hero-tagline {
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
    color: #64748b !important;
    margin-bottom: 0 !important;
  }

  /* Punjab Banner Card on Mobile */
  .punjab-bumper-banner-wrapper {
    margin-top: 10px !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .punjab-bumper-banner-card {
    border-radius: 12px !important;
    border: 1.5px solid #f59e0b !important;
    box-shadow: 0 8px 24px rgba(11, 30, 79, 0.25) !important;
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .punjab-bumper-img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Live Now Badge neatly docked on top-right */
  .live-now-badge-overlay {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    padding: 3px 9px !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.5px !important;
    border-radius: 20px !important;
    border: 1.5px solid #ffffff !important;
    gap: 4px !important;
    z-index: 25 !important;
  }

  .live-dot-pulse {
    width: 6px !important;
    height: 6px !important;
  }

  /* Action Bar on Mobile */
  .punjab-banner-action-bar {
    padding: 8px 12px !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }

  .punjab-banner-meta {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    width: auto !important;
  }

  .banner-pill-tag {
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    padding: 2px 7px !important;
    border-radius: 5px !important;
    letter-spacing: 0.3px !important;
  }

  .banner-meta-text {
    font-size: 0.82rem !important;
    line-height: 1.2 !important;
    color: #cbd5e1 !important;
    margin-top: 1px !important;
  }

  .banner-meta-text strong {
    color: #fbbf24 !important;
    font-size: 0.98rem !important;
  }

  .banner-cta-group {
    width: auto !important;
    margin-top: 0 !important;
  }

    /* Compact, clean, highlighted blinking Buy Now Button on Mobile */
  .btn-buy-diwali-pulsing {
    width: auto !important;
    min-width: 96px !important;
    padding: 7px 15px !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
    letter-spacing: 0.3px !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    animation: buyNowRedBlink 1.3s infinite ease-in-out !important;
  }
}

@media (max-width: 380px) {
  .hero-headline-single {
    font-size: 1.05rem !important;
  }
  .banner-meta-text {
    font-size: 0.8rem !important;
  }
}

/* Trust Bar */
.trust-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-card);
  padding: 24px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon {
  color: var(--primary-brand);
  font-size: 1.6rem;
  background: var(--bg-subtle);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-card);
}

.trust-item h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.trust-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Section Common */
.section {
  padding: 60px 0;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  color: var(--primary-blue);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-title {
  font-size: 2.1rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 0.95rem;
}

/* TheLotter Style Lottery Cards Grid */
.lottery-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lottery-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}

.lottery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.lottery-card.bumper-featured {
  border: 2px solid #f59e0b;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15);
}

.lottery-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.lottery-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
}

.lottery-badge.bumper {
  background-color: var(--crimson-light);
  color: var(--crimson);
}

.lottery-badge.daily {
  background-color: #eff6ff;
  color: var(--primary-blue);
}

.lottery-flag-icon {
  font-size: 1.5rem;
}

.lottery-name {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.lottery-state-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* Jackpot Area inside card (TheLotter Hook) */
.lottery-jackpot-box {
  background-color: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  margin-bottom: 18px;
}

.lottery-jackpot-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lottery-jackpot-val {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.2;
}

.bumper-featured .lottery-jackpot-val {
  color: #b45309;
}

.lottery-meta-list {
  margin-bottom: 22px;
  flex-grow: 1;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 7px 0;
  border-bottom: 1px solid #f1f5f9;
}

.meta-row span {
  color: var(--text-muted);
}

.meta-row strong {
  color: var(--primary-dark);
}

/* Steps (TheLotter How It Works) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-circle {
  width: 48px;
  height: 48px;
  background: #eff6ff;
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 16px;
  font-family: var(--font-heading);
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Results Section */
.results-card-container {
  max-width: 920px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.results-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.results-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

.results-btn.active {
  background: var(--primary-dark);
  color: #ffffff;
  border-color: var(--primary-dark);
}

.results-table {
  width: 100%;
  border-collapse: collapse;
}

.results-table th {
  background-color: var(--bg-subtle);
  padding: 12px 16px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-align: left;
  font-weight: 700;
}

.results-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-card);
  font-size: 0.9rem;
}

.num-pill {
  background: #ecfdf5;
  color: #047857;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid #a7f3d0;
}

/* Countdown Block inside Results */
.countdown-box {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin-bottom: 18px;
}

.countdown-flex {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.time-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  min-width: 70px;
  box-shadow: var(--shadow-sm);
}

.time-card span {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  font-family: var(--font-heading);
}

.time-card label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Contact & Payment Card */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
}

.clean-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.contact-row-item {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
}

.contact-row-item:last-child {
  border-bottom: none;
}

.qr-box-inner {
  text-align: center;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px dashed #cbd5e1;
}

.qr-box-inner img {
  width: 170px;
  height: 170px;
  background: #ffffff;
  padding: 8px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.upi-tag {
  background: #ffffff;
  border: 1px solid var(--border-card);
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.85rem;
}

.copy-mini-btn {
  background: var(--primary-blue);
  color: #fff;
  border: none;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 0.72rem;
  cursor: pointer;
  font-weight: 700;
}

/* Clean Footer */
.clean-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--border-card);
  padding: 50px 0 24px;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--primary-dark);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-col ul li a:hover {
  color: var(--primary-blue);
}

.footer-bottom {
  border-top: 1px solid var(--border-card);
  padding-top: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Light Checkout Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-card);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-header h2 {
  font-size: 1.45rem;
  color: var(--primary-dark);
}

.modal-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-step {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f1f5f9;
}

.step-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-main);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.price-summary-box {
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-top: 10px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.summary-line.total {
  border-top: 1px solid #cbd5e1;
  padding-top: 6px;
  margin-top: 6px;
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 1.05rem;
}

.summary-line.total span:last-child {
  color: #16a34a;
}

.payment-box {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  border: 1px solid var(--border-card);
}



.checkbox-group {
  display: flex;
  gap: 10px;
  margin: 18px 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.checkbox-group a {
  color: var(--primary-blue);
}

.hidden {
  display: none !important;
}

/* Success Screen */
.order-success-screen {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  font-size: 3.2rem;
  margin-bottom: 10px;
}

.success-details-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: left;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 18px 0;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: var(--primary-dark);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  opacity: 0;
  transition: all 0.3s ease;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25d366;
  color: #ffffff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  text-decoration: none;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-main-card, .contact-grid {
    grid-template-columns: 1fr;
  }
  .lottery-cards-grid, .steps-grid, .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .header-actions { display: none; }
  
  .container {
    width: 96%;
    padding: 0 2px;
  }
  
  .main-header {
    padding: 10px 0;
  }
  
  .brand-logo {
    gap: 10px;
  }
  
  .emblem-img {
    width: 60px;
    height: 60px;
  }
  
  .brand-name-img {
    height: 22px;
    max-width: 170px;
  }
  .emblem-img {
    width: 48px;
    height: 48px;
  }
  .brand-name {
    font-size: 1.25rem;
  }
  
  .brand-tagline {
    font-size: 0.65rem;
  }

  /* hero handled in dedicated hero mobile section */

  .trust-bar {
    padding: 16px 0;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .trust-item {
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
  }

  .trust-item h4 {
    font-size: 0.9rem;
  }

  .trust-item p {
    font-size: 0.78rem;
  }

  .lottery-cards-grid, .steps-grid, .form-row-2 {
    grid-template-columns: 1fr;
  }
  
  .footer-grid { 
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .payment-box { 
    flex-direction: column; 
    text-align: center;
    padding: 12px;
  }

  .modal-card {
    padding: 20px 16px;
    max-height: 92vh;
    border-radius: 16px;
    width: 95%;
  }

  .modal-close {
    top: 12px;
    right: 14px;
    font-size: 1.6rem;
  }

  .modal-header h2 {
    font-size: 1.25rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* Prevents iOS auto-zoom on input focus */
    padding: 10px 12px;
  }

  .floating-whatsapp {
    bottom: 74px; /* Lift above mobile bottom app bar */
    right: 16px;
    width: 48px;
    height: 48px;
  }

  .floating-whatsapp svg {
    width: 24px;
    height: 24px;
  }
}

.trust-icon svg {
  display: block;
  color: var(--primary-brand);
}


/* QR Code Container with Centered Idol Emblem */
.qr-code-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
  line-height: 0;
  border-radius: 8px;
  background: #ffffff;
}

.modal-qr-img {
  width: 120px;
  height: 120px;
  background: #ffffff;
  padding: 4px;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  display: block;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.qr-center-idol {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
  box-shadow: 0 0 0 2px #ffffff, 0 1px 4px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  z-index: 5;
}

.qr-center-idol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}

/* Lightbox Enlarge QR Container with Centered Idol */
.lightbox-qr-wrapper {
  position: relative;
  display: inline-block;
  line-height: 0;
  background: #ffffff;
}

.lightbox-center-idol {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  padding: 3px;
  box-shadow: 0 0 0 4px #ffffff, 0 2px 8px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  z-index: 5;
}

.lightbox-center-idol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}


/* Footer Brand Logo Layout */
.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  max-width: 100%;
  box-sizing: border-box;
  text-decoration: none;
}

.footer-emblem-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand-name-img {
  height: 24px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-brand-tagline {
  font-size: 0.65rem;
  font-weight: 700;
  color: #b45309;
  letter-spacing: 0.5px;
  margin-top: 1px;
}

@media (max-width: 600px) {
  .footer-brand-logo {
    max-width: 100%;
    width: auto;
    padding: 6px 12px;
  }
  .footer-emblem-img {
    width: 38px;
    height: 38px;
  }
  .footer-brand-name-img {
    height: 20px;
    max-width: 140px;
  }
  .footer-brand-tagline {
    font-size: 0.6rem;
  }
}


/* In-App PDF Document Viewer Modal */
.pdf-modal-card {
  background: #ffffff;
  border-radius: 16px;
  max-width: 900px;
  width: 95%;
  height: 90vh;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.45);
  border: 1.5px solid var(--border-card);
  overflow: hidden;
  box-sizing: border-box;
}

.pdf-modal-header {
  padding: 14px 20px;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #334155;
  flex-shrink: 0;
}

.pdf-modal-header h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdf-modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pdf-newtab-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.pdf-newtab-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.pdf-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.15s ease;
}

.pdf-close-btn:hover {
  color: #ffffff;
}

.pdf-modal-body {
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
  background: #f1f5f9;
}

.pdf-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 640px) {
  .pdf-modal-card {
    width: 98%;
    height: 94vh;
    border-radius: 12px;
  }
  .pdf-modal-header {
    padding: 10px 14px;
  }
  .pdf-modal-header h3 {
    font-size: 0.9rem;
  }
  .pdf-newtab-btn {
    padding: 4px 8px;
    font-size: 0.72rem;
  }
}

/* ========================================================
   PhonePe Payment Gateway Mode & Tabs
   ======================================================== */
.payment-tabs-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.pay-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.pay-tab-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.pay-tab-btn.active {
  border-color: #5f259f;
  background: #faf5ff;
  box-shadow: 0 4px 12px rgba(95, 37, 159, 0.12);
}

.pay-tab-icon {
  font-size: 1.5rem;
}

.pay-tab-text strong {
  display: block;
  font-size: 0.88rem;
  color: #0f172a;
}

.pay-tab-btn.active .pay-tab-text strong {
  color: #5f259f;
}

.pay-tab-text small {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 2px;
}

.phonepe-checkout-card {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  border: 1.5px solid #d8b4fe;
  border-radius: 12px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.phonepe-card-badge {
  display: inline-block;
  background: #5f259f;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.phonepe-card-content {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.phonepe-icon-badge {
  width: 44px;
  height: 44px;
  background: #5f259f;
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(95, 37, 159, 0.25);
}

.phonepe-desc h4 {
  margin: 0 0 4px 0;
  color: #0f172a;
  font-size: 0.98rem;
  font-weight: 800;
}

.phonepe-desc p {
  margin: 0 0 10px 0;
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.4;
}

.phonepe-features {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #6b21a8;
}

@media (max-width: 480px) {
  .payment-tabs-selector {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}


/* ========================================================
   Diwali Hanging Lamp Corner Graphic on Top Right
   ======================================================== */
.hero-clean-banner {
  position: relative;
  overflow: visible;
}

.hero-hanging-diwali-corner {
  position: absolute;
  top: 0;
  right: 15px;
  width: 90px;
  max-width: 110px;
  z-index: 1;
  pointer-events: none;
  transform-origin: top center;
  animation: cornerLampSway 4s ease-in-out infinite alternate;
  filter: drop-shadow(0 4px 10px rgba(245, 158, 11, 0.25));
}

@media (min-width: 1200px) {
  .hero-hanging-diwali-corner {
    right: max(20px, calc((100vw - 1220px) / 2 - 110px));
    width: 105px;
  }
}

@media (max-width: 992px) {
  .hero-hanging-diwali-corner {
    width: 75px;
    right: 8px;
    opacity: 0.85;
  }
}

@media (max-width: 640px) {
  .hero-hanging-diwali-corner {
    display: none; /* keep mobile clean and focused on banner */
  }
}

.diwali-corner-hanging-img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes cornerLampSway {
  0% { transform: rotate(-2.5deg); }
  100% { transform: rotate(2.5deg); }
}

/* ========================================================
   Diwali Hanging Lamp Corner Graphic (Bigger Size Both Sides)
   ======================================================== */
.hero-clean-banner {
  position: relative;
  overflow: visible;
}

.hero-hanging-diwali-corner {
  position: absolute;
  top: 0;
  width: 145px;
  max-width: 165px;
  z-index: 1;
  pointer-events: none;
  transform-origin: top center;
  filter: drop-shadow(0 6px 16px rgba(245, 158, 11, 0.3));
}

.hero-corner-right {
  right: 15px;
  animation: cornerLampSwayRight 4.5s ease-in-out infinite alternate;
}

.hero-corner-left {
  left: 15px;
  animation: cornerLampSwayLeft 4.5s ease-in-out infinite alternate;
  animation-delay: -2.25s;
}

@media (min-width: 1300px) {
  .hero-hanging-diwali-corner {
    width: 175px;
    max-width: 190px;
  }
  .hero-corner-right {
    right: max(15px, calc((100vw - 1220px) / 2 - 180px));
  }
  .hero-corner-left {
    left: max(15px, calc((100vw - 1220px) / 2 - 180px));
  }
}

@media (max-width: 992px) {
  .hero-hanging-diwali-corner {
    width: 95px;
  }
  .hero-corner-right { right: 8px; }
  .hero-corner-left { left: 8px; }
}

@media (max-width: 640px) {
  .hero-hanging-diwali-corner {
    display: none;
  }
}

.diwali-corner-hanging-img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes cornerLampSwayRight {
  0% { transform: rotate(-2.5deg); }
  100% { transform: rotate(2.5deg); }
}

@keyframes cornerLampSwayLeft {
  0% { transform: rotate(2.5deg); }
  100% { transform: rotate(-2.5deg); }
}


/* ========================================================
   Combined Diwali Festive Theme: Small Top Garland + Left/Right Hanging Lamps
   ======================================================== */
.hero-clean-banner {
  position: relative;
  overflow: visible;
}



/* 2. Vertical Hanging Lamps on Both Left & Right Flanks */
.hero-hanging-diwali-corner {
  position: absolute;
  top: 10px;
  width: 115px;
  max-width: 135px;
  z-index: 1;
  pointer-events: none;
  transform-origin: top center;
  filter: drop-shadow(0 4px 12px rgba(245, 158, 11, 0.25));
}

.hero-corner-left {
  left: 15px;
  animation: cornerLampSwayLeft 4.5s ease-in-out infinite alternate;
}

.hero-corner-right {
  right: 15px;
  animation: cornerLampSwayRight 4.5s ease-in-out infinite alternate;
  animation-delay: -2.25s;
}

@media (min-width: 1300px) {
  .hero-hanging-diwali-corner {
    width: 140px;
  }
  .hero-corner-left {
    left: max(15px, calc((100vw - 1220px) / 2 - 150px));
  }
  .hero-corner-right {
    right: max(15px, calc((100vw - 1220px) / 2 - 150px));
  }
}

@media (max-width: 992px) {
  .hero-hanging-diwali-corner {
    width: 80px;
  }
  .hero-corner-left { left: 6px; }
  .hero-corner-right { right: 6px; }
  .hero-diwali-horizontal-border {
    height: 18px;
  }
}

@media (max-width: 640px) {
  .hero-hanging-diwali-corner,
  .hero-diwali-horizontal-border {
    display: none; /* keep mobile clean */
  }
}

.diwali-corner-hanging-img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes cornerLampSwayLeft {
  0% { transform: rotate(2.5deg); }
  100% { transform: rotate(-2.5deg); }
}

@keyframes cornerLampSwayRight {
  0% { transform: rotate(-2.5deg); }
  100% { transform: rotate(2.5deg); }
}

/* ========================================================
   Festive Marigold Flower Garland (Toran) along Top Ceiling
   ======================================================== */
.festive-marigold-toran-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 24px; /* smaller, subtle & delicate */
  background-image: url('assets/diwali-side-decor-clean.png');
  background-repeat: repeat-x;
  background-position: top center;
  background-size: auto 24px; /* maintains natural round flowers in compact size */
  pointer-events: none;
  z-index: 1;
  opacity: 0.72; /* softer, lighter tone */
  filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.15)) brightness(1.08) saturate(0.85); /* lighter pastel festive glow */
}

@media (max-width: 768px) {
  .festive-marigold-toran-bar {
    height: 26px;
    background-size: auto 26px;
  }
}

/* ========================================================
   Monthly Bumper Festive Hanging Flanks (Left & Right)
   ======================================================== */
.monthly-bumper-festive-wrapper {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.monthly-flank-hanging {
  display: none;
  position: absolute;
  top: -16px; /* Touches and connects directly to the bottom line of the patterned border */
  width: 150px;
  max-width: 175px;
  z-index: 1;
  pointer-events: none;
  transform-origin: top center;
  filter: drop-shadow(0 6px 16px rgba(245, 158, 11, 0.3));
}

.flank-hanging-left {
  left: 10px;
  animation: monthlyLampSwayLeft 4.2s ease-in-out infinite alternate;
}

.flank-hanging-right {
  right: 10px;
  animation: monthlyLampSwayRight 4.2s ease-in-out infinite alternate;
  animation-delay: -2.1s;
}

@media (min-width: 1150px) {
  .monthly-flank-hanging {
    display: block;
    width: 150px;
  }
  .flank-hanging-left {
    left: max(-20px, calc((100% - 820px) / 2 - 180px));
  }
  .flank-hanging-right {
    right: max(-20px, calc((100% - 820px) / 2 - 180px));
  }
}

@media (min-width: 1300px) {
  .monthly-flank-hanging {
    width: 175px;
  }
  .flank-hanging-left {
    left: max(-30px, calc((100% - 820px) / 2 - 210px));
  }
  .flank-hanging-right {
    right: max(-30px, calc((100% - 820px) / 2 - 210px));
  }
}

.monthly-flank-img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes monthlyLampSwayLeft {
  0% { transform: rotate(2.2deg); }
  100% { transform: rotate(-2.2deg); }
}

@keyframes monthlyLampSwayRight {
  0% { transform: rotate(-2.2deg); }
  100% { transform: rotate(2.2deg); }
}

/* Peacock Festive Rangoli Mandala (Downside and more to the Left) */
.monthly-flank-peacock {
  display: none;
  position: absolute;
  bottom: 0px; /* aligned flush with bottom of card */
  width: 175px;
  max-width: 200px;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 6px 20px rgba(245, 158, 11, 0.3));
  animation: peacockGentlePulse 4.5s ease-in-out infinite alternate;
}

@media (min-width: 1150px) {
  .monthly-flank-peacock {
    display: block;
    left: max(-65px, calc((100% - 820px) / 2 - 290px));
  }
}

@media (min-width: 1340px) {
  .monthly-flank-peacock {
    width: 215px;
    left: max(-85px, calc((100% - 820px) / 2 - 335px));
  }
}

.monthly-peacock-img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes peacockGentlePulse {
  0% { transform: rotate(-2deg) scale(0.98); }
  100% { transform: rotate(2deg) scale(1.02); }
}

/* Symmetrical Festive Rangoli Mandala (Right Flank) */
.monthly-flank-rangoli {
  display: none;
  position: absolute;
  bottom: 0px; /* aligned flush with bottom of card */
  width: 175px;
  max-width: 200px;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 6px 20px rgba(245, 158, 11, 0.3));
  animation: mandalaGentlePulse 4.5s ease-in-out infinite alternate;
  animation-delay: -2.25s;
}

@media (min-width: 1150px) {
  .monthly-flank-rangoli {
    display: block;
    right: max(-65px, calc((100% - 820px) / 2 - 290px));
  }
}

@media (min-width: 1340px) {
  .monthly-flank-rangoli {
    width: 215px;
    right: max(-85px, calc((100% - 820px) / 2 - 335px));
  }
}

@keyframes mandalaGentlePulse {
  0% { transform: rotate(2deg) scale(0.98); }
  100% { transform: rotate(-2deg) scale(1.02); }
}

100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .monthly-spinning-bg-mandala {
    width: 380px;
    height: 380px;
    opacity: 0.75;
  }
}

/* ========================================================
   Festive Floral Patterned Divider Bar under Monthly Bumper
   ======================================================== */
.festive-patterned-divider-bar {
  width: 100%;
  height: 22px;
  background-image: url('assets/festive-divider-pattern.png');
  background-repeat: repeat-x;
  background-size: auto 22px;
  background-position: left center;
  margin-top: 6px;
  margin-bottom: 16px;
  opacity: 1;
  filter: drop-shadow(0 2px 4px rgba(217, 119, 6, 0.2));
}

/* ========================================================
   Golden Sun Mandala Decorative Divider Bar under Mega Bumper
   ======================================================== */
.mega-bumper-sun-divider-bar {
  width: 100%;
  height: 24px;
  background-image: url('assets/festive-sun-divider.png');
  background-repeat: repeat-x;
  background-size: auto 24px;
  background-position: left center;
  margin-top: 4px;
  margin-bottom: 0px;
  opacity: 1;
  filter: drop-shadow(0 2px 5px rgba(245, 158, 11, 0.25));
}

/* ========================================================
   Festive Star Rangoli Patterned Divider Bar under Daily Draws
   ======================================================== */
.daily-draws-star-divider-bar {
  width: 100%;
  height: 22px;
  background-image: url('assets/daily-draws-divider-pattern.png');
  background-repeat: repeat-x;
  background-size: auto 22px;
  background-position: left center;
  margin-top: 4px;
  margin-bottom: 6px;
  opacity: 1;
  filter: drop-shadow(0 2px 4px rgba(217, 119, 6, 0.2));
}
