/* ============ Neon Wildflowers - main.css ============
   Theme tokens, resets, layout, typography. Dark mode first, on purpose. */

:root{
  --bg: #0c0c12;
  --bg-raised: #14141d;
  --bg-card: #181822;
  --neon-pink: #ff4da6;
  --neon-cyan: #6ef7ff;
  --neon-purple: #c084fc;
  --neon-green: #7dff8a;
  --text: #f4f4f8;
  --text-dim: #9a9aab;
  --border: rgba(244,244,248,0.08);
  --member-color: var(--neon-pink);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-deco: 'Permanent Marker', cursive;
  --radius: 16px;
  --max-width: 1100px;
}

*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  min-height: 100vh;
  padding-bottom: 84px; /* room for the persistent player */
  overflow-x: hidden;
}
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display:block; }
h1,h2,h3{ font-family: var(--font-heading); margin: 0 0 .5em; }
ul{ list-style:none; margin:0; padding:0; }
button, select, textarea, input{ font-family: var(--font-body); }
button{ cursor:pointer; }

.grain-overlay{
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: .5;
  mix-blend-mode: overlay;
}

.section{ max-width: var(--max-width); margin: 0 auto; padding: 48px 20px; }
.section-title{ font-size: 1.4rem; }
.section-title.small{ font-size: 1.1rem; }
.page-title{ font-size: 2rem; }
.page-sub{ color: var(--text-dim); max-width: 560px; margin-top: -8px; margin-bottom: 24px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight:600; font-size:.95rem; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--neon-pink); color:#0c0c12; box-shadow: 0 0 18px rgba(255,77,166,.5); }
.btn-ghost{ border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover{ border-color: var(--neon-cyan); }
.btn-sm{ padding: 7px 14px; font-size:.8rem; }

/* ---------- Nav ---------- */
.site-nav{
  position: sticky; top:0; z-index: 500;
  background: rgba(12,12,18,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner{
  max-width: var(--max-width); margin:0 auto; padding: 14px 20px;
  display:flex; align-items:center; justify-content: space-between;
}
.brand{ font-family: var(--font-heading); font-weight:700; letter-spacing:.5px; font-size: 1.05rem; }
.brand-accent{ color: var(--neon-pink); text-shadow: 0 0 12px rgba(255,77,166,.7); }
.nav-links{ display:flex; gap: 22px; }
.nav-links a{ font-size:.92rem; color: var(--text-dim); transition: color .15s; }
.nav-links a:hover{ color: var(--neon-cyan); }
.nav-toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:none; padding: 6px;
}
.nav-toggle span{ width:22px; height:2px; background: var(--text); display:block; }

@media (max-width: 760px){
  .nav-toggle{ display:flex; }
  .nav-links{
    position:absolute; top:100%; left:0; right:0;
    background: var(--bg-raised); flex-direction:column; padding: 14px 20px; gap: 14px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px); opacity:0; pointer-events:none; transition: all .2s ease;
  }
  .nav-links.open{ transform: translateY(0); opacity:1; pointer-events:auto; }
}

/* ---------- Hero ---------- */
.hero{ position:relative; padding: 90px 20px 70px; overflow:hidden; text-align:center; }
.hero-skyline{ position:absolute; inset:0; z-index:0; opacity:.7; }
.skyline-layer{ position:absolute; left:0; right:0; bottom:0; height:55%; }
.layer-far{ background: linear-gradient(to top, rgba(192,132,252,.18), transparent); height:65%; }
.layer-mid{ background: linear-gradient(to top, rgba(110,247,255,.14), transparent); height:45%; }
.layer-near{ background: linear-gradient(to top, rgba(255,77,166,.16), transparent); height:30%; }
.hero-stickers{ position:absolute; inset:0; z-index:1; pointer-events:none; }
.hero-content{ position:relative; z-index:2; max-width: 640px; margin: 0 auto; }
.hero-tagline{ font-size: clamp(2rem, 6vw, 3.2rem); margin-bottom: 14px; }
.hero-sub{ color: var(--text-dim); margin-bottom: 28px; }
.hero-cta{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ---------- Status board ---------- */
.status-list{ display:flex; flex-direction:column; gap:10px; max-width: 640px; }
.status-item{
  display:flex; align-items:center; gap:10px; padding: 10px 14px;
  background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border);
}
.status-dot{ width:9px; height:9px; border-radius:50%; background: var(--member-color); box-shadow: 0 0 8px var(--member-color); flex-shrink:0; }
.status-name{ font-weight:600; color: var(--member-color); }
.status-text{ color: var(--text-dim); font-size:.9rem; }
.status-pill{
  display:inline-block; margin-top:10px; padding:5px 12px; border-radius:999px;
  font-size:.78rem; background: rgba(255,255,255,.06); border:1px solid var(--member-color); color: var(--member-color);
}
.status-pill.large{ font-size:.85rem; padding:7px 16px; }

/* ---------- Card grid / profile cards ---------- */
.card-grid{ display:grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 20px; }
.profile-card{
  position:relative; background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 20px; text-align:center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.profile-card:hover{ transform: translateY(-4px); box-shadow: 0 0 24px -4px var(--member-color); border-color: var(--member-color); }
.profile-card-banner{ height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--member-color), transparent); margin: -20px -20px 14px; opacity:.5; }
.profile-card.mini{ padding: 18px 14px; }
.profile-avatar{
  width:64px; height:64px; border-radius:50%; margin: 0 auto 10px;
  display:flex; align-items:center; justify-content:center;
  background: radial-gradient(circle, var(--member-color), rgba(0,0,0,.4));
  font-family: var(--font-heading); font-weight:700; font-size:1.1rem; color:#0c0c12;
  box-shadow: 0 0 16px var(--member-color);
}
.profile-avatar.large{ width:96px; height:96px; font-size:1.6rem; }
.profile-card-name{ font-family: var(--font-heading); font-weight:600; }
.profile-card-alias{ color: var(--text-dim); font-size:.82rem; margin-bottom:8px; }
.profile-card-bio{ font-size:.85rem; color: var(--text-dim); }
.see-all-link{ display:inline-block; margin-top:18px; color: var(--neon-cyan); }

/* ---------- Quicklinks ---------- */
.quicklink-grid{ display:grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 18px; }
.quicklink-card{
  display:block; background: var(--bg-card); border:1px solid var(--border); border-radius: var(--radius);
  padding: 22px; font-family: var(--font-heading); font-weight:600; transition: border-color .15s;
}
.quicklink-card:hover{ border-color: var(--neon-cyan); }
.quicklink-card span{ display:block; font-family: var(--font-body); font-weight:400; color: var(--text-dim); font-size:.85rem; margin-top:6px; }

/* ---------- Background patterns (member-specific, profile.php) ---------- */
.pattern-dots{ background-image: radial-gradient(rgba(255,255,255,.06) 1.5px, transparent 1.5px); background-size: 22px 22px; }
.pattern-stripes{ background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 18px); }
.pattern-grid{ background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 26px 26px; }
.pattern-scan{ background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 4px); }
.pattern-stars{ background-image: radial-gradient(rgba(192,132,252,.3) 1px, transparent 1px); background-size: 30px 30px; }
.pattern-graffiti{ background-image: repeating-linear-gradient(-15deg, rgba(255,77,166,.04) 0 6px, transparent 6px 26px); }

/* ---------- Footer / global player ---------- */
.global-player{
  position: fixed; bottom:0; left:0; right:0; z-index: 600;
  background: rgba(20,20,29,.95); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  display:flex; align-items:center; gap: 18px;
  padding: 10px 18px; flex-wrap: wrap;
}
.player-track-info{ display:flex; align-items:center; gap:10px; min-width: 180px; flex:1; }
.player-art{
  width:38px; height:38px; border-radius:8px; flex-shrink:0;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-cyan));
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.75rem; color:#0c0c12;
}
.player-meta{ display:flex; flex-direction:column; overflow:hidden; }
.player-title{ font-size:.85rem; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width: 200px; }
.player-artist{ font-size:.75rem; color: var(--text-dim); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:200px;}
.player-controls{ display:flex; gap:14px; align-items:center; }
.player-controls button{ background:none; border:none; color: var(--text); font-size:1rem; }
.player-controls button:hover{ color: var(--neon-pink); }
#playerPlay{ font-size:1.2rem; }
.player-volume{ display:flex; align-items:center; gap:8px; }
.player-volume input{ width: 90px; }

.toast{
  position: fixed; bottom: 96px; left:50%; transform: translateX(-50%) translateY(20px);
  background: var(--bg-card); border:1px solid var(--neon-cyan); color: var(--text);
  padding: 10px 18px; border-radius: 999px; font-size:.85rem; z-index: 700;
  opacity:0; pointer-events:none; transition: all .25s ease;
}
.toast.show{ opacity:1; transform: translateX(-50%) translateY(0); }

@media (max-width: 600px){
  .global-player{ justify-content:center; }
  .player-track-info{ width:100%; justify-content:center; }
}
