:root {
  color-scheme: dark;
  --bg: #101113;
  --panel: #181a1f;
  --panel-soft: #20232a;
  --text: #f4f0e8;
  --muted: #b9b2a8;
  --line: #343943;
  --accent: #f2553d;
  --accent-2: #50c7b7;
  --accent-3: #e7c75c;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(242, 85, 61, 0.18), transparent 32rem),
    linear-gradient(180deg, #101113 0%, #15171b 52%, #101113 100%);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #15110f;
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.hero,
.game-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: 48px;
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  padding: 56px 0 84px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  font-size: clamp(3rem, 9vw, 6.8rem);
  line-height: 0.95;
}

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

h3 {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
  line-height: 1.25;
}

.hero-copy p:not(.eyebrow),
.page-title p,
.narrow {
  max-width: 62ch;
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: #160d0a;
}

.hero-visual {
  display: grid;
  place-items: center;
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    var(--panel);
  background-size: 32px 32px;
  box-shadow: var(--shadow);
}

.artifact-orbit {
  position: relative;
  width: min(70vw, 320px);
  aspect-ratio: 1;
  border: 1px solid rgba(80, 199, 183, 0.45);
  border-radius: 50%;
}

.artifact-orbit::before {
  content: "";
  position: absolute;
  inset: 32%;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
  transform: rotate(45deg);
}

.artifact-orbit span {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
}

.artifact-orbit span:nth-child(1) {
  top: 8%;
  left: 50%;
}

.artifact-orbit span:nth-child(2) {
  right: 10%;
  bottom: 25%;
  background: var(--accent-3);
}

.artifact-orbit span:nth-child(3) {
  left: 14%;
  bottom: 18%;
  background: var(--accent-2);
}

.section,
.page-title,
.game-grid {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.section.muted {
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.section.muted > * {
  width: min(1120px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

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

.game-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.game-card.compact {
  max-width: 760px;
}

.game-thumb {
  min-height: 280px;
  background: var(--panel-soft);
}

.artifact-thumb {
  background:
    radial-gradient(circle at 50% 36%, rgba(80, 199, 183, 0.9) 0 8%, transparent 9%),
    radial-gradient(circle at 34% 58%, rgba(242, 85, 61, 0.9) 0 5%, transparent 6%),
    linear-gradient(135deg, rgba(231, 199, 92, 0.18), rgba(80, 199, 183, 0.1)),
    var(--panel-soft);
}

.game-info {
  padding: 26px;
}

.game-status {
  margin: 0 0 0.5rem;
  color: var(--accent-3);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--accent-2);
  font-weight: 800;
  text-decoration: none;
}

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

.feature-list article {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-list p,
.game-info p {
  color: var(--muted);
}

.phone-preview {
  display: grid;
  place-items: center;
}

.phone-screen {
  position: relative;
  width: min(72vw, 300px);
  aspect-ratio: 9 / 16;
  border: 10px solid #2a2e36;
  border-radius: 28px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    #11151c;
  background-size: 28px 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.player-shape,
.enemy-shape,
.bullet-shape {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.player-shape {
  bottom: 52px;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--accent-2);
}

.enemy-shape {
  top: 58px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
}

.bullet-shape {
  width: 8px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-3);
}

.bullet-shape.one {
  bottom: 150px;
}

.bullet-shape.two {
  bottom: 220px;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .game-hero,
  .game-card,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .hero,
  .game-hero {
    gap: 32px;
    min-height: auto;
    padding-top: 28px;
  }

  .hero-visual {
    min-height: 300px;
  }

  .section,
  .page-title,
  .game-grid {
    padding: 52px 0;
  }
}

