:root {
  --bg: #10120f;
  --panel: rgba(244, 241, 220, 0.07);
  --panel-border: rgba(244, 241, 220, 0.15);
  --text: #f7f3df;
  --muted: #c8c2aa;
  --sage: #b9d1bf;
  --terra: #c9764d;
  --ochre: #d8b66c;
  --ink: #1a201d;
  --body-font: 'Outfit', 'Inter', sans-serif;
  --display-font: 'Space Grotesk', 'Inter', sans-serif;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  -webkit-user-drag: none;
}

body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(244, 241, 220, 0.035), transparent 34rem),
    radial-gradient(circle at 12% 12%, rgba(185, 209, 191, 0.1), transparent 28rem),
    radial-gradient(circle at 88% 28%, rgba(201, 118, 77, 0.08), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

header {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
  border-bottom: 1px solid var(--panel-border);
  background: rgba(16, 18, 15, 0.74);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display-font);
  font-weight: 800;
}

.logo .logo-mark {
  width: 28px;
  height: auto;
  display: block;
}

.brand-name {
  color: #fff;
  font-family: var(--display-font);
  font-size: clamp(0.85rem, 1.2vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
}

.logo-divider {
  color: rgba(247, 243, 223, 0.38);
  margin: 0 0.55rem;
}

.subtitle-game {
  color: var(--sage);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2rem);
}

nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.hero {
  width: min(var(--max-width), calc(100% - 2rem));
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 7vw, 6rem);
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.wordmark {
  display: inline-grid;
  justify-items: start;
  gap: 0.58rem;
  margin: 0 0 clamp(1.5rem, 3vw, 2.3rem);
}

.wordmark span {
  color: #6f695f;
  font-family: var(--body-font);
  font-size: clamp(2.5rem, 4.4vw, 4.15rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.15em;
  background: linear-gradient(90deg, #6f695f 0%, #5f5a51 48%, #8b775e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wordmark-divider {
  display: grid;
  grid-template-columns: 0.72fr 7px 1.5fr;
  align-items: center;
  gap: 1rem;
  width: min(370px, 76vw);
}

.wordmark-divider i,
.wordmark-divider b {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: #cfb37d;
}

.wordmark-divider b {
  width: 7px;
  height: 7px;
}

h1,
h2 {
  font-family: var(--display-font);
  letter-spacing: 0;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  line-height: 0.94;
  margin-bottom: 1.4rem;
}

.hero p {
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.62;
  margin-bottom: 2rem;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.82rem;
  min-height: 58px;
  padding: 0 1.2rem;
  border: 1px solid rgba(247, 243, 223, 0.16);
  border-radius: 8px;
  background: #070807;
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.28);
}

.app-badge:hover {
  transform: translateY(-1px);
  border-color: rgba(247, 243, 223, 0.28);
}

.app-badge img {
  width: 22px;
  filter: invert(1);
}

.app-badge span {
  display: grid;
  line-height: 1.05;
}

.app-badge small {
  color: rgba(247, 243, 223, 0.72);
  font-size: 0.74rem;
}

.app-badge strong {
  font-size: 1.18rem;
}

.hero-art {
  position: relative;
  min-height: 660px;
  display: grid;
  place-items: center;
}

.hero-art::before {
  content: "";
  position: absolute;
  width: min(84%, 540px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(185, 209, 191, 0.18), rgba(216, 182, 108, 0.08)),
    rgba(247, 243, 223, 0.05);
  filter: blur(2px);
}

.phone-shot {
  position: absolute;
  width: min(43%, 310px);
  filter: drop-shadow(0 34px 40px rgba(0, 0, 0, 0.36));
}

.primary-shot {
  z-index: 2;
  transform: translateX(-5.7rem) rotate(-5deg);
}

.secondary-shot {
  z-index: 1;
  transform: translateX(7rem) translateY(1.6rem) rotate(7deg);
  opacity: 0.92;
}

.features,
.detail-section,
.showcase {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
}

.features article {
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background: var(--panel);
  padding: clamp(1.25rem, 3vw, 2rem);
  min-height: 270px;
}

.features img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  margin-bottom: 1.3rem;
  filter: drop-shadow(0 14px 14px rgba(0, 0, 0, 0.28));
}

.features h2 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  margin-bottom: 0.75rem;
}

.features p,
.detail-copy p {
  color: var(--muted);
  line-height: 1.68;
  font-size: 1.04rem;
}

.detail-section {
  padding: clamp(2rem, 6vw, 5rem) 0 clamp(4rem, 7vw, 6.5rem);
}

.detail-copy {
  max-width: 1040px;
}

.detail-copy h2,
.showcase h2 {
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 1;
  margin-bottom: 1rem;
}

.detail-copy p + p {
  margin-top: 1rem;
}

.showcase {
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.screenshot-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 2vw, 1.25rem);
}

.screenshot-strip img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--panel-border);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
}

footer {
  text-align: center;
  padding: 4rem 2rem;
  border-top: 1px solid var(--panel-border);
  color: var(--muted);
  font-size: 0.9rem;
}

footer a {
  color: var(--text);
  margin: 0 0.5rem;
}

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

  .hero {
    min-height: auto;
  }

  .hero-art {
    min-height: 580px;
  }

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

  .features article {
    min-height: auto;
  }
}

@media (max-width: 660px) {
  header {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .logo img {
    width: 128px;
  }

  .subtitle-game {
    font-size: 0.86rem;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 17vw, 4.6rem);
  }

  .hero-art {
    min-height: 430px;
  }

  .phone-shot {
    width: min(52%, 235px);
  }

  .primary-shot {
    transform: translateX(-3rem) rotate(-5deg);
  }

  .secondary-shot {
    transform: translateX(4.6rem) translateY(1rem) rotate(7deg);
  }

  .screenshot-strip {
    grid-template-columns: 1fr;
  }
}
