    /* Header */
    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 18px 50px;
      border-bottom: 1px solid rgba(255, 43, 91, 0.12);
      background: rgba(8, 5, 7, 0.7);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      position: sticky;
      top: 0;
      z-index: 100;
      transition: all 0.3s ease;
    }

    .logo-container {
      display: flex;
      align-items: center;
      gap: 12px;
      cursor: pointer;
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .logo-container:hover {
      transform: translateY(-1px);
    }

    .logo-icon {
      width: 38px;
      height: 38px;
      background: linear-gradient(135deg, var(--mf-accent), var(--mf-accent-dark));
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 20px;
      box-shadow: 0 0 20px rgba(255, 43, 91, 0.45);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .logo-text {
      font-size: 21px;
      font-weight: 800;
      letter-spacing: 0.5px;
      background: linear-gradient(90deg, #ffffff, #ff859c);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    nav {
      display: flex;
      gap: 32px;
    }

    nav a {
      color: #9393a5;
      text-decoration: none;
      font-size: 15px;
      font-weight: 500;
      transition: all 0.3s ease;
      cursor: pointer;
      position: relative;
      padding: 6px 0;
    }

    nav a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      width: 0%;
      height: 2px;
      background: var(--mf-accent);
      border-radius: 2px;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      transform: translateX(-50%);
      box-shadow: 0 0 8px var(--mf-accent);
    }

    nav a:hover { color: #ffffff; }

    nav a.active { color: var(--mf-accent); }

    nav a.active::after { width: 100%; }

    .user-section {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .status-badge {
      display: flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 43, 91, 0.08);
      border: 1px solid rgba(255, 43, 91, 0.2);
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 13px;
      color: #e1e1ec;
      transition: all 0.3s ease;
    }

    .status-badge:hover {
      border-color: rgba(255, 43, 91, 0.4);
      background: rgba(255, 43, 91, 0.12);
    }

    .status-dot {
      width: 8px;
      height: 8px;
      background-color: var(--mf-success);
      border-radius: 50%;
      box-shadow: 0 0 10px var(--mf-success);
      animation: pulseDot 2s infinite ease-in-out;
    }

    @keyframes pulseDot {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.6; transform: scale(0.85); }
    }

    .avatar {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--mf-accent), var(--mf-accent-light));
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color: #fff;
      border: 2px solid rgba(255, 43, 91, 0.5);
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: 0 0 15px rgba(255, 43, 91, 0.25);
    }

    .avatar:hover {
      transform: scale(1.08) rotate(5deg);
      box-shadow: 0 0 25px rgba(255, 43, 91, 0.6);
      border-color: var(--mf-accent);
    }


.header-auth-area { display:flex; align-items:center; gap:10px; min-height:38px; }
.header-auth-link { color:#aaaabc; text-decoration:none; font-size:13px; font-weight:600; padding:9px 8px; transition:.2s ease; }
.header-auth-link:hover { color:#fff; }
.header-auth-button { color:#fff; text-decoration:none; font-size:12.5px; font-weight:800; padding:9px 14px; border-radius:9px; background:linear-gradient(135deg,var(--mf-accent),var(--mf-accent-dark)); border:1px solid rgba(255,255,255,.12); box-shadow:0 0 18px rgba(255,43,91,.24); }
.header-auth-button:hover { box-shadow:0 0 26px rgba(255,43,91,.42); }
.auth-skeleton { width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.06); border:1px solid rgba(255,43,91,.13); animation:mfPulse 1.2s infinite alternate; }
.avatar-button { appearance:none; padding:0; }
.avatar img { width:100%; height:100%; object-fit:cover; }
@keyframes mfPulse { to { opacity:.45; } }


/* Design v4 — brand mark + quieter premium header */
.logo-icon {
  width: 38px;
  height: 38px;
  padding: 5px;
  background: rgba(255,255,255,.025);
  border-radius: 11px;
  border: 1px solid rgba(255,43,91,.16);
  box-shadow: 0 0 14px rgba(255,43,91,.12);
}
.logo-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.logo-text {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  letter-spacing: -.35px;
  background: linear-gradient(90deg,#f7f7f9 0%,#ff9aad 92%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
nav a { font-weight: 500; letter-spacing:-.15px; }
.avatar { box-shadow:0 0 12px rgba(255,43,91,.18); }
.avatar:hover { box-shadow:0 0 19px rgba(255,43,91,.34); transform:scale(1.04); }


/* Home v5 — Discord shortcut */
.discord-header-button {
  width:36px; height:36px; flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center;
  padding:0; border-radius:50%; border:1px solid rgba(255,43,91,.17);
  background:rgba(255,255,255,.025); color:#a9a9bb; cursor:pointer;
  transition:transform .22s ease,color .22s ease,border-color .22s ease,background .22s ease,box-shadow .22s ease;
}
.discord-header-button svg { width:18px; height:18px; fill:currentColor; }
.discord-header-button:hover {
  transform:translateY(-1px); color:#f5f5f8; border-color:rgba(255,43,91,.38);
  background:rgba(255,43,91,.07); box-shadow:0 0 16px rgba(255,43,91,.13);
}
.avatar { overflow:hidden; }
.avatar img { width:100%; height:100%; display:block; object-fit:cover; }
