/* ═══════════════════════════════════════════════════════════════
   SIGNAL23: THE GAYBORHOOD — SHARED STYLES
   Reuses the same color tokens/typography as society-shared.css so
   the product feels like the same platform (dark, Bebas Neue
   headings, DM Sans body) — this file just adds Gayborhood's own
   pride-neon accent (--gh-pink / --gh-glow) on top, per the mockup
   Henderson shared: a warm pink/purple neon nightlife palette layered
   over the existing dark-theme card system, not a different design
   language. Loaded via <link> by every gayborhood-*.html page,
   alongside society-shared.css for the base tokens.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --gh-pink: #ff2d95;
  --gh-pink-light: #ff6ec7;
  --gh-purple: #9b5cff;
  --gh-blue: #00d4ff;
  --gh-gold: #f5c518;
  --gh-glow: 0 0 24px rgba(255,45,149,0.25);
}

/* ─── TOP NAV (mirrors .soc-nav, own logo/gradient) ─── */
.gh-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: 56px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 20px;
  background: rgba(10,3,14,0.95); border-bottom: 1px solid rgba(255,45,149,0.15); backdrop-filter: blur(12px); }
.gh-nav-logo { font-family: 'Bebas Neue', sans-serif; font-size: 16px; letter-spacing: 2.5px; display: flex; align-items: center; gap: 6px;
  background: linear-gradient(90deg, var(--gh-pink), var(--gh-purple), var(--gh-blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gh-nav-right { display: flex; align-items: center; gap: 10px; }
.gh-nav-points { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 20px; background: rgba(245,197,24,0.1); border: 1px solid rgba(245,197,24,0.3); font-size: 12px; font-weight: 700; color: var(--gh-gold); }
.gh-nav-profile-link { display: flex; align-items: center; gap: 7px; text-decoration: none; padding: 4px 10px 4px 4px; border-radius: 20px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.gh-nav-avatar { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; border: 2px solid var(--gh-pink); background: rgba(255,45,149,0.15); color: var(--gh-pink-light); }
@media (max-width: 480px) { .gh-nav-profile-label, .gh-nav-points span.gh-pts-label { display: none; } }

.gh-main { position: relative; z-index: 10; max-width: 1100px; margin: 0 auto; padding: 80px 20px 40px; }
.gh-page-bg { position: fixed; inset: 0; z-index: 0; background: radial-gradient(ellipse at 30% 0%, rgba(155,20,110,0.35) 0%, transparent 55%), radial-gradient(ellipse at 80% 20%, rgba(0,120,180,0.2) 0%, transparent 50%), linear-gradient(to bottom, #0a030e, #050208); }
.gh-page-bg::after { content:''; position:absolute; inset:0; background: rgba(5,2,8,0.5); }

.gh-title { font-family: 'Bebas Neue', sans-serif; font-size: 32px; letter-spacing: 2px; margin-bottom: 4px;
  background: linear-gradient(90deg, #fff, var(--gh-pink-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gh-sub { font-size: 13px; color: #999; margin-bottom: 24px; }

/* ─── CARDS ─── */
.gh-card { background: rgba(14,6,18,0.88); border: 1px solid rgba(255,45,149,0.15); border-radius: 16px; padding: 20px; }
.gh-card-title { font-family: 'Bebas Neue', sans-serif; font-size: 15px; letter-spacing: 1.5px; color: #eee; margin-bottom: 12px; text-transform: uppercase; }
.gh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }

/* ─── BUTTONS ─── */
.gh-btn { padding: 12px 20px; border-radius: 10px; font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; background: linear-gradient(90deg, var(--gh-pink), var(--gh-purple)); color: #fff; border: none; cursor: pointer; box-shadow: var(--gh-glow); }
.gh-btn:disabled { opacity: 0.4; cursor: default; box-shadow: none; }
.gh-btn.secondary { background: rgba(255,255,255,0.06); color: #fff; border: 1px solid rgba(255,255,255,0.15); box-shadow: none; }
.gh-btn.ghost { background: transparent; color: var(--gh-pink-light); border: 1px solid rgba(255,45,149,0.35); box-shadow: none; }

/* ─── FORMS ─── */
.gh-field { margin-bottom: 16px; }
.gh-field label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #999; margin-bottom: 6px; }
.gh-field input, .gh-field select, .gh-field textarea { width: 100%; padding: 11px 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; color: white; font-size: 13px; font-family: 'DM Sans', sans-serif; }
.gh-field textarea { resize: vertical; min-height: 70px; }
.gh-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.gh-chip { padding: 8px 14px; border-radius: 20px; font-size: 11px; font-weight: 700; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); color: #bbb; cursor: pointer; }
.gh-chip.selected { background: rgba(255,45,149,0.15); border-color: var(--gh-pink); color: var(--gh-pink-light); }

/* ─── AGE-GATE MODAL ─── */
.gh-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(4px); z-index: 400; display: flex; align-items: center; justify-content: center; padding: 24px; }
.gh-modal-box { background: #0d0510; border: 1px solid rgba(255,45,149,0.25); border-radius: 16px; max-width: 420px; width: 100%; padding: 30px; text-align: center; box-shadow: var(--gh-glow); }
.gh-modal-icon { font-size: 34px; margin-bottom: 10px; }
.gh-modal-title { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 1.5px; margin-bottom: 10px; }
.gh-modal-body { font-size: 13px; color: #aaa; line-height: 1.6; margin-bottom: 20px; }
.gh-modal-check { display: flex; align-items: center; gap: 8px; justify-content: center; margin-bottom: 20px; font-size: 12px; color: #ccc; }

/* ─── LOADING ─── */
#gh-loading { display: flex; align-items: center; justify-content: center; min-height: 40vh; flex-direction: column; gap: 16px; }
.gh-spinner { width: 32px; height: 32px; border: 2px solid rgba(255,45,149,0.15); border-top-color: var(--gh-pink); border-radius: 50%; animation: gh-spin .8s linear infinite; }
@keyframes gh-spin { to { transform: rotate(360deg); } }
.gh-loading-text { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: #555; }
.gh-error-text { color: var(--ad-danger, #ff4444); font-size: 12px; }

/* ─── AVATAR CATEGORY PICKER ─── */
.gh-cat-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 16px; scrollbar-width: none; }
.gh-cat-tabs::-webkit-scrollbar { display: none; }
.gh-cat-tab { flex-shrink: 0; padding: 8px 14px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: .5px; color: #888; background: rgba(255,255,255,0.03); border: 1px solid transparent; white-space: nowrap; cursor: pointer; text-transform: capitalize; }
.gh-cat-tab.active { color: var(--gh-pink-light); background: rgba(255,45,149,0.1); border-color: rgba(255,45,149,0.3); }
.gh-swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.gh-swatch { aspect-ratio: 1; border-radius: 12px; border: 2px solid rgba(255,255,255,0.1); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #ccc; text-align: center; padding: 4px; overflow: hidden; }
.gh-swatch.selected { border-color: var(--gh-pink); box-shadow: var(--gh-glow); }
.gh-avatar-preview { width: 140px; height: 140px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; font-size: 40px; border: 3px solid var(--gh-pink); box-shadow: var(--gh-glow); }

/* ─── WORLD HUD (top-down canvas world) ─── */
.gh-world-wrap { position: relative; max-width: 1440px; margin: 0 auto; }
.gh-world-canvas-box { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,45,149,0.2); box-shadow: var(--gh-glow); background: #0a0510; }
#gh-world-canvas { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.gh-world-hint { position: absolute; top: 10px; left: 10px; background: rgba(5,2,8,0.7); padding: 6px 12px; border-radius: 8px; font-size: 10px; color: #ccc; letter-spacing: .5px; }
.gh-nearby-chat { position: absolute; bottom: 12px; right: 12px; width: 260px; max-height: 220px; background: rgba(8,4,12,0.92); border: 1px solid rgba(255,45,149,0.2); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; }
.gh-nearby-chat-log { flex: 1; overflow-y: auto; font-size: 11px; color: #ccc; margin-bottom: 8px; max-height: 140px; }
.gh-nearby-chat-log div { margin-bottom: 4px; }
.gh-nearby-chat-log b { color: var(--gh-pink-light); }
.gh-nearby-chat input { width: 100%; padding: 8px 10px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; color: #fff; font-size: 11px; }
.gh-venue-list { display: flex; gap: 10px; overflow-x: auto; padding: 14px 0; }
.gh-venue-card { flex-shrink: 0; width: 160px; background: rgba(14,6,18,0.88); border: 1px solid rgba(255,45,149,0.15); border-radius: 12px; padding: 14px; cursor: pointer; }
.gh-venue-card.locked { opacity: 0.5; }
.gh-venue-card-name { font-family: 'Bebas Neue', sans-serif; font-size: 14px; letter-spacing: .5px; margin-bottom: 4px; }
.gh-venue-card-type { font-size: 10px; color: #888; text-transform: uppercase; letter-spacing: .5px; }
.gh-lock-badge { font-size: 9px; color: var(--gh-gold); margin-top: 6px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
