/* ==========================================================================
   Dussehra 2026 - Viral WhatsApp Festive Greeting Landing Page
   Inspired by Classic Festival Viral Blogger & WhatsApp Scripts
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Outfit:wght@400;500;600;700;800&family=Yatra+One&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100%;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #0A0703;
  background-image: radial-gradient(circle at 50% 20%, #451a03 0%, #1c0a00 50%, #080301 100%);
  background-attachment: fixed;
  color: #FFFFFF;
  overflow-x: hidden;
}

/* Background animated festive sparkle pattern */
.bg-sparkles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, #ffd700, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 40px 70px, #ff9900, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 90px 40px, #fff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 160px 120px, #ffd700, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.35;
  z-index: 1;
}

/* ==========================================================================
   Vertical Scrolling Marquees (Left Up, Right Down)
   ========================================================================== */
.technovedant1, .technovedant2 {
  position: fixed;
  top: 0;
  height: 100%;
  width: 50px;
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.technovedant1 {
  left: 6px;
}

.technovedant2 {
  right: 6px;
}

.marquee-item {
  display: block;
  margin: 14px auto;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.7));
  transition: transform 0.3s ease;
}

/* Floating Audio Toggle */
.music-toggle-btn {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 100;
  background: linear-gradient(135deg, #f59e0b, #dc2626);
  color: #fff;
  border: 2px solid #fef08a;
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.5), 0 0 10px rgba(245, 158, 11, 0.6);
  display: flex;
  align-items: center;
  gap: 6px;
  animation: pulse-border 2s infinite;
  transition: all 0.25s ease;
}

.music-toggle-btn:hover {
  transform: scale(1.05);
}

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 12px rgba(245, 158, 11, 0.6); }
  50% { box-shadow: 0 0 22px rgba(239, 68, 68, 0.9); }
}

/* ==========================================================================
   Central Card Container
   ========================================================================== */
.Technovedantncontainer {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 10px 10px 120px 10px;
  position: relative;
  z-index: 20;
}

.TechnoVedant-main-greeting {
  width: 100%;
  background: linear-gradient(180deg, #1f0d03 0%, #140700 35%, #180900 70%, #200d02 100%);
  border: 2px solid #F59E0B;
  border-radius: 18px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.35);
  text-align: center;
  overflow: hidden;
  position: relative;
}

/* Top Decorative Borders */
.top-festive-stripe {
  background: linear-gradient(90deg, #b91c1c, #d97706, #f59e0b, #d97706, #b91c1c);
  padding: 6px 10px;
  text-align: center;
  border-bottom: 1.5px solid #FEF08A;
}

.festive-subbadge {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #FFFBEB;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   Live Countdown Timer
   ========================================================================== */
.countdown-box {
  background: linear-gradient(135deg, #2b1102 0%, #150600 100%);
  border-bottom: 2px solid #f59e0b;
  padding: 12px 10px;
  text-align: center;
}

.countdown-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #FCD34D;
  margin-bottom: 4px;
  text-transform: uppercase;
}

#TECHNOVEDANT {
  font-family: 'Cinzel', 'Outfit', Georgia, serif;
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  text-shadow: 0 0 10px #f59e0b, 0 0 20px #dc2626;
  letter-spacing: 1px;
}

#TECHNOVEDANT span.time-val {
  color: #FEF08A;
  font-weight: 900;
  font-size: 22px;
}

#TECHNOVEDANT span.time-unit {
  font-size: 13px;
  color: #FED7AA;
  font-style: italic;
  margin-right: 6px;
}

/* ==========================================================================
   Glowing 3D Sender Name Banner
   ========================================================================== */
.name-banner-strip {
  background: radial-gradient(ellipse at center, #3b1402 0%, #140500 100%);
  border-bottom: 1.5px solid #F59E0B;
  padding: 16px 10px 14px 10px;
  position: relative;
}

.shubh-prefix {
  font-size: 14px;
  color: #FDE68A;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  display: block;
}

#TECHNOVEDANT-show-name {
  font-family: 'Yatra One', 'Cinzel', Georgia, cursive;
  font-size: 34px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.25;
  color: #FFDF00;
  text-shadow: 
    -2px 0px 2px #451A03,
    -4px 0px 4px #78350F,
    0 0 15px #F59E0B,
    0 0 25px #DC2626,
    0 0 40px #EA580C;
  animation: bounceIn 3s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
  word-wrap: break-word;
  padding: 0 10px;
}

@keyframes bounceIn {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.fromMessage {
  font-size: 16px;
  font-weight: 700;
  color: #FED7AA;
  margin-top: 6px;
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
  padding: 0 12px;
}

/* ==========================================================================
   Hero Visual Banner & Deity Image
   ========================================================================== */
.hero-art-box {
  padding: 14px 10px 6px 10px;
}

.hero-art-img {
  width: 95%;
  max-width: 380px;
  height: auto;
  border-radius: 12px;
  border: 1.5px solid #F59E0B;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7), 0 0 15px rgba(245, 158, 11, 0.4);
}

/* Poetic Wishes Cards */
.wish-card {
  margin: 14px 12px;
  padding: 14px 12px;
  background: rgba(254, 240, 138, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 12px;
  box-shadow: inset 0 0 15px rgba(245, 158, 11, 0.1);
}

.wish-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #FFFBEB;
  font-weight: 600;
}

.wish-card h3 span.highlight {
  color: #FEF08A;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.8);
}

.sloka-card {
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.25), rgba(217, 119, 6, 0.25));
  border: 1.5px dashed #F59E0B;
  border-radius: 10px;
  padding: 10px;
  margin: 12px 14px;
}

.sloka-sanskrit {
  font-family: 'Yatra One', Georgia, serif;
  font-size: 19px;
  color: #FDE047;
  letter-spacing: 1px;
  margin-bottom: 4px;
  text-shadow: 0 0 8px #B45309;
}

.sloka-meaning {
  font-size: 13px;
  color: #FED7AA;
}

/* ==========================================================================
   Image Slideshow
   ========================================================================== */
.TECHNOVEDANT-slideshow-container {
  max-width: 320px;
  height: 220px;
  position: relative;
  margin: 12px auto;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #F59E0B;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8), 0 0 15px rgba(245, 158, 11, 0.5);
}

.TECHNOVEDANTSlides {
  display: none;
  width: 100%;
  height: 100%;
}

.TECHNOVEDANTSlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fading animation */
.fade {
  animation: fadeAnim 1.5s ease-in-out;
}

@keyframes fadeAnim {
  from { opacity: 0.3; } 
  to { opacity: 1; }
}

/* Slideshow Dots Indicator */
.dots-container {
  text-align: center;
  margin-bottom: 14px;
}

.TECHNOVEDANTdot {
  height: 11px;
  width: 11px;
  margin: 0 4px;
  background-color: rgba(254, 240, 138, 0.35);
  border-radius: 50%;
  display: inline-block;
  transition: all 0.4s ease;
  cursor: pointer;
}

.TECHNOVEDANTdot.active {
  background-color: #F59E0B;
  box-shadow: 0 0 10px #F59E0B;
  transform: scale(1.3);
}

/* Video Container */
.video-wrap {
  width: 95%;
  max-width: 380px;
  margin: 12px auto;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #D97706;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
  background: #000;
}

.video-wrap iframe {
  width: 100%;
  height: 200px;
  border: none;
  display: block;
}

/* Devotional Diya / Bottom Artwork */
.festive-center-diya {
  width: 120px;
  height: auto;
  margin: 10px auto;
  display: block;
  filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.8));
  animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Audio Player Element */
.audio-box {
  margin: 8px auto 14px auto;
  text-align: center;
}

audio {
  width: 90%;
  max-width: 320px;
  height: 38px;
  filter: sepia(20%) saturate(140%) hue-rotate(340deg);
  border-radius: 20px;
}

/* ==========================================================================
   Fixed Bottom Interactive Form & Pulsing WhatsApp Button
   ========================================================================== */
#formBox {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 440px;
  padding: 8px 10px 10px 10px;
  background: rgba(15, 6, 1, 0.95);
  backdrop-filter: blur(8px);
  border-top: 2px solid #F59E0B;
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.8);
  display: flex;
  gap: 8px;
  z-index: 999;
}

#nameTextBox {
  flex: 1;
  height: 48px;
  padding: 10px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  background: #FFFBEB;
  border: 2px solid #F59E0B;
  border-radius: 10px;
  outline: none;
  text-align: center;
  transition: all 0.25s ease;
}

#nameTextBox:focus {
  border-color: #EF4444;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
  background: #FFFFFF;
}

#goButton {
  width: 110px;
  height: 48px;
  background: linear-gradient(135deg, #F59E0B, #DC2626);
  color: #FFF;
  border: 2px solid #FEF08A;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.5);
  transition: all 0.2s ease;
  user-select: none;
}

#goButton:active {
  transform: scale(0.95);
}

/* Pulsing WhatsApp Green Share Button */
.footerbtn {
  display: none;
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 420px;
  height: 52px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #FFFFFF;
  border: 2px solid #E8F5E9;
  border-radius: 30px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6), 0 0 15px rgba(18, 140, 126, 0.8);
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  line-height: 48px;
  z-index: 1000;
  animation: pulse-share 1.2s infinite;
  cursor: pointer;
}

.footerbtn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
}

.footerbtn-content img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

@keyframes pulse-share {
  0% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.04); }
  100% { transform: translateX(-50%) scale(1); }
}

/* Toast Message */
.toast-msg {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: #FEF08A;
  border: 1px solid #F59E0B;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.8);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.toast-msg.show {
  opacity: 1;
}

/* Responsive adjustment for small screens */
@media (max-width: 480px) {
  .technovedant1 {
    left: 1px;
    width: 28px;
  }
  .technovedant2 {
    right: 1px;
    width: 28px;
  }
  .marquee-item {
    width: 26px !important;
    height: auto !important;
    margin: 10px auto;
  }
  .Technovedantncontainer {
    padding-left: 32px;
    padding-right: 32px;
  }
  #TECHNOVEDANT-show-name {
    font-size: 28px;
  }
}
