*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #c9a96e;
  --gold-light: #e8d5b7;
  --dark: #0d1117;
  --dark2: #161b22;
  --dark3: #1f2937;
  --border: rgba(255,255,255,0.08);
  --text: #e8d5b7;
  --text-muted: rgba(232,213,183,0.5);
  --red: #ef4444;
  --red-bg: rgba(239,68,68,0.12);
  --amber: #f59e0b;
  --amber-bg: rgba(245,158,11,0.12);
  --green: #22c55e;
  --green-bg: rgba(34,197,94,0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --tab-bar-height: 68px;
}

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  background: var(--dark);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

/* DESKTOP HEADER - hidden on mobile */
.header { display: none; }

/* MOBILE TOP BAR */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--gold-light);
  letter-spacing: -0.5px;
}
.logo span { color: var(--gold); }

.top-bar-region {
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  border: 0.5px solid var(--border);
  border-radius: 20px;
  padding: 4px 10px;
}

/* BOTTOM TAB BAR */
.tab-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(13,17,23,0.97);
  border-top: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  height: var(--tab-bar-height);
  padding-bottom: env(safe-area-inset-bottom);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 4px;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2px;
  transition: color 0.15s;
  -webkit-tap-highlight-color: transparent;
  min-height: 44px;
}

.tab-item.active { color: var(--gold); }
.tab-icon { font-size: 22px; line-height: 1; }

/* PAGES */
.page {
  display: none;
  min-height: calc(100vh - var(--tab-bar-height));
  padding-bottom: calc(var(--tab-bar-height) + 1rem);
}
.page.active { display: block; }
.page-inner { max-width: 640px; margin: 0 auto; padding: 1.5rem 1rem 1rem; }

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}
.page-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 1.25rem; }

/* HERO */
.hero {
  background: var(--dark);
  padding: 2rem 1rem 1.5rem;
  text-align: center;
}
.hero-inner { max-width: 600px; margin: 0 auto; }
.hero-sub {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 7vw, 52px);
  color: var(--gold-light);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.hero-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 1.5rem; }

/* SEARCH BOX */
.search-box {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: left;
}

.search-type-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 0.85rem;
}

.type-btn {
  background: transparent;
  border: 0.5px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  padding: 8px 4px;
  border-radius: 10px;
  font-size: 12px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.15s;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.type-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  font-weight: 600;
}

.search-input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 0.75rem;
}

.search-input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 0.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 14px;
  font-size: 16px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  min-height: 52px;
}
.search-input:focus { border-color: var(--gold); }
.search-input::placeholder { color: var(--text-muted); }

.search-btn {
  background: var(--gold);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--dark);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 20px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
  min-height: 52px;
  min-width: 80px;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.1s;
}
.search-btn:active { transform: scale(0.96); }

.search-region-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.region-label { font-size: 12px; color: var(--text-muted); }

.region-toggle {
  background: transparent;
  border: 0.5px solid rgba(255,255,255,0.12);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.15s;
  min-height: 36px;
  -webkit-tap-highlight-color: transparent;
}
.region-toggle.active {
  background: rgba(201,169,110,0.15);
  border-color: var(--gold);
  color: var(--gold);
}

/* RESULTS */
.results-section { max-width: 640px; margin: 0 auto; padding: 1rem; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 1.25rem;
}

.stat-card {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.5rem;
  text-align: center;
}
.stat-num { font-size: 20px; font-weight: 500; color: var(--gold-light); }
.stat-lbl { font-size: 10px; color: var(--text-muted); margin-top: 2px; line-height: 1.3; }

.recent-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

/* RESULT CARDS */
.result-card {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 0.6rem;
}
.result-card.high { border-left: 3px solid var(--red); }
.result-card.caution { border-left: 3px solid var(--amber); }
.result-card.clear { border-left: 3px solid var(--green); }

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  gap: 8px;
}

.result-id {
  font-size: 15px;
  font-weight: 500;
  color: var(--gold-light);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.risk-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.risk-badge.high { background: var(--red-bg); color: var(--red); }
.risk-badge.caution { background: var(--amber-bg); color: var(--amber); }
.risk-badge.clear { background: var(--green-bg); color: var(--green); }

.result-flags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 0.5rem; }
.result-flag { font-size: 11px; padding: 3px 9px; border-radius: 20px; }
.result-flag.danger { background: var(--red-bg); color: var(--red); }
.result-flag.warn { background: var(--amber-bg); color: var(--amber); }
.result-flag.good { background: var(--green-bg); color: var(--green); }
.result-flag.neutral { background: rgba(255,255,255,0.06); color: var(--text-muted); }

.result-meta { font-size: 11px; color: var(--text-muted); display: flex; gap: 0.75rem; flex-wrap: wrap; }

.not-found-card {
  background: rgba(255,255,255,0.02);
  border: 0.5px dashed rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}
.not-found-icon { font-size: 36px; margin-bottom: 0.75rem; }
.not-found-title { font-size: 17px; font-weight: 500; color: var(--gold-light); margin-bottom: 0.35rem; }
.not-found-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.5; }
.not-found-report {
  display: inline-block;
  background: transparent;
  border: 0.5px solid var(--gold);
  color: var(--gold);
  padding: 11px 22px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  min-height: 44px;
}

/* FORMS */
.form-card {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  margin-bottom: 0.85rem;
}
.form-row { margin-bottom: 1rem; }
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.optional { text-transform: none; font-weight: 400; letter-spacing: 0; }
.form-split { display: flex; gap: 8px; }

.form-select, .form-input {
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px;
  font-size: 16px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
  min-height: 48px;
  -webkit-appearance: none;
}
.form-select:focus, .form-input:focus { border-color: var(--gold); }
.form-select option { background: #1a1f2e; }

.form-textarea {
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px;
  font-size: 16px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  width: 100%;
  resize: vertical;
  transition: border-color 0.15s;
}
.form-textarea:focus { border-color: var(--gold); }
.form-textarea::placeholder, .form-input::placeholder { color: var(--text-muted); }

/* RISK PICKER */
.risk-picker { display: flex; gap: 8px; flex-wrap: wrap; }
.risk-btn {
  background: transparent;
  border: 0.5px solid rgba(255,255,255,0.12);
  color: var(--text-muted);
  padding: 10px 14px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.15s;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}
.risk-btn.active.high { background: var(--red-bg); border-color: var(--red); color: var(--red); }
.risk-btn.active.caution { background: var(--amber-bg); border-color: var(--amber); color: var(--amber); }
.risk-btn.active.clear { background: var(--green-bg); border-color: var(--green); color: var(--green); }

/* FLAG PICKER */
.flag-picker { display: flex; flex-wrap: wrap; gap: 7px; }
.flag-opt {
  background: transparent;
  border: 0.5px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.15s;
  min-height: 40px;
  display: flex;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
}
.flag-opt.selected.danger { background: var(--red-bg); border-color: var(--red); color: var(--red); }
.flag-opt.selected.warn { background: var(--amber-bg); border-color: var(--amber); color: var(--amber); }
.flag-opt.selected.good { background: var(--green-bg); border-color: var(--green); color: var(--green); }

/* SUBMIT */
.submit-btn {
  width: 100%;
  background: var(--gold);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--dark);
  font-size: 16px;
  font-weight: 700;
  padding: 15px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: transform 0.1s;
  margin-top: 0.5rem;
  min-height: 52px;
  -webkit-tap-highlight-color: transparent;
}
.submit-btn:active { transform: scale(0.98); }
.submit-btn:disabled { opacity: 0.6; }
.form-note { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 0.75rem; }

/* DIRECTORY */
.dir-filters {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 1rem;
  padding-bottom: 2px;
}
.dir-filters::-webkit-scrollbar { display: none; }

.dir-filter {
  background: transparent;
  border: 0.5px solid rgba(255,255,255,0.12);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.15s;
  white-space: nowrap;
  min-height: 40px;
  -webkit-tap-highlight-color: transparent;
}
.dir-filter.active { background: var(--gold); border-color: var(--gold); color: var(--dark); font-weight: 600; }

.biz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 1rem; }

.biz-card {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.biz-card.featured { border-color: rgba(201,169,110,0.4); }
.biz-featured-badge { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gold); margin-bottom: 8px; }
.biz-icon { font-size: 24px; margin-bottom: 8px; }
.biz-name { font-size: 14px; font-weight: 500; color: var(--gold-light); margin-bottom: 3px; }
.biz-type { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.biz-loc { font-size: 11px; color: var(--text-muted); }

.advertise-box {
  border: 0.5px dashed rgba(201,169,110,0.3);
  border-radius: var(--radius);
  padding: 1.75rem 1rem;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.advertise-plus { font-size: 26px; color: var(--gold); margin-bottom: 0.4rem; }
.advertise-text { font-size: 15px; font-weight: 500; color: var(--gold-light); margin-bottom: 0.2rem; }
.advertise-sub { font-size: 12px; color: var(--text-muted); }

/* ACCOUNT */
.account-anon-note {
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(201,169,110,0.08);
  border: 0.5px solid rgba(201,169,110,0.2);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.subscription-card {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
}
.sub-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.85rem; }
.sub-title { font-size: 16px; font-weight: 500; color: var(--gold-light); }
.sub-badge { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.sub-badge.free { background: rgba(255,255,255,0.06); color: var(--text-muted); }
.sub-badge.pro { background: var(--gold); color: var(--dark); }
.sub-features { margin-bottom: 0.85rem; }
.sub-feature { font-size: 13px; color: var(--text-muted); padding: 3px 0; }

.upgrade-btn {
  width: 100%;
  background: transparent;
  border: 0.5px solid var(--gold);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  padding: 13px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.15s;
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
}
.upgrade-btn:active { background: var(--gold); color: var(--dark); }

/* TOAST */
.toast {
  position: fixed;
  bottom: calc(var(--tab-bar-height) + 12px);
  left: 1rem; right: 1rem;
  transform: translateY(120px);
  background: #1a2e1a;
  color: #86efac;
  border: 0.5px solid rgba(34,197,94,0.3);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  transition: transform 0.3s ease;
  z-index: 999;
  text-align: center;
  pointer-events: none;
}
.toast.show { transform: translateY(0); }
.toast.error { background: #2e1a1a; color: #fca5a5; border-color: rgba(239,68,68,0.3); }

.result-section { margin-top: 0.6rem; }
.result-section-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-muted); margin-bottom: 5px; }
.result-alias-list { font-size: 13px; color: var(--gold-light); }
.result-physical { font-size: 13px; color: var(--text-muted); line-height: 1.4; }
.result-divider { height: 0.5px; background: var(--border); margin: 0.6rem 0; }

.phys-grid { display: flex; flex-direction: column; gap: 8px; }
.phys-row { display: flex; gap: 8px; }
.phys-row .form-select { flex: 1; }

.admin-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 1rem; }

.admin-entry {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 0.75rem;
}
.admin-entry.high { border-left: 3px solid var(--red); }
.admin-entry.caution { border-left: 3px solid var(--amber); }
.admin-entry.clear { border-left: 3px solid var(--green); }

.admin-entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-entry-id { font-size: 15px; font-weight: 500; color: var(--gold-light); }
.admin-entry-meta { font-size: 11px; color: var(--text-muted); }

.admin-actions { display: flex; gap: 6px; margin-top: 0.75rem; flex-wrap: wrap; }

.admin-btn {
  background: transparent;
  border: 0.5px solid rgba(255,255,255,0.12);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.15s;
  min-height: 36px;
}

.admin-btn.danger { border-color: rgba(239,68,68,0.3); color: var(--red); }
.admin-btn.danger:hover { background: var(--red-bg); }
.admin-btn.success { border-color: rgba(34,197,94,0.3); color: var(--green); }
.admin-btn.success:hover { background: var(--green-bg); }

/* LOADING */
.loading { text-align: center; padding: 2.5rem 1rem; color: var(--text-muted); font-size: 14px; }
.spinner {
  width: 28px; height: 28px;
  border: 2px solid rgba(255,255,255,0.1);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto 0.85rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* DESKTOP */
@media (min-width: 640px) {
  .header {
    position: sticky; top: 0; z-index: 100;
    background: var(--dark);
    border-bottom: 0.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    gap: 1rem;
  }
  .header-region { font-size: 12px; color: var(--text-muted); flex-shrink: 0; }
  .nav { display: flex; gap: 2px; flex: 1; justify-content: center; }
  .nav-btn {
    background: transparent; border: none;
    color: var(--text-muted); padding: 6px 12px;
    border-radius: 6px; font-size: 13px; cursor: pointer;
    font-family: 'DM Sans', sans-serif; transition: all 0.15s; white-space: nowrap;
  }
  .nav-btn:hover, .nav-btn.active { background: rgba(255,255,255,0.06); color: var(--gold-light); }

  .top-bar { display: none; }
  .tab-bar { display: none; }

  .page { min-height: calc(100vh - 57px); padding-bottom: 1rem; }
  .page-inner { padding: 2rem 1.5rem; }
  .hero { padding: 3rem 1.5rem 2.5rem; }
  .results-section { padding: 1.5rem 1.5rem 0; }
  .search-box { padding: 1.25rem; }
  .search-type-row { display: flex; grid-template-columns: unset; }
  .type-btn { min-height: auto; padding: 6px 14px; }
  .search-input { font-size: 15px; padding: 12px 14px; min-height: auto; }
  .search-btn { min-height: auto; padding: 12px 22px; }
  .biz-grid { grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); }
  .toast { left: 50%; right: auto; transform: translateX(-50%) translateY(120px); white-space: nowrap; bottom: 24px; }
  .toast.show { transform: translateX(-50%) translateY(0); }
}

/* LAWS */
.laws-country-toggle { display: flex; gap: 8px; margin-bottom: 1.25rem; }
.laws-intro { font-size: 13px; color: var(--text-muted); margin-bottom: 1rem; line-height: 1.5; }
.laws-state-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 1.25rem; }
.laws-state-btn { background: transparent; border: 0.5px solid rgba(255,255,255,0.12); color: var(--text-muted); padding: 10px 4px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all 0.15s; min-height: 44px; -webkit-tap-highlight-color: transparent; }
.laws-state-btn.active { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.state-info { display: none; }
.state-info.active { display: block; }
.state-status { font-size: 14px; font-weight: 500; padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 0.85rem; }
.state-status.safe { background: var(--green-bg); color: var(--green); }
.state-status.warn { background: var(--amber-bg); color: var(--amber); }
.laws-card { background: rgba(255,255,255,0.03); border: 0.5px solid var(--border); border-radius: var(--radius); padding: 1rem; margin-bottom: 0.75rem; }
.laws-card.warn { border-left: 3px solid var(--amber); }
.laws-card-title { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.6px; color: var(--gold); margin-bottom: 6px; }
.laws-card-body { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* NEWS */
.news-filters { display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-bottom: 1.25rem; padding-bottom: 2px; }
.news-filters::-webkit-scrollbar { display: none; }
.news-card { background: rgba(255,255,255,0.03); border: 0.5px solid var(--border); border-radius: var(--radius); padding: 1rem; margin-bottom: 0.75rem; }
.news-card.alert { border-left: 3px solid var(--red); }
.news-card.raid { border-left: 3px solid var(--amber); }
.news-card.law { border-left: 3px solid var(--green); }
.news-card.community { border-left: 3px solid #60a5fa; }
.news-tag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 6px; }
.news-tag.alert { color: var(--red); }
.news-tag.raid { color: var(--amber); }
.news-tag.law { color: var(--green); }
.news-tag.community { color: #60a5fa; }
.news-title { font-size: 15px; font-weight: 500; color: var(--gold-light); margin-bottom: 6px; line-height: 1.4; }
.news-body { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 8px; }
.news-meta { font-size: 11px; color: var(--text-muted); }
.news-submit-box { border: 0.5px dashed rgba(201,169,110,0.3); border-radius: var(--radius); padding: 1.5rem; text-align: center; margin-top: 0.5rem; }
.news-submit-title { font-size: 15px; font-weight: 500; color: var(--gold-light); margin-bottom: 0.25rem; }
.news-submit-sub { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ADMIN */
.admin-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 1rem; }
.admin-entry { background: rgba(255,255,255,0.03); border: 0.5px solid var(--border); border-radius: var(--radius); padding: 1rem; margin-bottom: 0.75rem; }
.admin-entry.high { border-left: 3px solid var(--red); }
.admin-entry.caution { border-left: 3px solid var(--amber); }
.admin-entry.clear { border-left: 3px solid var(--green); }
.admin-entry-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; gap: 8px; flex-wrap: wrap; }
.admin-entry-id { font-size: 15px; font-weight: 500; color: var(--gold-light); }
.admin-entry-meta { font-size: 11px; color: var(--text-muted); }
.admin-actions { display: flex; gap: 6px; margin-top: 0.75rem; flex-wrap: wrap; }
.admin-btn { background: transparent; border: 0.5px solid rgba(255,255,255,0.12); color: var(--text-muted); padding: 6px 12px; border-radius: 20px; font-size: 12px; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all 0.15s; min-height: 36px; }
.admin-btn.danger { border-color: rgba(239,68,68,0.3); color: var(--red); }
.admin-btn.success { border-color: rgba(34,197,94,0.3); color: var(--green); }

/* GIVING TICKER */
.giving-ticker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1.25rem;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(201,169,110,0.06);
  border: 0.5px solid rgba(201,169,110,0.15);
  border-radius: 20px;
  padding: 8px 14px;
  line-height: 1.4;
  text-align: center;
}
.giving-heart { font-size: 14px; flex-shrink: 0; }

/* PAYMENT METHODS */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.payment-method {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.5rem;
  text-align: center;
}
.payment-icon { font-size: 20px; margin-bottom: 4px; }
.payment-name { font-size: 13px; font-weight: 500; color: var(--gold-light); margin-bottom: 2px; }
.payment-desc { font-size: 11px; color: var(--text-muted); }

/* GIVING CARD */
.giving-card {
  background: rgba(201,169,110,0.05);
  border: 0.5px solid rgba(201,169,110,0.2);
  border-radius: var(--radius);
  padding: 1.1rem;
  margin-bottom: 0.75rem;
}
.giving-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.giving-card-title { font-size: 15px; font-weight: 500; color: var(--gold-light); }
.giving-card-pct { font-size: 11px; color: var(--gold); background: rgba(201,169,110,0.15); padding: 3px 10px; border-radius: 20px; }
.giving-card-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 0.85rem; line-height: 1.5; }
.giving-causes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 0.85rem; }
.giving-cause { font-size: 12px; color: var(--text-muted); background: rgba(255,255,255,0.04); border: 0.5px solid var(--border); border-radius: 20px; padding: 4px 10px; }
.giving-total { font-size: 12px; color: var(--gold); text-align: center; padding-top: 0.5rem; border-top: 0.5px solid rgba(201,169,110,0.15); }

/* ABOUT STRIP */
.about-strip {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,0.02);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.about-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.about-title { font-size: 14px; font-weight: 500; color: var(--gold-light); margin-bottom: 2px; }
.about-desc { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

@media (min-width: 640px) {
  .about-strip { grid-template-columns: repeat(2,1fr); display: grid; }
}

/* SEARCH COUNTER */
.search-counter {
  text-align: center;
  font-size: 12px;
  color: var(--gold);
  margin-top: 8px;
  padding: 4px;
}
.search-counter.empty { color: var(--red); }

/* PAYWALL */
.paywall-card {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(201,169,110,0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.paywall-icon { font-size: 36px; margin-bottom: 0.75rem; }
.paywall-title { font-size: 20px; font-weight: 500; color: var(--gold-light); margin-bottom: 0.5rem; font-family: 'Playfair Display', serif; }
.paywall-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.6; }
.paywall-plans { display: flex; flex-direction: column; gap: 8px; margin-bottom: 1rem; }
.paywall-btn {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  line-height: 1.4;
  transition: all 0.15s;
  min-height: 56px;
}
.paywall-btn span { font-size: 12px; font-weight: 400; opacity: 0.7; display: block; }
.paywall-btn.gold { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.paywall-methods { font-size: 12px; color: var(--text-muted); margin-bottom: 1rem; }
.paywall-refer { font-size: 13px; color: var(--text-muted); margin-bottom: 0.75rem; line-height: 1.5; }
.paywall-share {
  background: transparent;
  border: 0.5px solid var(--border);
  color: var(--text-muted);
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 13px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  min-height: 40px;
}

/* WHITE LABEL */
.whitelabel-box {
  background: rgba(255,255,255,0.02);
  border: 0.5px solid rgba(201,169,110,0.2);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 1rem;
}
.whitelabel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; flex-wrap: wrap; gap: 8px; }
.whitelabel-title { font-size: 16px; font-weight: 500; color: var(--gold-light); }
.whitelabel-badge { font-size: 11px; color: var(--gold); background: rgba(201,169,110,0.12); border: 0.5px solid rgba(201,169,110,0.2); border-radius: 20px; padding: 3px 10px; }
.whitelabel-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 0.85rem; }
.whitelabel-features { display: flex; flex-direction: column; gap: 4px; margin-bottom: 0.5rem; }
.whitelabel-feature { font-size: 13px; color: var(--text-muted); }

@media (min-width: 640px) {
  .whitelabel-features { display: grid; grid-template-columns: repeat(2,1fr); }
  .paywall-plans { flex-direction: row; }
  .paywall-btn { flex: 1; }
}

/* PARTNER BANNER */
.partner-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(201,169,110,0.06);
  border: 0.5px solid rgba(201,169,110,0.2);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}
.partner-logo { font-size: 22px; flex-shrink: 0; }
.partner-name { font-size: 13px; font-weight: 500; color: var(--gold-light); margin-bottom: 2px; }
.partner-desc { font-size: 12px; color: var(--text-muted); }

/* ABOUT PAGE */
.about-hero-card {
  background: rgba(201,169,110,0.06);
  border: 0.5px solid rgba(201,169,110,0.2);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.about-hero-icon { font-size: 28px; flex-shrink: 0; }
.about-hero-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

.about-section-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin: 1.5rem 0 0.75rem;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 0.5rem;
}

.about-value-card {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}
.about-value-icon { font-size: 20px; margin-bottom: 8px; }
.about-value-title { font-size: 13px; font-weight: 500; color: var(--gold-light); margin-bottom: 4px; }
.about-value-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* CONTACT PAGE */
.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 10px;
  margin-top: 1rem;
}
.contact-info-card {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}
.contact-info-icon { font-size: 22px; margin-bottom: 8px; }
.contact-info-title { font-size: 14px; font-weight: 500; color: var(--gold-light); margin-bottom: 4px; }
.contact-info-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

@media (min-width: 640px) {
  .contact-info-cards { grid-template-columns: repeat(3, 1fr); }
}

/* TOKENS */
.token-option {
  margin: 0.85rem 0;
  padding: 0.85rem;
  background: rgba(255,255,255,0.03);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
}
.token-option-label { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.token-btns { display: flex; gap: 8px; }
.token-btn {
  flex: 1;
  background: transparent;
  border: 0.5px solid rgba(201,169,110,0.3);
  color: var(--gold);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 13px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  min-height: 40px;
  transition: all 0.15s;
}
.token-btn:active { background: rgba(201,169,110,0.1); }

/* STI NEWS */
.news-card.sti { border-left: 3px solid #a855f7; }
.news-tag.sti { color: #a855f7; }

/* REPORT TITLE ON CARDS */
.result-report-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* FOUNDING BANNER */
.founding-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 1rem;
  background: rgba(239,68,68,0.08);
  border: 0.5px solid rgba(239,68,68,0.2);
  border-radius: 20px;
  padding: 6px 14px;
}
.founding-banner strong { color: var(--red); }
.founding-dot {
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* GUARANTEE STRIP */
.guarantee-strip {
  background: rgba(34,197,94,0.08);
  border: 0.5px solid rgba(34,197,94,0.2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 0.85rem;
  text-align: center;
  line-height: 1.5;
}
.guarantee-strip strong { color: var(--green); }

/* REFERRAL STRIP */
.referral-strip {
  background: rgba(201,169,110,0.06);
  border: 0.5px solid rgba(201,169,110,0.2);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  margin-top: 1rem;
}
.referral-title { font-size: 14px; font-weight: 500; color: var(--gold-light); margin-bottom: 4px; }
.referral-sub { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; line-height: 1.5; }
.referral-btn {
  background: var(--gold);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--dark);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}

/* GSO CARD */
.gso-card {
  border-color: rgba(201,169,110,0.4) !important;
  position: relative;
}
.gso-popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.gso-value-intro {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  line-height: 1.5;
  font-style: italic;
}
.gso-stack { display: flex; flex-direction: column; gap: 0; margin-bottom: 0.85rem; }
.gso-item {
  padding: 0.6rem 0;
  border-bottom: 0.5px solid var(--border);
}
.gso-item:last-child { border-bottom: none; }
.gso-item-name { font-size: 13px; font-weight: 500; color: var(--gold-light); margin-bottom: 2px; }
.gso-item-desc { font-size: 12px; color: var(--text-muted); line-height: 1.4; margin-bottom: 2px; }
.gso-item-value { font-size: 11px; color: var(--gold); opacity: 0.8; }

.gso-bonus-section {
  background: rgba(201,169,110,0.06);
  border: 0.5px solid rgba(201,169,110,0.15);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  margin-top: 0.5rem;
}
.gso-bonus-label { font-size: 11px; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.gso-bonus-item { font-size: 12px; color: var(--text-muted); padding: 3px 0; line-height: 1.4; }
.gso-bonus-val { color: var(--green); font-weight: 500; }

.gso-total {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  text-align: center;
  margin-top: 0.75rem;
}
.gso-total-value { font-size: 12px; color: var(--text-muted); text-decoration: line-through; }
.gso-total-price { font-size: 18px; font-weight: 600; color: var(--gold-light); }

.gso-btn {
  background: var(--gold) !important;
  color: var(--dark) !important;
  border: none !important;
  font-size: 15px !important;
}
.gso-guarantee {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
  line-height: 1.4;
}

/* PAYWALL VALUE STACK */
.paywall-value-stack {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  margin-bottom: 0.85rem;
  text-align: left;
}
.paywall-value-item {
  font-size: 13px;
  color: var(--text-muted);
  padding: 3px 0;
}
.paywall-total {
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
  text-align: center;
  margin-bottom: 0.85rem;
}
.paywall-guarantee {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin: 0.75rem 0 0.5rem;
  padding: 8px;
  background: rgba(34,197,94,0.06);
  border-radius: var(--radius-sm);
  line-height: 1.5;
}

/* ADMIN TABS */
.admin-tab-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 1rem;
  border-bottom: 0.5px solid var(--border);
  padding-bottom: 0;
}
.admin-tab {
  background: transparent;
  border: none;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -0.5px;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.15s;
  min-height: 40px;
  -webkit-tap-highlight-color: transparent;
}
.admin-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.admin-tab-content { display: none; }
.admin-tab-content.active { display: block; }

/* ONBOARDING MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}
.modal-box {
  background: var(--dark2);
  border: 0.5px solid rgba(201,169,110,0.3);
  border-radius: var(--radius);
  padding: 2rem 1.5rem 1.5rem;
  max-width: 380px;
  width: 100%;
  text-align: center;
  position: relative;
}
.modal-step { display: none; }
.modal-step.active { display: block; }
.modal-icon { font-size: 44px; margin-bottom: 1rem; }
.modal-title { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--gold-light); margin-bottom: 0.5rem; }
.modal-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.5rem; }
.modal-btn { background: var(--gold); border: none; border-radius: var(--radius-sm); color: var(--dark); font-size: 15px; font-weight: 600; padding: 12px 28px; cursor: pointer; font-family: 'DM Sans', sans-serif; min-height: 48px; width: 100%; }
.modal-dots { display: flex; justify-content: center; gap: 8px; margin-top: 1.25rem; }
.modal-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.15); transition: background 0.15s; }
.modal-dot.active { background: var(--gold); }
.modal-skip { background: rgba(255,255,255,0.08); border: none; color: var(--text-muted); font-size: 13px; cursor: pointer; font-family: 'DM Sans', sans-serif; padding: 5px 12px; border-radius: 20px; position: absolute; top: 12px; right: 12px; z-index: 10; -webkit-tap-highlight-color: transparent; }

/* FORUMS */
.forums-coming, .profile-coming {
  background: rgba(255,255,255,0.03);
  border: 0.5px dashed rgba(201,169,110,0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.forums-icon { font-size: 40px; margin-bottom: 0.75rem; }
.forums-title { font-size: 18px; font-weight: 500; color: var(--gold-light); margin-bottom: 0.5rem; font-family: 'Playfair Display', serif; }
.forums-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.25rem; }
.forums-regions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 1rem; }
.forum-region-card { background: rgba(255,255,255,0.03); border: 0.5px solid var(--border); border-radius: var(--radius-sm); padding: 0.6rem 0.4rem; font-size: 12px; color: var(--text-muted); text-align: center; }
.forum-region-sub { font-size: 10px; color: rgba(255,255,255,0.2); margin-top: 2px; }
.forums-scarlet-note { font-size: 12px; color: var(--gold); margin-top: 0.75rem; }
.profile-features { display: flex; flex-direction: column; gap: 6px; margin: 1rem 0; text-align: left; }
.profile-feature { font-size: 13px; color: var(--text-muted); }

/* SAFETY PAGE */
.safety-card {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  margin-bottom: 0.85rem;
}
.safety-card-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 0.75rem; }
.safety-card-icon { font-size: 26px; flex-shrink: 0; }
.safety-card-title { font-size: 16px; font-weight: 500; color: var(--gold-light); margin-bottom: 4px; }
.safety-card-badge { font-size: 11px; color: var(--gold); background: rgba(201,169,110,0.1); border: 0.5px solid rgba(201,169,110,0.2); border-radius: 20px; padding: 2px 8px; display: inline-block; }
.safety-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 0.85rem; }
.safety-active-banner { display: flex; align-items: center; gap: 8px; background: rgba(34,197,94,0.08); border: 0.5px solid rgba(34,197,94,0.2); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 14px; color: var(--green); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 6px; }
.faq-item { background: rgba(255,255,255,0.03); border: 0.5px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; transition: border-color 0.15s; }
.faq-item:hover { border-color: rgba(201,169,110,0.3); }
.faq-item.open { border-color: rgba(201,169,110,0.4); }
.faq-q { padding: 0.85rem 1rem; font-size: 14px; font-weight: 500; color: var(--gold-light); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.faq-arrow { color: var(--gold); font-size: 18px; flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-arrow { transform: rotate(90deg); }
.faq-a { display: none; padding: 0 1rem 0.85rem; font-size: 13px; color: var(--text-muted); line-height: 1.6; border-top: 0.5px solid var(--border); padding-top: 0.75rem; }
.faq-item.open .faq-a { display: block; }

/* ── DESKTOP NAV DROPDOWN ─────────────────────────────────────────────────── */
.nav-dropdown {
  position: relative;
}
.nav-more {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--dark2);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  min-width: 180px;
  z-index: 300;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  text-align: left;
  transition: all 0.12s;
}
.nav-dropdown-item:hover {
  background: rgba(255,255,255,0.06);
  color: var(--gold-light);
}
.nav-dropdown-divider {
  height: 0.5px;
  background: var(--border);
  margin: 4px 8px;
}
.nav-dropdown-muted { font-size: 11px; opacity: 0.5; }

/* Account button in desktop nav */
.nav-account-btn {
  background: var(--gold);
  border: none;
  border-radius: 20px;
  color: var(--dark);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.nav-account-btn:hover { opacity: 0.85; }
.nav-account-btn.active {
  background: var(--dark3);
  color: var(--gold);
  border: 0.5px solid var(--gold);
}

/* ── MOBILE MORE MENU ─────────────────────────────────────────────────────── */
.more-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 250;
  backdrop-filter: blur(4px);
}
.more-menu {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 300;
  background: var(--dark2);
  border-top: 0.5px solid var(--border);
  border-radius: 20px 20px 0 0;
  padding: 0 1rem calc(var(--tab-bar-height) + 0.5rem);
  animation: slideUp 0.25s ease;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.more-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.5rem 0.5rem;
}
.more-menu-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--gold-light);
}
.more-menu-close {
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--text-muted);
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.more-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0.75rem 0;
}
.more-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 6px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: var(--text-muted);
  -webkit-tap-highlight-color: transparent;
  transition: all 0.12s;
  min-height: 64px;
  border: none;
}
.more-menu-item:active {
  background: rgba(201,169,110,0.1);
  color: var(--gold);
}
.more-menu-icon { font-size: 22px; }
.more-menu-footer {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.5rem 0;
  border-top: 0.5px solid var(--border);
}
.more-menu-footer-item {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  opacity: 0.6;
  -webkit-tap-highlight-color: transparent;
}

/* end modal */
