/* ============================================================
   $ICECREAM — site styles
   Palette pulled from the logo: neon pink / cyan / mango on deep navy
   ============================================================ */
:root {
  --bg: #070b16;
  --bg-soft: #0d1322;
  --bg-card: #111a2e;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef2fb;
  --text-dim: #a8b3cc;
  --pink: #ff2ea6;
  --cyan: #24d6ee;
  --mango: #ffb02e;
  --grad: linear-gradient(93deg, var(--pink), var(--mango) 52%, var(--cyan));
  --radius: 20px;
  --font-display: "Fredoka", "Trebuchet MS", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }

.container { width: min(1120px, 92%); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }

section { padding: 88px 0; position: relative; }

.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(36, 214, 238, 0.1);
  border: 1px solid rgba(36, 214, 238, 0.35);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 16px;
}

.section-title { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 12px; }
.section-lead { color: var(--text-dim); max-width: 640px; margin-inline: auto; }
.text-center { text-align: center; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #14060f;
  box-shadow: 0 8px 28px rgba(255, 46, 166, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(255, 46, 166, 0.5); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn.is-disabled { opacity: 0.55; cursor: default; pointer-events: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 22, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--text); }
.nav-brand img { width: 46px; height: 46px; border-radius: 12px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--text-dim); font-weight: 500; font-size: 0.95rem; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: 8px; padding: 10px 22px; font-size: 0.92rem; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-size: 1.3rem;
  padding: 6px 12px;
  cursor: pointer;
}

/* ---------- hero ---------- */
.hero { padding: 96px 0 72px; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin: 18px 0 20px;
}
.hero-tagline { color: var(--text-dim); font-size: 1.15rem; max-width: 520px; margin-bottom: 32px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badge {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-dim);
  background: var(--bg-soft);
}
.hero-badge strong { color: var(--mango); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 22px; }

.hero-art { position: relative; display: grid; place-items: center; }
.hero-art img {
  width: min(420px, 90%);
  filter: drop-shadow(0 0 60px rgba(255, 46, 166, 0.35));
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-18px) rotate(2deg); }
}
.hero-glow {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 46, 166, 0.18), transparent 55%),
    radial-gradient(circle at 70% 65%, rgba(36, 214, 238, 0.16), transparent 55%);
  z-index: -1;
}

/* contract address pill */
.ca-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  background: var(--bg-card);
  border: 1px dashed rgba(255, 176, 46, 0.5);
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.ca-pill .ca-label {
  font-weight: 700;
  color: var(--mango);
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}
.ca-pill code { font-family: ui-monospace, monospace; word-break: break-all; color: var(--text); }
.ca-pill.is-live { cursor: pointer; border-style: solid; border-color: rgba(36, 214, 238, 0.5); }
.ca-pill.is-live:hover { border-color: var(--cyan); }
.ca-pill .copy-hint { display: none; font-size: 0.75rem; color: var(--cyan); white-space: nowrap; }
.ca-pill.is-live .copy-hint { display: inline; }
.ca-pill.copied .copy-hint::after { content: " ✓"; }

/* ---------- marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-block;
  animation: marquee 22s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}
.marquee-track span { margin-right: 42px; }
.marquee-track .alt { color: var(--pink); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- cards / grids ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(36, 214, 238, 0.4); }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 0.97rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }

.step-num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: #14060f;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 16px;
}
.card-icon { font-size: 2rem; margin-bottom: 14px; }

/* ---------- tokenomics ---------- */
.tokenomics-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 44px;
}
.donut-wrap { display: grid; place-items: center; }
.donut { width: min(340px, 85%); }
.donut .donut-center-text { font-family: var(--font-display); fill: var(--text); }
.legend { display: grid; gap: 14px; margin-top: 26px; }
.legend-item { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--text-dim); }
.legend-swatch { width: 16px; height: 16px; border-radius: 5px; flex-shrink: 0; }
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
}
.stat-card .stat-value { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; }
.stat-card .stat-label { color: var(--text-dim); font-size: 0.85rem; margin-top: 4px; }

/* ---------- roadmap ---------- */
.roadmap-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 44px; }
.roadmap-card { padding: 24px 20px; }
.roadmap-card .phase-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  color: #14060f;
}
.roadmap-card ul { list-style: none; display: grid; gap: 9px; }
.roadmap-card li { color: var(--text-dim); font-size: 0.88rem; padding-left: 20px; position: relative; }
.roadmap-card li::before { content: "🍦"; position: absolute; left: 0; font-size: 0.7rem; top: 3px; }
.phase-cold { background: #a5e8ff; }
.phase-cool { background: #7fd9ee; }
.phase-warm { background: var(--mango); }
.phase-hotter { background: #ff7847; }
.phase-hot { background: var(--pink); }

/* ---------- NFT carousel ---------- */
.carousel { position: relative; overflow: hidden; border-radius: var(--radius); margin-top: 44px; border: 1px solid var(--line); }
.carousel-track { display: flex; transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1); }
.carousel-slide { min-width: 100%; position: relative; }
.carousel-slide img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.carousel-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 40px 24px 26px;
  background: linear-gradient(transparent, rgba(7, 11, 22, 0.92));
  text-align: center;
}
.carousel-caption h3 { font-size: 1.3rem; margin-bottom: 12px; }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(7, 11, 22, 0.6);
  border: 1px solid var(--line);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 2;
}
.carousel-btn:hover { background: rgba(255, 46, 166, 0.5); }
#carousel-prev { left: 16px; }
#carousel-next { right: 16px; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: var(--line);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.carousel-dot.active { background: var(--pink); transform: scale(1.25); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 44px auto 0; display: grid; gap: 14px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq-item button {
  width: 100%;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  text-align: left;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item button::after { content: "+"; font-size: 1.4rem; color: var(--pink); transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open button::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 320px; }
.faq-answer p { padding: 0 24px 20px; color: var(--text-dim); font-size: 0.95rem; }

/* ---------- socials ---------- */
.social-row { display: flex; justify-content: center; gap: 18px; margin-top: 36px; }
.social-row a {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: transform 0.18s, border-color 0.18s;
}
.social-row a:hover { transform: translateY(-4px); border-color: var(--pink); }
.social-row img { width: 30px; height: 30px; object-fit: contain; }

/* ---------- disclaimer & footer ---------- */
.disclaimer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}
.disclaimer .container { max-width: 860px; }
.disclaimer p { color: var(--text-dim); margin-bottom: 14px; }
.disclaimer strong { color: var(--text); }

.site-footer { border-top: 1px solid var(--line); padding: 44px 0; text-align: center; }
.site-footer img { width: 72px; margin: 0 auto 18px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-bottom: 18px; }
.footer-nav a { color: var(--text-dim); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--text); }
.footer-fine { color: var(--text-dim); font-size: 0.82rem; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.revealed { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .roadmap-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 12px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav-cta { margin: 12px 0; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-tagline { margin-inline: auto; }
  .hero-actions, .hero-badges { justify-content: center; }
  .hero-art { order: -1; }
  .hero-art img { width: min(280px, 70%); }
  .tokenomics-wrap { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .roadmap-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
}
@media (max-width: 520px) {
  .roadmap-grid, .grid-4, .stat-cards { grid-template-columns: 1fr; }
  .carousel-slide img { aspect-ratio: 1; }
}
