:root {
  --orange: #f59331;
  --orange-deep: #e07820;
  --cream: #fff6e9;
  --cream-2: #ffeccd;
  --brown: #5a3b1f;
  --brown-soft: #8a6a48;
  --white: #fffdf9;
  --shadow: 0 18px 45px rgba(180, 110, 40, 0.18);
  --radius: 22px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--brown);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .brand { font-family: "Baloo 2", "Nunito", sans-serif; }

a { color: var(--orange-deep); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-family: "Baloo 2", sans-serif;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 26px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-size: 1rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(245, 147, 49, 0.45); }
.btn-primary:hover { background: var(--orange-deep); }
.btn-ghost { background: #fff; color: var(--brown); border: 2px solid var(--cream-2); }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-small { padding: 7px 16px; font-size: 0.85rem; background: var(--orange); color: #fff; }
.btn-social { background: #fff; color: var(--brown); border: 2px solid var(--cream-2); padding: 14px 30px; }
.btn-social:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6vw;
  background: rgba(255, 246, 233, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-2);
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 800; color: var(--brown); }
.brand-logo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--orange); }
.nav-links { display: flex; gap: 28px; font-weight: 700; }
.nav-links a { color: var(--brown); }
.nav-links a:hover { color: var(--orange-deep); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 6vw 90px; overflow: hidden; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; z-index: 0; }
.blob-1 { width: 420px; height: 420px; background: #ffd79a; top: -120px; right: -80px; }
.blob-2 { width: 360px; height: 360px; background: #ffe2b8; bottom: -140px; left: -100px; }
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}
.badge {
  display: inline-block;
  background: #fff;
  border: 2px solid var(--cream-2);
  padding: 7px 18px;
  border-radius: 999px;
  font-weight: 800;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; color: var(--brown); }
.lead { font-size: 1.2rem; margin: 22px 0 30px; color: var(--brown-soft); max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-img {
  width: 100%;
  max-width: 420px;
  border-radius: 30px;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 6px solid #fff;
  animation: bob 4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.float-emoji { position: absolute; font-size: 2.4rem; animation: bob 3.5s ease-in-out infinite; }
.e1 { top: 0; left: 10%; }
.e2 { bottom: 10%; right: 5%; animation-delay: 0.6s; }
.e3 { top: 40%; right: -10px; animation-delay: 1.2s; }

/* ---------- Contract bar ---------- */
.ca-bar { padding: 0 6vw; margin-top: -30px; position: relative; z-index: 2; }
.ca-inner {
  max-width: 1150px; margin: 0 auto;
  background: var(--brown); color: var(--cream);
  border-radius: var(--radius); padding: 26px 34px;
  display: flex; align-items: center; justify-content: center;
  gap: 30px; flex-wrap: wrap; box-shadow: var(--shadow);
}
.ca-label { display: block; font-size: 0.8rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; text-align: center; }
.ca-copy { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.ca-copy code { background: rgba(255,255,255,0.1); padding: 8px 14px; border-radius: 10px; font-size: 0.9rem; word-break: break-all; }
.ca-stats { display: flex; gap: 30px; }
.stat { text-align: center; }
.stat-num { display: block; font-size: 1.4rem; font-weight: 800; font-family: "Baloo 2", sans-serif; }
.stat-lbl { font-size: 0.8rem; opacity: 0.7; }

/* ---------- Sections ---------- */
section { scroll-margin-top: 80px; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 50px; padding: 0 20px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--brown); }
.section-head p { font-size: 1.15rem; color: var(--brown-soft); margin-top: 8px; }

.story, .gallery, .buy, .tokenomics { padding: 90px 6vw; }
.story { background: var(--white); }

.story-grid { max-width: 1050px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.story-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); border: 6px solid #fff; }
.story-copy p { font-size: 1.15rem; margin-bottom: 18px; color: var(--brown-soft); }
blockquote { font-family: "Baloo 2", sans-serif; font-size: 1.5rem; color: var(--orange-deep); border-left: 5px solid var(--orange); padding-left: 18px; margin-top: 20px; }

/* ---------- Gallery ---------- */
.gallery-grid { max-width: 1050px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-grid img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); border: 5px solid #fff; transition: transform 0.25s ease; }
.gallery-grid img:hover { transform: scale(1.03) rotate(-1deg); }

/* ---------- Steps ---------- */
.buy { background: var(--white); }
.steps { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { background: var(--cream); border-radius: var(--radius); padding: 32px 24px; text-align: center; border: 2px solid var(--cream-2); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 1.4rem; font-weight: 800; font-family: "Baloo 2", sans-serif; margin-bottom: 16px; }
.step h3 { color: var(--brown); margin-bottom: 8px; }
.step p { color: var(--brown-soft); }

/* ---------- Tokenomics ---------- */
.token-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.token-card { background: var(--brown); color: var(--cream); border-radius: var(--radius); padding: 36px 20px; text-align: center; box-shadow: var(--shadow); }
.token-val { display: block; font-family: "Baloo 2", sans-serif; font-size: 1.5rem; font-weight: 800; }
.token-lbl { opacity: 0.75; margin-top: 6px; display: block; }

/* ---------- Community ---------- */
.community { padding: 90px 6vw; background: linear-gradient(160deg, var(--orange) 0%, var(--orange-deep) 100%); color: #fff; text-align: center; }
.community-inner { max-width: 640px; margin: 0 auto; }
.community-img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 6px solid #fff; box-shadow: var(--shadow); margin-bottom: 24px; }
.community h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.community p { font-size: 1.2rem; margin: 10px 0 30px; }
.social-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--brown); color: var(--cream); padding: 50px 6vw; }
.footer-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.footer .brand { justify-content: center; color: var(--cream); margin-bottom: 18px; }
.disclaimer { font-size: 0.9rem; opacity: 0.7; max-width: 600px; margin: 0 auto 14px; }
.copyright { font-size: 0.9rem; opacity: 0.85; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--brown); color: #fff; padding: 14px 28px; border-radius: 999px;
  font-weight: 800; box-shadow: var(--shadow); opacity: 0; transition: all 0.3s ease; z-index: 100;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero-inner, .story-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .gallery-grid, .steps, .token-grid { grid-template-columns: 1fr 1fr; }
  .ca-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .gallery-grid, .steps, .token-grid { grid-template-columns: 1fr; }
  .ca-stats { gap: 18px; }
}
