/* ===================================================
   Ya Mon! – Memecoin Site Styles
   Jamaican theme: Green, Gold, Black + Rasta accents
   =================================================== */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:    #00A86B;
  --dark-green: #0d1f0d;
  --deep-green: #111f11;
  --gold:     #FFD700;
  --gold-dark:#c9a800;
  --red:      #EF3340;
  --black:    #111111;
  --white:    #f5f5f0;
  --card-bg:  #162916;
  --text:     #e8ead0;
  --font-display: 'Pacifico', cursive;
  --font-body:    'Nunito', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--dark-green);
  color: var(--text);
  overflow-x: hidden;
}

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

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 2.5rem;
  background: rgba(13, 31, 13, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--gold);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

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

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, #0a2a10 0%, #1a5c1a 40%, #2d7d3a 70%, #1a9a4a 100%);
  padding-top: 80px;
}

/* animated sun */
.sun {
  position: absolute;
  top: 60px;
  right: 120px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, #ffe066 30%, #FFD700 60%, transparent 75%);
  border-radius: 50%;
  animation: sun-pulse 4s ease-in-out infinite;
  box-shadow: 0 0 60px 20px rgba(255, 215, 0, 0.35);
}

@keyframes sun-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 60px 20px rgba(255,215,0,.35); }
  50%       { transform: scale(1.07); box-shadow: 0 0 80px 30px rgba(255,215,0,.5); }
}

/* floating leaves */
.leaf {
  position: absolute;
  font-size: 2.4rem;
  opacity: 0.55;
  animation: float-leaf 6s ease-in-out infinite;
  user-select: none;
}
.leaf-1 { top: 18%; left: 6%;  animation-delay: 0s;    animation-duration: 7s; }
.leaf-2 { top: 60%; left: 3%;  animation-delay: 1.5s;  animation-duration: 8s; }
.leaf-3 { top: 25%; right: 5%; animation-delay: 0.8s;  animation-duration: 6s; }
.leaf-4 { top: 70%; right: 8%; animation-delay: 2s;    animation-duration: 9s; }

@keyframes float-leaf {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50%       { transform: translateY(-18px) rotate(8deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

.hero-tagline {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  animation: fade-up 0.6s ease both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 11rem);
  line-height: 1;
  color: var(--gold);
  text-shadow:
    4px 4px 0 #8B6914,
    0 0 60px rgba(255,215,0,0.6),
    0 0 120px rgba(255,215,0,0.3);
  animation: fade-up 0.6s 0.1s ease both;
  -webkit-text-stroke: 2px #b8960a;
}

.hero-sub {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin: 1.2rem 0 2rem;
  line-height: 1.6;
  animation: fade-up 0.6s 0.2s ease both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fade-up 0.6s 0.3s ease both;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gold);
  color: #1a1a00;
  border: none;
  box-shadow: 0 4px 16px rgba(255,215,0,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.hero-ticker {
  margin-top: 1.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  animation: fade-up 0.6s 0.4s ease both;
}

.ca-hero {
  color: var(--gold);
  font-family: monospace;
  letter-spacing: 1px;
}

/* mascot */
.mascot {
  position: absolute;
  right: -20px;
  bottom: 80px;
  font-size: clamp(6rem, 12vw, 10rem);
  animation: mascot-bounce 3s ease-in-out infinite;
  filter: drop-shadow(4px 8px 12px rgba(0,0,0,0.5));
  user-select: none;
  z-index: 1;
}

@keyframes mascot-bounce {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50%       { transform: translateY(-20px) rotate(4deg); }
}

/* wave */
.wave-divider {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
}
.wave-divider svg { width: 100%; height: 80px; display: block; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Ticker Band ── */
.ticker-band {
  background: var(--gold);
  color: #1a1a00;
  overflow: hidden;
  white-space: nowrap;
  padding: 0.55rem 0;
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-top: 3px solid var(--gold-dark);
  border-bottom: 3px solid var(--gold-dark);
}

.ticker-track {
  display: inline-block;
  animation: ticker-scroll 28s linear infinite;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Sections shared ── */
.section { padding: 6rem 1.5rem; position: relative; }

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.6rem;
}

.section-sub {
  text-align: center;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 3rem;
}

/* ── About ── */
.about-section { background: var(--dark-green); }

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-bottom: 3.5rem;
}

.about-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}

.about-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.about-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
}

.meme-quote {
  position: relative;
  background: linear-gradient(135deg, #0f2b0f, #1a4d1a);
  border: 2px solid var(--gold);
  border-radius: 24px;
  padding: 2.5rem 3rem;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--white);
}

.meme-quote strong { color: var(--gold); }

.quote-mark {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 0;
  color: var(--gold);
  opacity: 0.5;
  vertical-align: middle;
  display: inline-block;
  margin: 0 0.5rem;
}

/* ── Tokenomics ── */
.tokenomics-section {
  background: linear-gradient(180deg, var(--dark-green) 0%, #0a1e0a 100%);
}

.token-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.8rem;
  margin-bottom: 3rem;
}

.token-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.25s;
}

.token-card:hover { transform: translateY(-5px); }

.token-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: conic-gradient(var(--clr) 0%, rgba(255,255,255,0.08) 0%);
  border: 5px solid var(--clr);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  box-shadow: 0 0 24px rgba(var(--clr), 0.25);
}

.token-circle span {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--clr);
  filter: drop-shadow(0 0 6px currentColor);
}

.token-card h3 {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.token-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.token-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.stat {
  background: var(--card-bg);
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 14px;
  padding: 1rem 2rem;
  text-align: center;
  min-width: 160px;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.3rem;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold);
}

/* ── Chart ── */
.chart-section { background: var(--dark-green); }

.chart-wrapper {
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(255,215,0,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.chart-placeholder {
  width: 100%;
  min-height: 480px;
  background: linear-gradient(135deg, #0e230e 0%, #152815 50%, #0e230e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chart-placeholder-inner {
  text-align: center;
  color: rgba(255,255,255,0.35);
}

.chart-icon {
  font-size: 5rem;
  display: block;
  margin-bottom: 0.8rem;
  animation: bounce-icon 2s ease-in-out infinite;
}

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

.chart-placeholder-inner p {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 0.4rem;
}

.chart-placeholder-inner small {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.35);
}

/* ── How to Buy ── */
.buy-section {
  background: linear-gradient(180deg, #0a1e0a 0%, var(--dark-green) 100%);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.step {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  background: var(--card-bg);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 20px;
  padding: 2rem 1.6rem;
  text-align: center;
  transition: transform 0.25s;
}

.step:hover { transform: translateY(-5px); }

.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 0.8rem;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.step p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

.step-arrow {
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.4;
  padding: 0 0.5rem;
  align-self: center;
  display: flex;
  align-items: center;
}

/* ── Footer ── */
.footer {
  background: var(--deep-green);
  position: relative;
  border-top: 3px solid var(--gold);
}

.footer-wave {
  line-height: 0;
  margin-bottom: -4px;
}
.footer-wave svg { width: 100%; height: 60px; display: block; }

.footer-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2rem;
}

/* Contract address box */
.contract-box {
  background: var(--card-bg);
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.8rem;
}

.contract-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
  margin-bottom: 0.5rem;
}

.contract-address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.ca-text {
  font-family: monospace;
  font-size: 1rem;
  color: var(--white);
  word-break: break-all;
  letter-spacing: 1px;
}

.copy-btn {
  background: none;
  border: 1px solid rgba(255,215,0,0.4);
  border-radius: 8px;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.copy-btn:hover {
  background: rgba(255,215,0,0.15);
  transform: scale(1.1);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.footer-links a {
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
}

.footer-links a:hover {
  color: var(--gold);
  background: rgba(255,215,0,0.08);
}

.disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.2);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .navbar { padding: 0.8rem 1.2rem; }
  .nav-links { gap: 1rem; }
  .sun { width: 80px; height: 80px; top: 80px; right: 20px; }
  .mascot { font-size: 5rem; right: -10px; bottom: 60px; }
  .step-arrow { display: none; }
  .steps { gap: 1.2rem; }
  .meme-quote { padding: 1.8rem 1.5rem; font-size: 1rem; }
  .quote-mark { font-size: 3.5rem; }
}

@media (max-width: 480px) {
  .nav-links { display: none; }
  .hero-title { font-size: 5rem; }
}

/* ── Rasta stripe accent bar ── */
body::after {
  content: '';
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--green) 33%, var(--gold) 33% 66%, var(--red) 66%);
  z-index: 999;
  pointer-events: none;
}
