/* === Header layout === */

.mp-site-header {
  background: #020617;
  color: #e5e7eb;
  padding: 10px 20px;
  border-bottom: 1px solid #1f2937;
}

.mp-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Left: logo / branding */

.mp-branding {
  display: flex;
  align-items: center;
}

.mp-branding-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.mp-logo-icon {
  width: 32px;
  height: 32px;
  display: block;
}

.mp-logo-wordmark {
  height: 20px;
  display: block;
}




/* Center: main nav */

.mp-primary-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.mp-primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
  align-items: center;
}

/* Top-level links */

.mp-primary-menu > li {
  position: relative;
}

.mp-primary-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e5e7eb;
  text-decoration: none;       /* no underline */
  font-size: 14px;
  padding: 6px 0;
  white-space: nowrap;
  position: relative;
  transition:
    color 0.15s ease,
    transform 0.12s ease;
}

/* Icon styling */
.mp-menu-icon {
  font-size: 13px;
  opacity: 0.9;
}

/* HOVER glow (top-level) */
.mp-primary-menu > li > a:hover {
  color: #e0f2fe;
  text-shadow: 0 0 14px rgba(56, 189, 248, 0.7);
  transform: translateY(-1px);
}

/* ACTIVE TAB glow (top-level) */
.mp-nav-item--active > a {
  color: #e0f2fe;
  text-shadow: 0 0 14px rgba(56, 189, 248, 0.7);
  transform: translateY(-1px);
}

/* Dropdowns */

.mp-primary-menu li ul {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #020617;
  border-radius: 10px;
  border: 1px solid #1f2937;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.75);
  display: none;
  z-index: 100;
}

.mp-primary-menu li:hover > ul {
  display: block;
}

.mp-primary-menu li ul li a {
  display: block;
  padding: 6px 12px;
  font-size: 13px;
  color: #e5e7eb;
  text-decoration: none;       /* no underline in dropdowns */
  white-space: nowrap;
  transition:
    color 0.15s ease,
    transform 0.12s ease;
}

/* HOVER glow (dropdown items) */
.mp-primary-menu li ul li a:hover {
  background: #111827;
  color: #e0f2fe;
  text-shadow: 0 0 14px rgba(56, 189, 248, 0.7);
  transform: translateY(-1px);
}



/* Dropdowns */

.mp-primary-menu li ul {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #020617;
  border-radius: 10px;
  border: 1px solid #1f2937;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.75);
  display: none;
  z-index: 100;
}

.mp-primary-menu li:hover > ul {
  display: block;
}

.mp-primary-menu li ul li a {
  display: block;
  padding: 6px 12px;
  font-size: 13px;
  color: #e5e7eb;
  text-decoration: none;
  white-space: nowrap;
}

.mp-primary-menu li ul li a:hover {
  background: #111827;
  color: #e0f2fe;
}




/* Right: premium + login/logout + avatar */

.mp-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Premium button base */

.mp-premium-btn {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid #38bdf8;
  background: radial-gradient(circle at top left, #0ea5e9 0, #1d4ed8 60%);
  color: #0b1120;
  font-weight: 600;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.5);
}

/* Premium active (gold) */

.mp-premium-btn--active {
  border-color: #fbbf24;
  background: radial-gradient(circle at top left, #facc15 0, #f97316 60%);
  color: #111827;
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.6);
}

/* Login/logout link */

.mp-header-link {
  font-size: 13px;
  text-decoration: none;
  color: #e5e7eb;
  opacity: 0.85;
}

.mp-header-link:hover {
  color: #38bdf8;
}

/* Avatar */

.mp-header-avatar img {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: block;
  border: 1px solid #1f2937;
}

/* === Footer === */

.mp-site-footer {
  background: #020617;
  color: #9ca3af;
  padding: 18px 20px 22px;
  border-top: 1px solid #1f2937;
  margin-top: 40px;
}

.mp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
}

.mp-footer-copy {
  margin: 0 0 4px;
}

.mp-footer-tagline {
  margin: 0;
  font-size: 12px;
  opacity: 0.8;
}

/* Footer nav */

.mp-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: flex-end;
}

.mp-footer-menu li a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 12px;
}

.mp-footer-menu li a:hover {
  color: #f9fafb;
}


/* === Social Media Buttons (center of footer) === */

.mp-footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.mp-social-btn {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;   /* no underline */
  border: 1px solid #1f2937;
  background: #020617;
  color: #e5e7eb;
  box-shadow: none;
  transition:
    background 0.15s ease,
    transform 0.12s ease,
    box-shadow 0.15s ease,
    color 0.15s ease;
}

.mp-social-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.7);
  background: #0b1120;
}


/* Brand-colored outlines */
.mp-social-btn--x { border-color: #3b82f6; }
.mp-social-btn--discord { border-color: #6366f1; }
.mp-social-btn--youtube { border-color: #ef4444; }
.mp-social-btn--twitch { border-color: #a855f7; }

.mp-social-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.7);
  background: #0b1120;
}


/* === Responsive header/footer === */

@media (max-width: 900px) {
  .mp-header-inner {
    flex-direction: row;
    gap: 10px;
  }

  .mp-primary-nav {
    display: none; /* you can later swap to a mobile menu */
  }

  .mp-footer-inner {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .mp-footer-menu {
    justify-content: flex-start;
  }
}

/* ============================================================
   HEADER SEARCH BAR IMPROVEMENTS
   ============================================================ */
/* ============================================================
   HEADER SEARCH BAR IMPROVEMENTS
   ============================================================ */

.mp-header-searchbar {
  width: 100%;
  padding: 12px 0 16px;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(4px);
}

.mp-header-searchbar .mp-search-form {
  max-width: 720px; /* ~75% of a 960–1000px center column */
  width: 100%;
  margin: 0 auto;
}

/* Layout for header-specific search */
.mp-header-searchbar .mp-search-form-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Button on the LEFT */
.mp-header-searchbar .mp-search-submit {
  order: 0;
  padding: 9px 16px;
  border-radius: 999px;
  background: #4fa3ff;
  color: #0b1120;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.mp-header-searchbar .mp-search-submit:hover {
  background: #6bb7ff;
}

/* Input + dropdown block */
.mp-header-searchbar .mp-search-main {
  order: 1;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Rounded input */
.mp-header-searchbar .mp-search-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.35);
  background: rgba(15,23,42,0.9);
  color: #f9fafb;
  font-size: 14px;
  outline: none;
}

.mp-header-searchbar .mp-search-input::placeholder {
  color: rgba(226,232,240,0.75);
}

/* Type dropdown: Mods / Creators / News */
.mp-header-searchbar .mp-search-type {
  min-width: 120px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.9);
  background: #020617;
  color: #e5e7eb;
  font-size: 13px;
}

/* Small-screen stack */
@media (max-width: 640px) {
  .mp-header-searchbar .mp-search-form-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .mp-header-searchbar .mp-search-main {
    width: 100%;
  }

  .mp-header-searchbar .mp-search-type {
    width: 100%;
  }
}
