/**
 * Sanātana Tattva - Ultra-Modern Glassmorphism & Liquid Ancient Theme
 * Combines Vedic sacred aesthetics with state-of-the-art Glassmorphic & Liquid-Morphic UI depth.
 */

:root {
  /* Primary Sacred Colors */
  --saffron-primary: #ff6a00;
  --saffron-light: #ff8c33;
  --saffron-glow: rgba(255, 106, 0, 0.35);
  
  --gold-primary: #e5b842;
  --gold-light: #fbe39d;
  --gold-dark: #a17822;
  --gold-glow: rgba(229, 184, 66, 0.4);
  
  --crimson-sacred: #8f1d1d;
  --crimson-glow: rgba(143, 29, 29, 0.35);

  --emerald-sacred: #1b8a5a;
  --sapphire-cosmic: #1a365d;

  /* Glassmorphism & Liquid Backgrounds */
  --bg-deep-cosmos: #090503;
  --bg-cosmos-gradient: radial-gradient(circle at 50% 20%, #1c0f08 0%, #0c0704 60%, #050302 100%);
  
  --glass-bg: rgba(26, 17, 10, 0.65);
  --glass-bg-hover: rgba(40, 25, 14, 0.85);
  --glass-border: rgba(229, 184, 66, 0.2);
  --glass-border-hover: rgba(229, 184, 66, 0.6);
  --glass-highlight: rgba(255, 255, 255, 0.08);
  --liquid-aura: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(229, 184, 66, 0.15), transparent 40%);

  /* Text Typography */
  --text-parchment-bright: #fff9ee;
  --text-parchment-light: #ecdcc2;
  --text-parchment-muted: #bfa98b;
  --text-dark: #201209;

  /* Typography Font Families */
  --font-serif-heading: 'Cinzel', serif;
  --font-serif-decorative: 'Cinzel Decorative', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-literary: 'Eczar', serif;
  --font-devanagari: 'Noto Serif Devanagari', serif;

  /* Shadows & Depth */
  --shadow-glass: 0 15px 35px 0 rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --shadow-liquid-hover: 0 20px 45px 0 rgba(0, 0, 0, 0.8), 0 0 25px rgba(229, 184, 66, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ==================== GLOBAL RESET & BASE ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-deep-cosmos);
  background-image: var(--bg-cosmos-gradient);
  background-attachment: fixed;
  color: var(--text-parchment-light);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Sacred Cosmic Background Watermark & Canvas */
#sacred-canvas-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.cosmic-mandala-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23e5b842' stroke-width='0.3' stroke-opacity='0.15'%3E%3Ccircle cx='50' cy='50' r='45'/%3E%3Ccircle cx='50' cy='50' r='35'/%3E%3Ccircle cx='50' cy='50' r='25'/%3E%3Cpolygon points='50,5 95,50 50,95 5,50'/%3E%3Cpolygon points='15,15 85,15 85,85 15,85'/%3E%3Cpolygon points='50,15 85,75 15,75'/%3E%3Cpolygon points='50,85 85,25 15,25'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
  animation: slowRotate 180s linear infinite;
}

@keyframes slowRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ==================== GLASSMORPHIC & LIQUID CARDS ==================== */
.liquid-card,
.glass-card,
.parchment-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.2rem;
  box-shadow: var(--shadow-glass);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

/* Dynamic Spotlight Mousemove Reflection */
.liquid-card::before,
.glass-card::before,
.parchment-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--liquid-aura);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.liquid-card:hover::before,
.glass-card:hover::before,
.parchment-card:hover::before {
  opacity: 1;
}

.liquid-card:hover,
.glass-card:hover,
.parchment-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-liquid-hover);
}

/* ==================== SECTION TYPOGRAPHY ==================== */
.section-padding {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-serif-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--saffron-primary);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  background: rgba(255, 106, 0, 0.12);
  border: 1px solid rgba(255, 106, 0, 0.3);
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
}

.section-title {
  font-family: var(--font-serif-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-parchment-bright);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 20%, #fbe39d 60%, #e5b842 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-parchment-muted);
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-ornament {
  font-size: 1.8rem;
  color: var(--gold-primary);
  margin-top: 1rem;
  filter: drop-shadow(0 0 8px var(--gold-glow));
}

/* ==================== BUTTONS ==================== */
.cta-glass-btn,
.cta-palm-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.9), rgba(200, 78, 0, 0.95));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-family: var(--font-serif-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(255, 106, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
}

.cta-glass-btn:hover,
.cta-palm-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 35px rgba(255, 106, 0, 0.55), 0 0 20px rgba(255, 140, 51, 0.4);
  color: #fff;
}

.cta-palm-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(26, 17, 10, 0.8);
  backdrop-filter: blur(10px);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-serif-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.cta-palm-btn-secondary:hover {
  background: rgba(229, 184, 66, 0.15);
  border-color: var(--gold-light);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(229, 184, 66, 0.25);
}

/* ==================== INTERACTIVE TABS ==================== */
.ancient-tab-btn {
  background: rgba(20, 13, 8, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--text-parchment-muted);
  font-family: var(--font-serif-heading);
  font-size: 0.95rem;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.ancient-tab-btn:hover {
  color: var(--gold-light);
  border-color: var(--gold-primary);
  background: rgba(45, 28, 16, 0.85);
}

.ancient-tab-btn.active {
  background: linear-gradient(135deg, rgba(229, 184, 66, 0.25), rgba(255, 106, 0, 0.25));
  border-color: var(--gold-primary);
  color: var(--gold-light);
  box-shadow: 0 0 20px rgba(229, 184, 66, 0.3);
  font-weight: 700;
}

/* ==================== GLOBAL GOOGLE TRANSLATE BANNER SUPPRESSION ==================== */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
iframe.skiptranslate,
iframe[id=":1.container"],
iframe[id=":2.container"],
.VIpgJd-ZVi9od-OR1Ng-bKo6H,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe-OiiCO,
.VIpgJd-ZVi9od-l4eHX-hSRGPd,
#goog-gt-tt,
#goog-gt-vt,
.goog-tooltip,
.goog-tooltip:hover,
.goog-te-balloon-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0px !important;
  width: 0px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
}

body {
  top: 0px !important;
  position: static !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
