/*
 * Overminds — shared site stylesheet.
 * Nav, footer, buttons, base reset/typography, and reveal-on-scroll
 * animation used identically across every page. Page-specific layout
 * (hero content, card grids, forms, etc.) stays inline in each page's
 * own <style> block — this file only holds what's truly shared.
 */

:root{
  --void: #0B0D14;
  --panel: #12141F;
  --panel-raised: #181B29;
  --line: rgba(237,238,242,0.08);
  --line-bright: rgba(237,238,242,0.16);
  --text: #EDEEF2;
  --muted: #8A8FA3;
  --violet: #7C5CFF;
  --violet-soft: rgba(124,92,255,0.14);
  --violet-dim: rgba(124,92,255,0.35);
  --green: #3DDC97;
  --green-soft: rgba(61,220,151,0.14);
  --red: #FF5C7A;
  --red-soft: rgba(255,92,122,0.14);
  --discord: #5865F2;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --amber: #FFB454;
  --amber-soft: rgba(255,180,84,0.14);
  --patreon: #FF424D;
  --blue: #5CA8FF;
  --blue-soft: rgba(92,168,255,0.14);
  --violet-text: #8368FF;
}

/* Reset & base */
*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
.skip-link{
  position:absolute;
  top:-48px; left:12px;
  z-index:1000;
  background: var(--violet);
  color:#fff;
  padding:12px 20px;
  border-radius: var(--radius-sm);
  font-size:0.9rem;
  font-weight:600;
  text-decoration:none;
  transition: top 0.15s ease;
}
.skip-link:focus{ top:12px; }
body{
    background: var(--void);
    color: var(--text);
    font-family:'Inter', sans-serif;
    overflow-x:hidden;
    position:relative;
  }
body::before{
    content:'';
    position:fixed;
    top:-20%; left:50%;
    width:1200px; height:1200px;
    transform:translateX(-50%);
    background: radial-gradient(circle, rgba(124,92,255,0.12) 0%, rgba(124,92,255,0.04) 35%, transparent 70%);
    pointer-events:none;
    z-index:0;
  }
::selection{ background: var(--violet-dim); }
.mono{ font-family:'JetBrains Mono', monospace; }
a{ color:inherit; text-decoration:none; }
a:focus-visible, button:focus-visible{
    outline: 2px solid var(--violet);
    outline-offset: 3px;
    border-radius: 8px;
  }

/* Layout shell */
.wrap{
    max-width:1180px;
    margin:0 auto;
    padding:0 32px;
    position:relative;
    z-index:1;
  }
header{
    position:sticky;
    top:0;
    z-index:50;
    backdrop-filter: blur(14px);
    background: rgba(11,13,20,0.7);
    border-bottom:1px solid var(--line);
  }
nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:18px 32px;
    max-width:1180px;
    margin:0 auto;
    min-height:84px;
    box-sizing:border-box;
  }
.brand{
    display:flex;
    align-items:center;
    gap:12px;
    font-family:'Space Grotesk', sans-serif;
    font-weight:700;
    font-size:1.15rem;
    letter-spacing:-0.01em;
  }
.brand img{
    width:30px; height:30px;
    filter: invert(1);
  }

/* Nav */
.nav-links{
    display:flex;
    justify-content:center;
    gap:32px;
    font-size:0.92rem;
    color: var(--muted);
    width:700px;
    flex-shrink:0;
  }
.nav-links a{
    transition: color 0.2s ease;
    position:relative;
  }
.nav-links a:hover{ color: var(--text); }
.nav-links a.active{ color: var(--text); }
.nav-links a.active::after{
    content:'';
    position:absolute;
    bottom:-18px; left:0; right:0;
    height:2px;
    background: var(--violet);
  }
.nav-burger{
    display:none;
    align-items:center;
    justify-content:center;
    width:40px; height:40px;
    border-radius: var(--radius-sm);
    background: transparent;
    border:1px solid var(--line-bright);
    color: var(--text);
    cursor:pointer;
    flex-shrink:0;
  }
.nav-burger:hover{ border-color: var(--violet-dim); background: var(--violet-soft); }
.nav-burger svg{ width:20px; height:20px; }
.nav-mobile-panel{
    display:none;
    flex-direction:column;
    background: var(--void);
    border-top:1px solid var(--line);
    overflow:hidden;
    max-height:0;
    transition: max-height 0.3s ease;
  }
.nav-mobile-panel.open{ max-height:400px; }
.nav-mobile-panel a{
    padding:16px 24px;
    color: var(--muted);
    border-bottom:1px solid var(--line);
    font-size:0.95rem;
  }
.nav-mobile-panel a:last-child{ border-bottom:none; }
.nav-mobile-panel a.active{ color: var(--violet); font-weight:600; }
.nav-mobile-panel a:active{ background: var(--violet-soft); }
.nav-mobile-cta{ padding:16px 24px; }
.nav-cta{ display:flex; align-items:center; gap:14px; }
#navCta{ display:flex; align-items:center; gap:14px; }
.nav-account{
    display:flex;
    align-items:center;
    gap:10px;
    padding:6px 14px 6px 6px;
    border-radius:100px;
    border:1px solid var(--line-bright);
    transition: border-color 0.2s ease, background 0.2s ease;
    cursor:pointer;
  }
.nav-account:hover{ border-color: var(--violet-dim); background: var(--violet-soft); }
.nav-account img{
    width:30px; height:30px;
    border-radius:50%;
    object-fit:cover;
    border:1px solid var(--line-bright);
  }
.nav-account span{ font-size:0.85rem; font-weight:500; white-space:nowrap; }
.nav-admin-link{
    display:flex;
    align-items:center;
    justify-content:center;
    width:38px; height:38px;
    border-radius:50%;
    border:1px solid var(--line-bright);
    text-decoration:none;
    font-size:1rem;
    transition: border-color 0.2s ease, background 0.2s ease;
  }
.nav-admin-link:hover{ border-color: var(--violet-dim); background: var(--violet-soft); }

/* Buttons */
.btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:12px 22px;
    border-radius: var(--radius-sm);
    font-weight:600;
    font-size:0.92rem;
    cursor:pointer;
    border:none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    white-space:nowrap;
    font-family:'Inter', sans-serif;
  }
.btn:active{ transform: scale(0.97); }
.btn-sm{ padding:9px 16px; font-size:0.85rem; }
.btn-lg{ padding:16px 30px; font-size:1rem; border-radius: var(--radius-md); }
.btn-ghost{
    background: transparent;
    color: var(--text);
    border:1px solid var(--line-bright);
  }
.btn-ghost:hover{
    border-color: var(--violet-dim);
    background: var(--violet-soft);
  }
.btn-discord{ background: var(--discord); color: #fff; }
.btn-discord:hover{
    background:#4854e0;
    box-shadow: 0 6px 24px rgba(88,101,242,0.4);
    transform: translateY(-1px);
  }
.btn-discord svg{ width:18px; height:18px; flex-shrink:0; }

/* Sections, hero, eyebrow, page head, CTA band */
section{ padding:80px 0; position:relative; }
.hero{
    padding:80px 0 60px;
    text-align:center;
  }
.eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-family:'JetBrains Mono', monospace;
    font-size:0.78rem;
    color: var(--green);
    background: var(--green-soft);
    border:1px solid rgba(61,220,151,0.3);
    padding:7px 14px;
    border-radius:100px;
    margin-bottom:24px;
    letter-spacing:0.02em;
  }
.eyebrow .dot{
    width:6px; height:6px; border-radius:50%;
    background: var(--green);
    animation: blink 2s ease-in-out infinite;
  }
.section-head{
    text-align:center;
    max-width:600px;
    margin:0 auto 56px;
  }
.section-head h2{
    font-family:'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3.4vw, 2.4rem);
    font-weight:700;
    letter-spacing:-0.01em;
    margin-bottom:16px;
  }
.section-head p{
    color: var(--muted);
    font-size:1.05rem;
    line-height:1.6;
  }
.section-tag{
    font-family:'JetBrains Mono', monospace;
    font-size:0.78rem;
    color: var(--violet-text);
    text-transform:uppercase;
    letter-spacing:0.12em;
    margin-bottom:14px;
    display:block;
  }
.page-head{
    padding:64px 0 40px;
    text-align:center;
  }
.page-head h1{
    font-family:'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 4.6vw, 3.4rem);
    font-weight:700;
    letter-spacing:-0.02em;
    margin-bottom:18px;
  }
.page-head p{
    color: var(--muted);
    max-width:540px;
    margin:0 auto;
    font-size:1.05rem;
    line-height:1.6;
  }
.cta-band{
    text-align:center;
    background: radial-gradient(circle at 50% 0%, rgba(124,92,255,0.18), transparent 60%), var(--panel);
    border:1px solid var(--line);
    border-radius: var(--radius-lg);
    padding:64px 40px;
  }
.cta-band h2{
    font-family:'Space Grotesk', sans-serif;
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    font-weight:700;
    margin-bottom:14px;
    letter-spacing:-0.01em;
  }
.cta-band p{
    color: var(--muted);
    margin-bottom:28px;
    font-size:1rem;
  }

/* Footer */
footer{
    border-top:1px solid var(--line);
    padding:40px 0;
    margin-top:40px;
  }
.footer-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
  }
.footer-brand{
    display:flex;
    align-items:center;
    gap:10px;
    color: var(--muted);
    font-size:0.88rem;
  }
.footer-brand img{ width:18px; height:18px; filter:invert(1); opacity:0.6; }
.footer-links{
    display:flex;
    gap:24px;
    font-size:0.88rem;
    color: var(--muted);
  }
.footer-links a:hover{ color: var(--text); }
.footer-social{
    display:flex;
    align-items:center;
    gap:14px;
  }
.footer-social a{
    display:flex;
    align-items:center;
    justify-content:center;
    width:34px; height:34px;
    border-radius:50%;
    background: var(--panel);
    border:1px solid var(--line-bright);
    color: var(--muted);
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  }
.footer-social a:hover{ border-color: var(--violet-dim); background: var(--violet-soft); color: var(--text); }
.footer-social svg{ width:16px; height:16px; }

/* Motion & accessibility */
.reveal{ opacity:0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in{
    opacity:1;
    transform: translateY(0);
  }
@keyframes blink{ 0%,100%{opacity:1;} 50%{opacity:0.3;} }
@media (prefers-reduced-motion: reduce){
    *{ animation-duration:0.001s !important; animation-iteration-count:1 !important; transition-duration:0.001s !important; }
  }

