:root {
  --bg: #070a09;
  --surface: #0d1210;
  --surface-2: #111814;
  --border: rgba(255,255,255,.08);

  --text: #f4f7f5;
  --muted: #8f9b94;

  --green: #24e06f;
  --green-dark: #13b756;

  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 70% -10%, rgba(36,224,111,.08), transparent 35%),
    var(--bg);

  color: var(--text);

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  line-height: 1.6;
}

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

.nav {
  max-width: var(--max);
  height: 82px;

  margin: 0 auto;
  padding: 0 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 900;
  font-size: 21px;
  letter-spacing: .18em;
}

.nav nav {
  display: flex;
  gap: 28px;
}

.nav nav a {
  color: var(--muted);
  font-size: 14px;
  transition: .2s;
}

.nav nav a:hover {
  color: white;
}

.hero {
  max-width: var(--max);

  min-height: 610px;

  margin: 0 auto;
  padding: 110px 24px;

  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  display: inline-block;

  margin-bottom: 16px;

  color: var(--green);

  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

h1 {
  margin: 0;

  font-size: clamp(46px, 7vw, 82px);
  line-height: .98;
  letter-spacing: -.055em;
}

.hero p {
  max-width: 620px;

  margin: 28px 0 36px;

  color: var(--muted);

  font-size: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;

  padding: 0 22px;

  background: var(--green);
  color: #061109;

  border-radius: 12px;

  font-size: 14px;
  font-weight: 800;

  transition: .2s;
}

.button:hover {
  background: #48ee87;
  transform: translateY(-1px);
}

.section {
  max-width: var(--max);

  margin: 0 auto;
  padding: 100px 24px;
}

.section-heading {
  margin-bottom: 36px;
}

h2 {
  margin: 0;

  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -.04em;
}

.projects {
  display: grid;
  grid-template-columns: 1.4fr 1fr;

  gap: 18px;
}

.project-card {
  min-height: 330px;

  padding: 32px;

  border: 1px solid var(--border);
  border-radius: 22px;

  background: var(--surface);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  transition: .2s;
}

.project-card:hover {
  border-color: rgba(255,255,255,.15);
  transform: translateY(-2px);
}

.project-card.featured {
  background:
    radial-gradient(circle at 100% 0%, rgba(36,224,111,.12), transparent 45%),
    var(--surface);
}

.project-type {
  color: var(--green);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.project-card h3 {
  margin: 10px 0 12px;

  font-size: 36px;
  letter-spacing: -.04em;
}

.project-card p {
  max-width: 550px;

  margin: 0;

  color: var(--muted);
}

.project-link {
  margin-top: 40px;

  color: var(--green);

  font-size: 14px;
  font-weight: 700;
}

footer {
  max-width: var(--max);

  margin: 70px auto 0;
  padding: 32px 24px 50px;

  border-top: 1px solid var(--border);

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: var(--muted);

  font-size: 13px;
}

footer div {
  display: flex;
  gap: 24px;
}


/* ClubOwn */

.game-hero {
  max-width: var(--max);

  margin: 0 auto;
  padding: 110px 24px 90px;
}

.game-hero h1 {
  max-width: 900px;
}

.game-hero .tagline {
  margin: 24px 0 10px;

  color: var(--green);

  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
}

.game-hero p {
  max-width: 700px;

  color: var(--muted);

  font-size: 18px;
}

.game-features {
  max-width: var(--max);

  margin: 0 auto;
  padding: 20px 24px 110px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 16px;
}

.feature {
  padding: 26px;

  border: 1px solid var(--border);
  border-radius: 18px;

  background: var(--surface);
}

.feature h3 {
  margin: 0 0 8px;

  font-size: 18px;
}

.feature p {
  margin: 0;

  color: var(--muted);

  font-size: 14px;
}


/* Legal */

.legal {
  max-width: 860px;

  margin: 0 auto;
  padding: 80px 24px 120px;
}

.legal h1 {
  margin-bottom: 15px;

  font-size: clamp(38px, 6vw, 60px);
}

.legal .updated {
  margin-bottom: 48px;

  color: var(--muted);

  font-size: 14px;
}

.legal h2 {
  margin: 46px 0 14px;

  font-size: 23px;
  letter-spacing: -.02em;
}

.legal p,
.legal li {
  color: #b2bbb6;
}

.legal ul {
  padding-left: 22px;
}


/* Mobile */

@media (max-width: 800px) {

  .nav {
    height: 68px;
  }

  .nav nav {
    gap: 14px;
  }

  .hero {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .projects {
    grid-template-columns: 1fr;
  }

  .game-features {
    grid-template-columns: 1fr;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  footer div {
    flex-direction: column;
    gap: 8px;
  }
}
