:root {
  --radius: 0.75rem;
  --background: oklch(13% 0.02 270);
  --foreground: oklch(98% 0.005 250);
  --card: oklch(17% 0.025 270);
  --primary: oklch(66% 0.24 0);
  --primary-foreground: oklch(99% 0 0);
  --muted: oklch(22% 0.03 270);
  --muted-foreground: oklch(70% 0.02 260);
  --border: oklch(28% 0.03 270);
  --pink: #ff2d7a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: var(--background);
  color: var(--foreground);
  min-height: 100%;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px;
  background: #111318;
  border-bottom: 1px solid rgb(255 255 255 / 6%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-sigil {
  width: 28px;
  height: 30px;
  background: var(--pink);
  -webkit-mask: url("assets/Uplift-Games-Sigil.d3b5a1b9.svg") center / contain no-repeat;
  mask: url("assets/Uplift-Games-Sigil.d3b5a1b9.svg") center / contain no-repeat;
}

.brand-word {
  height: 14px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.nav-links a:hover {
  color: var(--pink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.play-btn,
.icon-btn {
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  color: #fff;
}

.play-btn {
  width: 72px;
  height: 40px;
  border-radius: 10px;
  background: var(--pink);
}

.play-btn:hover {
  filter: brightness(1.08);
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--pink) 80%, #7a1038);
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: var(--muted);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px) saturate(1.05);
  transform: scale(1.08);
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    oklab(0.13 0 -0.02 / 0.4) 0%,
    oklab(0.13 0 -0.02 / 0.3) 50%,
    oklch(0.13 0.02 270) 100%
  );
}

.hero-inner {
  width: min(920px, calc(100% - 40px));
  text-align: center;
  padding: 72px 0 48px;
}

.hero-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--pink) 18%, transparent);
  color: var(--pink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: normal;
  color: var(--pink);
}

.hero-lead {
  max-width: 640px;
  margin: 22px auto 28px;
  color: #ffffffb3;
  font-size: 18px;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
}

.btn-primary {
  background: var(--pink);
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-ghost {
  background: rgb(18 18 22 / 0.72);
  color: #fff;
  border: 1px solid rgb(255 255 255 / 10%);
}

.stats {
  margin: 56px auto 0;
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: rgb(18 18 22 / 0.72);
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 999px;
  overflow: hidden;
}

.stats > div {
  padding: 18px 10px;
}

.stats > div + div {
  border-left: 1px solid rgb(255 255 255 / 10%);
}

.stats strong {
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: 28px;
  font-weight: 800;
}

.stats span {
  display: block;
  margin-top: 4px;
  color: var(--muted-foreground);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.discover,
.faq {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0 40px;
  scroll-margin-top: 80px;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-head h2 {
  font-family: Montserrat, sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-head p {
  margin-top: 10px;
  color: var(--muted-foreground);
}

.kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--muted-foreground);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

.dot.green { background: #22c55e; }
.dot.yellow { background: #eab308; }
.dot.red { background: #ef4444; }

.avatars {
  display: flex;
  gap: 8px;
}

.avatars img,
.avatars .more {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #11151c;
  border: 2px solid #1b2130;
}

.avatars .more {
  display: grid;
  place-items: center;
  background: #2a2f3a;
  color: #d5d8e0;
  font-size: 12px;
  font-weight: 700;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.server-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
}

.card-title h3 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tags span {
  background: #1d2230;
  color: #e8ebf3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 8px;
  border-radius: 6px;
}

.card p {
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
}

.join-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 10px;
  background: var(--pink);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.join-card:hover {
  filter: brightness(1.08);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: var(--card);
  border: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  border-radius: 14px;
  padding: 0 18px;
}

summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  font-weight: 700;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform: rotate(225deg);
}

details p {
  padding: 0 0 18px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.footer {
  padding: 48px 20px 64px;
  text-align: center;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  display: grid;
  place-items: center;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(720px, 100%);
  margin: 0 auto;
}

.footer-links a {
  display: block;
  color: var(--muted-foreground);
  font-size: 13px;
  padding: 4px 0;
}

.footer-links a:hover {
  color: #fff;
}

@media (max-width: 960px) {
  .server-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #111318;
    padding: 8px 0 16px;
    border-bottom: 1px solid rgb(255 255 255 / 6%);
  }

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

  .nav-links a {
    width: 100%;
    padding: 12px 22px;
  }

  .menu-btn {
    display: grid;
    place-items: center;
  }

  .stats {
    border-radius: 18px;
    grid-template-columns: 1fr;
  }

  .stats > div + div {
    border-left: 0;
    border-top: 1px solid rgb(255 255 255 / 10%);
  }
}
