/* ==========================================================================
   JINX & TONIC — SHARED HEADER STYLES (header.css)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;800;900&family=Nunito+Sans:wght@300;400;600;700&display=swap');

/* 1. Custom Top Header Bar */
.custom-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background-color: rgba(13, 19, 34, 0.95);
  border-bottom: 1px solid #1e293b;
  backdrop-filter: blur(8px);
  height: 80px;
}

.custom-site-header .header-inner {
  max-width: 80rem;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.custom-site-header .custom-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  z-index: 1050;
}

.custom-site-header .custom-brand img {
  height: 44px;
  width: 44px;
  object-fit: contain;
}

.custom-site-header .custom-brand .custom-brand-text {
  display: flex;
  flex-direction: column;
}

.custom-site-header .custom-brand .custom-brand-text span {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  color: #dca54c;
}

.custom-site-header .custom-brand .custom-brand-text .sub {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #2dd4bf;
  font-weight: 600;
  margin-top: -2px;
}

.custom-site-header .flarum-custom-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 1050;
}

.custom-site-header .flarum-custom-nav .custom-nav-link {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  transition: color 0.2s ease-in-out;
  white-space: nowrap;
}

.custom-site-header .flarum-custom-nav .custom-nav-link:hover {
  color: #dca54c !important;
}

.custom-site-header .custom-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1050;
}

.custom-site-header .custom-header-right .mobile-menu-toggle {
  display: none;
  background: #151d30;
  border: 1px solid #1e293b;
  color: #cbd5e1;
  font-size: 1.1rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
}

.custom-site-header .custom-header-right .mobile-menu-toggle:hover {
  color: #dca54c;
  border-color: #dca54c;
}

/* 2. Mobile Dropdown Menu Drawer */
.mobile-dropdown-menu {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background-color: #0d1322;
  border-bottom: 1px solid #1e293b;
  padding: 1rem 2rem;
  font-family: 'Cinzel', serif;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  z-index: 1060;
}

.mobile-dropdown-menu.hidden {
  display: none !important;
}

.mobile-dropdown-menu:not(.hidden) {
  display: block !important;
}

.mobile-dropdown-menu .mobile-link {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(30, 41, 59, 0.5);
}

.mobile-dropdown-menu .mobile-link:hover {
  color: #dca54c;
}

/* 3. Responsive Breakpoints */
@media (max-width: 950px) {
  .custom-site-header .flarum-custom-nav {
    display: none !important;
  }
  .custom-site-header .custom-header-right .mobile-menu-toggle {
    display: inline-block !important;
  }
}