/* deeronthewall — landing
   Palette mirrors Farm Volley AppTheme:
   earth #1E1A12, surface #2C271C, cream #F3EFE2, sage #7CB25F,
   terracotta #D6654C, wheat #E8D07A, amber #F2B84A
*/
:root {
  --earth: #1e1a12;
  --surface: #2c271c;
  --surface-2: #3a3326;
  --cream: #f3efe2;
  --cream-muted: #d9cfb3;
  --sage: #7cb25f;
  --sage-deep: #4f8a38;
  --terracotta: #d6654c;
  --wheat: #e8d07a;
  --amber: #f2b84a;
  --border: rgba(243, 239, 226, 0.08);
  --border-strong: rgba(243, 239, 226, 0.18);
  --shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.7);
  --radius: 14px;
  --font-pixel: "Press Start 2P", "Galmuri11", monospace;
  --font-body: "Inter", "Noto Sans KR", "Noto Sans JP", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(242, 184, 74, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(124, 178, 95, 0.06), transparent 60%),
    var(--earth);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--sage);
  text-decoration: none;
}
a:hover {
  color: var(--wheat);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 28px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-family: var(--font-pixel);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.brand img {
  border-radius: 10px;
  image-rendering: pixelated;
  border: 1px solid var(--border-strong);
}
.lang {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--cream-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.lang button:hover {
  color: var(--cream);
}
.lang button[aria-current="true"] {
  background: var(--sage-deep);
  color: var(--cream);
}

/* Sections */
main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}
section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
section:last-of-type {
  border-bottom: 0;
}

.eyebrow {
  font-family: var(--font-pixel);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--wheat);
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}
h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  line-height: 1.2;
  margin-bottom: 18px;
}
h3 {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--cream);
}
p {
  margin: 0 0 14px;
  color: var(--cream-muted);
}
.lede {
  font-size: 18px;
  color: var(--cream);
  max-width: 44ch;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 56px;
  padding-top: 56px;
}
.hero-art img {
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  image-rendering: pixelated;
  background: #000;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.btn-primary {
  background: var(--sage);
  color: #1a2610;
  border-color: var(--sage);
}
.btn-primary:hover {
  background: var(--wheat);
  border-color: var(--wheat);
  color: #2a2410;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--cream-muted);
  color: var(--cream);
}

/* Game */
.game-header {
  max-width: 640px;
  margin-bottom: 40px;
}
.game-lede {
  font-size: 17px;
  color: var(--cream-muted);
}
.shots {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}
.shots figure {
  margin: 0;
}
.shots img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  image-rendering: pixelated;
  background: #000;
}
.shots figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--cream-muted);
  font-family: var(--font-pixel);
  letter-spacing: 0.05em;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.features li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.features h3::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  background: var(--terracotta);
  margin-bottom: 14px;
  border-radius: 2px;
}
.features li:nth-child(2) h3::before {
  background: var(--sage);
}
.features li:nth-child(3) h3::before {
  background: var(--amber);
}
.features p {
  margin: 0;
  font-size: 15px;
}

/* Stores */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store-badge {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 220px;
  padding: 12px 18px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--cream);
  transition: border-color 0.15s ease;
}
.store-badge:hover {
  border-color: var(--sage);
  color: var(--cream);
}
.store-top {
  font-family: var(--font-pixel);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--wheat);
}
.store-bot {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 600;
}
.store-coming {
  opacity: 0.55;
  cursor: not-allowed;
}
.store-coming:hover {
  border-color: var(--border-strong);
}

/* About + Contact */
.about,
.contact {
  max-width: 720px;
}
.email {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-pixel);
  font-size: 15px;
  color: var(--wheat);
  padding: 10px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface);
  letter-spacing: 0.02em;
}
.email:hover {
  color: var(--amber);
  border-color: var(--amber);
}

/* Footer */
footer {
  padding: 36px 28px 48px;
  border-top: 1px solid var(--border);
  color: var(--cream-muted);
  font-size: 14px;
}
.foot-row {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
}
.foot-row nav {
  display: flex;
  gap: 20px;
}
.foot-row a {
  color: var(--cream-muted);
}
.foot-row a:hover {
  color: var(--cream);
}

/* Responsive */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 24px;
  }
  .hero-art {
    order: -1;
  }
  .shots {
    grid-template-columns: 1fr;
  }
  .features {
    grid-template-columns: 1fr;
  }
  section {
    padding: 48px 0;
  }
}

@media (max-width: 520px) {
  .nav {
    padding: 16px 20px;
  }
  main {
    padding: 0 20px;
  }
  .brand span {
    display: none;
  }
  .btn {
    width: 100%;
  }
}
