/* --- STARFALL KINGDOM OFFICIAL STYLESHEET --- */

/* Base styles */
html, body {
  height: 100%;
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #f0f0f0;
  background: #090A0F !important;
  background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%) fixed !important;
}

/* Dynamic Starfield Container */
#starfall-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  background: transparent;
  pointer-events: none;
}

/* Individual Star Layers */
.star-layer {
  position: absolute;
  top: 0;
  left: 0;
  background: transparent;
  width: 1px;
  height: 1px;
}

.star-layer.small { width: 1px; height: 1px; animation: fall 100s linear infinite; }
.star-layer.medium { width: 2px; height: 2px; animation: fall 60s linear infinite; }
.star-layer.large { width: 3px; height: 3px; animation: fall 30s linear infinite; }

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  position: relative;
  z-index: 2;
}

/* --- NAVIGATION BAR (Fancy Text Update) --- */
.navbar {
  background-color: rgba(26, 26, 26, 0.95) !important;
  border-bottom: 1px solid #ffd700;
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.navbar-dark .navbar-brand {
  font-family: 'Cinzel Decorative', serif !important;
  font-size: 2rem;
  color: #ffd700 !important;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

/* Updated Nav Links to use the "Fancy" Font */
.navbar-nav .nav-link {
  font-family: 'Cinzel Decorative', serif !important;
  font-size: 0.9rem;
  color: #e0e0e0 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem !important;
}

.navbar-nav .nav-link:hover {
  color: #ffd700 !important;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
  transform: translateY(-1px);
}

/* Dropdown Menu Styles */
.dropdown-menu {
  background-color: rgba(15, 15, 20, 0.95) !important;
  border: 1px solid rgba(255, 215, 0, 0.3) !important;
}

.dropdown-item {
  font-family: 'Cinzel Decorative', serif !important;
  color: #e0e0e0 !important;
  font-size: 0.8rem;
}

.dropdown-item:hover {
  background-color: rgba(255, 215, 0, 0.1) !important;
  color: #ffd700 !important;
}

/* --- CELESTIAL SECTIONS --- */
.col-md-4 {
  background: rgba(20, 20, 25, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px;
  padding: 2.5rem 1.5rem 1.5rem 1.5rem;
  margin-top: 30px;
  backdrop-filter: blur(8px);
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.col-md-4 h3 {
  font-family: 'Cinzel Decorative', serif !important;
  color: #ffd700;
  text-align: center;
}

.col-md-4:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.col-md-4 h3::before {
  content: '✦';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: #090a0f;
  border: 1px solid #ffd700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd700;
  font-size: 1.2rem;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

/* Hero section */
.hero {
  background: rgba(10, 10, 15, 0.4) !important;
  padding: 4rem 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

/* Footer */
.footer {
  background-color: #090a0f !important;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  color: #888;
  padding: 1.5rem;
  text-align: center;
  z-index: 2;
}

/* Animation */
@keyframes fall {
  from { transform: translateY(0px); }
  to { transform: translateY(-2000px); }
}