/* Midnight Stars Template Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Alex+Brush&display=swap');

:root {
  --midnight-dark: #070b19;
  --midnight-blue: #0b112c;
  --midnight-card: rgba(15, 23, 42, 0.75);
  --gold-glow: #d4af37;
  --gold-accent: #f3e5ab;
  --star-color: rgba(255, 255, 255, 0.8);
}

[x-cloak] { display: none !important; }

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #070b19;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}

/* Glassmorphism Styles */
.glass-card {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

.glass-card-glow {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.15), inset 0 0 15px rgba(212, 175, 55, 0.05);
}

.glass-nav {
  background: rgba(7, 11, 25, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6);
}

.glass-input {
  background: rgba(11, 17, 44, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: #f8fafc;
  transition: all 0.3s ease;
}
.glass-input:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
  background: rgba(15, 23, 42, 0.85);
}

/* Gold Text Gradient */
.text-gold-gradient {
  background: linear-gradient(135deg, #fff3b0 0%, #d4af37 50%, #aa7c11 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold-subtle {
  color: #e6ca65;
}

.border-gold-gradient {
  border-image: linear-gradient(to bottom, #d4af37, rgba(212, 175, 55, 0.2)) 1;
}

/* Starlight and Twinkle Animations */
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes float-star {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(180deg); }
}

.animate-twinkle {
  animation: twinkle 3s ease-in-out infinite;
}

.animate-twinkle-delayed {
  animation: twinkle 4s ease-in-out infinite 1.5s;
}

.animate-float-star {
  animation: float-star 8s ease-in-out infinite;
}

/* Vinyl rotation animation */
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.animate-spin-slow {
  animation: spin-slow 10s linear infinite;
}
.music-paused {
  animation-play-state: paused;
}

/* Starlight constellation background */
.starlight-bg {
  background-color: #070b19;
  background-image: 
    radial-gradient(1px 1px at 25px 35px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 150px 80px, #d4af37, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 90px 220px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 280px 140px, #e6ca65, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 320px 300px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 70px 380px, #d4af37, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 210px 430px, #ffffff, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 350px 450px;
}
