:root{
  --orange:#f97316;        /* accent */
  --orange-600:#ea580c;
  --grey-50:#f9fafb;
  --grey-100:#f3f4f6;
  --grey-200:#e5e7eb;
  --grey-600:#4b5563;
  --grey-700:#374151;
  --grey-800:#1f2937;
  --black:#0b0f16;
  --radius:14px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--grey-800);
  background: linear-gradient(180deg, var(--grey-50), #ffffff);
  line-height:1.6;
}

/* Container */
.container{max-width:1100px;margin:0 auto;padding:0 1.2rem}

/* Header / Scrolling Menu */
.header{
  position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.8);
  backdrop-filter: blur(8px);
  border-bottom:1px solid var(--grey-200);
  transition: box-shadow .2s ease, background .2s ease, transform .2s ease;
}
.header.scrolled{box-shadow:0 8px 24px rgba(0,0,0,.06);background:rgba(255,255,255,.95)}
.nav{
  display:flex;align-items:center;justify-content:space-between;
  height:64px;
}
.brand a{
  display:flex;align-items:center;gap:.6rem;text-decoration:none;color:var(--black);font-weight:800;letter-spacing:.3px
}
.badge{display:inline-block;background:var(--black);color:white;border-radius:999px;padding:.2rem .5rem;font-size:.7rem}
.menu{display:flex;align-items:center;gap:.25rem}
.menu a{
  text-decoration:none;color:var(--grey-700);
  padding:.5rem .75rem;border-radius:.6rem;font-weight:600
}
.menu a:hover{background:var(--grey-100)}
.menu a.active{background:var(--black);color:white}
.cta-top{
  background:var(--orange);color:#fff;border:0;border-radius:999px;
  padding:.55rem .9rem;font-weight:700;cursor:pointer
}
.cta-top:hover{background:var(--orange-600)}

/* Mobile nav */
.hamburger{display:none;cursor:pointer;border:1px solid var(--grey-200);border-radius:10px;padding:.45rem}
.hamburger span{display:block;width:20px;height:2px;background:var(--grey-800);margin:4px 0;border-radius:2px}
.mobile{display:none}
@media (max-width: 800px){
  .menu{display:none}
  .hamburger{display:block}
  .mobile{display:block;border-top:1px solid var(--grey-200);background:#fff}
  .mobile a{display:block;padding:.9rem 1rem;border-bottom:1px solid var(--grey-100);text-decoration:none;color:var(--grey-800)}
  .mobile a:hover{background:var(--grey-100)}
}

/* Hero */
.hero{padding:3.2rem 0 1.6rem}
.hero h1{
  font-size:clamp(2rem,5vw,3.2rem);
  letter-spacing:-0.02em;
  color:var(--black);
  font-weight:900;
}
.hero p{color:var(--grey-600);max-width:70ch;margin-top:.6rem}
.hero .cta{
  margin-top:1rem;display:inline-block;background:var(--orange);color:#fff;
  padding:.8rem 1rem;border-radius:12px;text-decoration:none;font-weight:800
}
.hero .cta:hover{background:var(--orange-600)}

/* Section titles */
.section-title{display:flex;align-items:center;gap:.6rem;margin-top:2rem;margin-bottom:.5rem}
.section-title .dot{width:10px;height:10px;background:var(--orange);border-radius:999px}
.section-title h2{font-size:1.3rem;color:var(--black)}

/* Cards */
.grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));margin-top:1rem}
.card{
  background:white;border:1px solid var(--grey-200);border-radius:var(--radius);
  padding:1.1rem;box-shadow:0 4px 12px rgba(0,0,0,.04)
}
.card h3{font-size:1.05rem;margin-bottom:.35rem}
.card p{color:var(--grey-600)}

/* --- Social links --- */
.links { display: flex; align-items: center; gap: 1rem; }
.links a { text-decoration: none; color: var(--grey-700); }
.links a:hover { color: var(--black); }

.links .social {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .6rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--grey-200);
  color: var(--grey-700);
}
.links .social .icon { width: 22px; height: 22px; color: #6b7280; }
.links .social:hover { border-color: #e0e7ff; background: #f8fafc; color: #111827; }
.links .social:hover .icon { color: #5865F2; } /* Discord brand hover */


/* Footer */
.footer{margin-top:2rem;background:#fff;border-top:1px solid var(--grey-200)}
.footer .inner{display:flex;justify-content:space-between;align-items:center;gap:.6rem;flex-wrap:wrap;padding:1rem 0}
.footer .links a{text-decoration:none;color:var(--grey-700);margin-left:1rem}
.footer .links a:hover{color:var(--black)}

/* Utilities */
.mt-2{margin-top:.5rem}
.mt-3{margin-top:.75rem}
.mt-4{margin-top:1rem}
