:root {
  color-scheme: dark;
  --bg: #050506;
  --surface: rgba(11, 11, 13, 0.94);
  --title: rgba(9, 9, 9, 0.95);
  --row: rgba(255, 255, 255, 0.045);
  --row-strong: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.12);
  --hairline: rgba(255, 255, 255, 0.08);
  --text: #f0f0f0;
  --muted: #9a9a9a;
  --dim: #5a5a5a;
  --accent: #fb8c00;
  --accent-hot: #ffa126;
  --accent-dark: #c25e00;
  --accent-bg: rgba(251, 140, 0, 0.18);
  --green: #4ade80;
  --red: #ef4444;
  --amber: #fbbf24;
  --discord: #5865f2;
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(251, 140, 0, 0.08), rgba(5, 5, 6, 0) 260px),
    var(--bg);
  color: var(--text);
  font-family: Segoe UI, Arial, sans-serif;
}

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

.button,
.hero-actions {
  display: inline-flex;
  align-items: center;
}

.button {
  gap: 9px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 6px;
  font-family: Consolas, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
}

.discord-glyph {
  position: relative;
  display: inline-block;
  width: 15px;
  height: 11px;
  border-radius: 5px 5px 6px 6px;
  background: currentColor;
}

.discord-glyph::before,
.discord-glyph::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #050506;
}

.discord-glyph::before {
  left: 4px;
}

.discord-glyph::after {
  right: 4px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.18fr);
  gap: 34px;
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  min-height: 620px;
  margin: 0 auto;
  padding: 66px 0 28px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: Consolas, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: #ffffff;
  font-family: Segoe UI, Arial, sans-serif;
  font-size: 76px;
  line-height: 0.95;
  font-weight: 800;
}

.hero-lede {
  max-width: 620px;
  margin: 24px 0 0;
  color: #cfcfcf;
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-width: 162px;
  justify-content: center;
  border: 1px solid transparent;
}

.button.primary {
  color: #080808;
  background: var(--accent);
  box-shadow: 0 0 24px rgba(251, 140, 0, 0.22);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent-hot);
  outline: none;
}

.button.secondary {
  color: #f5f7ff;
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgba(251, 140, 0, 0.5);
  color: var(--accent-hot);
  outline: none;
}

.button-icon {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 1;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.interface-preview {
  position: relative;
  display: block;
  width: min(112%, 760px);
  margin-left: -4%;
  max-height: 620px;
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.5));
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
  border-top: 1px solid var(--hairline);
}

.section-heading {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin-bottom: 28px;
}

.section-heading.compact-heading {
  grid-template-columns: minmax(0, 1fr);
}

.section-heading h2 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: 38px;
  line-height: 1.12;
}

.feature-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 14px;
  margin-bottom: 18px;
}

.feature-panel {
  position: relative;
  min-height: 352px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(251, 140, 0, 0.14), rgba(255, 255, 255, 0.035) 44%, rgba(255, 255, 255, 0.055)),
    var(--row);
  border: 1px solid rgba(251, 140, 0, 0.28);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-panel::before,
.feature-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.feature-panel::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.8), transparent 70%);
}

.feature-panel::after {
  z-index: 0;
  left: auto;
  right: 18px;
  top: 18px;
  bottom: 18px;
  width: min(46%, 390px);
  opacity: 0.76;
}

.feature-showcase[data-feature-theme="visuals"] .feature-panel::after {
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(109, 180, 255, 0.18) 18% 19%, transparent 19% 100%),
    linear-gradient(180deg, transparent 0 27%, rgba(109, 180, 255, 0.14) 27% 28%, transparent 28% 100%),
    linear-gradient(135deg, transparent 0 55%, rgba(255, 255, 255, 0.08) 55% 56%, transparent 56%),
    repeating-linear-gradient(0deg, rgba(109, 180, 255, 0.1) 0 1px, transparent 1px 14px);
  border: 1px solid rgba(109, 180, 255, 0.14);
  border-radius: 8px;
  mask-image: linear-gradient(90deg, transparent, #000 34%, #000);
}

.feature-showcase[data-feature-theme="movement"] .feature-panel::after {
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(251, 140, 0, 0.32) 18% 20%, transparent 20% 33%, rgba(255, 255, 255, 0.1) 33% 34%, transparent 34% 100%),
    linear-gradient(115deg, transparent 0 48%, rgba(109, 180, 255, 0.14) 48% 50%, transparent 50% 100%),
    repeating-linear-gradient(115deg, transparent 0 22px, rgba(255, 255, 255, 0.06) 22px 23px, transparent 23px 46px);
  filter: blur(0.1px);
  mask-image: linear-gradient(90deg, transparent, #000 26%, #000);
}

.feature-showcase[data-feature-theme="world"] .feature-panel::after {
  background:
    radial-gradient(ellipse at 74% 30%, transparent 0 18%, rgba(74, 222, 128, 0.16) 18.5% 19.5%, transparent 20%),
    radial-gradient(ellipse at 55% 58%, transparent 0 25%, rgba(74, 222, 128, 0.12) 25.5% 26.5%, transparent 27%),
    linear-gradient(rgba(74, 222, 128, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 222, 128, 0.07) 1px, transparent 1px);
  background-size: auto, auto, 34px 34px, 34px 34px;
  border-radius: 50%;
  mask-image: radial-gradient(circle at 70% 50%, #000, transparent 72%);
}

.feature-showcase[data-feature-theme="entities"] .feature-panel::after {
  background:
    linear-gradient(rgba(109, 180, 255, 0.18), rgba(109, 180, 255, 0.18)) 16% 22% / 92px 1px no-repeat,
    linear-gradient(90deg, rgba(109, 180, 255, 0.18), rgba(109, 180, 255, 0.18)) 16% 22% / 1px 78px no-repeat,
    linear-gradient(rgba(251, 140, 0, 0.28), rgba(251, 140, 0, 0.28)) 70% 34% / 118px 1px no-repeat,
    linear-gradient(90deg, rgba(251, 140, 0, 0.28), rgba(251, 140, 0, 0.28)) 70% 34% / 1px 96px no-repeat,
    radial-gradient(circle at 30% 30%, rgba(109, 180, 255, 0.42) 0 4px, transparent 5px),
    radial-gradient(circle at 62% 42%, rgba(251, 140, 0, 0.42) 0 4px, transparent 5px),
    radial-gradient(circle at 45% 68%, rgba(255, 255, 255, 0.24) 0 3px, transparent 4px),
    linear-gradient(34deg, transparent 0 45%, rgba(255, 255, 255, 0.08) 45.5% 46.5%, transparent 47%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  mask-image: linear-gradient(90deg, transparent, #000 24%, #000);
}

.feature-showcase[data-feature-theme="keybinds"] .feature-panel::after {
  background:
    linear-gradient(rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.09)) 0 0 / 54px 38px,
    repeating-linear-gradient(90deg, transparent 0 62px, rgba(255, 255, 255, 0.12) 62px 63px, transparent 63px 78px),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(255, 255, 255, 0.12) 46px 47px, transparent 47px 62px);
  border-radius: 8px;
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000);
}

.feature-showcase[data-feature-theme="profiles"] .feature-panel::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035)) 12% 12% / 74% 24% no-repeat,
    linear-gradient(180deg, rgba(109, 180, 255, 0.16), rgba(109, 180, 255, 0.04)) 4% 38% / 82% 24% no-repeat,
    linear-gradient(180deg, rgba(251, 140, 0, 0.2), rgba(251, 140, 0, 0.045)) 18% 64% / 72% 24% no-repeat;
  border-radius: 8px;
  mask-image: linear-gradient(90deg, transparent, #000 24%, #000);
}

.feature-showcase[data-feature-theme="chat"] .feature-panel::after {
  background:
    linear-gradient(90deg, rgba(109, 180, 255, 0.18), rgba(109, 180, 255, 0.04)) 18% 18% / 76% 42px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)) 4% 43% / 66% 42px no-repeat,
    linear-gradient(90deg, rgba(251, 140, 0, 0.26), rgba(251, 140, 0, 0.05)) 24% 68% / 68% 42px no-repeat,
    radial-gradient(circle at 12% 25%, rgba(109, 180, 255, 0.42) 0 4px, transparent 5px),
    radial-gradient(circle at 82% 75%, rgba(251, 140, 0, 0.4) 0 4px, transparent 5px);
  border-radius: 8px;
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000);
}

.feature-showcase[data-feature-theme="modules"] .feature-panel::after {
  background:
    linear-gradient(rgba(251, 140, 0, 0.2), rgba(251, 140, 0, 0.06)) 8% 8% / 38% 28% no-repeat,
    linear-gradient(rgba(109, 180, 255, 0.16), rgba(109, 180, 255, 0.04)) 54% 8% / 38% 28% no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)) 8% 64% / 38% 28% no-repeat,
    linear-gradient(rgba(74, 222, 128, 0.13), rgba(74, 222, 128, 0.035)) 54% 64% / 38% 28% no-repeat,
    linear-gradient(90deg, transparent 0 46%, rgba(255, 255, 255, 0.12) 46% 47%, transparent 47%),
    linear-gradient(0deg, transparent 0 46%, rgba(255, 255, 255, 0.12) 46% 47%, transparent 47%);
  border-radius: 8px;
  mask-image: linear-gradient(90deg, transparent, #000 26%, #000);
}

.feature-meta,
.feature-copy,
.feature-tags {
  position: relative;
  z-index: 1;
}

.feature-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.feature-count {
  color: var(--accent-hot);
  font-family: Consolas, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
}

.feature-copy {
  max-width: 720px;
  margin-top: 58px;
}

.feature-copy h3 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: 46px;
  line-height: 1.02;
}

.feature-copy p:last-child {
  max-width: 650px;
  margin: 18px 0 0;
  color: #d4d4d4;
  font-size: 18px;
  line-height: 1.62;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.feature-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 10px;
  color: #f3f3f3;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  font-family: Consolas, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
}

.feature-rail button {
  border: 1px solid var(--hairline);
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.feature-rail {
  display: grid;
  gap: 8px;
}

.feature-rail button {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: #cfcfcf;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  font-family: Consolas, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}

.feature-rail button:hover,
.feature-rail button:focus-visible,
.feature-rail button.active {
  color: var(--accent-hot);
  background: var(--accent-bg);
  border-color: rgba(251, 140, 0, 0.45);
  outline: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-family: Consolas, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
}

.pill.live {
  color: var(--accent-hot);
  background: var(--accent-bg);
  border-color: rgba(251, 140, 0, 0.5);
}

.access-section {
  padding-top: 68px;
}

.access-section .section-heading h2 {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.access-layout {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.access-copy {
  padding: 24px 0;
}

.access-copy p {
  max-width: 560px;
  margin: 0 auto 24px;
  color: #cfcfcf;
  font-size: 17px;
  line-height: 1.65;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 14px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 34px;
  color: var(--muted);
  border-top: 1px solid var(--hairline);
  font-family: Consolas, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 48px;
  }

  .interface-preview {
    width: 100%;
    margin-left: 0;
  }

  h1 {
    font-size: 58px;
  }

  .section-heading,
  .feature-showcase {
    grid-template-columns: 1fr;
  }

  .feature-copy {
    margin-top: 44px;
  }

  .feature-copy h3 {
    font-size: 38px;
  }

  .feature-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

}

@media (max-width: 620px) {
  .hero,
  .section,
  .site-footer {
    width: calc(100% - 28px);
    padding-left: 0;
    padding-right: 0;
  }

  h1 {
    font-size: 46px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .feature-panel {
    min-height: 0;
    padding: 18px;
  }

  .feature-meta {
    align-items: flex-start;
  }

  .feature-copy {
    margin-top: 34px;
  }

  .feature-copy h3 {
    font-size: 31px;
  }

  .feature-copy p:last-child {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .feature-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
