/* Custom overrides */
/***** Discord brand button *****/
#discord-login.btn {
  background-color: #5865F2 !important; /* Blurple */
  color: #fff !important;
  border-color: #5865F2 !important;
}
#discord-login.btn:hover,
#discord-login.btn:focus {
  background-color: #4752C4 !important;
  border-color: #4752C4 !important;
  color: #fff !important;
}
#discord-login.btn.btn-white { /* ensure our style wins over theme */
  background-color: #5865F2 !important;
  color: #fff !important;
  border-color: #5865F2 !important;
}
#discord-login.btn.btn-black { /* keep logged-in style readable */
  background-color: #2C2F33 !important;
  border-color: #2C2F33 !important;
  color: #fff !important;
}

.has-video-bg {
  position: relative;
  overflow: hidden;
}
.has-video-bg > .bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  filter: blur(3px);
  -webkit-filter: blur(3px);
  transform: scale(1.04);
  transform-origin: center;
  will-change: transform, filter;
}
.has-video-bg > *:not(.bg-video) {
  position: relative;
  z-index: 2;
}
/* ensure section backgrounds don't hide videos */
.cid-v0xmL0leTV,
.cid-v0xmL0mR3S,
.cid-v0xmL0m0d2,
.cid-v0xmL0nn5P,
.cid-v0xmL0nA1K {
  background-color: transparent !important;
}

body { background-color: #000 !important; }

/* Make the top bar text-only with no background/outline */
.cid-v0xmL0lDBJ .container {
  background-color: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.navbar-dropdown {
  background: transparent !important;
  box-shadow: none !important;
}
.cid-v0xmL0lDBJ .navbar,
.cid-v0xmL0lDBJ .navbar * {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Custom orange scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #ff6600;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff8533;
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #ff6600 #1a1a1a;
}

/* Custom currency dropdown */
.currency-dropdown {
  width: auto;
  max-width: 220px;
  padding: 12px 40px 12px 20px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
}

.currency-dropdown:hover {
  background: linear-gradient(135deg, #ff8533 0%, #ffa366 100%);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.5);
  transform: translateY(-2px);
}

.currency-dropdown:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 6px 25px rgba(255, 102, 0, 0.6);
}

.currency-dropdown option {
  background-color: #2a2a2a;
  color: #fff;
  padding: 10px;
}

/* Navbar button hover glow effects */
.navbar-buttons .btn {
  transition: all 0.3s ease;
}

#discord-login.btn:hover {
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.6), 0 0 30px rgba(88, 101, 242, 0.4) !important;
  transform: translateY(-2px) !important;
}

/* Hover glow for navigation links */
.navbar-nav .nav-link {
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  text-shadow: 0 0 10px rgba(255, 102, 0, 0.8), 0 0 20px rgba(255, 102, 0, 0.5);
  transform: translateY(-2px);
}

/* Hover glow for Fractured Empire brand */
.navbar-brand .navbar-caption {
  transition: all 0.3s ease;
}

.navbar-brand .navbar-caption:hover {
  text-shadow: 0 0 15px rgba(255, 102, 0, 0.8), 0 0 25px rgba(255, 102, 0, 0.5);
  transform: scale(1.05);
  display: inline-block;
}

/* Center navigation items (About, Discord, Donate, Team) */
.cid-v0xmL0lDBJ .navbar-collapse {
  flex-grow: 1 !important;
}

.cid-v0xmL0lDBJ .navbar-nav {
  flex-grow: 1 !important;
  justify-content: center !important;
  display: flex !important;
}

.cid-v0xmL0lDBJ .navbar-buttons {
  flex-shrink: 0 !important;
  display: flex !important;
  gap: 10px !important;
}
