.base_container {
  min-height: 100vh;
  background-color: #121212;
  color: #ffffff;
}

body {
  background-color: #121212;
  color: #ffffff;
  padding-top: 76px;
}

/* Gradient text utility class */
.gradient-text {
  background: linear-gradient(135deg, #8585ff, #66ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navbar Brand Logo */
.navbar-brand {
  background: linear-gradient(135deg, #8585ff, #66ccff) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: bold;
  font-size: 1.6rem;
  transition: transform 0.4s ease-in-out;
}

.navbar-brand:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #66ccff, #8585ff) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

nav {
  max-height: 65.5px;
}

/* Fixed Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background-color: #121212 !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Center Navbar Links */
.navbar-nav {
  display: flex;
  width: 60%;
}

.navbar-nav li {
  margin-left: 20px;
}

.nav-link {
  font-size: 1.1rem;
  position: relative;
  transition: color 0.4s ease-in-out, transform 0.4s ease-in-out;
  padding: 10px;
  background: linear-gradient(135deg, #8585ff, #66ccff) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.nav-link:hover {
  background: linear-gradient(135deg, #66ccff, #8585ff) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  transform: scale(1.1);
}

.nav-link::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background: linear-gradient(135deg, #8585ff, #66ccff);
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transition: transform 0.4s ease-in-out;
}

.nav-link:hover::before {
  transform: scaleX(1);
}

/* Right-aligned Buttons */
.btn-outline-primary {
  border: 2px solid transparent;
  background: linear-gradient(135deg, #8585ff, #66ccff);
  background-clip: padding-box;
  color: white;
  padding: 0.6rem 1.2rem;
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  position: relative;
}

.btn-outline-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 8px;
  padding: 2px;
  background: linear-gradient(135deg, #8585ff, #66ccff);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

.btn-outline-primary:hover {
  background: linear-gradient(135deg, #66ccff, #8585ff);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(133, 133, 255, 0.3);
}

.btn-primary {
  background: linear-gradient(135deg, #8585ff, #66ccff);
  border: none;
  padding: 0.6rem 1.2rem;
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #66ccff, #8585ff);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(133, 133, 255, 0.3);
}

/* Login Button Styling */
.btn-outline-light {
  border: 2px solid rgba(133, 133, 255, 0.5);
  background: transparent;
  color: white !important;
  padding: 0.6rem 1.2rem;
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  position: relative;
}

.btn-outline-light:hover {
  background: linear-gradient(135deg, #8585ff, #66ccff) !important;
  color: white !important;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(133, 133, 255, 0.3);
}

/* Sign Up Button Styling */
.btn-light {
  background: linear-gradient(135deg, #8585ff, #66ccff);
  border: none;
  padding: 0.6rem 1.2rem;
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  color: white !important;
}

.btn-light:hover {
  background: linear-gradient(135deg, #66ccff, #8585ff) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(133, 133, 255, 0.3);
}

/* Navbar background animation on scroll */
.animated-navbar {
  transition: background-color 0.6s ease-in-out;
}

.animated-navbar.scrolled {
  background-color: #1f1f1f;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
}

/* Mobile Navbar Toggle Button Animation */
.navbar-toggler-icon {
  transition: transform 0.4s ease-in-out;
}

.navbar-toggler.active .navbar-toggler-icon {
  transform: rotate(90deg);
}

.navbar {
  background-color: #121212 !important;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

/* Footer Styling */
.footer {
  background-color: #1f1f1f;
  color: #ffffff;
  padding: 2rem 0;
}

.footer h5 {
  background: linear-gradient(135deg, #8585ff, #66ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.footer p,
.footer ul,
.footer li {
  font-size: 1rem;
  line-height: 1.6;
  color: #e5e7eb;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul li a {
  background: linear-gradient(135deg, #8585ff, #66ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.footer ul li a:hover {
  background: linear-gradient(135deg, #66ccff, #8585ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer i {
  margin-right: 0.5rem;
  background: linear-gradient(135deg, #8585ff, #66ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dropdown .btn-light {
  background-color: #374151;
  border: none;
  color: #ffffff;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.dropdown .btn-light:hover {
  background: linear-gradient(135deg, #8585ff, #66ccff);
  color: white;
}

.dropdown-menu {
  background-color: #1f1f1f;
  border: 1px solid #374151;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

.dropdown-menu a {
  background: linear-gradient(135deg, #8585ff, #66ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  padding: 8px 12px;
  display: block;
}

.dropdown-menu a:hover {
  background-color: rgba(245, 245, 245, 0.1) !important;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: #ffffff;
  background-clip: initial;
  color: #ffffff;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.dropdown-menu p {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #ffffff;
}

.dropdown-menu i {
  background: linear-gradient(135deg, #8585ff, #66ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mr-2 {
  margin-right: 4px;
}

/* Support dropdown button sizing (desktop + mobile) */
#supportDropdown.btn-light,
#supportDropdownMobile.btn-light {
  padding: 0.4rem 0.9rem;
}

#supportDropdown i,
#supportDropdownMobile i {
  font-size: 19px !important;
}

/* Mobile navbar improvements */
@media (max-width: 991.98px) {
  .navbar {
    background-color: #121212 !important;
  }

  .navbar .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .navbar-collapse {
    background-color: #0f0f10;
    padding: 12px 14px;
    border-radius: 12px;
    margin-top: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  }

  .navbar-nav {
    width: 100%;
    flex-direction: column;
  }

  .navbar-nav li {
    margin-left: 0;
  }

  .navbar-nav .nav-link {
    padding: 12px 10px;
    border-radius: 8px;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    color: #e5e7eb !important;
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    transform: none;
  }

  .nav-link::before {
    display: none;
  }

  /* Stack right-side buttons and make full-width for touch */
  .navbar .navbar-collapse .d-flex {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 6px;
  }

  .navbar .navbar-collapse .btn,
  .navbar .navbar-collapse .dropdown > .btn {
    width: 100%;
  }

  /* Keep dropdowns readable inside the collapsed area */
  .navbar .navbar-collapse .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin-top: 8px;
    border-radius: 10px;
  }

  /* Toggler visibility on dark background */
  .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.25);
  }
}
