/*
 * Custom CSS for Royal Blue Aesthetic
*/

body {
  font-family: 'Geist', sans-serif !important;
  background-image: none !important;
  background-color: transparent !important;
  color: #fff !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Titillium Web', sans-serif !important;
  font-weight: 700 !important;
}

/* Hide default theme glow */
.glow-inner {
  display: none !important;
}

/* Sys-Info Background Effects */
.sys-info-bg-container {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: var(--bs-body-bg);
  overflow: hidden;
}

.sys-glow-1 {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 150vw;
  height: 150vh;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18), transparent 68%);
  pointer-events: none;
}

.sys-glow-2 {
  position: absolute;
  top: -80px;
  left: -80px;
  width: 150vw;
  height: 150vh;
  background: radial-gradient(circle at 35% 35%, rgba(59, 130, 246, 0.22), transparent 62%);
  pointer-events: none;
}

.sys-glow-3 {
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 150vw;
  height: 150vh;
  background: radial-gradient(circle at 65% 65%, rgba(59, 130, 246, 0.18), transparent 58%);
  pointer-events: none;
}

.sys-glow-ellipse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150vw;
  height: 150vh;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.12), transparent 70%);
  pointer-events: none;
}

.sys-gradient-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0) 0%, rgba(2, 6, 23, 0.40) 60%, rgba(2, 6, 23, 0.85) 100%);
  pointer-events: none;
}

.sys-radial-top {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.12), transparent 52%);
  pointer-events: none;
}

.sys-pattern-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(147, 197, 253, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Navbar Glassmorphism */
.navbar, header.sticky-top {
  background: rgba(2, 6, 23, 0.6) !important;
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-bottom: 1px solid rgba(59, 130, 246, 0.15) !important;
}

/* Card Glassmorphism */
.card, .modal-content, .dropdown-menu {
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid rgba(59, 130, 246, 0.15) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25) !important;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  border-color: rgba(59, 130, 246, 0.3) !important;
  transform: translateY(-4px);
}

/* Card Images radius */
.card-img-top, .card img {
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
}

/* Overriding default gray backgrounds to be translucent */
.bg-gray, .socials, .cta-text-image {
  background: rgba(15, 23, 42, 0.2) !important;
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.footer {
  background: rgba(2, 6, 23, 0.8) !important;
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(59, 130, 246, 0.2) !important;
}

/* Button Styling */
.btn {
  border-radius: 12px !important;
  text-transform: uppercase;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-primary {
  background: var(--cl-accent) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  background: #2563eb !important;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
  transform: translateY(-2px);
}

/* Input Fields */
.form-control, .form-select, .hero .fake-searchbar input {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(59, 130, 246, 0.2) !important;
  border-radius: 10px !important;
  color: #fff !important;
  transition: all 0.3s ease !important;
}

.form-control:focus, .form-select:focus {
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15) !important;
  border-color: rgba(59, 130, 246, 0.6) !important;
}

/* Stats in Hero */
.hero .content .stats {
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 16px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Adjust announcement bar */
.announcement {
  background: rgba(59, 130, 246, 0.15) !important;
  border-bottom: 1px solid rgba(59, 130, 246, 0.3) !important;
  backdrop-filter: blur(12px);
  color: #fff !important;
  font-weight: 500;
}

/* General Link Hover */
a {
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
  text-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
}