@font-face {
  font-family: 'LemonMilkNums';
  src: url('fonts/LEMONMILK-Regular.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0030-0039, U+002C, U+002E, U+0025, U+002B, U+002F;
}
@font-face {
  font-family: 'Lemon Milk';
  src: url('fonts/LEMONMILK-Medium.otf') format('opentype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Lemon Milk';
  src: url('fonts/LEMONMILK-Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Notably Absent';
  src: url('fonts/NotablyAbsent.ttf') format('truetype');
  font-weight: normal; font-style: normal; font-display: swap;
}

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

:root {
  --black:      #0d0d0d;
  --gray:       #1a1a1a;
  --gray2:      #242424;
  --blue:       #0091b3;
  --purple:     #3f0088;
  --green:      #008059;
  --white:      #f5f5f0;
  --muted:      #888;
  --border:     rgba(255,255,255,0.08);
  --border2:    rgba(255,255,255,0.12);
  --blue-dim:   rgba(0,145,179,0.12);
  --purple-dim: rgba(63,0,136,0.15);
  --green-dim:  rgba(0,128,89,0.12);
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'LemonMilkNums', 'Notably Absent', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── NAV ── */
.sl-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3rem;
  background: rgba(13,13,13,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 0.5px solid var(--border);
}

.sl-nav-logo {
  font-family: 'Notably Absent', sans-serif;
  
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.sl-nav-logo span { color: var(--blue); }

.sl-nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.sl-nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.sl-nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.sl-nav-links a.active { color: var(--blue); }

.sl-nav-links a.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 0.45rem 1.1rem;
}
.sl-nav-links a.nav-cta:hover { background: #00aad4; }

.sl-nav-links a.nav-discord {
  color: #5865F2 !important;
}
.sl-nav-links a.nav-discord:hover { color: #7289da !important; }

/* ── GRID BACKGROUND ── */
.sl-grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── PAGE WRAPPER ── */
.sl-page {
  padding-top: 5rem;
  min-height: 100vh;
}

/* ── PAGE HEADER ── */
.sl-page-header {
  padding: 4rem 3rem 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.sl-page-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
  display: block;
}

.sl-page-title {
  font-family: 'Notably Absent', sans-serif;
  
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.sl-page-sub {
  font-size: 0.95rem;
  color: rgba(245,245,240,0.5);
  max-width: 520px;
  line-height: 1.75;
}

/* ── CONTENT AREA ── */
.sl-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 3rem 5rem;
}

/* ── BUTTONS ── */
.sl-btn {
  font-family: 'Lemon Milk', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.65rem 1.4rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.sl-btn-primary { background: var(--blue); color: var(--white); }
.sl-btn-primary:hover { background: #00aad4; transform: translateY(-1px); }

.sl-btn-ghost {
  background: transparent;
  color: var(--white);
  border: 0.5px solid var(--border2);
}
.sl-btn-ghost:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.04); }

/* ── CARDS ── */
.sl-card {
  background: var(--gray);
  border: 0.5px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.sl-card:hover { border-color: var(--border2); }

/* ── TAGS ── */
.sl-tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  display: inline-block;
}
.sl-tag-blue   { background: var(--blue-dim);   color: var(--blue); }
.sl-tag-purple { background: var(--purple-dim);  color: #a78bfa; }
.sl-tag-green  { background: var(--green-dim);   color: #34d399; }
.sl-tag-muted  { background: rgba(255,255,255,0.06); color: var(--muted); }

/* ── DIVIDER ── */
.sl-divider { height: 0.5px; background: var(--border); margin: 1.5rem 0; }

/* ── FOOTER ── */
.sl-footer {
  border-top: 0.5px solid var(--border);
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.sl-footer-logo {
  font-family: 'Notably Absent', sans-serif;
  
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
}
.sl-footer-logo span { color: var(--blue); }

.sl-footer-note {
  font-size: 0.75rem;
  color: var(--muted);
}
.sl-footer-note a { color: var(--muted); text-decoration: none; }
.sl-footer-note a:hover { color: var(--white); }

/* ── HAMBURGER MENU ── */
.sl-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.2s;
}
.sl-nav-toggle:hover { background: rgba(255,255,255,0.06); }
.sl-nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.sl-nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.sl-nav-toggle.open span:nth-child(2) { opacity: 0; }
.sl-nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up   { animation: fadeUp 0.4s ease forwards; }
.fade-up-1 { animation-delay: 0.05s; opacity: 0; }
.fade-up-2 { animation-delay: 0.1s;  opacity: 0; }
.fade-up-3 { animation-delay: 0.15s; opacity: 0; }
.fade-up-4 { animation-delay: 0.2s;  opacity: 0; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* ── NOTICE BOX (used on TOS) ── */
.sl-notice {
  background: var(--purple-dim);
  border: 0.5px solid rgba(63,0,136,0.3);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  font-size: 0.88rem;
  color: rgba(245,245,240,0.65);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.sl-notice strong { color: var(--white); }

/* ══════════════════════════════════════════════
   MOBILE RESPONSIVE — shared breakpoints
   ══════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* NAV */
  .sl-nav {
    padding: 1rem 1.25rem;
    flex-wrap: wrap;
    align-items: center;
  }

  .sl-nav-toggle { display: flex; }

  .sl-nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    width: 100%;
    padding: 0.6rem 0 0.4rem;
    border-top: 0.5px solid var(--border);
    margin-top: 0.75rem;
  }

  .sl-nav-links.open { display: flex; }

  .sl-nav-links li { list-style: none; }

  .sl-nav-links a {
    padding: 0.7rem 0.75rem;
    border-radius: 4px;
    font-size: 0.88rem;
  }

  .sl-nav-links a.nav-cta {
    margin-top: 0.35rem;
    text-align: center;
    justify-content: center;
    display: block;
  }

  /* PAGE */
  .sl-page { padding-top: 4rem; }

  .sl-page-header {
    padding: 2.5rem 1.25rem 1.5rem;
  }

  .sl-page-title {
    font-size: clamp(1.75rem, 7vw, 2.8rem);
  }

  .sl-page-sub {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .sl-content {
    padding: 0 1.25rem 3.5rem;
  }

  /* FOOTER */
  .sl-footer {
    padding: 1.25rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .sl-footer-note { font-size: 0.72rem; line-height: 1.5; }
}

@media (max-width: 400px) {
  .sl-page-title { font-size: 1.75rem; }
  .sl-nav-logo { font-size: 1.25rem; }
}
