:root {
  --site-bg: #070a0f;
  --site-panel: #0c1118;
  --site-panel-2: #101720;
  --site-line: #223044;
  --site-line-soft: rgba(148, 165, 190, 0.16);
  --site-text: #eef5ff;
  --site-muted: #96a5b9;
  --site-cyan: #42d8ff;
  --site-green: #2fe078;
  --site-gold: #f1c75b;
  --site-red: #ff4f72;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--site-text);
  background: var(--site-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 2px;
  pointer-events: none;
}

.site-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--site-cyan), var(--site-green), var(--site-gold));
  transform: scaleX(0);
  transform-origin: left center;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 0 max(28px, calc((100% - 1280px) / 2));
  border-bottom: 1px solid transparent;
  transition: min-height 180ms ease, background-color 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.scrolled {
  min-height: 62px;
  border-color: rgba(148, 165, 190, 0.14);
  background: rgba(7, 10, 15, 0.88);
  backdrop-filter: blur(18px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--site-text);
  font-size: 17px;
  font-weight: 750;
  text-decoration: none;
}

.site-brand img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.site-nav a,
.site-discord {
  color: #aab7c8;
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
  transition: color 150ms ease;
}

.site-nav a:hover,
.site-discord:hover {
  color: var(--site-text);
}

.site-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-account,
.site-primary,
.site-secondary {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-account {
  border-color: rgba(66, 216, 255, 0.42);
  color: #ddf7ff;
  background: rgba(10, 29, 40, 0.76);
}

.site-account:hover,
.site-secondary:hover {
  border-color: var(--site-cyan);
  background: rgba(17, 49, 64, 0.82);
}

.site-primary {
  min-height: 46px;
  padding: 0 20px;
  border-color: rgba(47, 224, 120, 0.7);
  color: #f5fff9;
  background: #0b9853;
}

.site-primary:hover {
  background: #0db361;
  transform: translateY(-1px);
}

.site-secondary {
  min-height: 46px;
  padding: 0 20px;
  border-color: rgba(148, 165, 190, 0.28);
  color: #e2ebf6;
  background: rgba(10, 15, 22, 0.74);
}

.site-menu-button {
  display: none;
}

.site-hero {
  position: relative;
  min-height: 680px;
  height: calc(100svh - 38px);
  max-height: 940px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid #1e2a39;
  isolation: isolate;
}

.site-hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.9) contrast(1.05);
  transform: scale(1.01);
  animation: heroImageIn 1.1s ease-out both;
}

.site-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 8, 12, 0.97) 0%, rgba(5, 8, 12, 0.88) 34%, rgba(5, 8, 12, 0.48) 65%, rgba(5, 8, 12, 0.32) 100%),
    linear-gradient(180deg, rgba(5, 8, 12, 0.52), transparent 28%, rgba(5, 8, 12, 0.72));
}

.site-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--site-bg));
}

@keyframes heroImageIn {
  from { opacity: 0; transform: scale(1.045); }
  to { opacity: 1; transform: scale(1.01); }
}

.site-hero-content {
  width: min(1280px, calc(100% - 56px));
  margin: 36px auto 0;
}

.site-label {
  margin: 0 0 13px;
  color: var(--site-cyan);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-hero h1 {
  margin: 0;
  font-size: 76px;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0;
}

.site-hero-title {
  max-width: 670px;
  margin: 18px 0 0;
  color: #dce8f7;
  font-size: 28px;
  font-weight: 650;
  line-height: 1.25;
}

.site-hero-copy {
  max-width: 650px;
  margin: 18px 0 0;
  color: #aab8c9;
  font-size: 17px;
  line-height: 1.65;
}

.site-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.site-live-status {
  display: flex;
  gap: 34px;
  margin-top: 36px;
}

.site-live-status > div {
  display: grid;
  grid-template-columns: 10px auto;
  column-gap: 9px;
  row-gap: 2px;
  align-items: center;
}

.site-live-status strong {
  font-size: 13px;
}

.site-live-status small {
  grid-column: 2;
  color: #7f8fa4;
  font-size: 11px;
}

.status-light {
  grid-row: 1 / 3;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--site-green);
  box-shadow: 0 0 12px rgba(47, 224, 120, 0.7);
}

.status-light.warning {
  background: var(--site-gold);
  box-shadow: 0 0 12px rgba(241, 199, 91, 0.55);
}

.status-light.offline {
  background: var(--site-red);
  box-shadow: 0 0 12px rgba(255, 79, 114, 0.5);
}

.site-scroll-link {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #77879b;
  text-decoration: none;
  transform: translateX(-50%);
  transition: color 160ms ease, transform 160ms ease;
}

.site-scroll-link span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  animation: scrollChevron 1.8s ease-in-out infinite;
}

.site-scroll-link svg {
  width: 22px;
  height: 22px;
}

.site-scroll-link:hover {
  color: var(--site-cyan);
  transform: translateX(-50%) translateY(2px);
}

@keyframes scrollChevron {
  0%, 100% { transform: translateY(-2px); opacity: 0.62; }
  50% { transform: translateY(4px); opacity: 1; }
}

.site-section {
  width: min(1280px, calc(100% - 56px));
  margin: 0 auto;
  padding: 118px 0;
}

.site-section-head {
  max-width: 760px;
}

.site-section-head h2,
.showcase-copy h2,
.final-content h2 {
  margin: 0;
  color: #f1f6fd;
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: 0;
}

.site-section-head > p:last-child,
.showcase-copy > p,
.final-content > p {
  margin: 18px 0 0;
  color: var(--site-muted);
  font-size: 16px;
  line-height: 1.65;
}

.site-products {
  padding-top: 92px;
}

.game-lines {
  margin-top: 54px;
  border-top: 1px solid var(--site-line);
}

.games-coming {
  margin: 22px 0 0;
  color: #7f8fa4;
  font-size: 13px;
}

.game-line {
  min-height: 154px;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 24px 8px;
  border-bottom: 1px solid var(--site-line);
}

.game-line > img {
  width: 78px;
  height: 78px;
  border-radius: 6px;
  object-fit: cover;
}

.game-line-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.game-line h3 {
  margin: 0;
  font-size: 23px;
}

.game-line-title span {
  color: var(--site-cyan);
  font-size: 11px;
}

.game-line:nth-child(2) .game-line-title span {
  color: var(--site-gold);
}

.game-line p {
  max-width: 780px;
  margin: 9px 0 0;
  color: #8f9fb3;
  font-size: 14px;
  line-height: 1.55;
}

.game-line > a {
  color: #dff8ff;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.game-line > a:hover {
  color: var(--site-cyan);
}

.showcase-section {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(560px, 1.22fr);
  align-items: center;
  gap: 74px;
}

.showcase-section.reverse {
  grid-template-columns: minmax(560px, 1.22fr) minmax(320px, 0.78fr);
}

.showcase-section.reverse .showcase-copy {
  grid-column: 2;
}

.showcase-section.reverse .media-stage {
  grid-column: 1;
  grid-row: 1;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: start;
  gap: 12px;
}

.feature-list li > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(66, 216, 255, 0.28);
  border-radius: 6px;
  color: var(--site-cyan);
  background: #0a131c;
}

.feature-list strong,
.feature-list small {
  display: block;
}

.feature-list strong {
  font-size: 14px;
}

.feature-list small {
  margin-top: 5px;
  color: #8797aa;
  font-size: 12px;
  line-height: 1.45;
}

.feature-list.compact {
  gap: 15px;
}

.number-lines {
  margin-top: 32px;
  border-top: 1px solid var(--site-line);
}

.number-lines > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--site-line);
}

.number-lines strong {
  color: var(--site-green);
  font-size: 13px;
}

.number-lines span {
  color: #8e9db1;
  font-size: 13px;
}

.media-stage {
  --base-y: -6deg;
  --pointer-x: 0deg;
  --pointer-y: 0deg;
  position: relative;
  min-width: 0;
  perspective: 1500px;
}

.media-stage.media-left {
  --base-y: 6deg;
}

.media-stage::before {
  content: "";
  position: absolute;
  inset: 12% 8%;
  z-index: -1;
  background: rgba(66, 216, 255, 0.14);
  filter: blur(54px);
  opacity: 0.62;
}

.media-stage.media-left::before {
  background: rgba(47, 224, 120, 0.11);
}

.media-window {
  position: relative;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: 0 38px 80px rgba(0, 0, 0, 0.5);
  transform: rotateY(calc(var(--base-y) + var(--pointer-x))) rotateX(calc(2deg + var(--pointer-y)));
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.media-stage:hover .media-window {
  box-shadow: 0 46px 92px rgba(0, 0, 0, 0.56);
}

.media-window video,
.media-window > img {
  width: calc(100% + 4px);
  max-width: none;
  height: auto;
  margin: -2px;
  object-fit: contain;
}

.settings-section {
  padding-top: 96px;
}

.settings-media {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 44px;
  margin-top: 64px;
}

.settings-media .media-stage:last-child {
  margin-top: 96px;
}

.feature-section {
  padding-top: 80px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
  margin-top: 48px;
  border-bottom: 1px solid var(--site-line);
}

.feature-grid article {
  min-height: 190px;
  padding: 28px 4px;
  border-top: 1px solid var(--site-line);
}

.feature-grid article > span {
  display: block;
  color: var(--site-cyan);
}

.feature-grid article:nth-child(3n + 2) > span {
  color: var(--site-green);
}

.feature-grid article:nth-child(3n) > span {
  color: var(--site-gold);
}

.feature-grid h3 {
  margin: 16px 0 0;
  font-size: 17px;
}

.feature-grid p {
  margin: 9px 0 0;
  color: #8797aa;
  font-size: 13px;
  line-height: 1.55;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
}

.faq-list {
  border-top: 1px solid var(--site-line);
}

.faq-list details {
  border-bottom: 1px solid var(--site-line);
}

.faq-list summary {
  position: relative;
  padding: 21px 38px 21px 0;
  color: #dfe8f4;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 18px;
  color: var(--site-cyan);
  font-size: 20px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: -4px 38px 21px 0;
  color: #8e9db1;
  font-size: 13px;
  line-height: 1.6;
}

.final-section {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-top: 1px solid #1d2937;
  border-bottom: 1px solid #1d2937;
}

.final-section > img:first-child {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.5);
}

.final-shade {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 12, 0.86);
  backdrop-filter: blur(4px);
}

.final-content {
  position: relative;
  width: min(720px, calc(100% - 40px));
  text-align: center;
}

.final-content > img {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(66, 216, 255, 0.28));
}

.final-content > div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.site-footer {
  min-height: 126px;
  width: min(1280px, calc(100% - 56px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.site-footer p {
  color: #69798d;
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

.site-footer nav a {
  color: #8c9baf;
  font-size: 12px;
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--site-cyan);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .site-header {
    gap: 18px;
    padding-inline: 24px;
  }

  .site-nav {
    gap: 18px;
  }

  .showcase-section,
  .showcase-section.reverse {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .showcase-section.reverse .showcase-copy,
  .showcase-section.reverse .media-stage {
    grid-column: 1;
    grid-row: auto;
  }

  .showcase-section.reverse .showcase-copy {
    order: 1;
  }

  .showcase-section.reverse .media-stage {
    order: 2;
  }

  .showcase-copy {
    max-width: 720px;
  }

  .media-stage {
    width: min(920px, 100%);
    margin-inline: auto;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    min-height: 64px;
  }

  .site-menu-button {
    width: 42px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 0;
    border-radius: 6px;
    color: var(--site-text);
    background: transparent;
    cursor: pointer;
  }

  .site-menu-button span {
    width: 20px;
    height: 1px;
    background: currentColor;
    transition: transform 150ms ease, opacity 150ms ease;
  }

  .site-menu-button.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-menu-button.open span:nth-child(2) { opacity: 0; }
  .site-menu-button.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 18px;
    right: 18px;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--site-line);
    border-radius: 7px;
    background: rgba(9, 13, 20, 0.98);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-bottom: 1px solid rgba(148, 165, 190, 0.1);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-discord {
    display: none;
  }

  .settings-media,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .settings-media .media-stage:last-child {
    margin-top: 0;
  }

  .faq-section {
    gap: 50px;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding-inline: 14px;
  }

  .site-brand span {
    display: none;
  }

  .site-brand img {
    width: 40px;
    height: 40px;
  }

  .site-actions {
    gap: 8px;
  }

  .site-account {
    min-width: 42px;
    width: 42px;
    padding: 0;
  }

  .site-account span:last-child {
    display: none;
  }

  .site-hero {
    min-height: 690px;
    height: calc(100svh - 28px);
  }

  .site-hero-image {
    object-position: 58% center;
  }

  .site-hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 8, 12, 0.95), rgba(5, 8, 12, 0.68)),
      linear-gradient(180deg, rgba(5, 8, 12, 0.58), transparent 30%, rgba(5, 8, 12, 0.9));
  }

  .site-hero-content,
  .site-section,
  .site-footer {
    width: calc(100% - 32px);
  }

  .site-hero h1 {
    font-size: 52px;
  }

  .site-hero-title {
    font-size: 22px;
  }

  .site-hero-copy {
    font-size: 15px;
  }

  .site-hero-actions {
    display: grid;
  }

  .site-primary,
  .site-secondary {
    width: 100%;
  }

  .site-live-status {
    gap: 20px;
  }

  .site-section {
    padding: 82px 0;
  }

  .site-section-head h2,
  .showcase-copy h2,
  .final-content h2 {
    font-size: 32px;
  }

  .site-section-head > p:last-child,
  .showcase-copy > p,
  .final-content > p {
    font-size: 14px;
  }

  .game-line {
    grid-template-columns: 58px 1fr;
    gap: 14px;
    padding: 20px 0;
  }

  .game-line > img {
    width: 54px;
    height: 54px;
  }

  .game-line-title {
    display: grid;
    gap: 3px;
  }

  .game-line h3 {
    font-size: 19px;
  }

  .game-line p {
    font-size: 12px;
  }

  .game-line > a {
    grid-column: 2;
  }

  .showcase-section {
    gap: 36px;
  }

  .media-stage {
    --base-y: 0deg;
  }

  .media-window {
    transform: none;
  }

  .settings-media {
    gap: 24px;
  }

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

  .feature-grid article {
    min-height: 0;
  }

  .final-section {
    min-height: 520px;
  }

  .site-footer {
    min-height: 170px;
    grid-template-columns: 1fr auto;
  }

  .site-footer p {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0 0 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .media-window {
    transform: none;
  }
}
