@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #0b0f14;
  --panel: #111823;
  --panel-soft: #161f2d;
  --ink: #f3f4f8;
  --muted: #9aa7b6;
  --accent: #f7b34c;
  --accent-strong: #ff8f3c;
  --teal: #50d6c3;
  --violet: #7a6cff;
  --danger: #ff6b6b;
  --keep: #56d364;
  --sell: #f7b34c;
  --recycle: #8fb3ff;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Outfit", "Space Grotesk", sans-serif;
  background: radial-gradient(circle at 20% 20%, #1d2530 0%, #0b0f14 55%);
  color: var(--ink);
}

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

.glow {
  position: fixed;
  inset: -20% 0 auto;
  height: 520px;
  background: radial-gradient(circle at 20% 30%, rgba(122, 108, 255, 0.35), transparent 60%),
    radial-gradient(circle at 70% 40%, rgba(247, 179, 76, 0.28), transparent 60%),
    radial-gradient(circle at 50% 80%, rgba(80, 214, 195, 0.25), transparent 60%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.hero {
  position: relative;
  z-index: 1;
  padding: 32px 6vw 40px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #1b1b1b;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a {
  transition: color 0.2s ease;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  margin: 12px 0 12px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--teal);
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

button {
  font-family: inherit;
  border: none;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #171717;
  font-weight: 600;
}

.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-meta {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.panel-card {
  background: linear-gradient(160deg, rgba(22, 31, 45, 0.95), rgba(10, 12, 18, 0.85));
  border-radius: 20px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.panel-card h3 {
  margin: 0 0 8px;
}

.panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.panel-tags span {
  font-size: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 999px;
}

main {
  padding: 0 6vw 80px;
}

.section {
  margin-top: 64px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
}

.section-head p {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 620px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.stat-card {
  background: var(--panel);
  border-radius: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.stat {
  font-size: 2rem;
  font-weight: 600;
  margin: 8px 0;
}

.panel {
  background: linear-gradient(140deg, rgba(22, 31, 45, 0.8), rgba(8, 10, 15, 0.9));
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.decision-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.decision-card.keep {
  border-color: rgba(86, 211, 100, 0.35);
}

.decision-card.sell {
  border-color: rgba(247, 179, 76, 0.35);
}

.decision-card.recycle {
  border-color: rgba(143, 179, 255, 0.35);
}

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

input,
select {
  background: var(--panel-soft);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.item-card,
.map-card,
.arc-card,
.quest-card {
  background: var(--panel);
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

.item-card img,
.arc-card img {
  height: 56px;
  width: 56px;
  object-fit: contain;
}

.item-card h4,
.map-card h4,
.arc-card h4,
.quest-card h4 {
  margin: 0;
  font-size: 1.05rem;
}

.meta {
  font-size: 12px;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.tag.keep {
  color: var(--keep);
  border: 1px solid rgba(86, 211, 100, 0.3);
}

.tag.sell {
  color: var(--sell);
  border: 1px solid rgba(247, 179, 76, 0.35);
}

.tag.recycle {
  color: var(--recycle);
  border: 1px solid rgba(143, 179, 255, 0.35);
}

.item-card .desc,
.map-card p,
.arc-card p,
.quest-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.map-card img {
  width: 100%;
  height: 160px;
  border-radius: 14px;
  object-fit: cover;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-card {
  background: var(--panel);
  border-radius: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.timeline-card span {
  font-size: 13px;
  color: var(--muted);
}

.badge-live {
  background: rgba(86, 211, 100, 0.2);
  color: var(--keep);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(86, 211, 100, 0.35);
}

.footer {
  background: #0a0d12;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 6vw 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer h3 {
  margin: 0 0 8px;
}

.footer p {
  margin: 0;
  color: var(--muted);
  max-width: 520px;
}

.footer-meta {
  color: var(--muted);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: fadeUp 0.6s ease forwards;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel {
    padding: 20px;
  }

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