/* ============ PLOTLAND 3D — Landing ============ */

:root {
  --bg: #0b1210;
  --bg-alt: #0e1714;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.09);
  --text: #e8f0ea;
  --text-dim: #9db3a6;
  --green: #4ade80;
  --green-deep: #16a34a;
  --gold: #fbbf24;
  --radius: 18px;
  --font-head: "Pixelify Sans", monospace;
  --font-body: "Space Grotesk", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; }

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

.grad {
  background: linear-gradient(100deg, var(--green) 20%, var(--gold) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(120deg, var(--green-deep), var(--green));
  color: #06130b;
  box-shadow: 0 4px 24px rgba(74, 222, 128, 0.35);
}
.btn-primary:hover { box-shadow: 0 8px 32px rgba(74, 222, 128, 0.5); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.11); }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.95rem; }
.btn-lg { padding: 0.85rem 1.8rem; font-size: 1.15rem; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(11, 18, 16, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.7rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1.2rem;
}
.nav-brand img { width: 38px; height: 38px; border-radius: 9px; }
.nav-brand em { font-style: normal; color: var(--green); }
.nav-links { display: flex; gap: 1.6rem; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.98rem;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--green); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.4rem 5rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("assets/game_shot1.png") center / cover no-repeat;
  filter: blur(4px) brightness(0.55) saturate(1.1);
  transform: scale(1.05);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(11, 18, 16, 0.25), rgba(11, 18, 16, 0.85));
}
.hero-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 820px; }
.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.4);
  background: rgba(74, 222, 128, 0.1);
  color: var(--green);
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
  margin-bottom: 1.4rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}
.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: #cfe0d5;
  max-width: 620px;
  margin: 0 auto 2rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}
.hero-sub strong { color: var(--gold); }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 5.5rem 1.4rem;
}
.section-alt {
  max-width: none;
  background: var(--bg-alt);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.section-alt > * { max-width: 1160px; margin-left: auto; margin-right: auto; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin-bottom: 0.5rem; }
.section-head p { color: var(--text-dim); font-size: 1.1rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(74, 222, 128, 0.35);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.feature { padding: 2rem 1.7rem; }
.feature-icon {
  width: 72px; height: 72px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  margin-bottom: 1.2rem;
}
.feature-icon img { width: 52px; height: 52px; image-rendering: pixelated; }
.feature h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.feature p { color: var(--text-dim); font-size: 0.98rem; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  counter-reset: step;
}
.step { position: relative; padding: 2.1rem 1.4rem 1.6rem; text-align: center; }
.step-num {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--green-deep), var(--green));
  color: #06130b;
  font-family: var(--font-head);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(74, 222, 128, 0.4);
}
.step-icon { width: 48px; height: 48px; margin: 0 auto 0.9rem; image-rendering: pixelated; }
.step h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }
.step p { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- Economy ---------- */
.economy-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.economy-copy h2 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); margin-bottom: 1.5rem; }
.econ-list { list-style: none; display: grid; gap: 0.9rem; margin-bottom: 1.5rem; }
.econ-list li { display: flex; gap: 0.7rem; align-items: baseline; color: var(--text-dim); }
.econ-list strong { color: var(--text); }
.tick { color: var(--green); font-weight: 700; }
.econ-note {
  font-size: 0.88rem;
  color: var(--text-dim);
  border-left: 3px solid var(--gold);
  padding-left: 0.8rem;
  opacity: 0.85;
}
.flow { padding: 2rem 1.8rem; text-align: center; }
.flow h3 { font-size: 1.2rem; margin-bottom: 1.4rem; color: var(--gold); }
.flow-steps { display: grid; gap: 0.35rem; justify-items: center; }
.flow-step {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.2rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  width: 100%;
  max-width: 320px;
  justify-content: center;
}
.flow-emoji { font-size: 1.15rem; }
.flow-arrow { color: var(--green); font-size: 1.1rem; }
.flow-note { margin-top: 1.2rem; font-size: 0.88rem; color: var(--text-dim); }

/* ---------- Screenshots ---------- */
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.shot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--card);
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.shot:hover { transform: translateY(-5px); border-color: rgba(74, 222, 128, 0.35); }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.shot figcaption {
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* ---------- Final CTA ---------- */
.cta-final { padding-top: 3rem; }
.cta-card {
  text-align: center;
  padding: 3.5rem 2rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(74, 222, 128, 0.12), transparent 65%),
    var(--card);
}
.cta-icon { width: 64px; height: 64px; margin: 0 auto 1rem; image-rendering: pixelated; }
.cta-card h2 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); margin-bottom: 0.6rem; }
.cta-card p { color: var(--text-dim); margin-bottom: 1.8rem; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--card-border);
  background: var(--bg-alt);
  padding: 2.2rem 1.4rem;
}
.footer-inner { max-width: 1160px; margin: 0 auto; text-align: center; }
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 0.7rem;
  flex-wrap: wrap;
}
.footer-brand img { width: 28px; height: 28px; border-radius: 7px; }
.footer-disclaimer { font-size: 0.82rem; color: #6e8378; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .shot { transition: none; }
}

/* ---------- Terms page ---------- */
.terms {
  max-width: 800px;
  margin: 0 auto;
  padding: 7.5rem 1.4rem 4rem;
}
.terms-head { text-align: center; margin-bottom: 2.8rem; }
.terms-head h1 { font-size: clamp(2.1rem, 5.5vw, 3.2rem); margin-bottom: 0.6rem; }
.terms-updated {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.terms-intro { color: var(--text-dim); max-width: 560px; margin: 0 auto; }
.terms-card { padding: 1.8rem 2rem; margin-bottom: 1.2rem; }
.terms-card:hover { transform: none; }
.terms-card h2 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}
.terms-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: var(--green);
  font-size: 1rem;
}
.terms-card ul { list-style: none; display: grid; gap: 0.65rem; }
.terms-card li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--text-dim);
  font-size: 0.97rem;
}
.terms-card li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--green);
}
.terms-card strong { color: var(--text); }
.terms-cta { text-align: center; margin-top: 2.4rem; }
.footer-disclaimer a { color: var(--text-dim); }
.footer-disclaimer a:hover { color: var(--green); }

@media (max-width: 560px) {
  .terms { padding: 6.5rem 1.2rem 3rem; }
  .terms-card { padding: 1.4rem 1.3rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .economy-grid { grid-template-columns: 1fr; gap: 2rem; }
  .shots { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  .features, .steps { grid-template-columns: 1fr; }
  .steps { gap: 1.6rem; }
  .hero { min-height: 84vh; }
  .section { padding: 4rem 1.2rem; }
}
