/* css/legal.css — Shared styles for About, Privacy, Terms pages */

:root {
  --navy:      #0D1117;
  --panel:     #141B24;
  --panel2:    #1C2534;
  --panel3:    #232f42;
  --border:    #243044;
  --gold:      #F0A500;
  --gold-dim:  #c88a00;
  --gold-glow: rgba(240,165,0,0.18);
  --gem:       #7B61FF;
  --gem-glow:  rgba(123,97,255,0.25);
  --text:      #E8EAF0;
  --muted:     #8A95A8;
  --radius:    12px;
  --radius-sm: 7px;
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ──────────── SCROLLBAR ──────────── */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

/* ──────────── HEADER ──────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,17,23,0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(36,48,68,0.6);
  position: relative; z-index: 1;
}
.header-inner {
  max-width: 1260px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.gem-icon { font-size: 1.7rem; line-height: 1; }
.gem-icon.small { font-size: 1.25rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--gold); }
.brand-sub { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.back-link {
  margin-left: auto;
  color: var(--muted); text-decoration: none; font-size: 0.88rem;
  padding: 7px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: color var(--transition), border-color var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.back-link:hover { color: var(--text); border-color: var(--muted); }

/* ──────────── PAGE CONTENT ──────────── */
.legal-page {
  position: relative; z-index: 1;
  max-width: 780px; margin: 0 auto;
  padding: 60px 24px 100px;
}

.legal-hero {
  text-align: center; margin-bottom: 48px;
  padding-bottom: 32px; border-bottom: 1px solid var(--border);
}
.legal-icon { font-size: 3rem; display: block; margin-bottom: 16px; }
.legal-hero h1 {
  font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700;
  color: var(--text); margin-bottom: 8px;
}
.legal-sub { color: var(--muted); font-size: 0.88rem; }

.legal-body h2 {
  font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700;
  color: var(--gold); margin: 32px 0 12px;
}
.legal-body p { color: var(--muted); line-height: 1.7; margin-bottom: 12px; font-size: 0.92rem; }
.legal-body ul { color: var(--muted); line-height: 1.7; margin: 0 0 12px 20px; font-size: 0.92rem; }
.legal-body ul li { margin-bottom: 6px; }
.legal-body strong { color: var(--text); }
.legal-link { color: var(--gold); text-decoration: none; }
.legal-link:hover { text-decoration: underline; }

/* ──────────── ABOUT STYLES ──────────── */
.about-founder {
  display: flex; gap: 28px; align-items: flex-start;
  background: rgba(28,37,52,0.5); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; margin-bottom: 40px;
}
@media (max-width: 540px) { .about-founder { flex-direction: column; align-items: center; text-align: center; } }
.founder-avatar {
  font-size: 4rem; line-height: 1;
  background: rgba(240,165,0,0.1); border: 1px solid rgba(240,165,0,0.2);
  border-radius: 50%; width: 90px; height: 90px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.founder-name {
  font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700;
  color: var(--text); margin-bottom: 4px;
}
.founder-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold); background: var(--gold-glow);
  border: 1px solid rgba(240,165,0,0.25); border-radius: 99px;
  padding: 2px 10px; margin-bottom: 12px;
}
.founder-info p { color: var(--muted); line-height: 1.7; font-size: 0.92rem; margin-bottom: 10px; }

.about-section { margin-bottom: 40px; }
.about-section h2 {
  font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700;
  color: var(--text); margin-bottom: 12px;
}
.about-section > p { color: var(--muted); line-height: 1.7; font-size: 0.92rem; margin-bottom: 24px; }

.mission-pillars {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 16px;
}
.pillar {
  background: rgba(28,37,52,0.5); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; text-align: center;
}
.pillar-icon { font-size: 2rem; display: block; margin-bottom: 10px; }
.pillar h3 { font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.pillar p { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

.team-card {
  background: rgba(28,37,52,0.5); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.team-role {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  font-size: 0.9rem; color: var(--text);
}
.team-role:last-child { border-bottom: none; }
.role-badge {
  font-size: 0.72rem; font-weight: 600; padding: 2px 10px;
  border-radius: 99px; background: rgba(28,37,52,0.8);
  border: 1px solid var(--border); color: var(--muted); white-space: nowrap;
}
.role-badge.lead { border-color: rgba(240,165,0,0.3); color: var(--gold); background: var(--gold-glow); }

.contact-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-discord {
  display: flex; align-items: center; gap: 7px;
  background: #5865F2; color: #fff;
  padding: 10px 18px; border-radius: var(--radius-sm);
  font-size: 0.88rem; font-weight: 600; text-decoration: none;
  transition: background var(--transition);
}
.btn-discord:hover { background: #4752c4; }
.btn-email {
  display: flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--border);
  color: var(--muted); padding: 10px 18px; border-radius: var(--radius-sm);
  font-size: 0.88rem; font-weight: 500; text-decoration: none;
  transition: all var(--transition);
}
.btn-email:hover { border-color: var(--gold); color: var(--gold); }

/* ──────────── FOOTER ──────────── */
.site-footer {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(36,48,68,0.5);
  padding: 28px 24px;
  background: rgba(10,13,20,0.5);
  backdrop-filter: blur(8px);
}
.footer-inner {
  max-width: 1260px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-note { font-size: 0.78rem; color: var(--muted); }
.footer-links { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.footer-text-link { color: var(--muted); text-decoration: none; font-size: 0.8rem; transition: color var(--transition); }
.footer-text-link:hover { color: var(--gold); }
