body{color:#f1f1f4;background:#080614;margin:0;font-family:Inter,system-ui,-apple-system,sans-serif}.page-wrapper.svelte-1uha8ag{flex-direction:column;min-height:100vh;display:flex;position:relative}.backdrop.svelte-1uha8ag{pointer-events:none;background:radial-gradient(at 30% 20%,#7c3aed2e 0%,#0000 60%),radial-gradient(at 70% 60%,#ec48991a 0%,#0000 50%);position:absolute;inset:0}.navbar-wrapper.svelte-1uha8ag{z-index:100;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#080614d9;border-bottom:1px solid #ffffff14;position:sticky;top:0}.navbar.svelte-1uha8ag{justify-content:space-between;align-items:center;max-width:1280px;margin:0 auto;padding:.9rem 2rem;display:flex}.nav-brand.svelte-1uha8ag{color:#f1f1f4;align-items:center;gap:.75rem;font-size:1.2rem;font-weight:700;text-decoration:none;display:flex}.brand-img.svelte-1uha8ag{object-fit:contain;width:auto;max-width:180px;height:38px}.nav-center-links.svelte-1uha8ag{align-items:center;gap:1.75rem;display:flex}.nav-link.svelte-1uha8ag{color:#ffffffb3;font-size:.9rem;font-weight:500;text-decoration:none;transition:color .2s}.nav-link.svelte-1uha8ag:hover{color:#c4b5fd}.nav-actions.svelte-1uha8ag{align-items:center;gap:.75rem;display:flex}.btn-ghost.svelte-1uha8ag{color:#ffffffd9;background:0 0;border:1px solid #ffffff26;border-radius:8px;padding:.5rem 1.1rem;font-size:.85rem;font-weight:500;text-decoration:none;transition:all .2s}.btn-ghost.svelte-1uha8ag:hover{color:#fff;background:#ffffff14}.btn-accent.svelte-1uha8ag{color:#fff;background:linear-gradient(135deg,#7c3aed,#9333ea);border:none;border-radius:8px;padding:.5rem 1.25rem;font-size:.85rem;font-weight:600;text-decoration:none;box-shadow:0 4px 14px #7c3aed59}.user-menu-container.svelte-1uha8ag{position:relative}.user-btn.svelte-1uha8ag{color:#f1f1f4;cursor:pointer;background:#ffffff0d;border:1px solid #ffffff1f;border-radius:20px;align-items:center;gap:.6rem;padding:.4rem .8rem;font-family:inherit;font-size:.85rem;display:flex}.user-avatar.svelte-1uha8ag{color:#fff;background:linear-gradient(135deg,#7c3aed,#c084fc);border-radius:50%;justify-content:center;align-items:center;width:26px;height:26px;font-size:.8rem;font-weight:700;display:flex}.user-dropdown.svelte-1uha8ag{z-index:120;background:#18152e;border:1px solid #ffffff1f;border-radius:12px;flex-direction:column;width:240px;padding:.5rem;display:flex;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 16px 40px #00000080}.dropdown-header.svelte-1uha8ag{padding:.6rem .75rem}.dropdown-name.svelte-1uha8ag{color:#f1f1f4;font-size:.9rem;font-weight:600}.dropdown-email.svelte-1uha8ag{color:#ffffff80;text-overflow:ellipsis;font-size:.75rem;overflow:hidden}.admin-badge.svelte-1uha8ag{color:#fca5a5;text-transform:uppercase;background:#ef444433;border:1px solid #ef444466;border-radius:4px;margin-top:.3rem;padding:.15rem .5rem;font-size:.65rem;font-weight:700;display:inline-block}.dropdown-divider.svelte-1uha8ag{background:#ffffff14;height:1px;margin:.3rem 0}.dropdown-item.svelte-1uha8ag{color:#fffc;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:.6rem .75rem;font-size:.85rem;text-decoration:none}.dropdown-item.svelte-1uha8ag:hover{color:#fff;background:#ffffff0f}.admin-link.svelte-1uha8ag{color:#fca5a5}.logout-link.svelte-1uha8ag{color:#fda4af}.hero.svelte-1uha8ag{text-align:center;max-width:960px;margin:0 auto;padding:5rem 1.5rem 4rem;position:relative}.hero-badge.svelte-1uha8ag{color:#c4b5fd;background:#7c3aed26;border:1px solid #7c3aed4d;border-radius:100px;margin-bottom:1.5rem;padding:.35rem .9rem;font-size:.78rem;font-weight:700;display:inline-block}h1.svelte-1uha8ag{letter-spacing:-.025em;margin:0 0 1.5rem;font-size:3.2rem;font-weight:800;line-height:1.18}.gradient-text.svelte-1uha8ag{background:linear-gradient(135deg,#a78bfa 0%,#ec4899 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.hero-sub.svelte-1uha8ag{color:#ffffffa6;max-width:720px;margin:0 auto 2.5rem;font-size:1.15rem;line-height:1.65}.hero-actions.svelte-1uha8ag{flex-wrap:wrap;justify-content:center;align-items:center;gap:1rem;margin-bottom:4rem;display:flex}.btn-primary-lg.svelte-1uha8ag{color:#fff;background:linear-gradient(135deg,#7c3aed,#9333ea);border-radius:12px;padding:.85rem 1.85rem;font-size:1rem;font-weight:700;text-decoration:none;transition:transform .15s;box-shadow:0 8px 24px #7c3aed59}.btn-primary-lg.svelte-1uha8ag:hover{transform:translateY(-2px)}.btn-outline-lg.svelte-1uha8ag{color:#f1f1f4;background:#ffffff0a;border:1px solid #ffffff26;border-radius:12px;padding:.85rem 1.85rem;font-size:1rem;font-weight:600;text-decoration:none}.stats-row.svelte-1uha8ag{background:#ffffff08;border:1px solid #ffffff14;border-radius:16px;flex-wrap:wrap;justify-content:center;align-items:center;gap:2rem;padding:1.75rem 2rem;display:flex}.stat.svelte-1uha8ag{flex-direction:column;align-items:center;gap:.2rem;display:flex}.stat-value.svelte-1uha8ag{color:#fff;font-size:1.6rem;font-weight:800}.stat-label.svelte-1uha8ag{color:#ffffff80;text-transform:uppercase;letter-spacing:.04em;font-size:.78rem}.stat-divider.svelte-1uha8ag{background:#ffffff1a;width:1px;height:32px}.categories-section.svelte-1uha8ag{max-width:1280px;margin:0 auto;padding:4rem 2rem}.section-title-wrap.svelte-1uha8ag{text-align:center;margin-bottom:3rem}.section-title-wrap.svelte-1uha8ag h2:where(.svelte-1uha8ag){margin:0 0 .5rem;font-size:2rem}.section-title-wrap.svelte-1uha8ag p:where(.svelte-1uha8ag){color:#ffffff80;margin:0}.cat-grid.svelte-1uha8ag{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1.5rem;display:grid}.cat-card.svelte-1uha8ag{color:inherit;background:#ffffff08;border:1px solid #ffffff14;border-radius:16px;flex-direction:column;padding:2rem;text-decoration:none;transition:all .2s;display:flex}.cat-card.svelte-1uha8ag:hover{background:#ffffff0f;border-color:#7c3aed59;transform:translateY(-3px)}.cat-icon.svelte-1uha8ag{margin-bottom:1rem;font-size:2.2rem}.cat-card.svelte-1uha8ag h3:where(.svelte-1uha8ag){color:#f1f1f4;margin:0 0 .5rem;font-size:1.25rem}.cat-card.svelte-1uha8ag p:where(.svelte-1uha8ag){color:#ffffff8c;flex:1;margin:0 0 1.5rem;font-size:.88rem;line-height:1.5}.cat-link-text.svelte-1uha8ag{color:#a78bfa;font-size:.88rem;font-weight:600}.footer.svelte-1uha8ag{background:#05040d;border-top:1px solid #ffffff14;margin-top:auto;padding:4rem 2rem 2rem}.footer-inner.svelte-1uha8ag{grid-template-columns:2fr 1fr 1fr 1fr;gap:3rem;max-width:1280px;margin:0 auto 3rem;display:grid}.f-brand.svelte-1uha8ag{color:#fff;align-items:center;gap:.75rem;margin-bottom:1rem;font-size:1.2rem;font-weight:700;display:flex}.f-sub.svelte-1uha8ag{color:#ffffff80;max-width:320px;font-size:.85rem;line-height:1.6}.footer-col.svelte-1uha8ag{flex-direction:column;gap:.75rem;display:flex}.footer-col.svelte-1uha8ag h4:where(.svelte-1uha8ag){text-transform:uppercase;color:#ffffffd9;letter-spacing:.05em;margin:0 0 .5rem;font-size:.85rem}.footer-col.svelte-1uha8ag a:where(.svelte-1uha8ag){color:#ffffff8c;font-size:.85rem;text-decoration:none}.footer-col.svelte-1uha8ag a:where(.svelte-1uha8ag):hover{color:#c4b5fd}.footer-bottom.svelte-1uha8ag{text-align:center;color:#fff6;border-top:1px solid #ffffff0f;max-width:1280px;margin:0 auto;padding-top:2rem;font-size:.82rem}@media (width<=900px){.nav-center-links.svelte-1uha8ag{display:none}.hero.svelte-1uha8ag h1:where(.svelte-1uha8ag){font-size:2.2rem}.footer-inner.svelte-1uha8ag{grid-template-columns:1fr 1fr}.stat-divider.svelte-1uha8ag{display:none}}@media (width<=600px){.footer-inner.svelte-1uha8ag{grid-template-columns:1fr}}

/* ==========================================================================
   AFW MARKETPLACE - MOBILE 3-LINE MENU & PARALLEL DESKTOP CATEGORY GRID (V4)
   ========================================================================== */

/* 1. DESKTOP VIEWPORT (> 900px): Hide Mobile Menu Elements */
@media (min-width: 901px) {
  .afw-hamburger,
  #afwHamburgerBtn,
  .afw-mobile-drawer,
  #afwMobileDrawer {
    display: none !important;
  }
}

/* 2. MOBILE VIEWPORT (<= 900px): Clean Header & 3-Line Hamburger Menu */
@media (max-width: 900px) {
  /* HIDE the messy wrapped links row completely from navbar header */
  .nav-center-links,
  div.nav-center-links,
  .navbar .nav-center-links,
  .nav-center-links.svelte-1uha8ag,
  .nav-center-links.svelte-1d6nxft {
    display: none !important;
  }

  /* Keep top navbar clean, single-line, uncrowded */
  .navbar-wrapper {
    padding: 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    background: rgba(8, 6, 20, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  nav.navbar,
  .navbar,
  .navbar.svelte-1d6nxft,
  .navbar.svelte-1uha8ag {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.65rem 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .nav-brand,
  .nav-brand.svelte-1d6nxft,
  .nav-brand.svelte-1uha8ag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex-shrink: 0 !important;
  }

  .brand-name {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
  }

  .brand-img {
    height: 28px !important;
    width: auto !important;
  }

  .nav-actions,
  .nav-actions.svelte-1d6nxft,
  .nav-actions.svelte-1uha8ag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-left: auto !important;
  }

  .btn-ghost,
  .btn-accent {
    padding: 0.35rem 0.75rem !important;
    font-size: 0.78rem !important;
  }

  /* 3-Line Hamburger Button */
  .afw-hamburger,
  #afwHamburgerBtn {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin-left: 0.4rem !important;
    transition: all 0.25s ease !important;
    z-index: 10001 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  }

  .afw-hamburger:hover {
    background: rgba(168, 85, 247, 0.2) !important;
    border-color: #a855f7 !important;
    transform: scale(1.04) !important;
  }

  /* 3 Horizontal Lines */
  .afw-hamburger span {
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    background: #ffffff !important;
    border-radius: 2px !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease !important;
    transform-origin: center !important;
  }

  /* Transform 3 lines into an X when active */
  .afw-hamburger.is-active {
    background: rgba(168, 85, 247, 0.25) !important;
    border-color: #c084fc !important;
  }

  .afw-hamburger.is-active .bar1 {
    transform: translateY(7px) rotate(45deg) !important;
  }
  .afw-hamburger.is-active .bar2 {
    opacity: 0 !important;
    transform: scaleX(0) !important;
  }
  .afw-hamburger.is-active .bar3 {
    transform: translateY(-7px) rotate(-45deg) !important;
  }
}

/* 3. MOBILE DRAWER MODAL OVERLAY */
.afw-mobile-drawer {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999 !important;
  visibility: hidden !important;
  opacity: 0 !important;
  transition: visibility 0.25s ease, opacity 0.25s ease !important;
}

.afw-mobile-drawer.is-open {
  visibility: visible !important;
  opacity: 1 !important;
}

.afw-drawer-backdrop {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(4, 2, 14, 0.78) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.afw-drawer-panel {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: min(85vw, 340px) !important;
  height: 100% !important;
  background: rgba(13, 10, 32, 0.98) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.75) !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 1.5rem 1.25rem !important;
  box-sizing: border-box !important;
  transform: translateX(100%) !important;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow-y: auto !important;
}

.afw-mobile-drawer.is-open .afw-drawer-panel {
  transform: translateX(0) !important;
}

.afw-drawer-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding-bottom: 1.25rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin-bottom: 1.25rem !important;
}

.afw-drawer-logo-text {
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
  background: linear-gradient(135deg, #ffffff, #c4b5fd) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.afw-drawer-close {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  font-size: 1.75rem !important;
  line-height: 1 !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}

.afw-drawer-close:hover {
  background: rgba(239, 68, 68, 0.25) !important;
  border-color: #ef4444 !important;
  color: #fca5a5 !important;
}

.afw-drawer-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.55rem !important;
  flex: 1 !important;
}

.afw-drawer-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
  padding: 0.9rem 1.1rem !important;
  border-radius: 12px !important;
  color: #e2e8f0 !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: all 0.2s ease !important;
}

.afw-drawer-item:hover,
.afw-drawer-item:active {
  background: rgba(168, 85, 247, 0.18) !important;
  border-color: rgba(168, 85, 247, 0.5) !important;
  color: #ffffff !important;
  transform: translateX(4px) !important;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2) !important;
}

.afw-item-icon {
  font-size: 1.15rem !important;
}

.afw-drawer-footer {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.65rem !important;
  padding-top: 1.25rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin-top: 1.25rem !important;
}

.afw-drawer-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.85rem 1rem !important;
  border-radius: 12px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.afw-btn-ghost {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}

.afw-btn-accent {
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.45) !important;
}

body.afw-menu-locked {
  overflow: hidden !important;
}

/* 4. HOMEPAGE CATEGORY CARDS: PARALLEL HORIZONTAL DESKTOP GRID */
@media (min-width: 992px) {
  .categories-section,
  .categories-section.svelte-1uha8ag {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 4rem 2rem !important;
  }

  .cat-grid,
  .cat-grid.svelte-1uha8ag {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.75rem !important;
    align-items: stretch !important;
  }

  .cat-card,
  .cat-card.svelte-1uha8ag {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 230px !important;
    padding: 2rem !important;
    box-sizing: border-box !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 18px !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .cat-card:hover,
  .cat-card.svelte-1uha8ag:hover {
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: rgba(167, 139, 250, 0.5) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px -4px rgba(124, 58, 237, 0.25) !important;
  }
}

@media (min-width: 640px) and (max-width: 991px) {
  .cat-grid,
  .cat-grid.svelte-1uha8ag {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.35rem !important;
  }

  .cat-card,
  .cat-card.svelte-1uha8ag {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 200px !important;
  }
}

@media (max-width: 639px) {
  .cat-grid,
  .cat-grid.svelte-1uha8ag {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

/* 5. ARCHIVE POSTCARDS & CATEGORY PILLS POLISH */
.content-card,
.content-card.svelte-52ed7z {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.content-card:hover,
.content-card.svelte-52ed7z:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(167, 139, 250, 0.45) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 30px -4px rgba(124, 58, 237, 0.25) !important;
}

.card-title,
.card-title.svelte-52ed7z {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1.08rem !important;
  line-height: 1.4 !important;
  letter-spacing: -0.015em !important;
}

.card-desc,
.card-desc.svelte-52ed7z {
  color: #e2e8f0 !important;
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
  opacity: 1 !important;
  letter-spacing: 0.01em !important;
}

.card-date,
.card-date.svelte-52ed7z {
  color: #cbd5e1 !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
}

.card-category,
.card-category.svelte-52ed7z {
  color: #c4b5fd !important;
  font-weight: 600 !important;
  font-size: 0.74rem !important;
}
