/* ========================================================
   PRINCE PAN CORNER - ROYAL BANARASI DARBAR THEME STYLES
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --royal-bg: #031108;
  --royal-dark: #020b05;
  --royal-card: #051a0f;
  --royal-card-hover: #082918;
  --royal-surface: #072415;
  --royal-border: #163f27;
  --royal-border-gold: rgba(212, 175, 55, 0.4);
  --royal-gold: #d4af37;
  --royal-gold-light: #fef08a;
  --royal-gold-dark: #997818;
  --royal-emerald: #15803d;
  --royal-emerald-light: #16a34a;
  --font-royal: 'Cinzel', serif;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Custom Royal Typography */
.font-royal {
  font-family: var(--font-royal);
}

.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-sans);
}

/* Gold Gradient Text */
.text-gold-gradient {
  background: linear-gradient(135deg, #fff2a3 0%, #d4af37 40%, #b8860b 80%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-silver-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--royal-bg);
  color: #e3f0e7;
  font-family: var(--font-sans);
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #020c06;
}
::-webkit-scrollbar-thumb {
  background: #144426;
  border-radius: 5px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}
::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}

/* Radial Glow Backgrounds */
.bg-royal-radial {
  background: radial-gradient(circle at top center, #0a331c 0%, #04150c 55%, #020b06 100%);
}

.bg-gold-glow {
  box-shadow: 0 0 35px -5px rgba(212, 175, 55, 0.25);
}

.bg-gold-glow-hover:hover {
  box-shadow: 0 0 30px 0 rgba(212, 175, 55, 0.35);
}

/* Modal Transitions & Animations */
.modal-overlay {
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.modal-content {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease-out;
  transform: scale(0.95) translateY(10px);
  opacity: 0;
}

.modal-open .modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Gold Button Shimmer */
.btn-gold-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-gold-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 20%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 80%
  );
  transform: rotate(30deg) translateX(-100%);
  animation: shimmer 4s infinite;
}

@keyframes shimmer {
  0% {
    transform: rotate(30deg) translateX(-100%);
  }
  20%, 100% {
    transform: rotate(30deg) translateX(100%);
  }
}

/* Royal Input Fields */
.royal-input {
  background-color: #03140a;
  border: 1px solid #19462a;
  color: #f1f8f3;
  transition: all 0.2s ease;
}

.royal-input:focus {
  border-color: #d4af37;
  outline: none;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
  background-color: #041c0e;
}

/* Pulse Glow */
@keyframes pulseGold {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

.pulse-gold {
  animation: pulseGold 3s infinite ease-in-out;
}
