/* --------------------------------------------------------------------------
   0. Energetic Sacred Live Panchang & Cosmic Marquee Ticker
   -------------------------------------------------------------------------- */
.energetic-top-ticker {
  width: 100%;
  background: #03080F;
  border-bottom: 1px solid rgba(197, 155, 78, 0.25);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.22rem 0;
  position: relative;
  z-index: 10;
}

.ticker-content-track {
  display: inline-flex;
  align-items: center;
  gap: 1.8rem;
  animation: tickerGlide 36s linear infinite;
  will-change: transform;
}

.energetic-top-ticker:hover .ticker-content-track {
  animation-play-state: paused;
}

@keyframes tickerGlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: #D2DCE6;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ticker-item b {
  color: #E8C87A;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.ticker-sep {
  color: #C59B4E;
  font-size: 0.62rem;
  opacity: 0.8;
}

.ticker-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981, 0 0 14px #10B981;
  animation: liveDotPulse 1.8s ease-in-out infinite alternate;
}

@keyframes liveDotPulse {
  0% { transform: scale(0.85); opacity: 0.7; box-shadow: 0 0 5px #10B981; }
  100% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px #10B981, 0 0 20px #34D399; }
}

/* --------------------------------------------------------------------------
   1. Master Sticky Navigation Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  padding: 0;
  background: #07111E !important;
  border-bottom: 1.5px solid rgba(197, 155, 78, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease,
              padding 0.4s ease;
  animation: topbarRevealEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.site-header.is-hidden {
  transform: translateY(-120%);
}

.site-header.is-scrolled {
  background: rgba(7, 17, 30, 0.98) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6);
}

.header-container {
  position: relative;
  display: flex;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  width: 96%;
  margin: 0 auto;
  padding: 0.42rem 0.5rem;
}

/* --------------------------------------------------------------------------
   2. Brand Emblem & Identity
   -------------------------------------------------------------------------- */
.brand-logo {
  display: inline-flex;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  position: relative;
  flex-shrink: 0;
  white-space: nowrap !important;
}

.brand-emblem-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid #C59B4E;
  box-shadow: 0 0 14px rgba(197, 155, 78, 0.55), 0 0 25px rgba(232, 200, 122, 0.25);
  background: #0A1424;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  flex-shrink: 0;
  animation: emblemHaloPulse 3.2s ease-in-out infinite alternate;
}

@keyframes emblemHaloPulse {
  0% { box-shadow: 0 0 10px rgba(197, 155, 78, 0.4); }
  100% { box-shadow: 0 0 18px rgba(212, 175, 55, 0.8), 0 0 32px rgba(232, 200, 122, 0.35); }
}

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

.brand-logo:hover .brand-emblem-wrap {
  transform: rotate(8deg) scale(1.06);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.95);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  white-space: nowrap !important;
}

.brand-name {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap !important;
  background: linear-gradient(135deg, #FFFFFF 30%, #E8D7B5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tagline-micro {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.7rem;
  color: #C59B4E;
  letter-spacing: 0.08em;
  font-style: italic;
  line-height: 1;
  margin: 0;
  white-space: nowrap !important;
}

/* --------------------------------------------------------------------------
   3. Desktop Navigation Menu
   -------------------------------------------------------------------------- */
.desktop-nav {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 1;
}

.nav-links-list {
  position: relative;
  display: flex;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: clamp(0.7rem, 1.15vw, 1.35rem);
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap !important;
}

.nav-link-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.nav-link-item a {
  display: inline-flex;
  align-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.74rem, 0.85vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #D5DFE9;
  text-decoration: none;
  padding: 0.35rem 0;
  line-height: 1;
  position: relative;
  white-space: nowrap !important;
  transition: color 0.25s ease;
}

.nav-link-item a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #C59B4E, #F5D77F);
  box-shadow: 0 0 6px rgba(245, 215, 127, 0.6);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.nav-link-item a:hover {
  color: #F5D77F;
}

.nav-link-item a:hover::after,
.nav-link-item a.is-active::after {
  transform: scaleX(1);
}

.nav-link-item a.is-active {
  color: #FFFFFF;
  font-weight: 600;
}

/* Energetic Glowing Badge for Masterclass */
.nav-hot-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #C59B4E 0%, #F5D77F 100%);
  color: #07111E !important;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 0.12rem 0.38rem;
  border-radius: 6px;
  margin-left: 0.3rem;
  vertical-align: middle;
  white-space: nowrap !important;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.45);
  animation: badgeGlowPulse 2s ease-in-out infinite alternate;
}

@keyframes badgeGlowPulse {
  0% { transform: scale(0.96); box-shadow: 0 0 5px rgba(197, 155, 78, 0.4); }
  100% { transform: scale(1.05); box-shadow: 0 0 12px rgba(245, 215, 127, 0.8); }
}

/* --------------------------------------------------------------------------
   4. Header Action Buttons & Consultation CTA
   -------------------------------------------------------------------------- */
.header-actions {
  display: inline-flex;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  white-space: nowrap !important;
}

/* Join 4-5 Month Course Button in Topbar */
.btn-header-course {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #F5D061 0%, #D4AF37 50%, #B38F26 100%);
  color: #07111E !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  padding: 0.48rem 1.1rem;
  border-radius: 6px;
  border: 1px solid #FFE082;
  box-shadow: 0 3px 12px rgba(212, 175, 55, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
}

.btn-header-course:hover {
  background: linear-gradient(135deg, #FFFFFF 0%, #F5D061 50%, #D4AF37 100%);
  transform: translateY(-1.5px) scale(1.02);
  box-shadow: 0 5px 18px rgba(212, 175, 55, 0.65);
}

.btn-mobile-course {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 12px;
  background: linear-gradient(135deg, #F5D061 0%, #D4AF37 50%, #B38F26 100%);
  color: #07111E !important;
  border: 1px solid #FFE082;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  cursor: pointer;
  text-decoration: none;
  gap: 0.5rem;
}

/* Consultation Button (Gold Solid with Navy Text & Shimmer Sweep) */
.btn-header-consultation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #C59B4E 0%, #D4AF37 60%, #B88A44 100%);
  color: #07111E !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  padding: 0.48rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid #E8C87A;
  box-shadow: 0 3px 12px rgba(197, 155, 78, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-header-consultation::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: rotate(25deg);
  animation: shimmerGlide 3.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes shimmerGlide {
  0% { left: -100%; }
  25% { left: 180%; }
  100% { left: 180%; }
}

.btn-header-consultation:hover {
  background: linear-gradient(135deg, #D4AF37 0%, #F5D77F 60%, #C59B4E 100%);
  transform: translateY(-1.5px) scale(1.02);
  box-shadow: 0 5px 18px rgba(212, 175, 55, 0.6);
}

/* 432Hz Soundscape Tone Pill */
.soundscape-toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(16, 30, 48, 0.85);
  border: 1px solid rgba(197, 155, 78, 0.4);
  padding: 0.38rem 0.8rem;
  border-radius: 20px;
  cursor: pointer;
  color: #D9E2EC;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  transition: all 0.3s ease;
}

.soundscape-toggle-pill:hover {
  border-color: #C59B4E;
  color: #FFFFFF;
  background: rgba(22, 42, 68, 0.95);
}

.equalizer-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 11px;
}

.equalizer-bar {
  width: 2px;
  height: 100%;
  background: #C59B4E;
  border-radius: 1px;
}

.soundscape-toggle-pill.is-playing .equalizer-bar:nth-child(1) { animation: soundBar 1.2s infinite 0.1s; }
.soundscape-toggle-pill.is-playing .equalizer-bar:nth-child(2) { animation: soundBar 1.2s infinite 0.3s; }
.soundscape-toggle-pill.is-playing .equalizer-bar:nth-child(3) { animation: soundBar 1.2s infinite 0.2s; }
.soundscape-toggle-pill.is-playing .equalizer-bar:nth-child(4) { animation: soundBar 1.2s infinite 0.4s; }

@keyframes soundBar {
  0%, 100% { height: 2px; }
  50% { height: 11px; }
}

/* Atmosphere Mode Switcher */
.atmosphere-mode-selector {
  display: flex;
  align-items: center;
  background: rgba(10, 22, 38, 0.85);
  border: 1px solid rgba(197, 155, 78, 0.25);
  border-radius: 20px;
  padding: 2px;
}

.atmosphere-btn {
  background: transparent;
  border: none;
  color: #8C9CAE;
  font-size: 0.68rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  padding: 0.25rem 0.55rem;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.atmosphere-btn:hover {
  color: #D9E2EC;
}

.atmosphere-btn.is-active {
  background: rgba(197, 155, 78, 0.25);
  color: #E8C87A;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   5. Responsive Mobile Navigation Header & Luxury Drawer System
   -------------------------------------------------------------------------- */
.mobile-nav-toggle {
  display: none;
  background: rgba(16, 30, 48, 0.7);
  border: 1.5px solid rgba(197, 155, 78, 0.5);
  color: #FFFFFF;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 10010;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-toggle:hover {
  background: rgba(24, 44, 70, 0.9);
  border-color: #E8C87A;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.mobile-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, #E8C87A, #F5D77F);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease,
              background-color 0.25s ease;
  transform-origin: center;
}

/* Morph Hamburger to 'X' when open */
.mobile-nav-toggle.is-open {
  background: rgba(22, 42, 68, 0.95);
  border-color: #F5D77F;
}

.mobile-nav-toggle.is-open .mobile-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.is-open .mobile-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-nav-toggle.is-open .mobile-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Master Glassmorphic Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background: rgba(7, 17, 30, 0.98);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  z-index: 10005;
  display: flex;
  flex-direction: column;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-15px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Drawer Header with Brand & Close Button */
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid rgba(197, 155, 78, 0.25);
  background: rgba(4, 10, 18, 0.9);
  flex-shrink: 0;
}

.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.mobile-drawer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #C59B4E;
}

.mobile-drawer-title {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #FFFFFF;
}

.mobile-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(197, 155, 78, 0.4);
  background: rgba(16, 30, 48, 0.7);
  color: #E8C87A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1;
}

.mobile-drawer-close:hover {
  background: rgba(197, 155, 78, 0.3);
  color: #FFFFFF;
  transform: rotate(90deg);
}

/* Drawer Navigation Links List */
.mobile-drawer-body {
  flex: 1;
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.8rem;
}

.mobile-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-links-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #D5DFE9;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.mobile-links-list li a:hover,
.mobile-links-list li a.is-active {
  color: #F5D77F;
  background: rgba(197, 155, 78, 0.12);
  border-color: rgba(197, 155, 78, 0.25);
  transform: translateX(4px);
}

.mobile-links-list li a .link-arrow {
  font-size: 0.85rem;
  color: #C59B4E;
  opacity: 0.7;
}

/* Drawer Action Buttons */
.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(197, 155, 78, 0.2);
}

.btn-mobile-consult {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #C59B4E 0%, #D4AF37 60%, #B88A44 100%);
  color: #07111E !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid #E8C87A;
  box-shadow: 0 4px 18px rgba(197, 155, 78, 0.4);
}

.btn-mobile-soundscape {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(16, 30, 48, 0.85);
  border: 1px solid rgba(197, 155, 78, 0.4);
  color: #D9E2EC;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: 12px;
  cursor: pointer;
}

.btn-mobile-soundscape.is-playing {
  border-color: #E8C87A;
  color: #F5D77F;
  background: rgba(24, 44, 70, 0.95);
}

/* Lock body scroll when mobile drawer is open */
body.drawer-open {
  overflow: hidden !important;
  touch-action: none;
}

/* Responsive Breakpoints for Header */
@media (max-width: 1100px) {
  .nav-links-list {
    gap: 0.85rem;
  }
  .atmosphere-mode-selector {
    display: none;
  }
}

@media (max-width: 992px) {
  .desktop-nav {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: flex;
  }
}

@media (max-width: 580px) {
  .header-actions .soundscape-toggle-pill {
    display: none;
  }
  .header-container {
    padding: 0.35rem 0.6rem;
    width: 96%;
  }
  .btn-header-consultation {
    padding: 0.42rem 0.85rem;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
  }
  .brand-emblem-wrap {
    width: 32px;
    height: 32px;
  }
  .brand-name {
    font-size: 0.88rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 380px) {
  .brand-tagline-micro {
    display: none;
  }
  .btn-header-consultation span:last-child {
    display: none;
  }
  .header-container {
    padding: 0.3rem 0.4rem;
  }
}
