﻿*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sky-top: #ffd89b;
  --sky-mid: #a8edea;
  --sky-bot: #7ecb8f;
  --grass: #3a9e4f;
  --grass-dark: #2a7a3b;
  --green: #2ecc71;
  --orange: #f39c12;
  --brown: #8B5E3C;
  --white: #ffffff;
  --text-dark: #1a3a1a;
  --text-mid: #2d5a2d;
  --bubble-bg: rgba(255,255,255,0.85);
  --nav-bg: rgba(255,255,255,0.75);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: #0a1f0a;
  color: var(--text-dark);
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background:
    linear-gradient(180deg, rgba(33, 199, 237, 0.92), rgba(139, 230, 247, 0.92)),
    #21c7ed;
  color: var(--text-dark);
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.site-preloader img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 12px 18px rgba(22, 72, 31, 0.22));
  animation: floatBob 2.2s ease-in-out infinite;
}

.site-preloader span {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

body:not(.is-loading) .site-preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: calc(100% - 40px); max-width: 1100px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  padding: 12px 28px;
  display: flex; align-items: center; justify-content: space-between;
  z-index: 1000;
  margin-top: 16px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Nunito', sans-serif;
  font-weight: 900; font-size: 1.2rem;
  color: var(--text-dark); text-decoration: none;
}

.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.88rem; font-weight: 600;
  color: var(--text-dark);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--grass); }

.nav-wallet {
  background: linear-gradient(135deg, #9945FF, #19fb9b);
  color: white; border: none;
  padding: 8px 18px; border-radius: 999px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700; font-size: 0.82rem;
  cursor: pointer; display: flex; align-items: center; gap: 6px;
  transition: opacity 0.2s; white-space: nowrap;
}
.nav-wallet:hover { opacity: 0.85; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 224, 175, 0.08), rgba(151, 226, 221, 0.06) 34%, rgba(255, 243, 189, 0.04) 55%),
    url('/assets/hero-grass-background.png');
  background-size: auto, cover;
  background-position: center center, center top;
  background-repeat: no-repeat;
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  overflow: hidden;
  padding-top: clamp(92px, 11vh, 130px);
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 48% 43%, rgba(255,255,255,0.08), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,246,199,0.04) 52%, rgba(13,72,22,0.04) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Sun */
.sun {
  display: none;
  position: absolute; top: 6%; left: 50%; transform: translateX(-50%);
  width: 140px; height: 140px;
  background: radial-gradient(circle, #fff176 30%, #ffb347 70%, #ff8f00 100%);
  border-radius: 50%;
  box-shadow: 0 0 60px 30px rgba(255,200,50,0.4), 0 0 120px 60px rgba(255,180,0,0.15);
  animation: sunPulse 4s ease-in-out infinite;
  z-index: 0;
}
@keyframes sunPulse {
  0%,100% { transform: translateX(-50%) scale(1); box-shadow: 0 0 60px 30px rgba(255,200,50,0.4); }
  50% { transform: translateX(-50%) scale(1.05); box-shadow: 0 0 80px 40px rgba(255,200,50,0.5); }
}

/* Sun rays */
.sun-rays {
  display: none;
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 500px; height: 300px;
  background: repeating-conic-gradient(from 0deg, rgba(255,220,80,0.12) 0deg 10deg, transparent 10deg 20deg);
  z-index: 0;
  opacity: 0.45;
}

/* Clouds */
.cloud {
  position: absolute;
  z-index: 1;
  background:
    radial-gradient(ellipse at 20% 62%, rgba(255,255,255,0.96) 0 28%, transparent 29%),
    radial-gradient(ellipse at 42% 40%, rgba(255,255,255,0.98) 0 34%, transparent 35%),
    radial-gradient(ellipse at 62% 55%, rgba(250,253,255,0.96) 0 30%, transparent 31%),
    radial-gradient(ellipse at 82% 65%, rgba(238,250,255,0.88) 0 24%, transparent 25%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(224,244,252,0.76));
  border-radius: 999px;
  opacity: 0.72;
  filter: blur(1px);
  animation: drift linear infinite;
  box-shadow:
    inset 0 -16px 24px rgba(129, 189, 211, 0.18),
    inset 0 8px 18px rgba(255, 255, 255, 0.75),
    0 16px 34px rgba(78, 157, 190, 0.16);
}
.cloud::before, .cloud::after {
  content: '';
  position: absolute;
  background:
    radial-gradient(circle at 38% 36%, rgba(255,255,255,0.98), rgba(242,250,253,0.78) 64%, transparent 66%);
  border-radius: 50%;
  filter: blur(0.5px);
}
.c1 { width: 230px; height: 74px; top: 12%; left: -12%; animation-duration: 40s; }
.c1::before { width: 96px; height: 86px; top: -43px; left: 32px; }
.c1::after  { width: 82px; height: 72px; top: -32px; left: 98px; opacity: 0.9; }

.c2 { width: 280px; height: 88px; top: 11%; right: -18%; animation-duration: 54s; animation-direction: reverse; opacity: 0.66; }
.c2::before { width: 112px; height: 100px; top: -50px; left: 38px; }
.c2::after  { width: 96px; height: 82px; top: -38px; left: 132px; opacity: 0.86; }

.c3 { width: 170px; height: 54px; top: 30%; left: -14%; animation-duration: 62s; opacity: 0.42; }
.c3::before { width: 68px; height: 62px; top: -31px; left: 20px; }
.c3::after  { width: 58px; height: 52px; top: -23px; left: 74px; opacity: 0.8; }

@keyframes drift {
  from { transform: translateX(-120px); }
  to   { transform: translateX(calc(100vw + 120px)); }
}

/* Floating elements */
.float-el {
  position: absolute;
  z-index: 2;
  animation: floatBob ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));
  user-select: none;
  pointer-events: none;
}
.float-el img {
  width: 100%; height: 100%;
  object-fit: contain;
}
@keyframes floatBob {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(3deg); }
}

.fe-coin-l  { left: 6%;  bottom: 14%; width: clamp(72px, 8vw, 112px); height: clamp(72px, 8vw, 112px); animation-duration: 4.2s; animation-delay: 0s; }
.fe-coin-r  { right: -1%; bottom: 4%; width: clamp(90px, 12vw, 160px); height: clamp(90px, 12vw, 160px); animation-duration: 3.8s; animation-delay: 0.5s; opacity: 0.9; }
.fe-sol     { right: 10%; bottom: 20%; width: clamp(70px, 8vw, 108px); height: clamp(70px, 8vw, 108px); animation-duration: 5s;   animation-delay: 1s; }
.fe-tree-l  { left: 18%; bottom: 33%; width: 54px; height: 54px; animation-duration: 6s;   animation-delay: 0.3s; opacity: 0.82; }
.fe-tree-r  { right: 21%;bottom: 31%; width: 38px; height: 38px; animation-duration: 5.5s; animation-delay: 0.8s; opacity: 0.75; }
.fe-butterfly-1 { left: 10%;  top: 44%; width: 42px; height: 42px; animation-duration: 3.5s; animation-delay: 0.2s; }
.fe-butterfly-2 { right: 15%; top: 42%; width: 48px; height: 48px; animation-duration: 4s;   animation-delay: 1.2s; }
.fe-butterfly-3 { left: 24%;  bottom: 28%; width: 42px; height: 42px; animation-duration: 4.5s; animation-delay: 0.7s; }
.fe-flower  { left: 49%;  top: 16%; width: 42px; height: 42px; animation-duration: 5.2s; animation-delay: 0.4s; opacity: 0.5; }
.fe-leaf    { right: 83%; top: 24%; width: 42px; height: 42px; animation-duration: 4.8s; animation-delay: 1.5s; opacity: 0.45; }

/* Grass ground - LAYERED */
.grass-ground {
  display: none;
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 22%;
  background: 
    /* Animated grass blade pattern */
    repeating-linear-gradient(90deg,
      transparent 0px, transparent 2px,
      rgba(76, 175, 80, 0.3) 2px, rgba(76, 175, 80, 0.3) 3px,
      transparent 3px, transparent 5px),
    /* Diagonal grass texture */
    repeating-linear-gradient(45deg,
      #2a7a3b 0px, #2a7a3b 1px,
      #3a9e4f 1px, #3a9e4f 2px,
      #2d8a40 2px, #2d8a40 3px),
    /* Base gradient */
    linear-gradient(180deg, #4caf50 0%, #2a7a3b 100%);
  border-radius: 60% 60% 0 0 / 30% 30% 0 0;
  z-index: 3;
  box-shadow: 
    inset 0 4px 12px rgba(0,0,0,0.4),
    inset 0 -2px 8px rgba(0,0,0,0.3);
  animation: grassWave 6s ease-in-out infinite;
}

@keyframes grassWave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.02); }
}

.grass-ground {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 22%;
  background-image: url('/assets/texture-grass.jpg');
  background-size: cover;
  background-position: bottom;
  border-radius: 60% 60% 0 0 / 30% 30% 0 0;
  z-index: 3;
  box-shadow: inset 0 4px 12px rgba(0,0,0,0.4);
}

@keyframes grassBlow {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(2px); }
  75% { transform: translateX(-2px); }
}

/* Extra grass detail layer */
.grass-ground::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(76, 175, 80, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 40%, rgba(42, 122, 59, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

/* Hero content */
.hero-content {
  position: relative; z-index: 10;
  text-align: center;
  padding: 0 20px;
  display: flex; flex-direction: column; align-items: center;
  gap: 10px;
  width: min(100%, 920px);
  margin-top: clamp(250px, 36vh, 340px);
}

/* Bubble title */
.hero-title-lockup {
  position: absolute;
  left: calc(50% - 600px);
  top: clamp(118px, 14vh, 136px);
  z-index: 6;
  width: clamp(165px, 9vw, 176px);
  aspect-ratio: 1;
  pointer-events: none;
}

.hero-main-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 16px 20px rgba(41, 80, 24, 0.32));
  mix-blend-mode: multiply;
}

.bubble-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@keyframes titleDrop {
  from { opacity: 0; transform: translateY(-40px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-tagline {
  font-family: 'Nunito', sans-serif;
  font-weight: 900; font-size: clamp(1.3rem, 2.7vw, 1.75rem);
  color: var(--text-dark);
  background: transparent;
  padding: 0;
  border-radius: 0;
  text-shadow: 0 2px 10px rgba(255,255,255,0.85);
  animation: fadeUp 0.8s 0.2s both;
}

.hero-sub {
  font-size: clamp(0.82rem, 1.7vw, 0.95rem);
  color: var(--text-dark);
  max-width: 540px;
  line-height: 1.3;
  background: transparent;
  padding: 0;
  border-radius: 0;
  text-shadow: 0 2px 10px rgba(255,255,255,0.95);
  animation: fadeUp 0.8s 0.35s both;
}

.hero-cta2 {
  font-weight: 700; font-size: 0.92rem;
  color: #1a3a1a;
  animation: fadeUp 0.8s 0.45s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* CA Box */
.ca-box {
  display: flex; align-items: center; gap: 10px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 18px;
  padding: 10px 16px;
  max-width: 520px; width: 100%;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.6);
  animation: fadeUp 0.8s 0.5s both;
}
.ca-box label { position: relative; z-index: 1; font-size: 0.72rem; font-weight: 800; color: rgba(26,58,26,0.7); white-space: nowrap; }
.ca-box span {
  position: relative;
  z-index: 1;
  font-family: monospace; font-size: 0.78rem;
  color: var(--text-dark); flex: 1;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.copy-btn {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.25);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  padding: 8px 12px; cursor: pointer; font-size: 0.8rem;
  transition: all 0.3s ease; white-space: nowrap;
  font-weight: 700;
  letter-spacing: 0.5px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.6);
  text-shadow: 0 1px 10px rgba(0,0,0,0.25);
}
.copy-btn:hover { background: rgba(255, 255, 255, 0.36); transform: scale(1.05); }
.copy-btn.copied {
  background: #00a651;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 0 12px rgba(0,166,81,0.6);
}

/* Hero buttons */
.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  animation: fadeUp 0.8s 0.6s both;
}
.btn-mint {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  border: none;
  padding: 12px 36px; border-radius: 999px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800; font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(46,204,113,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  text-shadow: none;
}
.btn-mint:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(46,204,113,0.5); }

.btn-collection {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
  color: var(--text-dark);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 12px 36px; border-radius: 999px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800; font-size: 1rem;
  cursor: pointer;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.6);
}
.btn-collection:hover { background: rgba(255, 255, 255, 0.36); transform: translateY(-3px); }

/* ── SECTIONS BASE ── */
section { padding: 80px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 900; font-size: clamp(2rem, 5vw, 3rem);
  text-align: center; margin-bottom: 12px;
}
.section-sub {
  text-align: center; font-size: 1rem; color: #777;
  max-width: 560px; margin: 0 auto 48px;
  line-height: 1.7;
}
.pill-label {
  display: inline-block;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: white; font-family: 'Nunito', sans-serif;
  font-weight: 800; font-size: 0.75rem;
  padding: 5px 16px; border-radius: 999px;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 14px;
}

/* ── ABOUT / MISSION ── */
#about { background: #f0fdf4; }

.mission-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 24px; margin-top: 48px;
}
.mission-card {
  background: white;
  border-radius: 24px;
  padding: 32px 28px;
  border: 1.5px solid #d1fae5;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  transition: transform 0.25s, box-shadow 0.25s;
  text-align: center;
}
.mission-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.08); }
.mission-card .icon { font-size: 3rem; margin-bottom: 16px; }
.mission-card .icon img { width: 60px; height: 60px; object-fit: contain; }
.mission-card h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800; font-size: 1.15rem;
  color: var(--text-dark); margin-bottom: 10px;
}
.mission-card p { font-size: 0.9rem; color: #555; line-height: 1.6; }

/* ── ECOSYSTEM ── */
#ecosystem { background: #0d1f0d; }
#ecosystem .section-title { color: white; }
#ecosystem .section-sub { color: #aaa; }

.eco-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 20px;
}
.eco-card {
  background: linear-gradient(145deg, #0f2d0f, #1a4a1a);
  border: 1.5px solid #2a6e2a;
  border-radius: 24px; padding: 28px 24px;
  transition: transform 0.25s, border-color 0.25s;
  position: relative; overflow: hidden;
}
.eco-card::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(46,204,113,0.15), transparent);
  border-radius: 50%;
}
.eco-card:hover { transform: translateY(-6px); border-color: #3a9e4f; }

.eco-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green);
  color: white; font-family: 'Nunito', sans-serif;
  font-weight: 900; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.eco-card h3 {
  font-family: 'Nunito', sans-serif; font-weight: 900;
  color: white; font-size: 1.1rem; margin-bottom: 6px;
}
.eco-chain {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(46,204,113,0.15);
  border: 1px solid rgba(46,204,113,0.3);
  border-radius: 999px; padding: 3px 10px;
  font-size: 0.72rem; font-weight: 700; color: #2ecc71;
  margin-bottom: 12px;
}
.eco-card p { font-size: 0.85rem; color: #9dbf9d; line-height: 1.6; }

/* ── TOUCH COUNTER ── */
#touch-counter { background: #f0fdf4; }

.grass-clicker {
  width: min(100%, 560px);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.clicker-count {
  min-width: min(100%, 340px);
  padding: 22px 28px;
  text-align: center;
  background: white;
  border: 1.5px solid #d1fae5;
  border-radius: 24px;
  box-shadow: 0 8px 28px rgba(35, 110, 53, 0.08);
}

.clicker-count span {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  color: var(--text-dark);
  font-variant-numeric: tabular-nums;
}

.clicker-count small {
  display: block;
  margin-top: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--grass);
}

.grass-patch {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1.15;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  cursor: pointer;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 215, 80, 0.2), transparent 34%),
    radial-gradient(ellipse at 50% 105%, rgba(24, 69, 20, 0.42), transparent 58%),
    linear-gradient(180deg, #7ee681 0%, #40ad52 44%, #257a35 100%);
  box-shadow:
    inset 0 -18px 30px rgba(13, 65, 24, 0.32),
    inset 0 10px 18px rgba(255, 255, 255, 0.22),
    0 16px 38px rgba(42, 122, 59, 0.22);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  touch-action: manipulation;
}

.grass-patch:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 -18px 30px rgba(13, 65, 24, 0.32),
    inset 0 10px 18px rgba(255, 255, 255, 0.24),
    0 20px 44px rgba(42, 122, 59, 0.26);
}

.grass-patch.is-pressed {
  transform: translateY(4px) scale(0.97);
}

.grass-blades,
.grass-blades::before,
.grass-blades::after {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(78deg, transparent 0 8px, rgba(255, 255, 255, 0.13) 8px 10px, transparent 10px 18px),
    repeating-linear-gradient(105deg, transparent 0 10px, rgba(9, 82, 29, 0.42) 10px 12px, transparent 12px 22px);
}

.grass-blades::before,
.grass-blades::after {
  content: '';
}

.grass-blades::before {
  transform: translateY(10%) skewX(-8deg);
  opacity: 0.42;
}

.grass-blades::after {
  transform: translateY(18%) skewX(9deg);
  opacity: 0.34;
}

.grass-clicker-mascot {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 42%;
  width: min(72%, 260px);
  height: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: drop-shadow(0 16px 18px rgba(19, 77, 25, 0.26));
  transition: transform 0.12s ease;
}

.grass-patch.is-pressed .grass-clicker-mascot {
  transform: translate(-50%, -47%) scale(0.94);
}

.clicker-leaf {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  width: 48px;
  height: 48px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 8px 10px rgba(19, 77, 25, 0.25));
}

.clicker-leaf-left {
  left: 20px;
  transform: rotate(-28deg);
}

.clicker-leaf-right {
  right: 20px;
  transform: scaleX(-1) rotate(-28deg);
}

.grass-touch-text {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 100%;
  width: 100%;
  padding: 0 22px 24px;
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.45rem, 5.4vw, 2.45rem);
  font-weight: 900;
  line-height: 1;
  color: white;
  text-shadow: 0 3px 12px rgba(16, 72, 21, 0.45);
}

.touch-pop {
  position: absolute;
  z-index: 3;
  left: var(--x);
  top: var(--y);
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  color: white;
  text-shadow: 0 2px 8px rgba(16, 72, 21, 0.5);
  pointer-events: none;
  animation: touchPop 0.7s ease-out forwards;
}

@keyframes touchPop {
  from { opacity: 1; transform: translate(-50%, -50%) scale(0.8); }
  to { opacity: 0; transform: translate(-50%, -92px) scale(1.4); }
}

.clicker-reset {
  border: 1.5px solid #b8e8c5;
  background: white;
  color: var(--text-dark);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}

.clicker-reset:hover {
  transform: translateY(-2px);
  border-color: var(--grass);
}

/* ── ROADMAP ── */
#roadmap { background: #0d1f0d; }
#roadmap .section-title { color: white; }
#roadmap .section-sub { color: #aaa; }

.roadmap-track {
  display: flex; flex-direction: column; gap: 0;
  max-width: 680px; margin: 0 auto;
  position: relative;
}
.roadmap-track::before {
  content: '';
  position: absolute; left: 30px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, #2ecc71, #27ae60, #1a5e2a);
}
.rm-item {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 20px 0;
  opacity: 0; transform: translateX(-20px);
  transition: opacity 0.5s, transform 0.5s;
}
.rm-item.visible { opacity: 1; transform: translateX(0); }
.rm-dot {
  width: 60px; min-width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  border: 3px solid #0d1f0d;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; z-index: 1;
  box-shadow: 0 0 20px rgba(46,204,113,0.3);
}
.rm-dot img { width: 32px; height: 32px; object-fit: contain; filter: brightness(1.2); }
.rm-content { padding-top: 8px; }
.rm-content .quarter {
  font-family: 'Nunito', sans-serif; font-weight: 700;
  font-size: 0.8rem; color: #2ecc71; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 4px;
}
.rm-content h3 {
  font-family: 'Nunito', sans-serif; font-weight: 900;
  color: white; font-size: 1.2rem; margin-bottom: 6px;
}
.rm-content p { font-size: 0.88rem; color: #9dbf9d; line-height: 1.6; }

/* ── COMMUNITY ── */
#community { background: linear-gradient(135deg, #f0fdf4, #dcfce7); }

.community-cards {
  display: flex; gap: 20px; flex-wrap: wrap; justify-content: center;
  margin-top: 48px;
}
.comm-card {
  background: white; border-radius: 24px;
  padding: 36px 32px; text-align: center;
  border: 1.5px solid #d1fae5;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  flex: 1; min-width: 220px; max-width: 280px;
  transition: transform 0.25s;
  text-decoration: none;
}
.comm-card:hover { transform: translateY(-6px); }
.comm-card .icon { font-size: 2.8rem; margin-bottom: 12px; }
.comm-card .icon img { width: 50px; height: 50px; object-fit: contain; }
.comm-card h3 {
  font-family: 'Nunito', sans-serif; font-weight: 800;
  color: var(--text-dark); font-size: 1.1rem; margin-bottom: 6px;
}
.comm-card p { font-size: 0.85rem; color: #888; }

/* ── BUY ── */
#buy {
  background: linear-gradient(135deg, #0d1f0d, #1a3a1a);
  text-align: center;
}
#buy .section-title { color: white; }
#buy .section-sub { color: #aaa; }

.buy-options {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  margin-top: 40px;
}
.buy-card {
  background: linear-gradient(145deg, #0f2d0f, #1a4a1a);
  border: 1.5px solid #2a6e2a;
  border-radius: 24px; padding: 28px 32px;
  text-align: center; min-width: 220px;
  transition: transform 0.25s, border-color 0.25s;
  text-decoration: none;
  display: block;
}
.buy-card:hover { transform: translateY(-6px); border-color: #3a9e4f; }
.buy-card .icon { font-size: 2.5rem; margin-bottom: 12px; }
.buy-card .icon img { width: 48px; height: 48px; object-fit: contain; }
.buy-card h3 {
  font-family: 'Nunito', sans-serif; font-weight: 900;
  color: white; font-size: 1.1rem; margin-bottom: 6px;
}
.buy-card p { font-size: 0.82rem; color: #9dbf9d; margin-bottom: 20px; }
.buy-btn {
  display: inline-block;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white; text-decoration: none;
  padding: 10px 28px; border-radius: 999px;
  font-family: 'Nunito', sans-serif; font-weight: 800;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}
.buy-btn:hover { opacity: 0.85; }

/* ── FOOTER ── */
footer {
  background: #050e05;
  padding: 48px 24px 32px;
  text-align: center;
}
.footer-logo {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 900; font-size: 1.5rem;
  color: #2ecc71; margin-bottom: 16px; line-height: 1;
}

.footer-logo img {
  width: 32px; height: 32px; object-fit: contain; flex-shrink: 0;
}
.footer-links {
  display: flex; gap: 24px; justify-content: center;
  flex-wrap: wrap; list-style: none; margin-bottom: 24px;
}
.footer-links a {
  color: #9dbf9d; text-decoration: none;
  font-size: 0.88rem; transition: color 0.2s;
}
.footer-links a:hover { color: #2ecc71; }
footer p { color: #4a6e4a; font-size: 0.8rem; }

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s, transform 0.6s;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav {
    width: calc(100% - 32px);
    padding: 12px 22px;
    border-radius: 18px;
  }

  .nav-links { display: none; }

  .nav-logo {
    gap: 8px;
    font-size: clamp(1rem, 4vw, 1.2rem);
  }

  .nav-logo img {
    width: 32px !important;
    height: 32px !important;
  }

  .nav-wallet {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  #hero {
    min-height: 900px;
    padding-top: 92px;
    background-image:
      linear-gradient(180deg, rgba(255, 224, 175, 0.08), rgba(151, 226, 221, 0.06) 34%, rgba(255, 243, 189, 0.04) 55%),
      url('/assets/hero-grass-background-mobile.png');
    background-size: auto, cover;
    background-position: center center, center top;
  }

  .hero-content {
    width: 100%;
    padding: 0 22px;
    margin-top: 430px;
    gap: 11px;
  }

  .hero-tagline {
    font-size: clamp(1.32rem, 5.5vw, 1.8rem);
    line-height: 1.12;
    max-width: 720px;
  }

  .hero-sub {
    font-size: clamp(0.92rem, 3.1vw, 1rem);
    line-height: 1.35;
    max-width: 620px;
  }

  .hero-cta2 {
    font-size: clamp(0.9rem, 3vw, 1rem);
    line-height: 1.25;
    max-width: 620px;
  }

  .ca-box {
    max-width: 680px;
    width: min(100%, 680px);
    gap: 8px;
    padding: 10px 12px;
  }

  .ca-box span {
    min-width: 0;
    font-size: 0.74rem;
  }

  .copy-btn {
    padding: 8px 14px;
  }

  .hero-btns {
    width: min(100%, 560px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .btn-mint,
  .btn-collection {
    width: 100%;
    padding: 13px 18px;
    text-align: center;
  }

  .fe-coin-l, .fe-tree-l, .fe-flower { left: 2%; }
  .fe-coin-r, .fe-tree-r, .fe-sol { right: 2%; }
}

@media (max-width: 560px) {
  nav {
    width: calc(100% - 24px);
    padding: 10px 14px;
  }

  .nav-wallet {
    padding: 8px 10px;
  }

  #hero {
    min-height: 930px;
    background-size: auto, cover;
    background-position: center center, center top;
  }

  .hero-content {
    margin-top: 390px;
    padding: 0 16px;
  }

  .ca-box {
    border-radius: 16px;
  }

  .ca-box label {
    font-size: 0.68rem;
  }

  .ca-box span {
    font-size: 0.68rem;
  }

  .copy-btn {
    padding: 8px 12px;
  }

  .hero-btns {
    grid-template-columns: 1fr;
    width: min(100%, 320px);
  }
}

/* ── PROOF OF GRASS ── */
#proof-of-grass {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

#proof-of-grass .section-title { color: #1a3a1a; }
#proof-of-grass .section-sub { color: #555; }

.pog-card {
  background: white;
  border: 2px solid #a7f3d0;
  border-radius: 28px;
  padding: 48px 40px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.pog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(76, 175, 80, 0.15);
}

.pog-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: floatBob 3s ease-in-out infinite;
}

.pog-image {
  display: block;
  width: min(100%, 260px);
  height: auto;
  margin: 0 auto 22px;
  object-fit: contain;
  animation: floatBob 3s ease-in-out infinite;
}

.pog-card h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: #1a3a1a;
  margin-bottom: 12px;
}

.pog-card p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 28px;
  line-height: 1.7;
}

.pog-btn {
  display: inline-block;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: white;
  text-decoration: none;
  padding: 14px 36px;
  border-radius: 999px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.pog-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ── SOCIALS ── */
#socials { background: #f0fdf4; }

.socials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.social-link {
  background: white;
  border: 1.5px solid #d1fae5;
  border-radius: 20px;
  padding: 24px 20px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.social-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(46,204,113,0.15);
  border-color: #a7f3d0;
}

.social-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.social-link h4 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #1a3a1a;
  margin-bottom: 4px;
}

.social-link p {
  font-size: 0.75rem;
  color: #888;
}
