:root {
  color-scheme: dark;
  --bg: #07080d;
  --bg-2: #0d111a;
  --panel: rgba(18, 23, 34, 0.82);
  --panel-strong: #111722;
  --panel-soft: #171e2b;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f4f7fb;
  --muted: #aab4c3;
  --soft: #d8dee9;
  --white: #ffffff;
  --black: #05060a;
  --cyan: #5ce1e6;
  --blue: #7da7ff;
  --lime: #9df079;
  --violet: #a78bfa;
  --danger: #ff6678;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 1180px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(92, 225, 230, 0.14), transparent 28rem),
    radial-gradient(circle at 84% 4%, rgba(125, 167, 255, 0.16), transparent 26rem),
    linear-gradient(180deg, #07080d 0%, #090b11 44%, #06070b 100%);
  color: var(--text);
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 48px);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 13, 0.82);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  background: var(--white);
  color: var(--black);
  font-size: 0.92rem;
  font-weight: 950;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--soft);
  font-size: 0.94rem;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}

.nav-toggle svg,
.button svg,
.system-card svg,
.take-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke-width: 2.2;
}

.hero {
  position: relative;
  min-height: 91svh;
  display: grid;
  align-items: center;
  padding: 118px clamp(18px, 5vw, 72px) 76px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 72%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.55fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  font-size: clamp(3.2rem, 8vw, 7.25rem);
}

h2 {
  font-size: clamp(2.05rem, 4.2vw, 4rem);
}

h3 {
  font-size: 1.14rem;
}

.hero-copy > p:not(.eyebrow),
.section-heading > p,
.security-copy p,
.contact-copy p {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  max-width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.button:hover,
.button:focus-visible,
.take-button:hover,
.take-button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-light {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 18px 42px rgba(255, 255, 255, 0.14);
}

.button-light:hover,
.button-light:focus-visible {
  background: #dff7ff;
}

.button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(92, 225, 230, 0.7);
  color: var(--cyan);
}

.profile-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    var(--panel);
  box-shadow: var(--shadow);
  padding: 24px;
}

.profile-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(92, 225, 230, 0.15), transparent 44%),
    linear-gradient(315deg, rgba(157, 240, 121, 0.12), transparent 48%);
  pointer-events: none;
}

.profile-panel > * {
  position: relative;
  z-index: 1;
}

.profile-panel img {
  width: min(100%, 320px);
  aspect-ratio: 1;
  margin: 0 auto 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #000;
  object-fit: cover;
}

.profile-name {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.45rem);
  font-weight: 950;
  line-height: 1;
}

.profile-role {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 750;
}

.profile-stats {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}

.profile-stats div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.profile-stats dt,
.profile-stats dd {
  margin: 0;
}

.profile-stats dt {
  color: var(--muted);
  font-size: 0.88rem;
}

.profile-stats dd {
  color: var(--white);
  font-weight: 900;
  text-align: right;
}

.stats-strip {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 36px));
  margin: -34px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 18, 27, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.stats-strip div {
  min-width: 0;
  padding: 22px;
}

.stats-strip div + div {
  border-left: 1px solid var(--line);
}

.stats-strip strong,
.stats-strip span {
  display: block;
}

.stats-strip strong {
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1;
}

.stats-strip span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(76px, 10vw, 124px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
  margin-bottom: 40px;
}

.section-heading > p {
  margin-top: 0;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.system-card,
.game-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 16px 52px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.system-card {
  min-height: 265px;
  padding: 22px;
}

.system-card svg {
  width: 28px;
  height: 28px;
  margin-bottom: 36px;
  color: var(--cyan);
}

.system-card h3,
.game-card h3 {
  margin-bottom: 10px;
}

.system-card p,
.game-card p,
.security-copy p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
}

.work {
  padding-top: 0;
}

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

.game-card {
  display: flex;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
}

.game-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.game-body {
  display: flex;
  min-height: 420px;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.game-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.game-title-row span {
  flex: 0 0 auto;
  border: 1px solid rgba(92, 225, 230, 0.28);
  border-radius: 999px;
  background: rgba(92, 225, 230, 0.1);
  color: var(--cyan);
  padding: 5px 9px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.game-body p {
  margin-top: 8px;
}

.game-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.game-metrics li {
  min-height: 42px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--soft);
  padding: 9px 10px;
  font-size: 0.9rem;
  font-weight: 820;
}

.take-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  padding: 12px 16px;
  font-weight: 950;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.take-button:hover,
.take-button:focus-visible {
  background: #e6faff;
}

.security {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.8fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.security-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.security-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--soft);
  padding: 10px 13px;
  font-size: 0.92rem;
  font-weight: 850;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.82fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.contact-copy {
  max-width: 620px;
}

.discord-note {
  display: inline-flex;
  width: fit-content;
  margin: 16px 0 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--soft);
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 850;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 30px);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--soft);
  font-size: 0.92rem;
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: rgba(3, 5, 9, 0.72);
  color: var(--text);
  padding: 12px 13px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(92, 225, 230, 0.16);
  outline: none;
}

.form-note {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 26px clamp(18px, 4vw, 48px);
  color: var(--muted);
}

.site-footer a:last-child {
  color: var(--white);
  font-weight: 900;
}

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

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

@media (max-width: 1100px) {
  .systems-grid,
  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-strip div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stats-strip div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

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

  .game-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  }

  .game-card > img {
    height: 100%;
    min-height: 100%;
    aspect-ratio: auto;
  }
}

@media (max-width: 920px) {
  .hero {
    min-height: 0;
    padding-top: 104px;
  }

  .hero-grid,
  .section-heading,
  .security,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .profile-panel {
    max-width: 520px;
  }

  .game-card {
    display: flex;
  }

  .game-card > img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .game-body {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 12px 16px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: 67px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(10, 13, 20, 0.96);
    padding: 8px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: 7px;
    padding: 14px 12px;
  }

  .hero {
    padding: 94px 18px 58px;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4.25rem);
  }

  .hero-actions,
  .contact-actions,
  .button {
    width: 100%;
  }

  .button {
    padding-inline: 14px;
  }

  .stats-strip,
  .systems-grid,
  .game-metrics {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    margin-top: -18px;
  }

  .stats-strip div + div,
  .stats-strip div:nth-child(3),
  .stats-strip div:nth-child(4) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    width: min(calc(100% - 28px), var(--max));
    padding: 66px 0;
  }

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

  .system-card {
    min-height: 0;
  }

  .game-body {
    padding: 18px;
  }

  .profile-panel {
    padding: 18px;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .button:hover,
  .button:focus-visible,
  .take-button:hover,
  .take-button:focus-visible,
  .reveal {
    transform: none;
  }
}
