* {
  box-sizing: border-box;
}

:root {
  --bg: #090b14;
  --bg-soft: #101524;
  --panel: rgba(18, 24, 41, 0.82);
  --panel-strong: #151c31;
  --text: #f5f7ff;
  --muted: #9ca8bf;
  --accent: #8f6bff;
  --accent-2: #22d3ee;
  --accent-3: #ff6ba8;
  --border: rgba(255, 255, 255, 0.09);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.page-glow {
  position: fixed;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.16;
  pointer-events: none;
}

.page-glow-one {
  top: -150px;
  left: -120px;
  background: var(--accent);
}

.page-glow-two {
  right: -160px;
  top: 250px;
  background: var(--accent-2);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1220px;
  margin: 0 auto;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(9, 11, 20, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-family: "Orbitron", sans-serif;
  font-size: 1.35rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 28px rgba(143, 107, 255, 0.33);
}

.brand-text {
  font-family: "Orbitron", sans-serif;
  letter-spacing: -0.03em;
}

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

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

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

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.035);
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 10px;
  background: var(--text);
}

main {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  min-height: 84vh;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 64px;
  padding: 92px 0 78px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

h1,
h2,
h3 {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(3rem, 6.7vw, 6.1rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h1 span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  color: transparent;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.hero-text {
  max-width: 690px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 800;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #6247e8);
  box-shadow: 0 15px 36px rgba(143, 107, 255, 0.27);
}

.button-secondary {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 42px;
}

.hero-stats div {
  display: grid;
  gap: 1px;
}

.hero-stats strong {
  font-family: "Orbitron", sans-serif;
  font-size: 1.55rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-visual {
  position: relative;
}

.arcade-frame {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(28, 36, 62, 0.96), rgba(12, 17, 30, 0.96));
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.arcade-top,
.arcade-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 6px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.arcade-bottom strong {
  color: var(--accent-2);
}

.status-dot {
  width: 8px;
  height: 8px;
  margin-right: 7px;
  display: inline-block;
  border-radius: 50%;
  background: #3ee68a;
  box-shadow: 0 0 13px rgba(62, 230, 138, 0.7);
}

.arcade-screen {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 22px;
  background:
    radial-gradient(circle at center, rgba(143,107,255,0.2), transparent 40%),
    #070a12;
}

.arcade-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  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: 25px 25px;
}

.scanlines {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(255,255,255,0.06) 4px
  );
}

.player-badges {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
}

.player-badge {
  display: grid;
  gap: 5px;
  min-width: 115px;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 18px;
  text-align: center;
  background: rgba(255,255,255,0.05);
}

.player-badge span {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

.player-badge strong {
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
}

.player-one {
  box-shadow: inset 0 0 26px rgba(143,107,255,0.08);
}

.player-two {
  box-shadow: inset 0 0 26px rgba(34,211,238,0.08);
}

.versus {
  color: var(--accent-3);
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
}

.respawn-symbol {
  position: relative;
  z-index: 2;
  margin-top: 30px;
  font-family: "Orbitron", sans-serif;
  font-size: 6.2rem;
  line-height: 1;
  color: var(--accent-2);
  text-shadow: 0 0 36px rgba(34,211,238,0.32);
}

.arcade-screen p {
  position: relative;
  z-index: 2;
  margin: 10px 0 0;
  color: var(--muted);
  font-family: "Orbitron", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}

.section {
  padding: 92px 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 36px;
}

.section-heading > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

.section-heading.compact {
  margin-bottom: 26px;
}

code {
  color: #c9bcff;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: rgba(143,107,255,0.48);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #05070c;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-info {
  padding: 20px;
}

.video-info h3 {
  margin-bottom: 8px;
  font-size: 1.03rem;
}

.video-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
}

.glass-card,
.contact-card {
  border: 1px solid var(--border);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(22,29,50,0.94), rgba(13,18,31,0.94));
  box-shadow: var(--shadow);
}

.story-card {
  padding: 42px;
}

.story-card p:not(.kicker) {
  color: var(--muted);
}

.duo-card {
  display: grid;
  align-content: center;
  gap: 28px;
  padding: 34px;
}

.duo-player {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

.avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
}

.avatar-one {
  background: rgba(143,107,255,0.16);
  color: #d7ceff;
}

.avatar-two {
  background: rgba(34,211,238,0.15);
  color: #b8f5ff;
}

.duo-player span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.duo-player h3 {
  margin: 3px 0 2px;
}

.duo-player p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.duo-divider {
  height: 1px;
  background: var(--border);
}

.game-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.game-list span {
  padding: 11px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #d3daea;
  background: rgba(255,255,255,0.04);
}

.contact-card {
  padding: 56px 26px;
  text-align: center;
}

.contact-card > p:not(.kicker) {
  color: var(--muted);
}

.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.contact-links a {
  padding: 11px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 800;
  background: rgba(255,255,255,0.035);
}

.small-note {
  margin-top: 20px;
  font-size: 0.82rem;
}

footer {
  max-width: 1220px;
  margin: 0 auto;
  padding: 34px 24px 50px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 940px) {
  .hero,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 74px;
  }

  .hero-visual {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
  }

  .arcade-frame {
    transform: none;
  }

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

@media (max-width: 700px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #111728;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 10px;
  }

  .brand-text {
    font-size: 0.9rem;
  }

  .hero {
    gap: 44px;
  }

  .hero-stats {
    gap: 24px;
  }

  .arcade-screen {
    min-height: 340px;
  }

  .player-badges {
    gap: 10px;
  }

  .player-badge {
    min-width: 100px;
    padding: 14px 10px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .story-card,
  .duo-card {
    padding: 28px 22px;
  }
}
