/* ---------- Reset & Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --grass: #e8a23c;
  --grass-dark: #c8811f;
  --dirt: #262c33;
  --gold: #2dd4bf;
  --gold-dark: #17a893;
  --ink: #12161c;
  --bg-dark: #0c0f13;
  --bg-panel: #171c23;
  --bg-panel-alt: #2a323d;
  --text: #eef2ea;
  --text-dim: #b7c2b1;
  --border: rgba(255,255,255,0.08);
  --radius: 0px;
  --bevel-light: rgba(255,255,255,0.35);
  --bevel-dark: rgba(0,0,0,0.45);
  --font-display: "Press Start 2P", monospace;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

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

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(232,162,60,0.08), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(45,212,191,0.06), transparent 45%),
    url('images/block-stone.svg');
  background-size: auto, auto, 64px 64px;
  background-blend-mode: normal, normal, overlay;
  opacity: 1;
}
.bg-noise::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-dark);
  opacity: 0.94;
}

/* ---------- Pixel Bevel Panel (Minecraft inventory-slot style) ---------- */
.pixel-panel {
  border-radius: 0;
  border: 3px solid #000;
  box-shadow:
    inset 3px 3px 0 var(--bevel-light),
    inset -3px -3px 0 var(--bevel-dark);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.container-narrow { max-width: 760px; }

.accent { color: var(--gold); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: normal;
  letter-spacing: 0;
  line-height: 1.5;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.5);
}

/* ---------- Buttons (Minecraft UI style) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 0;
  font-family: var(--font-display);
  font-weight: normal;
  font-size: 0.75rem;
  text-transform: uppercase;
  text-decoration: none;
  border: 3px solid #000;
  cursor: pointer;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.35);
  transition: filter 0.1s ease, transform 0.05s ease;
}
.btn-primary {
  background: var(--grass);
  color: #1c1206;
  text-shadow: 1px 1px 0 rgba(255,255,255,0.25);
  box-shadow:
    inset 3px 3px 0 rgba(255,255,255,0.4),
    inset -4px -4px 0 var(--grass-dark),
    0 5px 0 #000;
}
.btn-primary:hover { filter: brightness(1.12); }
.btn-primary:active { transform: translateY(4px); box-shadow: inset 3px 3px 0 rgba(255,255,255,0.4), inset -4px -4px 0 var(--grass-dark); }
.btn-ghost {
  background: var(--bg-panel-alt);
  color: var(--text);
  box-shadow:
    inset 3px 3px 0 rgba(255,255,255,0.08),
    inset -4px -4px 0 rgba(0,0,0,0.5),
    0 5px 0 #000;
}
.btn-ghost:hover { color: var(--gold); filter: brightness(1.2); }
.btn-ghost:active { transform: translateY(4px); box-shadow: inset 3px 3px 0 rgba(255,255,255,0.08), inset -4px -4px 0 rgba(0,0,0,0.5); }
.btn-lg { padding: 18px 30px; font-size: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 22, 28, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}
.brand-logo {
  width: 34px;
  height: 34px;
  display: block;
  image-rendering: auto;
}
.nav-links { display: flex; gap: 22px; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.6rem;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta { padding: 10px 16px; font-size: 0.55rem; white-space: nowrap; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.9) brightness(0.55);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,22,28,0.55) 0%, rgba(18,22,28,0.85) 60%, var(--bg-dark) 100%);
}
.hero-inner { text-align: center; max-width: 820px; margin: 0 auto; }

.pill {
  display: inline-block;
  background: var(--bg-panel-alt);
  border: 3px solid #000;
  box-shadow: inset 2px 2px 0 rgba(255,255,255,0.15), inset -3px -3px 0 rgba(0,0,0,0.5);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.65rem;
  padding: 10px 16px;
  border-radius: 0;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(1.4rem, 4vw, 2.3rem);
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-sub {
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-sub strong { color: var(--text); }

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-stat strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.hero-stat span {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Floating Blocks ---------- */
.float-block {
  position: absolute;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.5));
  z-index: 1;
  animation: float-bob 5s ease-in-out infinite;
}
.fb-1 { top: 18%; left: 6%; width: 56px; animation-delay: 0s; }
.fb-2 { top: 62%; left: 10%; width: 40px; animation-delay: 1.2s; }
.fb-3 { top: 22%; right: 7%; width: 48px; animation-delay: 0.6s; }
.fb-4 { top: 60%; right: 11%; width: 52px; animation-delay: 1.8s; }
@keyframes float-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(4deg); }
}
@media (max-width: 900px) {
  .float-block { display: none; }
}

/* ---------- Pixel Divider ---------- */
.pixel-divider {
  height: 22px;
  background-image: url('images/block-grass.svg');
  background-repeat: repeat-x;
  background-size: 22px 22px;
  image-rendering: pixelated;
  border-top: 2px solid rgba(0,0,0,0.3);
  border-bottom: 2px solid rgba(0,0,0,0.3);
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--grass);
  color: #1c1206;
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  animation: scroll-left 22s linear infinite;
}
.marquee-track span { padding: 0 4px; }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-panel); }

.section-title {
  text-align: center;
  font-size: clamp(1rem, 2.4vw, 1.6rem);
  margin-bottom: 20px;
}
.section-sub {
  text-align: center;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 56px;
}

/* ---------- Feature Grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-panel-alt);
  border: 3px solid #000;
  border-radius: 0;
  padding: 32px 26px;
  box-shadow:
    inset 3px 3px 0 rgba(255,255,255,0.12),
    inset -4px -4px 0 rgba(0,0,0,0.5),
    0 6px 14px rgba(0,0,0,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 3px 3px 0 rgba(45,212,191,0.15),
    inset -4px -4px 0 rgba(0,0,0,0.5),
    0 12px 24px rgba(0,0,0,0.3);
}
.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  image-rendering: pixelated;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}
.feature-card h3 {
  font-size: 0.8rem;
  margin-bottom: 14px;
}
.feature-card p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Image Break ---------- */
.image-break {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 100px 0;
}
.image-break-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18,22,28,0.92) 20%, rgba(18,22,28,0.55) 100%);
}
.image-break-alt .image-break-overlay {
  background: linear-gradient(270deg, rgba(18,22,28,0.92) 20%, rgba(18,22,28,0.55) 100%);
}
.image-break-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
}
.image-break-alt .image-break-content { margin-left: auto; text-align: right; }
.image-break-content h2 {
  font-size: clamp(0.95rem, 2.2vw, 1.4rem);
  margin-bottom: 20px;
}
.image-break-content p {
  color: var(--text-dim);
  margin-bottom: 20px;
}

/* ---------- Specs ---------- */
.specs-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.specs-image img {
  width: 100%;
  border-radius: 0;
  border: 3px solid #000;
  box-shadow: inset 3px 3px 0 rgba(255,255,255,0.15), inset -4px -4px 0 rgba(0,0,0,0.5);
  display: block;
}
.specs-table {
  background: var(--bg-panel-alt);
  border: 3px solid #000;
  border-radius: 0;
  box-shadow: inset 3px 3px 0 rgba(255,255,255,0.06), inset -4px -4px 0 rgba(0,0,0,0.5);
  overflow: hidden;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 2px solid rgba(0,0,0,0.4);
  font-size: 0.95rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-row span { color: var(--text-dim); }
.spec-row strong { font-weight: 700; }
.free-tag { color: var(--grass); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  text-align: center;
}
.step-number {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grass);
  color: #1c1206;
  font-family: var(--font-display);
  font-size: 1.1rem;
  border-radius: 0;
  border: 3px solid #000;
  box-shadow: inset 3px 3px 0 rgba(255,255,255,0.4), inset -4px -4px 0 var(--grass-dark);
}
.step h3 { margin-bottom: 12px; font-size: 0.8rem; }
.step p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-panel-alt);
  border: 3px solid #000;
  border-radius: 0;
  box-shadow: inset 3px 3px 0 rgba(255,255,255,0.06), inset -4px -4px 0 rgba(0,0,0,0.5);
  padding: 20px 24px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-dim); margin-top: 14px; font-size: 0.95rem; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 110px 0;
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(18,22,28,0.6), rgba(18,22,28,0.95));
}
.cta-inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.cta h2 { font-size: clamp(1rem, 2.6vw, 1.5rem); margin-bottom: 20px; }
.cta p { color: var(--text-dim); margin-bottom: 32px; }

.signup-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}
.signup-form input {
  flex: 1;
  min-width: 240px;
  padding: 14px 18px;
  border-radius: 0;
  border: 3px solid #000;
  box-shadow: inset 2px 2px 0 rgba(0,0,0,0.4), inset -2px -2px 0 rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-size: 0.95rem;
}
.signup-form input:focus { outline: 2px solid var(--gold); }
.cta-note { color: var(--text-dim); font-size: 0.85rem; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.85rem;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { width: 100%; text-align: center; color: var(--text-dim); font-size: 0.8rem; margin-top: 10px; line-height: 1.8; }
.footer-copy a { color: var(--text-dim); text-decoration: underline; }
.footer-copy a:hover { color: var(--gold); }

/* ---------- Legal Pages ---------- */
.legal {
  padding: 160px 0 100px;
  max-width: 820px;
  margin: 0 auto;
}
.legal h1 {
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  margin-bottom: 12px;
}
.legal .legal-updated {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 0.85rem;
  margin-top: 44px;
  margin-bottom: 14px;
  color: var(--gold);
}
.legal p, .legal li {
  color: var(--text-dim);
  font-size: 0.98rem;
  margin-bottom: 14px;
}
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal a { color: var(--gold); }
.legal strong { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .specs-wrap { grid-template-columns: 1fr; }
  .image-break-alt .image-break-content { margin-left: 0; text-align: left; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hero { padding: 90px 0 60px; }
  .section { padding: 70px 0; }
}

@media (max-width: 400px) {
  .brand { font-size: 1.05rem; }
}
