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

:root {
  --background: #090514;
  --foreground: #f3f0f7;
  --gold: #ffd700;
  --gold-glow: rgba(255, 215, 0, 0.45);
  --purple-glow: rgba(147, 51, 234, 0.3);
}

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

body,
p,
span,
li,
a,
button,
input,
select,
textarea {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  overflow-x: hidden;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Cinzel', serif;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Linear Text Gradient Wipe */
.linear-wipe {
  background: linear-gradient(to right, #ffd700, #ff8c00, #ff007f, #ffd700);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 6s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* Star Field CSS Background */
/* Multi-Color Star Field & Twinkling Sparkles */
.star-field {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  perspective: 1000px;
  -webkit-perspective: 1000px;
  z-index: -10;
  pointer-events: none;
  overflow: hidden;
}

.star-field .layer {
  transform-style: preserve-3d;
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  background: #ffffff;
}

/* Layer 1: Micro White & Silver Dust */
.star-field .layer:nth-child(1) {
  height: 1.5px;
  width: 1.5px;
  box-shadow:
    -150px -250px #fff, 200px -300px #fff, -350px 100px #fff, 400px 200px #fff,
    -100px 350px #fff, 300px -150px #fff, -250px -50px #fff, 150px 100px #fff,
    -400px -400px #fff, 450px -100px #fff, -500px 300px #fff, 500px 400px #fff,
    -50px -450px #fff, 250px 450px #fff, -200px -350px #fff, 350px 300px #fff,
    -600px 50px #fff, 600px -200px #fff, -120px 500px #fff, 550px -350px #fff,
    -180px -120px #fff, 220px -220px #fff, -320px 180px #fff, 420px 120px #fff,
    -80px 280px #fff, 320px -80px #fff, -220px -120px #fff, 180px 80px #fff,
    -450px -350px #fff, 400px -80px #fff, -480px 280px #fff, 480px 380px #fff;
  animation: sf-fly-by-1 8s linear infinite;
}

/* Layer 2: Cosmic Gold & Amber Sparkles */
.star-field .layer:nth-child(2) {
  height: 2.5px;
  width: 2.5px;
  box-shadow:
    -300px 200px #ffd700, 100px -400px #ffd700, -200px -250px #ffd700, 250px 300px #ffd700,
    -450px -100px #ffd700, 350px -200px #ffd700, -150px 450px #ffd700, 450px 150px #ffd700,
    -100px -150px #f59e0b, 200px -250px #f59e0b, -400px 250px #f59e0b, 300px 350px #f59e0b,
    -550px -300px #ffd700, 500px -100px #ffd700, -250px 550px #ffd700, 600px 100px #ffd700,
    -280px 180px #f59e0b, 120px -380px #f59e0b, -180px -230px #ffd700, 230px 280px #ffd700;
  animation: sf-fly-by-2 14s linear infinite;
}

/* Layer 3: Neon Pink, Violet & Electric Cyan Orbs */
.star-field .layer:nth-child(3) {
  height: 3.5px;
  width: 3.5px;
  box-shadow:
    -200px 100px #ff007f, 300px -300px #ff007f, -400px -150px #ff007f, 150px 250px #ff007f,
    -100px -300px #9333ea, 250px -100px #9333ea, -300px 350px #9333ea, 400px 100px #9333ea,
    -50px 200px #00f3ff, 350px -450px #00f3ff, -250px -400px #00f3ff, 450px 400px #00f3ff,
    -600px -100px #ff007f, 500px 250px #9333ea, -150px -550px #00f3ff, 550px -250px #9333ea;
  animation: sf-fly-by-3 20s linear infinite;
}

/* Layer 4: Glowing Colored Halos */
.star-field .layer:nth-child(4) {
  height: 4.5px;
  width: 4.5px;
  box-shadow:
    -350px -300px rgba(255, 255, 255, 0.9), 250px -450px rgba(255, 215, 0, 0.9),
    -450px 200px rgba(255, 0, 127, 0.9), 350px 350px rgba(147, 51, 234, 0.9),
    -150px 50px rgba(0, 243, 255, 0.9), 150px -150px rgba(255, 215, 0, 0.9),
    -550px 450px rgba(255, 0, 127, 0.9), 500px -200px rgba(147, 51, 234, 0.9);
  animation: sf-fly-by-4 26s linear infinite;
}

/* Layer 5: Large Shimmering Emerald & Gold Stars */
.star-field .layer:nth-child(5) {
  height: 6px;
  width: 6px;
  box-shadow:
    -250px 320px #10b981, 380px -220px #10b981, -520px -180px #ffd700, 180px 480px #00f3ff,
    -120px -380px #ff007f, 480px 120px #ffd700, -380px 420px #10b981, 280px -520px #9333ea;
  animation: sf-fly-by-5 32s linear infinite;
}

@keyframes sf-fly-by-1 {
  from {
    transform: translateZ(-600px);
    opacity: 0.1;
  }

  50% {
    opacity: 0.8;
  }

  to {
    transform: translateZ(200px);
    opacity: 0;
  }
}

@keyframes sf-fly-by-2 {
  from {
    transform: translateZ(-1200px);
    opacity: 0.1;
  }

  50% {
    opacity: 0.9;
  }

  to {
    transform: translateZ(400px);
    opacity: 0;
  }
}

@keyframes sf-fly-by-3 {
  from {
    transform: translateZ(-1800px);
    opacity: 0.1;
  }

  50% {
    opacity: 0.9;
  }

  to {
    transform: translateZ(600px);
    opacity: 0;
  }
}

@keyframes sf-fly-by-4 {
  from {
    transform: translateZ(-2400px);
    opacity: 0.1;
  }

  50% {
    opacity: 0.95;
  }

  to {
    transform: translateZ(800px);
    opacity: 0;
  }
}

@keyframes sf-fly-by-5 {
  from {
    transform: translateZ(-300px);
    opacity: 0.1;
  }

  50% {
    opacity: 1;
  }

  to {
    transform: translateZ(1000px);
    opacity: 0;
  }
}

/* Floating & Twinkling Sparkles (✦) Styling */
.sparkles-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  font-size: 1.25rem;
  user-select: none;
  animation: sparklePulse 3.5s ease-in-out infinite alternate;
  will-change: transform, opacity, filter;
}

.sparkle-gold {
  color: #ffd700;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.9));
}

.sparkle-purple {
  color: #c084fc;
  filter: drop-shadow(0 0 10px rgba(192, 132, 252, 0.9));
}

.sparkle-cyan {
  color: #38bdf8;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.9));
}

.sparkle-pink {
  color: #f472b6;
  filter: drop-shadow(0 0 10px rgba(244, 114, 182, 0.9));
}

.sparkle-white {
  color: #ffffff;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
}

@keyframes sparklePulse {
  0% {
    opacity: 0.2;
    transform: scale(0.6) rotate(0deg);
  }

  50% {
    opacity: 1;
    transform: scale(1.4) rotate(90deg);
  }

  100% {
    opacity: 0.3;
    transform: scale(0.7) rotate(180deg);
  }
}

/* Celestial Chart & Orbit Animation */
.rotateAst {
  animation: celestialRotation 40s infinite linear;
}

@keyframes celestialRotation {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Glassmorphism Panel */
.glass-panel {
  background: rgba(18, 10, 32, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.glass-panel-hover {
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-panel-hover:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 215, 0, 0.45);
  box-shadow:
    0 20px 40px rgba(9, 5, 20, 0.8),
    0 0 25px rgba(255, 215, 0, 0.25),
    0 0 40px rgba(147, 51, 234, 0.2);
}

.glass-panel-hover img {
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-panel-hover:hover img {
  transform: scale(1.03);
}

/* 3D Celestial Container */
.celestial-container {
  perspective: 1000px;
}

.celestial-chart-3d {
  transform: rotateX(15deg) rotateY(-10deg);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform-style: preserve-3d;
}

.celestial-chart-3d:hover {
  transform: rotateX(5deg) rotateY(-5deg) scale(1.03);
}

.orbit-ring {
  position: absolute;
  border: 1px dashed rgba(255, 215, 0, 0.15);
  border-radius: 50%;
  animation: celestialRotation 70s infinite linear;
  pointer-events: none;
}

.orbit-ring-1 {
  width: 108%;
  height: 108%;
  border-color: rgba(147, 51, 234, 0.25);
  animation-duration: 50s;
}

.orbit-ring-2 {
  width: 120%;
  height: 120%;
  border-color: rgba(255, 215, 0, 0.1);
  animation-duration: 90s;
  animation-direction: reverse;
}

/* Glowing text & box */
.text-glow {
  text-shadow: 0 0 10px var(--gold-glow);
}

.box-glow {
  box-shadow: 0 0 25px var(--purple-glow);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #090514;
}

::-webkit-scrollbar-thumb {
  background: #312152;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ffd700;
}

/* Utility Layout Classes matching Tailwind */
.max-w-7xl {
  max-width: 80rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.max-w-xl {
  max-width: 36rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-10 {
  z-index: 10;
}

.z-40 {
  z-index: 40;
}

.z-50 {
  z-index: 50;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.flex-col {
  flex-direction: column;
}

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

.items-start {
  align-items: flex-start;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.25rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.space-y-1>*+* {
  margin-top: 0.25rem;
}

.space-y-1\.5>*+* {
  margin-top: 0.375rem;
}

.space-y-3>*+* {
  margin-top: 0.75rem;
}

.space-y-4>*+* {
  margin-top: 1rem;
}

.space-y-5>*+* {
  margin-top: 1.25rem;
}

.space-y-6>*+* {
  margin-top: 1.5rem;
}

.space-y-12>*+* {
  margin-top: 3rem;
}

.space-x-2>*+* {
  margin-left: 0.5rem;
}

.space-x-3>*+* {
  margin-left: 0.75rem;
}

.space-x-4>*+* {
  margin-left: 1rem;
}

.space-x-8>*+* {
  margin-left: 2rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

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

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

.uppercase {
  text-transform: uppercase;
}

.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.text-white {
  color: #ffffff;
}

.text-gray-300 {
  color: #d1d5db;
}

.text-gray-400 {
  color: #9ca3af;
}

.text-gray-500 {
  color: #6b7280;
}

.text-[#ffd700] {
  color: #ffd700;
}

.text-[#090514] {
  color: #090514;
}

.bg-[#090514] {
  background-color: #090514;
}

.bg-[#070410]\/70 {
  background-color: rgba(7, 4, 16, 0.7);
}

.bg-[#120a24]\/30 {
  background-color: rgba(18, 10, 36, 0.3);
}

.bg-[#120a24]\/50 {
  background-color: rgba(18, 10, 36, 0.5);
}

.bg-[#120a24]\/60 {
  background-color: rgba(18, 10, 36, 0.6);
}

.bg-[#ffd700] {
  background-color: #ffd700;
}

.bg-[#ffd700]\/5 {
  background-color: rgba(255, 215, 0, 0.05);
}

.bg-[#ffd700]\/10 {
  background-color: rgba(255, 215, 0, 0.1);
}

.bg-[#ffd700]\/20 {
  background-color: rgba(255, 215, 0, 0.2);
}

.bg-white\/5 {
  background-color: rgba(255, 255, 255, 0.05);
}

.bg-white\/10 {
  background-color: rgba(255, 255, 255, 0.1);
}

.border {
  border-width: 1px;
  border-style: solid;
}

.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}

.border-b {
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.border-[#ffd700]\/10 {
  border-color: rgba(255, 215, 0, 0.1);
}

.border-[#ffd700]\/20 {
  border-color: rgba(255, 215, 0, 0.2);
}

.border-[#ffd700]\/30 {
  border-color: rgba(255, 215, 0, 0.3);
}

.border-[#ffd700]\/40 {
  border-color: rgba(255, 215, 0, 0.4);
}

.border-[#ffd700]\/50 {
  border-color: rgba(255, 215, 0, 0.5);
}

.border-white\/5 {
  border-color: rgba(255, 255, 255, 0.05);
}

.border-white\/10 {
  border-color: rgba(255, 255, 255, 0.1);
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 9999px;
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.transition-all {
  transition-property: all;
  transition-duration: 300ms;
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-duration: 300ms;
}

.object-cover {
  object-fit: cover;
}

.object-contain {
  object-fit: contain;
}

/* Responsive Media Queries */
@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sm\:text-2xl {
    font-size: 1.5rem;
  }

  .sm\:text-6xl {
    font-size: 3.75rem;
  }

  .sm\:w-auto {
    width: auto;
  }

  .sm\:w-96 {
    width: 24rem;
  }

  .sm\:h-96 {
    height: 24rem;
  }

  .sm\:w-56 {
    width: 14rem;
  }

  .sm\:h-56 {
    height: 14rem;
  }
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .lg\:text-left {
    text-align: left;
  }

  .lg\:justify-start {
    justify-content: flex-start;
  }
}

/* Light Theme Complete Styling — Vibrant Purple & Sunset Orange Cosmic Palette */
body.light-theme {
  background-color: #faf7fd !important;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(234, 88, 12, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(147, 51, 234, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 50% 65%, rgba(217, 119, 6, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 85%, rgba(192, 38, 211, 0.08) 0%, transparent 40%) !important;
  background-attachment: fixed !important;
  color: #1e1133 !important;
}

body.light-theme nav {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-color: rgba(147, 51, 234, 0.18) !important;
  box-shadow: 0 4px 25px rgba(107, 33, 168, 0.08), 0 1px 3px rgba(234, 88, 12, 0.05) !important;
}

body.light-theme nav a {
  color: #2e1752 !important;
  font-weight: 600 !important;
}

body.light-theme nav a:hover {
  color: #ea580c !important;
}

/* Light Mode Account Dropdown Box Overrides */
body.light-theme #userDropdownBtn {
  background: rgba(234, 88, 12, 0.08) !important;
  border-color: rgba(234, 88, 12, 0.3) !important;
  color: #7e22ce !important;
}

body.light-theme #userDropdownBtn:hover {
  background: rgba(234, 88, 12, 0.15) !important;
}

body.light-theme #userDropdownMenu {
  background-color: #ffffff !important;
  border-color: rgba(147, 51, 234, 0.25) !important;
  box-shadow: 0 15px 35px rgba(107, 33, 168, 0.15), 0 5px 15px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme #userDropdownMenu p,
body.light-theme #userDropdownMenu span {
  color: #2e1752 !important;
}

body.light-theme #userDropdownMenu .border-white\/10 {
  border-color: rgba(147, 51, 234, 0.15) !important;
}

body.light-theme #userDropdownMenu .text-gray-300,
body.light-theme #userDropdownMenu .text-gray-400 {
  color: #4c3275 !important;
}

body.light-theme #userDropdownMenu .text-\[\#ffd700\] {
  color: #ea580c !important;
}

body.light-theme #userDropdownMenu a {
  color: #2e1752 !important;
}

body.light-theme #userDropdownMenu a:hover {
  background-color: rgba(234, 88, 12, 0.08) !important;
  color: #ea580c !important;
}

body.light-theme #themeToggleBtnDesktop {
  background: rgba(234, 88, 12, 0.1) !important;
  border-color: rgba(234, 88, 12, 0.3) !important;
  color: #ea580c !important;
}

body.light-theme #themeToggleBtnDesktop span {
  color: #ea580c !important;
}

/* Light Theme Floating Audio Toggle Button Overrides */
body.light-theme #audioToggleBtn {
  background: #ffffff !important;
  border-color: rgba(147, 51, 234, 0.3) !important;
  color: #7e22ce !important;
  box-shadow: 0 8px 25px rgba(126, 34, 206, 0.2), 0 2px 8px rgba(234, 88, 12, 0.15) !important;
}

body.light-theme #audioToggleBtn:hover {
  background: #ffffff !important;
  border-color: #ea580c !important;
  color: #ea580c !important;
  box-shadow: 0 12px 30px rgba(234, 88, 12, 0.3) !important;
  transform: scale(1.08) !important;
}

body.light-theme .glass-panel {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(147, 51, 234, 0.18) !important;
  box-shadow: 0 10px 30px rgba(107, 33, 168, 0.07), 0 4px 15px rgba(234, 88, 12, 0.05) !important;
}

body.light-theme .glass-panel-hover:hover {
  border-color: rgba(234, 88, 12, 0.4) !important;
  box-shadow: 0 16px 40px rgba(107, 33, 168, 0.12), 0 6px 20px rgba(234, 88, 12, 0.15) !important;
  transform: translateY(-3px) !important;
}

body.light-theme .text-white {
  color: #190933 !important;
}

body.light-theme .text-gray-300,
body.light-theme .text-gray-400 {
  color: #3b255e !important;
}

body.light-theme .text-gray-500 {
  color: #634f85 !important;
}

/* High contrast Sunset Orange & Royal Purple Accents for Light Mode */
body.light-theme .text-\[\#ffd700\],
body.light-theme .text-gold {
  color: #ea580c !important;
}

body.light-theme h1.text-\[\#ffd700\],
body.light-theme h2.text-\[\#ffd700\],
body.light-theme h3.text-\[\#ffd700\],
body.light-theme h4.text-\[\#ffd700\],
body.light-theme .text-glow {
  color: #5b21b6 !important;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 8px rgba(126, 34, 206, 0.25),
    0 0 20px rgba(234, 88, 12, 0.18) !important;
  font-weight: 900 !important;
  letter-spacing: 0.05em !important;
}

body.light-theme .linear-wipe {
  background: linear-gradient(135deg, #ea580c 0%, #c026d3 50%, #7e22ce 100%) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 800 !important;
}

/* Badges & Pills in Light Mode */
body.light-theme .bg-\[\#ffd700\]\/5,
body.light-theme .bg-\[\#ffd700\]\/10 {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%) !important;
  border-color: rgba(234, 88, 12, 0.3) !important;
  color: #7e22ce !important;
}

/* Input & Form Control Overrides for Light Mode */
body.light-theme input,
body.light-theme textarea,
body.light-theme select {
  background-color: #ffffff !important;
  color: #190933 !important;
  border-color: rgba(147, 51, 234, 0.22) !important;
}

body.light-theme input::placeholder,
body.light-theme textarea::placeholder {
  color: #7d6b99 !important;
}

body.light-theme input:focus,
body.light-theme textarea:focus,
body.light-theme select:focus {
  border-color: #ea580c !important;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.18) !important;
}

/* Background Section Overrides for Light Mode */
body.light-theme .bg-\[\#070410\]\/70 {
  background-color: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(10px) !important;
}

body.light-theme .bg-\[\#120a24\]\/30,
body.light-theme .bg-\[\#120a24\]\/50,
body.light-theme .bg-\[\#120a24\]\/60 {
  background-color: rgba(246, 240, 255, 0.85) !important;
}

body.light-theme .border-white\/5,
body.light-theme .border-white\/10 {
  border-color: rgba(147, 51, 234, 0.15) !important;
}

body.light-theme .border-\[\#ffd700\]\/10,
body.light-theme .border-\[\#ffd700\]\/15,
body.light-theme .border-\[\#ffd700\]\/20,
body.light-theme .border-\[\#ffd700\]\/25,
body.light-theme .border-\[\#ffd700\]\/30 {
  border-color: rgba(234, 88, 12, 0.22) !important;
}

/* Footer Light Theme */
body.light-theme footer,
body.light-theme section#divContact {
  background-color: #f3ecfb !important;
  border-top-color: rgba(147, 51, 234, 0.2) !important;
}

/* Vibrant Buttons in Light Mode (Sunset Orange to Royal Purple) */
body.light-theme .bg-\[\#ffd700\] {
  background: linear-gradient(135deg, #ea580c 0%, #9333ea 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.35) !important;
  border: none !important;
}

body.light-theme .bg-\[\#ffd700\]:hover {
  background: linear-gradient(135deg, #d97706 0%, #7e22ce 100%) !important;
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.45) !important;
}

/* Starfield Sparkles in Light Mode — Multi-Color Purple, Orange & Amber */
body.light-theme .star-field .layer:nth-child(1) {
  height: 2px;
  width: 2px;
  background: #9333ea !important;
  box-shadow:
    -150px -250px #ea580c, 200px -300px #9333ea, -350px 100px #d97706, 400px 200px #ea580c,
    -100px 350px #9333ea, 300px -150px #ea580c, -250px -50px #c026d3, 150px 100px #d97706,
    -400px -400px #ea580c, 450px -100px #9333ea, -500px 300px #d97706, 500px 400px #ea580c !important;
}

body.light-theme .star-field .layer:nth-child(2) {
  height: 3px;
  width: 3px;
  background: #ea580c !important;
  box-shadow:
    -300px 200px #ea580c, 100px -400px #9333ea, -200px -250px #d97706, 250px 300px #ea580c,
    -450px -100px #c026d3, 350px -200px #ea580c, -150px 450px #9333ea, 450px 150px #d97706 !important;
}

/* Default (Dark Theme) Ganesh Backdrop Filter */
.ganesh-backdrop {
  opacity: 0.15;
  mix-blend-mode: color-dodge;
}

/* Light Theme — High Contrast Text Legibility & Ganesh Watermark */
body.light-theme .ganesh-backdrop,
html.light-theme .ganesh-backdrop,
body.light-theme div[style*="Ganesh.jpg"],
html.light-theme div[style*="Ganesh.jpg"] {
  opacity: 0.22 !important;
  mix-blend-mode: multiply !important;
  filter: contrast(1.1) brightness(1.1) saturate(0.8) !important;
}

/* Directional overlay: denser/opaque on the left text column, more open on the right */
body.light-theme .hero-radial-bg,
html.light-theme .hero-radial-bg {
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(248, 242, 255, 0.95) 45%,
    rgba(240, 232, 255, 0.88) 70%,
    rgba(230, 220, 255, 0.78) 100%
  ) !important;
}

/* Frosted glass backdrop behind hero text column for max legibility */
body.light-theme .hero-text-col {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(12px) saturate(1.4) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.4) !important;
  border-radius: 1.25rem !important;
  padding: 2rem 2rem 2rem 1.75rem !important;
  box-shadow:
    0 4px 24px rgba(107, 33, 168, 0.08),
    0 1px 6px rgba(234, 88, 12, 0.06) !important;
  border: 1px solid rgba(147, 51, 234, 0.12) !important;
}

/* Hero paragraph / body text — ensure deep contrast in light mode */
body.light-theme .hero-text-col p,
body.light-theme .hero-text-col .text-gray-300 {
  color: #2e1752 !important;
  font-weight: 500 !important;
}

/* Light Theme — Hero Button Polish */
body.light-theme .border-\[\#ffd700\]\/40 {
  border-color: rgba(126, 34, 206, 0.4) !important;
  color: #7e22ce !important;
  background-color: rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 4px 14px rgba(126, 34, 206, 0.1) !important;
}

body.light-theme .border-\[\#ffd700\]\/40:hover {
  border-color: #ea580c !important;
  color: #ea580c !important;
  background-color: #ffffff !important;
}

/* Light Theme — Floating 3D Celestial Orbit Illustration Polish */
body.light-theme .celestial-chart-3d {
  background: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(234, 88, 12, 0.35) !important;
  box-shadow: 0 15px 35px rgba(126, 34, 206, 0.12), 0 0 25px rgba(234, 88, 12, 0.18) !important;
}

body.light-theme .celestial-chart-3d img {
  border-color: rgba(234, 88, 12, 0.4) !important;
  box-shadow: 0 8px 24px rgba(126, 34, 206, 0.2) !important;
}

body.light-theme .orbit-ring-1 {
  border-color: rgba(234, 88, 12, 0.45) !important;
}

body.light-theme .orbit-ring-2 {
  border-color: rgba(126, 34, 206, 0.35) !important;
}

body.light-theme .rotateAst {
  /* opacity: 0.35 !important; */
  mix-blend-mode: multiply !important;
}