/* mtu-nav.css — Shared nav + mobile sidebar for Mega Tickets USA website
   Dark theme only (brand decision). Include in any standalone landing page:
   <link rel="stylesheet" href="/css/mtu-nav.css">
*/

/* Brand variables (dark theme only — no light mode toggle) */
.mtu-nav-scope, :root {
  --mtu-bg: #080818;
  --mtu-bg-surface: rgba(255,255,255,0.03);
  --mtu-bg-surface2: rgba(255,255,255,0.06);
  --mtu-text: #e0e0f0;
  --mtu-text-bright: #fff;
  --mtu-text-sub: #b0b0c0;
  --mtu-text-muted: #8888a8;
  --mtu-border: rgba(255,255,255,0.08);
  --mtu-border-light: rgba(255,255,255,0.05);
  --mtu-border-subtle: rgba(255,255,255,0.04);
  --mtu-nav-bg: rgba(8,8,24,0.92);
  --mtu-nav-bg-solid: rgba(8,8,24,0.95);
}

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--mtu-nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--mtu-border-light);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
  min-height: 64px;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; white-space: nowrap;
}
/* `.nav` prefix raises specificity above broad host-page image resets like
   `body.mom img { height:auto }` (Mega Moments), which otherwise balloon the logo. */
.nav .nav-logo img { transition: all 0.4s ease; height: 26px; width: auto; display: block; flex-shrink: 0; }
.nav-logo-text {
  font-size: 15px; font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1;
}
@media (max-width: 480px) {
  .nav-logo-text { display: none; }
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links > a, .nav-drop > .nav-drop-btn, .nav-link {
  color: rgba(255,255,255,0.78); font-size: 14px; font-weight: 500;
  transition: color 0.2s; cursor: pointer; background: none; border: none; padding: 0; font-family: inherit;
  text-decoration: none; letter-spacing: 0.01em;
  position: relative;
}
.nav-links > a:hover, .nav-drop:hover > .nav-drop-btn, .nav-link:hover,
.nav-drop.open > .nav-drop-btn { color: var(--mtu-text-bright); }
/* Premium hover underline + glow — applied on plain links AND dropdown buttons. */
.nav-link::after,
.nav-drop > .nav-drop-btn::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #E1124B, transparent);
  box-shadow: 0 0 18px rgba(225, 18, 75, 0.65);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.nav-link:hover::after,
.nav-drop:hover > .nav-drop-btn::after,
.nav-drop.open > .nav-drop-btn::after { opacity: 1; }
/* Active page state */
.nav-link.active,
.nav-drop.active > .nav-drop-btn {
  color: #fff;
  text-shadow: 0 0 18px rgba(225, 18, 75, 0.35);
}
.nav-link.active::after,
.nav-drop.active > .nav-drop-btn::after { opacity: 1; }
.nav-divider {
  display: inline-block;
  width: 1px; height: 20px;
  background: rgba(255,255,255,0.10);
  margin: 0 4px;
}
.nav-drop { position: relative; }
.nav-drop > .nav-drop-btn {
  display: inline-flex; align-items: center; gap: 5px;
}
.nav-caret {
  font-size: 9px;
  opacity: 0.65;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
  display: inline-block;
}
.nav-drop:hover > .nav-drop-btn .nav-caret,
.nav-drop.open > .nav-drop-btn .nav-caret { transform: rotate(180deg); opacity: 1; }

/* ════════════════════════════════════════════════════════════
   Mega menu wrapper — sits flush at top:100% so there's no
   hover dead-zone; the visible panel inside has its own padding.
   Animated open/close via opacity + transform + visibility.
   ════════════════════════════════════════════════════════════ */
.nav-drop-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  padding-top: 10px; /* invisible cursor-transit zone — fills the visual gap */
  z-index: 1001;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px) scale(0.985);
  transition:
    opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.22s;
  transform-origin: top center;
}
.nav-drop:hover > .nav-drop-menu,
.nav-drop.open > .nav-drop-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
  transition:
    opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s;
}
/* Always-present hover bridge — generous so cursor never falls off the
   :hover chain when descending into the panel (vertical, diagonal, fast). */
.nav-drop::after {
  content: '';
  position: absolute;
  top: calc(100% - 4px);
  left: -24px; right: -24px;
  height: 32px;
  background: transparent;
  pointer-events: auto;
  z-index: 1000;
}

/* ── Mega panel ── */
.mm-panel {
  position: relative;
  background: rgba(8, 10, 24, 0.92);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
          backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(225, 18, 75, 0.22);
  border-radius: 24px;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.45),
    0 0 42px rgba(225, 18, 75, 0.16);
  padding: 28px 32px 22px;
  overflow: hidden;
  width: min(1080px, calc(100vw - 64px));
}
.mm-panel.mm-panel--md { width: min(820px, calc(100vw - 64px)); }
.mm-panel.mm-panel--sm { width: min(640px, calc(100vw - 64px)); }
.mm-panel::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(225, 18, 75, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.035), transparent 34%);
}
.mm-panel > * { position: relative; z-index: 1; }

/* Grid of columns — 3 content cols + featured card by default */
.mm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(260px, 280px);
  gap: 28px;
  align-items: start;
}
/* 2-col menus (e.g. Company): two content columns side-by-side
   with the featured CTA on its own row below — uses the narrower
   .mm-panel--md width without cramming a 280px featured column
   into the same row. */
.mm-grid--3col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mm-grid--3col .mm-featured {
  grid-column: 1 / -1;
}
.mm-grid--2col {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 280px);
}

/* Column heading */
.mm-col-heading {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: #ff4f7d;
  margin: 0 0 14px;
  padding-left: 4px;
}

/* Item row */
.mm-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
  margin-bottom: 2px;
}
.mm-item:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(225, 18, 75, 0.18);
  box-shadow: 0 8px 28px rgba(225, 18, 75, 0.08);
  transform: translateY(-1px);
}
.mm-item.active {
  background: rgba(225, 18, 75, 0.07);
  border-color: rgba(225, 18, 75, 0.28);
}
.mm-icon {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(225,18,75,0.16), rgba(225,18,75,0.04));
  border: 1px solid rgba(225, 18, 75, 0.20);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #ff5b78;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.mm-item:hover .mm-icon {
  background: linear-gradient(135deg, rgba(225,18,75,0.26), rgba(225,18,75,0.08));
  border-color: rgba(225, 18, 75, 0.40);
}
.mm-icon svg {
  width: 18px; height: 18px;
  stroke: currentColor; fill: none;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.mm-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.mm-title {
  font-size: 14.5px; font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.005em;
  display: inline-flex; align-items: center; gap: 6px;
}
.mm-title-arrow {
  font-size: 14px;
  color: #ff5b78;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
.mm-item:hover .mm-title-arrow { opacity: 1; transform: translateX(0); }
.mm-desc {
  font-size: 12.5px; line-height: 1.4;
  color: rgba(255, 255, 255, 0.58);
  margin-top: 3px;
}

/* Featured CTA card */
.mm-featured {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  border: 1px solid rgba(225, 18, 75, 0.20);
  border-radius: 22px;
  padding: 22px 22px 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 100%;
}
.mm-featured::before {
  content: ""; position: absolute;
  top: -50px; right: -50px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(225,18,75,0.32), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.mm-featured > * { position: relative; }
.mm-featured-badge {
  align-self: flex-start;
  display: inline-flex; align-items: center;
  font-size: 9.5px; font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ff4f7d;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(225,18,75,0.10);
  border: 1px solid rgba(225,18,75,0.32);
  margin-bottom: 14px;
}
.mm-featured h3 {
  font-size: 17px; font-weight: 800;
  color: #fff;
  line-height: 1.22;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.mm-featured p {
  font-size: 12.5px; line-height: 1.55;
  color: rgba(255,255,255,0.65);
  margin: 0 0 16px;
}
.mm-featured-actions {
  margin-top: auto;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.mm-featured-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 12px;
  background: linear-gradient(135deg, #E1124B, #B80F3A);
  color: #fff !important;
  font-size: 12.5px; font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(225,18,75,0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mm-featured-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(225,18,75,0.45);
  color: #fff !important;
}
.mm-featured-btn svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.mm-featured-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: rgba(255,255,255,0.62);
  font-size: 12px; font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.mm-featured-link:hover { color: #fff; transform: translateX(2px); }

/* Bottom value strip */
.mm-strip {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.mm-strip-item {
  display: flex; align-items: flex-start; gap: 12px;
}
.mm-strip-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #ff5b78;
}
.mm-strip-icon svg {
  width: 13px; height: 13px;
  stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.mm-strip-text { min-width: 0; }
.mm-strip-text strong {
  display: block;
  font-size: 12.5px; font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.mm-strip-text small {
  display: block;
  font-size: 11.5px; line-height: 1.5;
  color: rgba(255,255,255,0.52);
  margin-top: 2px;
}

/* Tablet — collapse mega grid to 2 cols + featured below */
@media (max-width: 1100px) and (min-width: 769px) {
  .mm-panel { width: min(720px, calc(100vw - 48px)); padding: 22px 22px 18px; }
  .mm-grid,
  .mm-grid--3col,
  .mm-grid--2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mm-featured { grid-column: 1 / -1; }
  .mm-strip { grid-template-columns: 1fr; gap: 14px; }
}
.nav-signin {
  color: var(--mtu-text-secondary);
  font-weight: 600; font-size: 13px; text-decoration: none;
  padding: 8px 14px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-signin:hover { color: #fff; background: var(--mtu-bg-surface); }
.nav-signin svg { opacity: 0.7; }
.nav-cta {
  background: linear-gradient(135deg, #D20E36, #A00B28);
  color: #fff !important; padding: 8px 20px; border-radius: 24px;
  font-weight: 600; font-size: 13px; text-decoration: none;
  box-shadow: 0 4px 12px rgba(210, 14, 54, 0.35);
}
.nav-cta:hover { opacity: 0.95; color: #fff !important; box-shadow: 0 0 24px rgba(210, 14, 54, 0.5); }
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--mtu-text-bright);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Legacy mega-menu rules removed 2026-05-08 — replaced by .nav-drop-card.
   Any page that still ships an inline `.mega-menu` fragment is treated as a
   normal dropdown container; styles fall back to the .nav-drop-menu rules
   above. */

/* Language selector (desktop) */
.lang-select { position: relative; }
.lang-btn { background: none; border: 1px solid var(--mtu-border); border-radius: 8px; padding: 6px 12px; color: var(--mtu-text-sub); font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; }
.lang-btn:hover { color: var(--mtu-text-bright); border-color: var(--mtu-text-muted); }
.lang-dropdown { display: none; position: absolute; top: 100%; right: 0; margin-top: 8px; background: var(--mtu-nav-bg-solid); border: 1px solid var(--mtu-border); border-radius: 10px; padding: 6px 0; min-width: 150px; z-index: 1001; }
.lang-dropdown.open { display: block; }
.lang-dropdown a { display: block; padding: 8px 14px; color: var(--mtu-text-sub); font-size: 13px; text-decoration: none; }
.lang-dropdown a:hover { color: var(--mtu-text-bright); background: var(--mtu-bg-surface); }

/* ════════════════════════════════════════════════════════════
   Mobile sidebar — slides in from the right (where the hamburger
   sits), smooth visibility-based animation (no display flicker),
   body scroll locked while open, real branded header (logo + X).
   ════════════════════════════════════════════════════════════ */
.nav-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(3,3,9,0.62);
  -webkit-backdrop-filter: blur(9px) saturate(115%);
          backdrop-filter: blur(9px) saturate(115%);
  opacity: 0; visibility: hidden;
  transition: opacity 0.30s ease, visibility 0s linear 0.30s;
}
.nav-overlay.open { opacity: 1; visibility: visible; transition: opacity 0.30s ease, visibility 0s; }

/* ══ Premium cinematic mobile menu ══ */
.mobile-sidebar {
  --msb-red: #D20E36; --msb-red-light: #E8344E; --msb-red-soft: #ff6b82;
  --msb-ease: cubic-bezier(0.22, 1, 0.36, 1);
  display: flex; flex-direction: column;
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 372px; max-width: 92vw;
  z-index: 9999;
  background: linear-gradient(165deg, #0B1020 0%, #080812 55%, #05050A 100%);
  border-left: 1px solid rgba(232,52,78,0.20);
  box-shadow: -30px 0 90px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transform: translateX(102%) scale(0.985);
  visibility: hidden;
  transition: transform 0.42s var(--msb-ease), visibility 0s linear 0.42s;
}
.mobile-sidebar.open {
  transform: translateX(0) scale(1);
  visibility: visible;
  transition: transform 0.42s var(--msb-ease), visibility 0s;
}
/* layered cinematic atmosphere — ambient glows + drifting specks */
.msb-atmos { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.msb-atmos::before {
  content: ""; position: absolute; inset: -22%;
  background:
    radial-gradient(38% 26% at 82% 6%, rgba(210,14,54,0.40), transparent 60%),
    radial-gradient(42% 28% at 8% 26%, rgba(150,40,170,0.20), transparent 62%),
    radial-gradient(55% 36% at 60% 104%, rgba(27,42,107,0.42), transparent 60%);
  filter: blur(8px);
  animation: msbDrift 20s ease-in-out infinite alternate;
}
.msb-atmos::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 75% 14%, #000 5%, transparent 72%);
          mask-image: radial-gradient(ellipse at 75% 14%, #000 5%, transparent 72%);
  opacity: 0.55;
  animation: msbSpecks 24s linear infinite;
}
@keyframes msbDrift { from { transform: translateY(-2.5%); } to { transform: translateY(2.5%); } }
@keyframes msbSpecks { from { background-position: 0 0; } to { background-position: 0 -260px; } }
.mobile-sidebar > *:not(.msb-atmos) { position: relative; z-index: 1; }

.mobile-sidebar-header {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 18px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: linear-gradient(180deg, rgba(210,14,54,0.10), transparent);
}
.mobile-sidebar-header::after { display: none; }
.mobile-sidebar-brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: #fff; min-width: 0;
}
/* `.mobile-sidebar` prefix raises specificity above broad host-page resets
   like `body.mom img { height:auto }` so the drawer logo keeps its 30px. */
.mobile-sidebar .mobile-sidebar-brand img { height: 30px; width: auto; max-width: none; display: block; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)); }
.msb-brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.msb-brand-text b { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; color: #fff; white-space: nowrap; }
.msb-brand-text small { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--msb-red-soft); margin-top: 3px; }
.mobile-sidebar-close {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%; cursor: pointer; color: #fff; padding: 0;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.3s var(--msb-ease), box-shadow 0.3s ease;
}
.mobile-sidebar-close:hover, .mobile-sidebar-close:focus-visible {
  background: rgba(210,14,54,0.16);
  border-color: rgba(232,52,78,0.5);
  outline: none;
  transform: rotate(90deg);
  box-shadow: 0 0 22px rgba(210,14,54,0.45);
}
.mobile-sidebar-close svg {
  width: 17px; height: 17px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* Lock body scroll while drawer is open */
body.mtu-mm-locked { overflow: hidden; }

.mobile-sidebar-body {
  padding: 12px 0 6px; flex: 1;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.mobile-sidebar-body::-webkit-scrollbar { width: 6px; }
.mobile-sidebar-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.10); border-radius: 6px; }

/* Premium flat links (Home / Events / The Mega Ecosystem / Mega Moments) */
.mobile-sidebar-body .msb-flat {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 22px; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s, padding-left 0.2s;
}
.msb-flat-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.msb-flat-txt b { font-size: 16.5px; font-weight: 700; color: #fff; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 8px; }
.msb-flat-txt small { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.52); }
.msb-flat-arrow { color: rgba(255,255,255,0.30); font-size: 20px; line-height: 1; flex-shrink: 0; transition: color 0.2s, transform 0.2s; }
.mobile-sidebar-body .msb-flat:hover, .mobile-sidebar-body .msb-flat:active { background: rgba(210,14,54,0.08); padding-left: 26px; }
.mobile-sidebar-body .msb-flat:hover .msb-flat-arrow { color: var(--msb-red-soft); transform: translateX(3px); }
.mobile-sidebar-body .msb-flat.active { background: rgba(210,14,54,0.06); box-shadow: inset 3px 0 0 var(--msb-red-light); }
.mobile-sidebar-body .msb-flat.active .msb-flat-txt b { color: var(--msb-red-soft); }
/* badge / chip (e.g. The Mega Ecosystem "Ecosystem") */
.msb-badge { font-family: inherit; font-size: 9px; font-weight: 800; letter-spacing: 0.10em; text-transform: uppercase; color: #fff; padding: 3px 8px; border-radius: 999px; background: linear-gradient(135deg, var(--msb-red-light), var(--msb-red)); box-shadow: 0 2px 10px rgba(210,14,54,0.5); }
/* The Mega Ecosystem — special highlighted item */
.mobile-sidebar-body .msb-flat--special {
  margin: 8px 12px; border-radius: 14px; border-bottom: 0;
  background: linear-gradient(135deg, rgba(210,14,54,0.16), rgba(27,42,107,0.18));
  box-shadow: inset 0 0 0 1px rgba(232,52,78,0.3);
}
.mobile-sidebar-body .msb-flat--special:hover { padding-left: 22px; background: linear-gradient(135deg, rgba(210,14,54,0.24), rgba(27,42,107,0.24)); }
.mobile-sidebar-body .msb-flat--special .msb-flat-txt b { color: #fff; }

/* Collapsible sections (Features / For Organizers / Resources / Company) */
.mobile-sidebar-body .msb-section {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 15px 22px;
  background: none; border: none; border-bottom: 1px solid rgba(255,255,255,0.05);
  cursor: pointer; font-family: inherit; text-align: left;
  transition: color 0.2s, background 0.2s;
}
.mobile-sidebar-body .msb-section .msb-flat-txt b { font-size: 16.5px; font-weight: 700; color: #fff; }
.mobile-sidebar-body .msb-section:hover { background: rgba(210,14,54,0.08); }
.mobile-sidebar-body .msb-section.open .msb-flat-txt b { color: var(--msb-red-soft); }
.msb-arrow { font-size: 11px; opacity: 0.6; transition: transform 0.25s ease; display: inline-block; flex-shrink: 0; }
.mobile-sidebar-body .msb-section.open .msb-arrow { transform: rotate(180deg); color: var(--msb-red-soft); opacity: 1; }
.mobile-sidebar-body .msb-sub {
  overflow: hidden; max-height: 0;
  transition: max-height 0.32s ease;
  background: rgba(0,0,0,0.22);
}
.mobile-sidebar-body .msb-sub.msb-open { max-height: 640px; }
.mobile-sidebar-body .msb-sub a {
  display: block; padding: 12px 22px 12px 34px;
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.70); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  border-left: 2px solid transparent;
  transition: color 0.2s, background 0.2s, border-left-color 0.2s;
}
.mobile-sidebar-body .msb-sub a:hover { color: #fff; background: rgba(210,14,54,0.08); border-left-color: var(--msb-red-light); }
.mobile-sidebar-body .msb-sub a.active { color: var(--msb-red-soft); border-left-color: var(--msb-red-light); }

.mobile-sidebar-footer {
  flex-shrink: 0;
  padding: 14px 18px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255,255,255,0.07);
  background: linear-gradient(0deg, rgba(5,5,10,0.6), transparent);
  display: flex; flex-direction: column; gap: 10px;
}
.mobile-sidebar-footer .msb-explore {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  text-align: center; padding: 14px 20px; font-size: 15px; font-weight: 800;
  color: #fff; text-decoration: none; border-radius: 13px;
  background: linear-gradient(135deg, #E8344E, #D20E36 55%, #A00B28);
  box-shadow: 0 10px 30px rgba(210,14,54,0.42), inset 0 1px 0 rgba(255,255,255,0.28);
  animation: msbPulse 3.6s ease-in-out infinite;
}
@keyframes msbPulse { 0%,100% { box-shadow: 0 10px 30px rgba(210,14,54,0.40), inset 0 1px 0 rgba(255,255,255,0.28); } 50% { box-shadow: 0 14px 40px rgba(210,14,54,0.6), inset 0 1px 0 rgba(255,255,255,0.36); } }
.msb-foot-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mobile-sidebar-footer .msb-login {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 13px 16px; font-size: 14px; font-weight: 700;
  color: #fff; text-decoration: none;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.16); border-radius: 13px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.mobile-sidebar-footer .msb-login:hover { border-color: rgba(255,255,255,0.34); background: rgba(255,255,255,0.09); }
.mobile-sidebar-footer .nav-cta {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 13px 16px; font-size: 14px; font-weight: 800; border-radius: 13px;
}

/* ── Featured Right Now block ── */
.msb-featured { padding: 14px 16px 6px; }
.msb-feat-title { font-size: 10.5px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--msb-red-soft); margin: 0 4px 10px; display: flex; align-items: center; gap: 7px; }
.msb-feat-title::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #E8344E; box-shadow: 0 0 8px rgba(232,52,78,0.9); animation: msbPulseDot 1.8s ease-in-out infinite; }
@keyframes msbPulseDot { 0%,100% { opacity: 0.45; } 50% { opacity: 1; } }
.msb-feat-card {
  display: block; position: relative; border-radius: 16px; overflow: hidden;
  text-decoration: none; min-height: 134px;
  border: 1px solid rgba(232,52,78,0.28);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 26px rgba(210,14,54,0.18);
  animation: msbFloat 6s ease-in-out infinite;
}
.msb-feat-card:active { transform: scale(0.985); }
@keyframes msbFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.msb-feat-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.msb-feat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 26%, rgba(5,5,12,0.92)); }
.msb-feat-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 3px; padding: 78px 16px 14px; }
.msb-feat-body b { font-size: 16px; font-weight: 800; color: #fff; line-height: 1.2; }
.msb-feat-body > span { font-size: 12px; color: rgba(255,255,255,0.78); font-weight: 600; }
.msb-feat-cta { font-size: 12.5px !important; font-weight: 800 !important; color: var(--msb-red-soft) !important; margin-top: 6px; }

/* ── Staggered reveal when the drawer opens ── */
@keyframes msbIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
.mobile-sidebar.open .mobile-sidebar-header,
.mobile-sidebar.open .mobile-sidebar-body > *,
.mobile-sidebar.open .mobile-sidebar-footer { opacity: 0; animation: msbIn 0.5s var(--msb-ease) forwards; }
.mobile-sidebar.open .mobile-sidebar-header { animation-delay: 0.04s; }
.mobile-sidebar.open .mobile-sidebar-body > *:nth-child(1) { animation-delay: 0.09s; }
.mobile-sidebar.open .mobile-sidebar-body > *:nth-child(2) { animation-delay: 0.13s; }
.mobile-sidebar.open .mobile-sidebar-body > *:nth-child(3) { animation-delay: 0.17s; }
.mobile-sidebar.open .mobile-sidebar-body > *:nth-child(4) { animation-delay: 0.21s; }
.mobile-sidebar.open .mobile-sidebar-body > *:nth-child(5) { animation-delay: 0.25s; }
.mobile-sidebar.open .mobile-sidebar-body > *:nth-child(6) { animation-delay: 0.29s; }
.mobile-sidebar.open .mobile-sidebar-body > *:nth-child(n+7) { animation-delay: 0.33s; }
.mobile-sidebar.open .mobile-sidebar-footer { animation-delay: 0.30s; }

@media (prefers-reduced-motion: reduce) {
  .mobile-sidebar { transition: transform 0.2s ease, visibility 0s; transform: translateX(102%); }
  .mobile-sidebar.open { transform: translateX(0); }
  .msb-atmos::before, .msb-atmos::after, .mobile-sidebar-footer .msb-explore, .msb-feat-card, .msb-feat-title::before { animation: none !important; }
  .mobile-sidebar.open .mobile-sidebar-header,
  .mobile-sidebar.open .mobile-sidebar-body > *,
  .mobile-sidebar.open .mobile-sidebar-footer { opacity: 1 !important; animation: none !important; }
}

/* Responsive */
@media (min-width: 769px) {
  .mobile-sidebar, .nav-overlay { display: none !important; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex !important; }
  /* Hide desktop dropdown panels on mobile — they live in the drawer instead */
  .nav-drop-menu { display: none !important; }
}

/* ── The Mega Ecosystem — compact desktop dropdown panel ── */
.m5-mini {
  min-width: 290px; padding: 8px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(15,15,42,0.98), rgba(8,8,18,0.98));
  border: 1px solid rgba(232,52,78,0.20);
  box-shadow: 0 26px 64px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.05);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.m5-mini-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; margin-bottom: 6px; border-radius: 12px;
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 14px; color: #fff;
  background: linear-gradient(135deg, rgba(210,14,54,0.18), rgba(27,42,107,0.20));
  border: 1px solid rgba(232,52,78,0.26);
}
.m5-mini-head span { font-size: 11px; font-weight: 700; color: #ff6b82; }
.m5-mini-item {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 11px;
  color: rgba(255,255,255,0.82); font-size: 14px; font-weight: 600;
  transition: background 0.18s, color 0.18s;
}
.m5-mini-item:hover { background: rgba(210,14,54,0.10); color: #fff; }
.m5-mini-item.active { color: #ff6b82; background: rgba(210,14,54,0.08); }
.m5-mini-ico {
  width: 30px; height: 30px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  border-radius: 9px; color: #ff6b82; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10);
}
.m5-mini-ico svg { width: 16px; height: 16px; }
.m5-mini-arrow { margin-left: auto; color: rgba(255,255,255,0.3); font-size: 18px; line-height: 1; transition: color 0.18s, transform 0.18s; }
.m5-mini-item:hover .m5-mini-arrow { color: #ff6b82; transform: translateX(2px); }
