/* ---------- SETUP ----------

/* Remove basic style */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }


@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/dm-sans/DMSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/dm-sans/DMSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/dm-sans/DMSans-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Space Grotesk */
@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/fonts/space-grotesk/SpaceGrotesk-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/fonts/space-grotesk/SpaceGrotesk-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Colors */
:root {
  --orange: #F57C2B;
  --orange-light: #FFF3E8;
  --orange-dark: #C45A10;
  --orange-muted: #FAE3CF;
  --ink: #1E1B18;
  --ink-muted: #5A5550;
  --ink-faint: #9A948E;
  --surface: #FFFDF9;
  --surface-warm: #FBF7F1;
  --surface-card: #FFFFFF;
  --border: rgba(30,27,24,0.10);
  --radius: 14px;
  --radius-lg: 22px;
}

/* smoother scrolling */
html { scroll-behavior: smooth; }

/* basic style */
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}



/* ---------- HEADER ---------- */
/* Navbar */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,253,249,0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 0 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nav-logo { 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
}

/* SVG with text */
.nav-logo svg { 
    display: block; 
    margin-left: 8px;
}

/* Navigation Links container */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

/* Navagation Link elements */
.nav-links a {
    font-size: 1rem;
    font-weight: 400;
    color: var(--ink-muted);
    text-decoration: none;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
}

/* Navigation Link states */
.nav-links a:hover { 
    color: var(--ink); 
    background: var(--surface-warm); 
}
.nav-links a.active { 
    color: var(--ink); 
    font-weight: 500; 
}

/* Discord button */
.btn-discord-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--orange);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  transition: background 0.18s, transform 0.12s;
  white-space: nowrap;
  margin-left: 0.5rem;
}

/* Discord button states */
.btn-discord-nav:hover { 
    background: var(--orange-dark); 
    transform: translateY(-1px); 
}

/* buger menu button */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

/* Burger lines */
.burger span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--ink);
      border-radius: 2px;
      transition: transform 0.25s, opacity 0.2s;
}

/* Burger lines x */
.burger.open span:nth-child(1) { 
    transform: translateY(7px) rotate(45deg); 
}
.burger.open span:nth-child(2) { 
    opacity: 0; 
}
.burger.open span:nth-child(3) { 
    transform: translateY(-7px) rotate(-45deg); 
}

/* mobile navbar */
.mobile-menu {
    display: none;
    position: absolute;
    left: 0; right: 0;
    background: var(--surface-card);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.25rem;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(30,27,24,0.07);
}

/* show mobile navbar */
.mobile-menu.open { 
    display: flex; 
}

/* mobile navbar links */
.mobile-menu a {
    color: var(--ink-muted);
    font-size: 1rem;
    text-decoration: none;
    padding: 0.6rem 0.5rem;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}

/* mobile navbar states */
.mobile-menu a:hover { 
    background: var(--surface-warm); 
    color: var(--ink); 
}

/* Discord button mobile */
.mobile-menu .btn-discord-nav {
  margin: 0.5rem 0 0;
  justify-content: center;
  font-size: 1rem;
  padding: 0.7rem 1.5rem;
  color: white;
}



/* ---------- FOOTER ---------- */
/* Footer */
footer {
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--border);
}

/* Inner footer container */
.footer-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* head */
.footer-logo { 
  text-decoration: none; 
  display: flex; 
  align-items: center; 
}

/* link container */
.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

/* link element */
.footer-links a {
  font-size: 0.82rem;
  color: var(--ink-faint);
  text-decoration: none;
  transition: color 0.15s;
}

/* link element states */
.footer-links a:hover { 
  color: var(--ink-muted); 
}

/* copyright */
.footer-copy {
  font-size: 0.78rem;
  color: var(--ink-faint);
  width: 100%;
  margin-top: 0.5rem;
}



/* ---------- GENERAL SECTION STYLE ---------- */
/* padding */
section {
  padding: 5rem 1.5rem;
}

/* inner style */
.container {
  max-width: 860px;
  margin: 0 auto;
}

/* labels */
.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

/* headlines */
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 4.5vw, 2.6rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.25rem;
}



/* ---------- ANIMATIONS ---------- */
/* fly in */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* reveal transition */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

/* reveal visible */
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}



/* ---------- RESPONSIVE ---------- */
@media (max-width: 720px) {
  /* burger */
  .nav-links { 
    display: none; 
  }
  .btn-discord-nav.desktop { 
    display: none; 
  }
  .burger { 
    display: flex; 
  }
  
  /* footer */
  .footer-inner { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 0.75rem; 
  }
}