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

html {
  scroll-behavior: smooth;
}

:root {
  --bg: #050505;
  --card: #0d0d10;
  --purple: #7c3aed;
  --purple2: #9f5cff;
  --yellow: #ffd166;
  --text: #ffffff;
  --muted: rgba(255,255,255,.62);
  --line: rgba(255,255,255,.1);
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

/* nav */

.nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1080px, calc(100% - 36px));
  z-index: 100;
  padding: 0 10px 0 22px;
  height: 76px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10,10,12,.78);
  backdrop-filter: blur(24px);
  box-shadow: 0 24px 90px rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand, .footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  font-size: 17px;
}

.brand img, .footer-brand img { width: 34px; height: 34px; object-fit: contain; }

.nav-links {
  display: flex;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
}

.nav-links a {
  padding: 12px 20px;
  border-radius: 999px;
  color: rgba(255,255,255,.58);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover { color: #fff; background: rgba(124,58,237,.35); }

.nav-btn {
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  box-shadow: 0 0 40px rgba(124,58,237,.25);
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  content: "";
  display: block;
  width: 15px;
  height: 1.5px;
  background: #fff;
  position: relative;
}
.menu-btn span::before { position: absolute; top: -5px; }
.menu-btn span::after { position: absolute; top: 5px; }

.nav-drop {
  display: none;
  position: fixed;
  top: 104px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1080px, calc(100% - 36px));
  z-index: 99;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(10,10,12,.96);
  backdrop-filter: blur(24px);
  flex-direction: column;
  gap: 6px;
}

.nav-drop.open { display: flex; }

.nav-drop a {
  padding: 12px 14px;
  border-radius: 14px;
  color: rgba(255,255,255,.75);
  font-size: 15px;
  font-weight: 700;
}

.nav-drop a:hover { background: rgba(124,58,237,.25); color: #fff; }

/* buttons */

.btn {
  height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 900;
}

.btn.primary {
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  box-shadow: 0 0 40px rgba(124,58,237,.25);
}

.btn.secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.045);
}

.btn.discord {
  background: #5865f2;
  box-shadow: 0 0 40px rgba(88,101,242,.25);
}

.ic-dc { width: 18px; height: 18px; fill: #fff; flex-shrink: 0; }

/* hero */

.hero {
  position: relative;
  padding: 190px 0 90px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at center, rgba(124,58,237,.16), transparent 45%);
}

.eyebrow {
  color: rgba(255,255,255,.66);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(38px, 6.2vw, 78px);
  line-height: .98;
  letter-spacing: -.04em;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 .acc {
  background: linear-gradient(135deg, var(--purple2), var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  margin: 24px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 550;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 14px;
}

/* skills row */

.skills {
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}

.skills-in {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.skills-in span {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: 999px;
  padding: 9px 16px;
}

/* section shells */

.how, .panels, .cta {
  padding: 110px 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 900;
}

.section-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.6;
  font-weight: 550;
}

/* step cards */

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card {
  padding: 32px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(124,58,237,.16), transparent 34%),
    rgba(255,255,255,.035);
  transition: .3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(159,92,255,.42);
  box-shadow: 0 30px 90px rgba(124,58,237,.16);
}

.step-n {
  display: inline-flex;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: rgba(124,58,237,.16);
  border: 1px solid rgba(159,92,255,.24);
  color: var(--purple2);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 34px;
}

.step-card h3 { font-size: 21px; font-weight: 900; letter-spacing: -.02em; margin-bottom: 10px; }
.step-card p { color: rgba(255,255,255,.58); font-size: 15px; line-height: 1.6; font-weight: 550; }

/* owner / dev panels */

.panels { padding-top: 0; }

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 90px 0;
}

.panel-grid + .panel-grid { border-top: 1px solid var(--line); }

.panel-r .panel-txt { order: 2; }
.panel-r .mock-card { order: 1; }

.panel-txt .eyebrow { margin-bottom: 14px; }

.panel-txt h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -.03em;
  font-weight: 900;
  margin-bottom: 16px;
}

.panel-txt p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  font-weight: 550;
  margin-bottom: 22px;
}

.chk { list-style: none; margin-bottom: 28px; display: grid; gap: 12px; }

.chk li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  font-weight: 600;
  color: #d8d8da;
}

.chk li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(124,58,237,.18);
  border: 1px solid rgba(159,92,255,.4);
}

.chk li::after {
  content: "✓";
  position: absolute;
  left: 2.5px;
  top: 3.5px;
  font-size: 9px;
  color: var(--purple2);
  font-weight: 900;
}

/* mock cards */

.mock-card {
  padding: 26px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--card);
  transition: .3s ease;
}

.mock-card:hover {
  transform: translateY(-6px);
  border-color: rgba(159,92,255,.42);
  box-shadow: 0 30px 90px rgba(124,58,237,.14);
}

.mc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }

.mc-badge {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(255,209,102,.12);
  border: 1px solid rgba(255,209,102,.3);
  padding: 6px 12px;
  border-radius: 999px;
}

.mc-price { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 14px; font-weight: 700; }

.mc-bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.06); margin-bottom: 10px; }
.mc-bar.w85 { width: 85%; }
.mc-bar.w60 { width: 60%; }
.mc-bar.w40 { width: 40%; }

.mc-tags { display: flex; gap: 8px; margin: 18px 0 4px; }
.mc-tags span {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
}

.mc-foot { display: flex; align-items: center; gap: 12px; }

.mc-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  flex-shrink: 0;
}

.mc-name { font-size: 14px; font-weight: 800; }
.mc-sub { font-size: 12.5px; color: var(--muted); font-weight: 600; }

.mc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.mc-grid span {
  aspect-ratio: 1;
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--line);
}

/* cta / join */

.join-card {
  padding: 70px;
  border-radius: 34px;
  border: 1px solid rgba(159,92,255,.24);
  background:
    radial-gradient(circle at 90% 20%, rgba(124,58,237,.2), transparent 30%),
    linear-gradient(135deg, #090909, #111016);
  text-align: center;
}

.join-card h2 {
  font-size: clamp(28px, 4vw, 44px);
  max-width: 640px;
  margin: 0 auto 16px;
  letter-spacing: -.03em;
  font-weight: 900;
}

.join-card p {
  max-width: 520px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 550;
}

.join-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* legal page */

.lgh { padding: 170px 0 40px; text-align: center; border-bottom: 1px solid var(--line); }
.lgh h1 { font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -.03em; font-weight: 900; margin-bottom: 12px; text-transform: uppercase; }
.lgh-sub { color: var(--muted); font-size: 13.5px; font-weight: 600; }

.lgl { padding: 60px 0 100px; }
.lgl-in { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }

.lg-b {
  padding: 26px 28px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}

.lg-b h2 { font-size: 17px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 8px; }
.lg-b p { color: var(--muted); font-size: 15px; line-height: 1.65; font-weight: 500; }
.lg-b .btn { margin-top: 18px; }

/* footer */

footer { padding: 80px 0 36px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px;
}

.footer-grid p, .footer-grid a { color: rgba(255,255,255,.5); line-height: 1.6; font-weight: 550; font-size: 14px; }
.footer-grid a:hover { color: #fff; }

.footer-grid h4 {
  color: rgba(255,255,255,.36);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-grid div:not(:first-child) a { display: block; margin-bottom: 12px; }

.copyright {
  border-top: 1px solid var(--line);
  margin-top: 54px;
  padding-top: 24px;
  color: rgba(255,255,255,.28);
  font-size: 12.5px;
  font-weight: 600;
}

/* mobile */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-btn { display: none; }
  .menu-btn { display: flex; }

  .step-grid { grid-template-columns: 1fr; }
  .panel-grid { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
  .panel-r .panel-txt, .panel-r .mock-card { order: initial; }

  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }

  .join-card { padding: 40px 28px; }

  .hero { padding: 150px 0 70px; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions, .join-actions { flex-direction: column; }
  .btn { width: 100%; }
}
