:root {
  --navy: #1a2a24;          /* dark forest/teal — matches foliage + kitchen wall */
  --navy-deep: #0f1a16;
  --teal: #1f2e3a;          /* kitchen wall teal */
  --cream: #f0e6cc;          /* warm document cream */
  --cream-soft: #f7efd8;
  --red: #b8332e;            /* warm tie red, less neon */
  --red-hover: #d14640;
  --blue: #3b6680;           /* muted dusk blue */
  --green: #6b8a3a;          /* olive green from plate */
  --green-bright: #9ab85a;
  --gold: #c9a449;           /* ring/frame gold */
  --gold-soft: #e6c878;
  --text: #f4ead0;           /* warm off-white */
  --muted: #a89f87;
  --black: #0a120e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: linear-gradient(to bottom, var(--navy) 0%, var(--teal) 50%, var(--navy-deep) 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

.title {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
}

.container { max-width: 80rem; margin: 0 auto; padding: 0 24px; }

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

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(15, 26, 22, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 164, 73, 0.15);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Bebas Neue', sans-serif; font-size: 24px; letter-spacing: 2px; color: var(--gold-soft); }
.brand img { height: 32px; width: 32px; border-radius: 50%; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-weight: 600; color: var(--text); transition: color .2s; }
.nav-links a:hover { color: var(--gold-soft); }

/* BUTTONS */
.btn {
  display: inline-block; padding: 8px 20px; border-radius: 999px;
  font-weight: 700; transition: transform .15s ease, background .2s, box-shadow .2s;
  cursor: pointer; font-size: 14px; border: none;
}
.btn-primary {
  background: var(--red);
  color: var(--cream-soft);
  box-shadow: 0 0 20px rgba(184, 51, 46, 0.5), 0 4px 14px rgba(0,0,0,0.4);
}
.btn-primary:hover { transform: scale(1.05); background: var(--red-hover); }
.btn-blue {
  background: var(--blue);
  color: var(--text);
}
.btn-blue:hover { transform: scale(1.05); }
.btn-lg { padding: 12px 24px; font-size: 16px; }

/* HERO */
.hero { padding: 112px 0 80px; position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(15,26,22,0.45) 0%, rgba(15,26,22,0.25) 50%, rgba(26,42,36,0.85) 100%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-title { font-family: 'Bebas Neue', sans-serif; letter-spacing: 2px; font-size: clamp(48px, 7vw, 84px); line-height: 1.1; }
.hero-title { color: var(--cream-soft); text-shadow: 3px 3px 0 rgba(0,0,0,0.6); }
.hero-title .accent { color: var(--gold-soft); }
.hero-sub { margin-top: 24px; font-size: 18px; color: var(--cream); }
.hero-list { margin-top: 24px; list-style: none; display: grid; gap: 12px; }
.hero-ctas { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; }

.contract-row { margin-top: 24px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.contract-input {
  color: var(--black);
  background: var(--text);
  padding: 8px 16px;
  border-radius: 6px;
  width: 18rem;
  font-size: 13px;
  border: none;
  font-family: ui-monospace, monospace;
}
.copy-btn {
  background: var(--green);
  color: var(--text);
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all .3s;
  font-size: 14px;
}
.copy-btn.copied {
  background: var(--blue);
  transform: scale(1.1);
}

.hero-placeholder {
  font-size: 240px;
  text-align: center;
}

/* VINTAGE FRAME */
.vintage-frame {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  padding: 28px;
  background:
    linear-gradient(135deg, #f5d77a 0%, #b8862a 25%, #efc960 50%, #8a5e16 75%, #d9a93f 100%);
  border-radius: 4px;
  box-shadow:
    0 0 0 2px #3a2a10,
    inset 0 0 0 2px #3a2a10,
    inset 0 0 0 6px #f5d77a,
    inset 0 0 0 8px #6e4a14,
    0 30px 60px -15px rgba(0,0,0,0.7),
    0 0 80px rgba(247, 201, 96, 0.15);
  animation: float 4s ease-in-out infinite;
}
.vintage-frame::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid #3a2a10;
  border-radius: 2px;
  pointer-events: none;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 6px);
}
.frame-corner {
  position: absolute;
  width: 42px;
  height: 42px;
  z-index: 2;
  filter: drop-shadow(0 1px 0 rgba(255,230,160,0.6));
}
.frame-corner.tl { top: 10px; left: 10px; }
.frame-corner.tr { top: 10px; right: 10px; transform: scaleX(-1); }
.frame-corner.bl { bottom: 10px; left: 10px; transform: scaleY(-1); }
.frame-corner.br { bottom: 10px; right: 10px; transform: scale(-1, -1); }

.frame-mat {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #f4ead0 0%, #e8d9a8 100%);
  border: 1px solid #3a2a10;
  box-shadow:
    inset 0 4px 18px rgba(0,0,0,0.25),
    inset 0 0 0 6px #fbf3dc,
    inset 0 0 0 7px #6e4a14;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.frame-mat img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.3));
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* TOKENOMICS */
.tokenomics { padding: 64px 0; }
.metrics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  text-align: center;
}
.metric-card {
  background: rgba(15, 26, 22, 0.7);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(201, 164, 73, 0.2);
  transition: border-color .2s, transform .2s;
}
.metric-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.metric-label { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.metric-value {
  font-size: 24px;
  font-weight: 700;
  margin-top: 8px;
  color: var(--cream-soft);
}
.metric-value.green { color: var(--green-bright); }

/* ABOUT */
.about {
  padding: 80px 0;
  background: var(--cream);
  color: #2a2418;
}
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about h2 { font-family: 'Bebas Neue', sans-serif; letter-spacing: 2px; font-size: 48px; color: var(--red); }
.about-text p { margin-top: 24px; color: #4a3f2c; }
.about-text ul { margin-top: 24px; list-style: none; display: grid; gap: 12px; font-weight: 600; }
.about-art img { width: 100%; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.about-placeholder { font-size: 200px; text-align: center; }

/* ROADMAP */
.roadmap { padding: 80px 0; text-align: center; }
.roadmap h2 { font-family: 'Bebas Neue', sans-serif; letter-spacing: 2px; font-size: 48px; margin-bottom: 48px; color: var(--gold-soft); }
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: left; }
.phase {
  background: rgba(15, 26, 22, 0.7);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(201, 164, 73, 0.2);
  transition: border-color .2s, transform .2s;
}
.phase:hover { border-color: var(--red); transform: translateY(-4px); }
.phase h3 { color: var(--gold-soft); }
.phase-icon { font-size: 32px; }
.phase h3 { margin-top: 12px; font-weight: 700; font-size: 18px; }
.phase p { color: var(--muted); margin-top: 8px; font-size: 14px; }

/* CTA */
.cta {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--red) 0%, #8a2520 100%);
  text-align: center;
  color: var(--cream-soft);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}
.cta h2 { font-family: 'Bebas Neue', sans-serif; letter-spacing: 2px; font-size: 48px; }
.cta p { margin-top: 16px; }

/* FOOTER */
.footer {
  padding: 40px 0;
  text-align: center;
  color: var(--muted);
  background: var(--black);
  border-top: 1px solid rgba(201, 164, 73, 0.2);
}
.footer p.small { margin-top: 8px; font-size: 14px; }
.footer .socials { margin-top: 16px; display: flex; justify-content: center; gap: 20px; }
.footer .socials a { color: var(--text); font-weight: 700; }
.footer .socials a:hover { color: var(--gold-soft); }

/* FADE-UP ANIMATION */
.fade-up { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.fade-up.show { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-inner, .about-inner { grid-template-columns: 1fr; }
  .metrics-grid, .phases { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .metrics-grid, .phases { grid-template-columns: 1fr; }
  .contract-input { width: 100%; }
}
