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

:root {
  --bg: #0a0a0c;
  --surface: #121214;
  --border: #1e1e22;
  --text: #f0f0ec;
  --text-muted: #85858c;
  --text-dim: #3d3d44;
  --yellow: #f3c23d;
  --yellow-dark: #d4a521;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

a { color: inherit; text-decoration: none; }

#stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.nav, .hero, .features, .cta, .footer { position: relative; z-index: 1; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.15s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--yellow);
  color: #141410;
  border: 1px solid var(--yellow);
}

.btn-primary:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover { color: var(--text); border-color: #3a3a40; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(10, 10, 12, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--yellow); }

.nav .btn { display: none; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 32px 70px;
}

.hero-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82rem;
  color: var(--yellow);
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}

.hero-heading {
  font-size: clamp(2.6rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

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

.hero-sub {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Features ── */
.features {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}

.feat {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feat.in-view {
  opacity: 1;
  transform: translateY(0);
}

.feat-shot {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.feat-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shot-placeholder {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-dim);
  border: 1px dashed var(--border);
  border-radius: 14px;
}

.feat-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.9rem;
  color: var(--yellow);
  border: 1px solid var(--border);
  border-radius: 50%;
  margin-bottom: 18px;
}

.feat h3 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.feat p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

/* ── CTA ── */
.cta {
  max-width: 560px;
  margin: 0 auto;
  padding: 90px 32px;
  text-align: center;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta h2 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.cta p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.cta .btn { margin-top: 6px; }

/* ── Contact form ── */
.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem;
  resize: none;
  transition: border-color 0.15s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-dim);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--yellow);
}

.contact-form .btn {
  align-self: center;
  margin-top: 4px;
  cursor: pointer;
  border-width: 1px;
  border-style: solid;
}

.form-status {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  min-height: 1.2em;
}

.form-status.ok { color: var(--yellow); }
.form-status.err { color: #e06060; }

.contact-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.discord-id {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

/* ── Footer ── */
.footer {
  padding: 24px 32px;
  border-top: 1px solid var(--border);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--text-dim);
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .hero { padding: 100px 20px 60px; }
  .features { padding: 0 20px; }
  .feat { min-height: auto; padding: 50px 0; }
  .cta { padding: 70px 20px; }
}
