/* ========================================
   KALKI PURUSH - VEDIC ASTROLOGY WEBSITE
   Premium CSS with Advanced Animations & Neon Glow
   ======================================== */

/* ========== GOOGLE FONTS IMPORT ========== */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Noto+Sans+Devanagari:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ========== CSS VARIABLES (THEME SYSTEM) ========== */
:root {
  /* Saffron Color Palette */
  --saffron: #ff9500;
  --saffron-light: #ffa500;
  --saffron-dark: #e68a00;
  --neon-saffron: #ffb84d;
  --gold: #d4af37;

  /* Dark Mode (Default) */
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a2e;
  --bg-tertiary: #16213e;
  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --text-tertiary: #808080;
  --border-color: rgba(255, 149, 0, 0.2);

  /* Fonts */
  --font-cinzel: 'Cinzel', serif;
  --font-devanagari: 'Noto Sans Devanagari', sans-serif;
  --font-poppins: 'Poppins', sans-serif;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.5s ease-in-out;
  --transition-fast: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-elastic: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-soft: 0 8px 32px rgba(255, 149, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(255, 149, 0, 0.3);
  --shadow-glow-intense: 0 0 40px rgba(255, 149, 0, 0.5), inset 0 0 20px rgba(255, 149, 0, 0.1);
  --shadow-neon: 0 0 20px rgba(255, 184, 77, 0.6), 0 0 40px rgba(255, 149, 0, 0.3);
  --shadow-neon-intense: 0 0 30px rgba(255, 184, 77, 0.8), 0 0 60px rgba(255, 149, 0, 0.5);
  --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Light Mode */
body.light-mode {
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f5;
  --bg-tertiary: #e8e8e8;
  --text-primary: #111111;
  --text-secondary: #333333;
  --text-tertiary: #666666;
  --border-color: rgba(255, 149, 0, 0.3);
  --shadow-soft: 0 8px 32px rgba(255, 149, 0, 0.08);
  --shadow-glow: 0 0 20px rgba(255, 149, 0, 0.2);
}

/* ========== GLOBAL STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-poppins);
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  transition: background 0.5s ease, color 0.5s ease;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(255, 149, 0, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 149, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
  animation: ambientGlow 8s ease-in-out infinite;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}

button {
  cursor: pointer;
  border: none;
  font-family: var(--font-poppins);
  color: var(--text-primary);
}

input,
textarea,
select {
  font-family: var(--font-poppins);
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

/* ========== UTILITY CLASSES ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 100px 20px;
}

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

.text-saffron {
  color: var(--neon-saffron);
}

.glow-text {
  text-shadow: 0 0 10px rgba(255, 184, 77, 0.6), 
               0 0 20px rgba(255, 149, 0, 0.4),
               0 0 30px rgba(255, 149, 0, 0.2);
}

/* ========== HEADER & NAVBAR ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(255, 184, 77, 0.2);
  box-shadow: 0 0 30px rgba(255, 184, 77, 0.3), 
              0 10px 30px rgba(0, 0, 0, 0.3);
  animation: headerSlideDown 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes headerSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.navbar {
  padding: 15px 0;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-family: var(--font-cinzel);
  font-size: 28px;
  font-weight: 700;
  color: var(--neon-saffron);
  text-shadow: 0 0 20px rgba(255, 184, 77, 0.6), 
               0 0 40px rgba(255, 149, 0, 0.3);
  margin-bottom: 5px;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  animation: glowPulse 3s ease-in-out infinite;
}

.logo h1::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--neon-saffron), var(--saffron));
  opacity: 0;
  transition: var(--transition-elastic);
  box-shadow: 0 0 15px rgba(255, 184, 77, 0.6);
  border-radius: 2px;
}

.logo h1:hover::after {
  opacity: 1;
}

.tagline {
  font-family: var(--font-poppins);
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  opacity: 0.85;
  transition: var(--transition);
}

.logo:hover .tagline {
  opacity: 1;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-poppins);
  font-size: 14px;
  font-weight: 600;
  color: var(--light-gray);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  transition: var(--transition-fast);
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-saffron), var(--saffron));
  transition: var(--transition-elastic);
  box-shadow: 0 0 10px rgba(255, 184, 77, 0.8);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--neon-saffron);
  text-shadow: 0 0 15px rgba(255, 184, 77, 0.6), 
               0 0 25px rgba(255, 149, 0, 0.3);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

/* ========== PAGE HEADER ========== */
.page-header {
  text-align: center;
  padding: 80px 20px 60px;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.6) 0%, rgba(22, 33, 62, 0.6) 100%);
  border-bottom: 2px solid rgba(255, 184, 77, 0.15);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 184, 77, 0.5), transparent);
}

.page-header h1 {
  font-family: var(--font-cinzel);
  font-size: 56px;
  font-weight: 700;
  color: var(--neon-saffron);
  margin-bottom: 15px;
  text-shadow: 0 0 30px rgba(255, 184, 77, 0.5), 
               0 0 60px rgba(255, 149, 0, 0.3);
  letter-spacing: 3px;
  animation: titleGlow 2.5s ease-in-out infinite;
}

.page-description {
  font-size: 18px;
  color: var(--light-gray);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* ========== HERO SECTION ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--tertiary-dark) 50%, var(--secondary-dark) 100%);
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 184, 77, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatNeon 15s ease-in-out infinite;
  filter: blur(50px);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(255, 149, 0, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatNeon 20s ease-in-out infinite reverse;
  filter: blur(50px);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 20px;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-title {
  font-family: var(--font-cinzel);
  font-size: 72px;
  font-weight: 900;
  color: var(--neon-saffron);
  margin-bottom: 20px;
  text-shadow: 0 0 40px rgba(255, 184, 77, 0.7), 
               0 0 80px rgba(255, 149, 0, 0.5),
               0 0 120px rgba(255, 149, 0, 0.3);
  letter-spacing: 3px;
  animation: glowPulse 3s ease-in-out infinite, fadeInDown 1s ease-out;
}

.hero-subtitle {
  font-family: var(--font-poppins);
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 600;
  animation: fadeInUp 1s ease-out 0.2s both;
  letter-spacing: 1px;
}

.hero-description {
  font-size: 16px;
  color: var(--light-gray);
  line-height: 1.9;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* ========== CTA BUTTON ========== */
.cta-button,
.btn {
  display: inline-block;
  padding: 16px 48px;
  background: linear-gradient(135deg, var(--saffron) 0%, var(--neon-saffron) 50%, var(--saffron-light) 100%);
  color: var(--primary-dark);
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: var(--transition-elastic);
  box-shadow: 0 0 20px rgba(255, 184, 77, 0.5), 
              0 0 40px rgba(255, 149, 0, 0.3),
              inset 0 0 20px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.cta-button::before,
.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: var(--transition-smooth);
}

.cta-button:hover,
.btn:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 0 40px rgba(255, 184, 77, 0.8), 
              0 0 80px rgba(255, 149, 0, 0.6),
              0 20px 50px rgba(255, 149, 0, 0.3),
              inset 0 0 20px rgba(255, 255, 255, 0.3);
}

.cta-button:hover::before,
.btn:hover::before {
  width: 400px;
  height: 400px;
}

.cta-button:active,
.btn:active {
  transform: translateY(-2px) scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--saffron) 0%, var(--neon-saffron) 50%, var(--saffron-light) 100%);
  color: var(--primary-dark);
}

.btn-secondary {
  background: rgba(255, 184, 77, 0.1);
  color: var(--neon-saffron);
  border: 2px solid var(--neon-saffron);
  box-shadow: 0 0 20px rgba(255, 184, 77, 0.4);
}

.btn-secondary:hover {
  background: rgba(255, 184, 77, 0.2);
  box-shadow: 0 0 30px rgba(255, 184, 77, 0.7);
}

/* ========== CARDS SECTION ========== */
.about-astrology {
  padding: 100px 20px;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.4) 0%, rgba(22, 33, 62, 0.4) 100%);
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.about-astrology h2 {
  font-family: var(--font-cinzel);
  font-size: 42px;
  text-align: center;
  margin-bottom: 50px;
  color: var(--neon-saffron);
  text-shadow: 0 0 30px rgba(255, 184, 77, 0.5);
  letter-spacing: 2px;
}

.astrology-intro {
  background: rgba(255, 184, 77, 0.08);
  border-left: 4px solid var(--neon-saffron);
  border-radius: 15px;
  padding: 40px;
  line-height: 1.9;
  font-size: 16px;
  color: var(--light-gray);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 30px rgba(255, 184, 77, 0.2);
}

.astrology-intro p {
  margin-bottom: 25px;
}

/* ========== PANCHANG CARDS GRID ========== */
.today-section,
.featured-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.today-section h2,
.featured-section h2 {
  font-family: var(--font-cinzel);
  font-size: 42px;
  text-align: center;
  margin-bottom: 60px;
  color: var(--neon-saffron);
  text-shadow: 0 0 30px rgba(255, 184, 77, 0.5);
  letter-spacing: 2px;
}

.panchang-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

/* ========== CARD STYLES ========== */
.panchang-card,
.feature-card,
.details-card,
.insight-card,
.info-card,
.festival-card,
.month-card,
.rashifal-card,
.muhurat-card,
.event-card,
.faq-item,
.testimonial-card {
  background: rgba(255, 184, 77, 0.06);
  border: 1.5px solid rgba(255, 184, 77, 0.3);
  border-radius: 18px;
  padding: 35px;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  transition: var(--transition-elastic);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
              inset 0 0 1px rgba(255, 255, 255, 0.15),
              0 0 0 1px rgba(255, 184, 77, 0.1);
  position: relative;
  overflow: hidden;
}

.panchang-card::before,
.feature-card::before,
.details-card::before,
.insight-card::before,
.info-card::before,
.festival-card::before,
.month-card::before,
.rashifal-card::before,
.muhurat-card::before,
.event-card::before,
.faq-item::before,
.testimonial-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 184, 77, 0.15) 0%, transparent 70%);
  transition: var(--transition-smooth);
  pointer-events: none;
}

.panchang-card:hover,
.feature-card:hover,
.details-card:hover,
.insight-card:hover,
.info-card:hover,
.festival-card:hover,
.month-card:hover,
.rashifal-card:hover,
.muhurat-card:hover,
.event-card:hover,
.faq-item:hover,
.testimonial-card:hover {
  transform: translateY(-15px) scale(1.03);
  border-color: rgba(255, 184, 77, 0.6);
  box-shadow: 0 0 40px rgba(255, 184, 77, 0.5),
              0 30px 60px rgba(255, 149, 0, 0.25),
              inset 0 0 20px rgba(255, 184, 77, 0.15);
  background: rgba(255, 184, 77, 0.12);
}

.panchang-card:hover::before,
.feature-card:hover::before,
.details-card:hover::before,
.insight-card:hover::before,
.info-card:hover::before,
.festival-card:hover::before,
.month-card:hover::before,
.rashifal-card:hover::before,
.muhurat-card:hover::before,
.event-card:hover::before,
.faq-item:hover::before,
.testimonial-card:hover::before {
  top: -10%;
  right: -10%;
}

.panchang-card h3,
.feature-card h2,
.details-card h4,
.insight-card h4,
.info-card h3,
.festival-card h3,
.month-card h3,
.rashifal-card h2 {
  font-family: var(--font-cinzel);
  font-size: 24px;
  color: var(--neon-saffron);
  margin-bottom: 18px;
  text-shadow: 0 0 20px rgba(255, 184, 77, 0.5);
  letter-spacing: 1.5px;
}

.panchang-value,
.rashi-name {
  font-family: var(--font-poppins);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}

.panchang-time,
.rashi-english,
.rashi-dates {
  font-size: 14px;
  color: var(--medium-gray);
}

.panchang-item,
.detail-row,
.rashi-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 184, 77, 0.15);
  transition: var(--transition-fast);
}

.panchang-item:hover,
.detail-row:hover,
.rashi-item:hover {
  border-bottom-color: rgba(255, 184, 77, 0.4);
  padding-left: 5px;
}

.panchang-item:last-child,
.detail-row:last-child,
.rashi-item:last-child {
  border-bottom: none;
}

.label {
  color: var(--medium-gray);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.value {
  color: var(--light-gray);
}

/* ========== FEATURED CARDS ========== */
.featured-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.feature-card {
  text-align: center;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 350px;
}

.feature-card h2 {
  font-family: var(--font-cinzel);
  font-size: 28px;
  color: var(--neon-saffron);
  margin-bottom: 25px;
  text-shadow: 0 0 20px rgba(255, 184, 77, 0.4);
}

.feature-card p {
  font-size: 16px;
  color: var(--light-gray);
  line-height: 1.8;
  margin-bottom: 30px;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

/* ========== WISDOM SECTION ========== */
.wisdom-section {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 184, 77, 0.08), transparent);
  border-top: 2px solid rgba(255, 184, 77, 0.2);
  border-bottom: 2px solid rgba(255, 184, 77, 0.2);
  position: relative;
}

.wisdom-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 184, 77, 0.5), transparent);
}

.wisdom-section h2 {
  font-family: var(--font-cinzel);
  font-size: 42px;
  color: var(--neon-saffron);
  margin-bottom: 50px;
  text-shadow: 0 0 30px rgba(255, 184, 77, 0.5);
  letter-spacing: 2px;
}

.sanskrit-shloka {
  font-family: var(--font-devanagari);
  font-size: 26px;
  color: var(--gold);
  line-height: 2.2;
  margin-bottom: 30px;
  letter-spacing: 1px;
  font-weight: 500;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.translation {
  font-size: 16px;
  color: var(--light-gray);
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.9;
  font-style: italic;
  letter-spacing: 0.5px;
}

/* ========== FORM STYLES ========== */
.form-container,
.kundli-form-section,
.contact-form-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px;
}

.form-instruction,
.form-instructions {
  font-size: 16px;
  color: var(--light-gray);
  margin-bottom: 40px;
  text-align: center;
  line-height: 1.9;
  letter-spacing: 0.5px;
}

.form-group {
  margin-bottom: 35px;
  border: 1.5px solid rgba(255, 184, 77, 0.25);
  padding: 30px;
  border-radius: 15px;
  background: rgba(255, 184, 77, 0.05);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.form-group:focus-within {
  border-color: rgba(255, 184, 77, 0.5);
  background: rgba(255, 184, 77, 0.08);
  box-shadow: 0 0 30px rgba(255, 184, 77, 0.2);
}

.form-group legend {
  font-family: var(--font-cinzel);
  font-size: 22px;
  color: var(--neon-saffron);
  padding: 0 15px;
  margin-bottom: 25px;
  text-shadow: 0 0 15px rgba(255, 184, 77, 0.4);
  letter-spacing: 1.5px;
}

.form-field {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--light-gray);
  font-size: 15px;
  letter-spacing: 0.5px;
}

.form-field input,
.form-field textarea,
.form-field select {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 184, 77, 0.2);
  border-radius: 10px;
  font-size: 15px;
  transition: var(--transition-fast);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--medium-gray);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--neon-saffron);
  box-shadow: 0 0 25px rgba(255, 184, 77, 0.4), 
              inset 0 0 15px rgba(255, 184, 77, 0.15);
  transform: scale(1.01);
}

.form-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.form-actions button {
  animation: buttonSlideUp 0.6s ease-out 0.3s both;
}

@keyframes buttonSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== CHECKBOX STYLES ========== */
.checkbox-group {
  border: none;
  padding: 0;
  background: none;
}

.form-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  gap: 15px;
}

.form-checkbox input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--neon-saffron);
  cursor: pointer;
  transition: var(--transition-fast);
}

.form-checkbox input[type="checkbox"]:hover {
  filter: drop-shadow(0 0 8px rgba(255, 184, 77, 0.6));
}

.form-checkbox label {
  margin: 0;
  cursor: pointer;
  font-weight: 400;
  font-size: 15px;
}

/* ========== CALENDAR STYLES ========== */
.calendar-controls {
  padding: 50px 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.5), rgba(22, 33, 62, 0.5));
  border-bottom: 2px solid rgba(255, 184, 77, 0.15);
}

.controls-wrapper {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.btn-prev,
.btn-next {
  background: rgba(255, 184, 77, 0.1);
  border: 2px solid var(--neon-saffron);
  color: var(--neon-saffron);
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  transition: var(--transition-elastic);
  cursor: pointer;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  box-shadow: 0 0 15px rgba(255, 184, 77, 0.2);
}

.btn-prev:hover,
.btn-next:hover {
  background: rgba(255, 184, 77, 0.2);
  box-shadow: 0 0 30px rgba(255, 184, 77, 0.6);
  transform: scale(1.05);
}

.month-year-display h2 {
  font-family: var(--font-cinzel);
  font-size: 34px;
  color: var(--neon-saffron);
  text-shadow: 0 0 20px rgba(255, 184, 77, 0.4);
  letter-spacing: 2px;
}

/* ========== CALENDAR GRID ========== */
.calendar-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.calendar-view {
  margin-bottom: 80px;
}

.calendar-view h2 {
  font-family: var(--font-cinzel);
  font-size: 32px;
  color: var(--neon-saffron);
  margin-bottom: 35px;
  text-shadow: 0 0 25px rgba(255, 184, 77, 0.4);
  letter-spacing: 2px;
}

.calendar-container {
  background: rgba(255, 184, 77, 0.08);
  border: 1.5px solid rgba(255, 184, 77, 0.25);
  border-radius: 18px;
  padding: 25px;
  overflow-x: auto;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 30px rgba(255, 184, 77, 0.15);
}

.day-headers {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.day-header {
  text-align: center;
  font-weight: 700;
  color: var(--neon-saffron);
  padding: 12px;
  font-family: var(--font-poppins);
  text-shadow: 0 0 10px rgba(255, 184, 77, 0.3);
  letter-spacing: 1px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 184, 77, 0.08);
  border: 1.5px solid rgba(255, 184, 77, 0.15);
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition-elastic);
  font-weight: 600;
  font-size: 14px;
  color: var(--light-gray);
}

.calendar-day:hover {
  background: rgba(255, 184, 77, 0.2);
  border-color: rgba(255, 184, 77, 0.4);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 184, 77, 0.3);
}

.calendar-day.empty {
  background: transparent;
  border: none;
  cursor: default;
}

.calendar-day.today {
  background: linear-gradient(135deg, var(--neon-saffron) 0%, var(--saffron-light) 100%);
  color: var(--primary-dark);
  font-weight: 700;
  border-color: var(--neon-saffron);
  box-shadow: 0 0 25px rgba(255, 184, 77, 0.7);
}

.calendar-day.today:hover {
  box-shadow: 0 0 40px rgba(255, 184, 77, 0.9);
  transform: scale(1.15);
}

.calendar-day.festival {
  background: rgba(212, 175, 55, 0.25);
  border-color: var(--gold);
  color: var(--gold);
  font-weight: 700;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.calendar-legend {
  display: flex;
  gap: 35px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--light-gray);
}

.legend-box {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(255, 184, 77, 0.3);
}

.legend-box.today {
  background: var(--neon-saffron);
}

.legend-box.festival {
  background: rgba(212, 175, 55, 0.6);
}

/* ========== LUNAR CALENDAR ========== */
.lunar-calendar-info {
  background: rgba(255, 184, 77, 0.1);
  border-left: 4px solid var(--neon-saffron);
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 35px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(255, 184, 77, 0.15);
}

.current-month {
  color: var(--neon-saffron);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.lunar-description {
  color: var(--light-gray);
  font-size: 15px;
  line-height: 1.7;
}

.tithi-list h3 {
  font-family: var(--font-cinzel);
  font-size: 26px;
  color: var(--neon-saffron);
  margin-bottom: 25px;
  text-shadow: 0 0 15px rgba(255, 184, 77, 0.3);
}

/* ========== TABLE STYLES ========== */
.tithi-table,
.muhurat-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 184, 77, 0.05);
  border: 1.5px solid rgba(255, 184, 77, 0.2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
}

.tithi-table thead,
.muhurat-table thead {
  background: linear-gradient(90deg, rgba(255, 184, 77, 0.15), rgba(255, 149, 0, 0.1));
}

.tithi-table th,
.muhurat-table th {
  padding: 18px 20px;
  text-align: left;
  font-weight: 700;
  color: var(--neon-saffron);
  font-family: var(--font-poppins);
  border-bottom: 2px solid rgba(255, 184, 77, 0.25);
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(255, 184, 77, 0.2);
}

.tithi-table td,
.muhurat-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 184, 77, 0.12);
  color: var(--light-gray);
  transition: var(--transition-fast);
}

.tithi-table tbody tr:hover,
.muhurat-table tbody tr:hover {
  background: rgba(255, 184, 77, 0.12);
}

.tithi-table tr.highlight,
.muhurat-table tr.highlight {
  background: rgba(212, 175, 55, 0.15);
}

.muhurat-table tr.inauspicious {
  background: rgba(255, 99, 71, 0.08);
  border-left: 4px solid rgba(255, 99, 71, 0.6);
}

/* ========== RASHIFAL GRID ========== */
.rashifal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 20px;
}

.rashifal-card {
  min-height: 450px;
  display: flex;
  flex-direction: column;
}

.rashi-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 25px;
  flex-grow: 1;
}

.daily-prediction h3 {
  font-family: var(--font-cinzel);
  font-size: 18px;
  color: var(--neon-saffron);
  margin-bottom: 12px;
  text-shadow: 0 0 10px rgba(255, 184, 77, 0.3);
}

.daily-prediction p {
  font-size: 14px;
  color: var(--light-gray);
  line-height: 1.8;
}

.rashi-details {
  border-top: 1.5px solid rgba(255, 184, 77, 0.2);
  padding-top: 18px;
  margin-top: auto;
}

.detail {
  font-size: 13px;
  color: var(--light-gray);
  margin-bottom: 10px;
  transition: var(--transition-fast);
}

.detail:hover {
  color: var(--neon-saffron);
  text-shadow: 0 0 10px rgba(255, 184, 77, 0.3);
}

.detail strong {
  color: var(--neon-saffron);
  font-weight: 700;
}

/* ========== MUHURAT CARDS ========== */
.muhurat-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  margin-bottom: 80px;
}

.muhurat-card.auspicious {
  border-color: rgba(255, 184, 77, 0.35);
  background: rgba(255, 184, 77, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 
              0 0 20px rgba(255, 184, 77, 0.15);
}

.muhurat-time {
  font-size: 16px;
  color: var(--neon-saffron);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(255, 184, 77, 0.3);
}

.muhurat-duration {
  font-size: 14px;
  color: var(--medium-gray);
  margin-bottom: 18px;
}

.muhurat-description {
  font-size: 14px;
  color: var(--light-gray);
  line-height: 1.8;
}

.muhurat-description p {
  margin-bottom: 14px;
}

.muhurat-description strong {
  color: var(--neon-saffron);
  font-weight: 700;
}

/* ========== EVENTS & MUHURAT ========== */
.muhurat-by-event {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.muhurat-by-event h2 {
  font-family: var(--font-cinzel);
  font-size: 42px;
  text-align: center;
  margin-bottom: 60px;
  color: var(--neon-saffron);
  text-shadow: 0 0 30px rgba(255, 184, 77, 0.5);
  letter-spacing: 2px;
}

.event-card {
  background: rgba(255, 184, 77, 0.08);
  border: 1.5px solid rgba(255, 184, 77, 0.25);
  border-radius: 15px;
  padding: 35px;
  margin-bottom: 30px;
  transition: var(--transition-elastic);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.event-card:hover {
  transform: translateX(12px) translateY(-5px);
  border-color: rgba(255, 184, 77, 0.5);
  box-shadow: 0 0 40px rgba(255, 184, 77, 0.4),
              0 20px 50px rgba(255, 149, 0, 0.2);
  background: rgba(255, 184, 77, 0.12);
}

.event-card h3 {
  font-family: var(--font-cinzel);
  font-size: 24px;
  color: var(--neon-saffron);
  margin-bottom: 18px;
  text-shadow: 0 0 15px rgba(255, 184, 77, 0.3);
}

.event-details {
  color: var(--light-gray);
}

.event-description {
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.8;
}

.event-list {
  list-style: none;
  margin-left: 0;
}

.event-list li {
  padding: 12px 0;
  padding-left: 28px;
  position: relative;
  font-size: 14px;
  color: var(--light-gray);
  transition: var(--transition-fast);
}

.event-list li:hover {
  color: var(--neon-saffron);
  padding-left: 35px;
}

.event-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--neon-saffron);
  font-weight: bold;
  font-size: 12px;
  transition: var(--transition-fast);
}

/* ========== INFO LISTS ========== */
.panchang-list,
.info-list {
  list-style: none;
  margin-left: 0;
  margin-top: 20px;
}

.panchang-list li,
.info-list li {
  padding: 14px 0;
  padding-left: 30px;
  position: relative;
  font-size: 15px;
  color: var(--light-gray);
  line-height: 1.7;
  transition: var(--transition-fast);
}

.panchang-list li:hover,
.info-list li:hover {
  color: var(--neon-saffron);
  padding-left: 40px;
}

.panchang-list li::before,
.info-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--neon-saffron);
  font-weight: bold;
  font-size: 12px;
}

/* ========== CONTACT SECTION ========== */
.contact-info-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 35px;
  margin-bottom: 80px;
}

.contact-info-grid .info-card {
  text-align: center;
  padding: 45px 35px;
  min-height: 280px;
}

.contact-info-grid .info-card h3 {
  font-family: var(--font-cinzel);
  font-size: 24px;
  color: var(--neon-saffron);
  margin-bottom: 20px;
  margin-top: 0;
  text-shadow: 0 0 15px rgba(255, 184, 77, 0.3);
}

.contact-info-grid .info-card p {
  font-size: 15px;
  color: var(--light-gray);
  line-height: 1.9;
}

/* ========== FAQ SECTION ========== */
.faq-section {
  max-width: 950px;
  margin: 0 auto;
  padding: 80px 20px;
}

.faq-section > h2 {
  font-family: var(--font-cinzel);
  font-size: 42px;
  text-align: center;
  margin-bottom: 60px;
  color: var(--neon-saffron);
  text-shadow: 0 0 30px rgba(255, 184, 77, 0.5);
  letter-spacing: 2px;
}

.faq-item {
  margin-bottom: 25px;
}

.faq-item h3 {
  font-family: var(--font-cinzel);
  font-size: 20px;
  color: var(--neon-saffron);
  margin-bottom: 15px;
  margin-top: 0;
  text-shadow: 0 0 15px rgba(255, 184, 77, 0.3);
}

.faq-item p {
  font-size: 15px;
  color: var(--light-gray);
  line-height: 1.8;
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.testimonials-section > h2 {
  font-family: var(--font-cinzel);
  font-size: 42px;
  text-align: center;
  margin-bottom: 60px;
  color: var(--neon-saffron);
  text-shadow: 0 0 30px rgba(255, 184, 77, 0.5);
  letter-spacing: 2px;
}

.testimonials-section .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
}

.testimonial-card {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-content {
  text-align: center;
}

.testimonial-text {
  font-size: 15px;
  color: var(--light-gray);
  line-height: 1.9;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 700;
  color: var(--neon-saffron);
  font-family: var(--font-poppins);
  letter-spacing: 0.5px;
}

/* ========== SOCIAL SECTION ========== */
.social-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(255, 184, 77, 0.1), transparent);
  border-top: 2px solid rgba(255, 184, 77, 0.2);
}

.social-section h2 {
  font-family: var(--font-cinzel);
  font-size: 42px;
  color: var(--neon-saffron);
  margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(255, 184, 77, 0.5);
  letter-spacing: 2px;
}

.social-description {
  font-size: 16px;
  color: var(--light-gray);
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-block;
  padding: 14px 32px;
  background: rgba(255, 184, 77, 0.1);
  border: 2px solid var(--neon-saffron);
  border-radius: 50px;
  color: var(--neon-saffron);
  font-weight: 700;
  transition: var(--transition-elastic);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 0 20px rgba(255, 184, 77, 0.2);
}

.social-link:hover {
  background: var(--neon-saffron);
  color: var(--primary-dark);
  box-shadow: 0 0 40px rgba(255, 184, 77, 0.8),
              0 0 80px rgba(255, 149, 0, 0.4);
  transform: translateY(-4px) scale(1.05);
}

/* ========== KUNDLI API RESULT STYLES ========== */

.basic-info-card {
  background: rgba(26, 26, 46, 0.6);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 184, 77, 0.2);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-glow);
  animation: slideInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.info-header {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(255, 184, 77, 0.3);
}

.info-header h3 {
  font-family: var(--font-cinzel);
  font-size: 24px;
  color: var(--neon-saffron);
  text-shadow: 0 0 20px rgba(255, 184, 77, 0.4);
  letter-spacing: 1px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.info-item {
  display: flex;
  flex-direction: column;
  padding: 15px;
  background: rgba(255, 149, 0, 0.05);
  border-left: 3px solid var(--neon-saffron);
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.info-item:hover {
  background: rgba(255, 149, 0, 0.1);
  transform: translateX(5px);
}

.info-label {
  font-family: var(--font-cinzel);
  font-size: 12px;
  color: var(--saffron);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.info-value {
  font-family: var(--font-poppins);
  font-size: 16px;
  color: var(--white);
  font-weight: 600;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 184, 77, 0.1);
  align-items: center;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row .label {
  font-family: var(--font-poppins);
  font-size: 13px;
  color: var(--saffron-light);
  font-weight: 500;
  text-transform: capitalize;
}

.detail-row .value {
  font-family: var(--font-cinzel);
  font-size: 15px;
  color: var(--neon-saffron);
  font-weight: 600;
  text-shadow: 0 0 10px rgba(255, 184, 77, 0.3);
}

.detail-row .value.highlight {
  font-size: 18px;
  color: var(--gold);
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.ascendant-highlight {
  border: 2px solid var(--gold) !important;
  background: rgba(212, 175, 55, 0.05) !important;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.2), inset 0 0 20px rgba(212, 175, 55, 0.05) !important;
}

.ascendant-highlight h4 {
  color: var(--gold) !important;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5) !important;
}

.insight-value {
  font-family: var(--font-cinzel);
  font-size: 18px;
  color: var(--neon-saffron);
  margin: 12px 0;
  text-shadow: 0 0 10px rgba(255, 184, 77, 0.3);
  font-weight: 600;
}

.insight-description {
  font-family: var(--font-poppins);
  font-size: 14px;
  color: var(--light-gray);
  line-height: 1.6;
  margin-top: 10px;
}

/* ========== NOTIFICATION STYLES ========== */

.notification {
  animation: slideInRight 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.notification-success {
  background: linear-gradient(135deg, #51cf66, #37b24d) !important;
  box-shadow: 0 8px 24px rgba(81, 207, 102, 0.3);
}

.notification-error {
  background: linear-gradient(135deg, #ff6b6b, #fa5252) !important;
  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.3);
}

/* ========== FOOTER ========== */
.footer {
  background: rgba(10, 10, 10, 0.96);
  border-top: 2px solid rgba(255, 184, 77, 0.2);
  padding: 80px 20px 30px;
  margin-top: 40px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 184, 77, 0.5), transparent);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 184, 77, 0.15);
}

.footer-section h3 {
  font-family: var(--font-cinzel);
  font-size: 22px;
  color: var(--neon-saffron);
  margin-bottom: 25px;
  text-shadow: 0 0 15px rgba(255, 184, 77, 0.3);
  letter-spacing: 1.5px;
}

.footer-section p {
  font-size: 14px;
  color: var(--light-gray);
  line-height: 1.8;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  font-size: 14px;
  color: var(--light-gray);
  transition: var(--transition-fast);
  letter-spacing: 0.5px;
}

.footer-section ul li a:hover {
  color: var(--neon-saffron);
  text-shadow: 0 0 15px rgba(255, 184, 77, 0.5);
  transform: translateX(5px);
}

.footer-mantra {
  font-family: var(--font-devanagari);
  font-size: 13px;
  color: var(--gold);
  line-height: 1.9;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  color: var(--medium-gray);
  font-size: 13px;
  letter-spacing: 0.5px;
}

/* ========== DATE SELECTOR ========== */
.date-selector-section {
  padding: 50px 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.4), rgba(22, 33, 62, 0.4));
  border-bottom: 2px solid rgba(255, 184, 77, 0.15);
}

.date-selector {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.date-selector label {
  color: var(--light-gray);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
}

.date-input {
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 184, 77, 0.3);
  border-radius: 10px;
  color: var(--white);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition-fast);
  backdrop-filter: blur(10px);
}

.date-input:hover,
.date-input:focus {
  border-color: var(--neon-saffron);
  box-shadow: 0 0 25px rgba(255, 184, 77, 0.5),
              inset 0 0 10px rgba(255, 184, 77, 0.15);
  outline: none;
  background: rgba(255, 255, 255, 0.09);
}

/* ========== ADVANCED ANIMATIONS ========== */
@keyframes glowPulse {
  0%, 100% {
    text-shadow: 0 0 20px rgba(255, 184, 77, 0.5), 
                 0 0 40px rgba(255, 149, 0, 0.3);
  }
  50% {
    text-shadow: 0 0 30px rgba(255, 184, 77, 0.7), 
                 0 0 60px rgba(255, 149, 0, 0.5);
  }
}

@keyframes titleGlow {
  0%, 100% {
    text-shadow: 0 0 30px rgba(255, 184, 77, 0.5), 
                 0 0 60px rgba(255, 149, 0, 0.3);
  }
  50% {
    text-shadow: 0 0 40px rgba(255, 184, 77, 0.7), 
                 0 0 80px rgba(255, 149, 0, 0.5);
  }
}

@keyframes floatNeon {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(40px);
  }
}

@keyframes ambientGlow {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 48px;
    letter-spacing: 2px;
  }

  .hero-subtitle {
    font-size: 22px;
  }

  .page-header h1 {
    font-size: 42px;
    letter-spacing: 2px;
  }

  .nav-menu {
    gap: 15px;
  }

  .nav-link {
    font-size: 12px;
    letter-spacing: 0.8px;
  }

  .controls-wrapper {
    flex-direction: column;
    gap: 15px;
  }

  .featured-section,
  .rashifal-grid,
  .muhurat-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions button {
    width: 100%;
  }

  .social-links {
    gap: 12px;
  }

  .social-link {
    padding: 12px 24px;
    font-size: 12px;
  }

  .section-padding {
    padding: 60px 20px;
  }

  .footer-container {
    gap: 35px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
    letter-spacing: 1.5px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .page-header h1 {
    font-size: 32px;
    letter-spacing: 1.5px;
  }

  .logo h1 {
    font-size: 22px;
    letter-spacing: 1px;
  }

  .nav-menu {
    gap: 8px;
    flex-wrap: wrap;
  }

  .nav-link {
    font-size: 11px;
    letter-spacing: 0.5px;
  }

  .panchang-summary,
  .featured-section,
  .rashifal-grid,
  .muhurat-cards-grid,
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .calendar-grid {
    gap: 8px;
  }

  .calendar-day {
    font-size: 12px;
  }

  .day-headers {
    gap: 8px;
  }

  .form-group {
    padding: 20px;
  }

  .controls-wrapper {
    gap: 10px;
  }

  .btn-prev,
  .btn-next {
    padding: 10px 18px;
    font-size: 11px;
  }

  .month-year-display h2 {
    font-size: 26px;
  }

  .section-padding {
    padding: 50px 15px;
  }

  .wisdom-section,
  .social-section {
    padding: 50px 15px;
  }

  .footer-container {
    gap: 25px;
  }

  .footer {
    padding: 50px 15px 15px;
  }

  .tithi-table,
  .muhurat-table {
    font-size: 12px;
  }

  .tithi-table th,
  .muhurat-table th,
  .tithi-table td,
  .muhurat-table td {
    padding: 12px;
  }

  .cta-button,
  .btn {
    padding: 12px 32px;
    font-size: 14px;
  }
}

@media (max-width: 320px) {
  .hero-title {
    font-size: 28px;
    letter-spacing: 1px;
  }

  .logo h1 {
    font-size: 18px;
    letter-spacing: 0.5px;
  }

  .nav-menu {
    gap: 5px;
  }

  .nav-link {
    font-size: 10px;
  }

  .cta-button,
  .btn {
    padding: 10px 24px;
    font-size: 12px;
  }

  .page-header h1 {
    font-size: 26px;
  }
}

/* ========== UTILITY ANIMATIONS ========== */
.animate-pulse {
  animation: glowPulse 2.5s ease-in-out infinite;
}

.animate-float {
  animation: floatNeon 4s ease-in-out infinite;
}

/* ========== SCROLLBAR STYLING ========== */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-saffron), var(--saffron));
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(255, 184, 77, 0.4);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--saffron-light), var(--neon-saffron));
  box-shadow: 0 0 15px rgba(255, 184, 77, 0.6);
}

/* ========== THEME & SETTINGS CONTROLS ========== */

.navbar-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: auto;
  padding-right: 20px;
}

.theme-toggle,
.language-toggle {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-light));
  border: 2px solid var(--neon-saffron);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-glow);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.theme-toggle:hover,
.language-toggle:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-neon-intense);
  letter-spacing: 1px;
}

.theme-toggle:active,
.language-toggle:active {
  transform: scale(0.98);
}

.theme-icon,
.language-icon {
  font-size: 14px;
  display: inline-block;
  animation: rotateSmooth 0.6s ease;
}

@keyframes rotateSmooth {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ========== SAFFRON PARTICLE BACKGROUND ========== */

.saffron-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--saffron);
  border-radius: 50%;
  opacity: 0.3;
  animation: floatParticle 20s infinite;
  box-shadow: 0 0 10px var(--saffron);
}

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

/* ========== GLOWING CHAKRA SYMBOLS ========== */

.chakra-symbol {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
  margin: 10px;
  font-size: 28px;
  filter: drop-shadow(0 0 8px var(--saffron));
  animation: chakraGlow 3s ease-in-out infinite;
}

@keyframes chakraGlow {
  0%, 100% {
    text-shadow: 0 0 10px var(--saffron);
    filter: drop-shadow(0 0 8px var(--saffron));
  }
  50% {
    text-shadow: 0 0 20px var(--neon-saffron), 0 0 30px var(--saffron);
    filter: drop-shadow(0 0 15px var(--neon-saffron));
  }
}

.chakra-border {
  position: absolute;
  inset: 0;
  border: 2px solid var(--saffron);
  border-radius: 50%;
  animation: rotateChakra 8s linear infinite;
  opacity: 0.3;
}

@keyframes rotateChakra {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ========== PREMIUM BUTTON ENHANCEMENTS ========== */

.btn,
.cta-button {
  position: relative;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-light));
  color: #ffffff;
  border: 2px solid var(--neon-saffron);
  border-radius: 8px;
  padding: 14px 32px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-neon);
  overflow: hidden;
}

.btn::before,
.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn:hover,
.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-neon-intense);
  border-color: var(--gold);
}

.btn:hover::before,
.cta-button:hover::before {
  left: 100%;
}

.btn:active,
.cta-button:active {
  transform: translateY(-1px);
}

/* ========== SAFFRON BORDERS & GLOWS ========== */

.saffron-border {
  border: 2px solid var(--saffron);
  border-radius: 8px;
  box-shadow: inset 0 0 20px rgba(255, 149, 0, 0.1), var(--shadow-glow);
  position: relative;
}

.saffron-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, transparent, rgba(255, 149, 0, 0.1), transparent);
  animation: glowAnimation 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowAnimation {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* ========== CARD ENHANCEMENTS ========== */

.details-card,
.feature-card,
.panchang-card,
.insight-card {
  border: 2px solid var(--border-color);
  background: rgba(var(--bg-secondary-rgb, 26), 26, 46, 0.6);
  backdrop-filter: blur(25px);
  box-shadow: var(--shadow-glow);
  transition: var(--transition-smooth);
  position: relative;
}

.details-card::before,
.feature-card::before,
.panchang-card::before,
.insight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.1) 0%, transparent 50%);
  opacity: 0;
  animation: cardGlow 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cardGlow {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

.details-card:hover,
.feature-card:hover,
.panchang-card:hover,
.insight-card:hover {
  border-color: var(--saffron);
  box-shadow: var(--shadow-neon);
  transform: translateY(-5px);
}

/* ========== NAVIGATION ENHANCEMENTS ========== */

.navbar {
  background: linear-gradient(135deg, rgba(var(--bg-secondary-rgb, 10), 10, 10, 0.95), rgba(26, 26, 46, 0.95));
  border-bottom: 2px solid var(--border-color);
  box-shadow: 0 0 30px rgba(255, 149, 0, 0.1);
  position: relative;
  backdrop-filter: blur(10px);
}

.nav-link {
  position: relative;
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--saffron), var(--neon-saffron));
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  box-shadow: 0 0 10px var(--saffron);
}

/* ========== HERO SECTION ENHANCEMENTS ========== */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.05), rgba(255, 149, 0, 0.02));
  border: 2px solid var(--border-color);
  border-radius: 16px;
  margin: 20px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 149, 0, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 149, 0, 0.1) 0%, transparent 50%);
  animation: heroGlow 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes heroGlow {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* ========== LANGUAGE TRANSLATION STYLES ========== */

[data-translate] {
  transition: var(--transition-fast);
}

.translating {
  opacity: 0.5;
  transform: scale(0.98);
}

/* ========== SMOOTH THEME TRANSITION ========== */

* {
  transition: background 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 15px rgba(255, 149, 0, 0.3);
}

/* ========== MOBILE RESPONSIVE ========== */

@media (max-width: 768px) {
  .navbar-controls {
    gap: 10px;
    padding-right: 10px;
  }

  .theme-toggle,
  .language-toggle {
    padding: 6px 12px;
    font-size: 11px;
  }

  .chakra-symbol {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
}

/* ========== PANCHANG CALENDAR STYLES ========== */

.panchang-calendar {
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.05) 0%, rgba(255, 149, 0, 0.02) 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  margin: 30px auto;
  max-width: 1200px;
}

.panchang-calendar h2 {
  font-family: var(--font-cinzel);
  color: var(--saffron);
  margin-bottom: 10px;
  font-size: 28px;
  text-shadow: 0 0 20px rgba(255, 149, 0, 0.3);
}

.calendar-subtitle {
  color: var(--text-tertiary);
  margin-bottom: 25px;
  font-size: 14px;
}

/* Calendar Grid Layout */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-bottom: 25px;
}

/* Day Headers */
.day-headers {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.day-header {
  text-align: center;
  font-family: var(--font-cinzel);
  font-weight: 600;
  color: var(--saffron);
  font-size: 14px;
  padding: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Calendar Cell (Data Card) */
.calendar-cell {
  position: relative;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(22, 33, 62, 0.9));
  border: 1px solid rgba(255, 149, 0, 0.15);
  border-radius: 12px;
  padding: 12px;
  min-height: 100px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calendar-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 149, 0, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.calendar-cell:hover {
  background: linear-gradient(135deg, rgba(26, 26, 46, 1), rgba(22, 33, 62, 1));
  border-color: rgba(255, 149, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 149, 0, 0.15);
}

.calendar-cell:hover::before {
  opacity: 1;
}

.calendar-cell.empty {
  background: transparent;
  border: none;
  cursor: default;
  pointer-events: none;
}

.calendar-cell.empty:hover {
  background: transparent;
  transform: none;
  box-shadow: none;
}

/* Today Highlighting */
.calendar-cell.today {
  border: 2px solid var(--saffron);
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.15), rgba(255, 184, 77, 0.1));
  box-shadow: 0 0 30px rgba(255, 149, 0, 0.4), inset 0 0 20px rgba(255, 149, 0, 0.1);
}

.calendar-cell.today .date-number {
  color: var(--neon-saffron);
  text-shadow: 0 0 10px rgba(255, 184, 77, 0.6);
}

/* Selected Date */
.calendar-cell.selected {
  border: 2px solid var(--gold);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.08));
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.3), inset 0 0 15px rgba(212, 175, 55, 0.1);
}

.calendar-cell.selected .date-number {
  color: var(--gold);
}

/* Cell Header (Date + Moon) */
.cell-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.date-number {
  font-family: var(--font-cinzel);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.moon-phase {
  font-size: 20px;
  line-height: 1;
}

/* Cell Content */
.cell-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--text-secondary);
}

.tithi-text {
  font-weight: 600;
  color: var(--saffron);
  font-size: 13px;
  line-height: 1.3;
}

.nakshatra-text {
  font-size: 11px;
  color: var(--text-tertiary);
  font-style: italic;
}

.sunrise-text {
  font-size: 11px;
  color: var(--text-secondary);
}

/* Loading Placeholder */
.loading-placeholder {
  gap: 6px;
}

.placeholder-line {
  height: 8px;
  background: linear-gradient(90deg, 
    rgba(255, 149, 0, 0.1), 
    rgba(255, 149, 0, 0.2), 
    rgba(255, 149, 0, 0.1));
  border-radius: 4px;
  animation: shimmer 1.5s infinite;
}

.placeholder-line.short {
  width: 70%;
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Legend */
.panchang-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.legend-box {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.legend-box.today {
  background: var(--saffron);
  border-color: var(--saffron);
  box-shadow: 0 0 10px rgba(255, 149, 0, 0.5);
}

.legend-box.selected {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.legend-box.loaded {
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.3), rgba(212, 175, 55, 0.3));
  border-color: rgba(255, 149, 0, 0.5);
}

/* ========== PANCHANG SIDEBAR ========== */

.panchang-sidebar {
  position: fixed;
  right: -420px;
  top: 0;
  width: 400px;
  height: 100vh;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.98), rgba(22, 33, 62, 0.98));
  border-left: 1px solid var(--border-color);
  backdrop-filter: blur(20px);
  z-index: 1000;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 40px rgba(255, 149, 0, 0.1);
  overflow-y: auto;
}

.panchang-sidebar.open {
  right: 0;
}

/* Sidebar Header */
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 20px;
  border-bottom: 1px solid var(--border-color);
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.05), rgba(255, 149, 0, 0.02));
  position: sticky;
  top: 0;
  z-index: 10;
}

.sidebar-header h2 {
  font-family: var(--font-cinzel);
  font-size: 18px;
  color: var(--saffron);
  margin: 0;
  text-shadow: 0 0 15px rgba(255, 149, 0, 0.3);
}

.sidebar-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.sidebar-close:hover {
  background: rgba(255, 149, 0, 0.1);
  color: var(--saffron);
}

/* Sidebar Content */
.sidebar-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Panchang Section */
.panchang-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panchang-section h3 {
  font-family: var(--font-cinzel);
  font-size: 16px;
  color: var(--gold);
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

/* Detail Rows */
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px;
  background: rgba(255, 149, 0, 0.05);
  border-radius: 8px;
  border-left: 3px solid var(--saffron);
}

.detail-label {
  font-weight: 600;
  color: var(--saffron);
  font-size: 13px;
  flex: 0 0 40%;
}

.detail-value {
  text-align: right;
  color: var(--text-secondary);
  font-size: 13px;
  font-family: var(--font-devanagari);
  flex: 1;
  padding-left: 10px;
}

/* Loading Spinner */
.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 20px;
}

.spinner-ring {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 149, 0, 0.2);
  border-top-color: var(--saffron);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spinner-text {
  color: var(--text-tertiary);
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .calendar-grid {
    gap: 10px;
  }

  .calendar-cell {
    min-height: 90px;
    padding: 10px;
    font-size: 13px;
  }

  .panchang-sidebar {
    width: 350px;
    right: -350px;
  }
}

@media (max-width: 768px) {
  .panchang-calendar {
    padding: 15px;
  }

  .panchang-calendar h2 {
    font-size: 22px;
  }

  .calendar-grid {
    gap: 8px;
  }

  .calendar-cell {
    min-height: 80px;
    padding: 8px;
    font-size: 12px;
  }

  .date-number {
    font-size: 16px;
  }

  .moon-phase {
    font-size: 16px;
  }

  .panchang-sidebar {
    width: 100%;
    right: -100%;
    max-width: 100%;
  }

  .day-header {
    font-size: 12px;
    padding: 8px;
  }

  .cell-header {
    margin-bottom: 6px;
  }

  .cell-content {
    gap: 3px;
  }

  .tithi-text {
    font-size: 12px;
  }

  .nakshatra-text,
  .sunrise-text {
    font-size: 10px;
  }

  .panchang-legend {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .panchang-calendar {
    padding: 10px;
    margin: 15px 5px;
  }

  .panchang-calendar h2 {
    font-size: 18px;
  }

  .calendar-grid {
    gap: 6px;
  }

  .calendar-cell {
    min-height: 70px;
    padding: 6px;
    font-size: 11px;
  }

  .date-number {
    font-size: 14px;
  }

  .month-year-display h2 {
    font-size: 20px;
  }

  .controls-wrapper button {
    padding: 10px 15px;
    font-size: 13px;
  }
}

