/* ══════════════════════════════════════════════
   ANIMALFANS — MAIN STYLESHEET
   ══════════════════════════════════════════════ */

/* ── RESET & BASE ──────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --bg-deep:  #0b0b0f;
  --bg-mid:   #14141f;
  --orange:   #ff7a00;
  --cyan:     #00d4ff;
  --pink:     #ff00aa;
  --white:    #f0f0f8;
  --glass:    rgba(255,255,255,0.04);
  --border:   rgba(255,255,255,0.08);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-mid) 100%);
  min-height: 100vh;
  font-family: 'Syne', sans-serif;
  color: var(--white);
  overflow-x: hidden;
  cursor: default;
}

/* ── PARTICLE CANVAS ───────────────────────────── */
#particle-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ── NOISE OVERLAY ─────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

/* ── TICKER ────────────────────────────────────── */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: rgba(255,122,0,.08);
  border-bottom: 1px solid rgba(255,122,0,.15);
  padding: .65rem 0;
  position: relative;
  z-index: 2;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 28s linear infinite;
  gap: 2.5rem;
  padding: 0 1.5rem;
  will-change: transform;
}

.ticker-track span {
  font-family: 'Space Mono', monospace;
  font-size: .8rem;
  color: var(--orange);
  white-space: nowrap;
}

.ticker-track .sep { color: rgba(255,122,0,.3); }

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── HERO ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem 5rem;
  z-index: 1;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(700px, 120vw);
  height: min(700px, 120vw);
  background: radial-gradient(circle, rgba(255,122,0,0.12) 0%, rgba(0,212,255,0.06) 45%, transparent 70%);
  pointer-events: none;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%,100% { opacity: 0.7; transform: translate(-50%,-50%) scale(1); }
  50%     { opacity: 1;   transform: translate(-50%,-50%) scale(1.1); }
}

/* ── LOGO BADGE ────────────────────────────────── */
.logo-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 100px;
  padding: .45rem 1.2rem .45rem .9rem;
  margin-bottom: 2rem;
  font-family: 'Space Mono', monospace;
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--cyan);
  animation: fadeDown .8s ease both;
}

.logo-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: blink 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ── LOGO TITLE ────────────────────────────────── */
.logo-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 18vw, 10rem);
  line-height: .95;
  letter-spacing: .03em;
  background: linear-gradient(135deg, var(--orange) 0%, var(--pink) 50%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(255,122,0,0.4));
  animation: fadeDown .8s .1s ease both;
  position: relative;
  z-index: 1;
}

.logo-title span { display: block; }
.logo-title .paw { font-size: .7em; }

/* ── HEADLINE ──────────────────────────────────── */
.headline {
  font-size: clamp(1.2rem, 4.5vw, 2.6rem);
  font-weight: 800;
  margin: 1.2rem 0 .7rem;
  max-width: 580px;
  line-height: 1.25;
  animation: fadeDown .8s .2s ease both;
}

.headline em {
  font-style: normal;
  color: var(--orange);
}

/* ── TAGLINE ───────────────────────────────────── */
.tagline {
  font-family: 'Space Mono', monospace;
  font-size: clamp(.78rem, 2.2vw, 1rem);
  color: rgba(240,240,248,.5);
  margin-bottom: 2.5rem;
  letter-spacing: .06em;
  animation: fadeDown .8s .3s ease both;
}

/* ── CTA BUTTON ────────────────────────────────── */
.cta-wrap {
  animation: fadeDown .8s .4s ease both;
  position: relative;
}

.cta-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(255,122,0,0.35) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulseGlow 2.5s ease-in-out infinite;
  pointer-events: none;
}

.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: linear-gradient(135deg, var(--orange), #ff4500);
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.25rem, 4vw, 1.8rem);
  letter-spacing: .08em;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow:
    0 0 30px rgba(255,122,0,0.5),
    0 0 60px rgba(255,122,0,0.25),
    inset 0 1px 0 rgba(255,255,255,.2);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

.cta-btn:hover {
  transform: scale(1.07) translateY(-3px);
  box-shadow:
    0 0 50px rgba(255,122,0,0.7),
    0 0 100px rgba(255,122,0,0.35),
    inset 0 1px 0 rgba(255,255,255,.2);
  filter: brightness(1.1);
}

.cta-btn:active {
  transform: scale(0.97) translateY(0);
  filter: brightness(0.95);
}

.cta-btn .rocket {
  font-size: 1.3em;
  animation: rocketShake 1.8s ease-in-out infinite;
  display: inline-block;
}

@keyframes rocketShake {
  0%,100%{transform:rotate(0deg) translateY(0)}
  25%    {transform:rotate(8deg) translateY(-4px)}
  75%    {transform:rotate(-8deg) translateY(-2px)}
}

/* ── STATS STRIP ───────────────────────────────── */
.stats {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeDown .8s .5s ease both;
}

.stat-card {
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: .9rem 1.3rem;
  text-align: center;
  min-width: 100px;
  transition: border-color .3s, box-shadow .3s;
}

.stat-card:hover {
  border-color: rgba(255,122,0,.4);
  box-shadow: 0 0 20px rgba(255,122,0,.15);
}

.stat-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--orange), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-lbl {
  font-size: .65rem;
  letter-spacing: .1em;
  color: rgba(240,240,248,.4);
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  margin-top: .15rem;
}

/* ── SECTION BASE ──────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Space Mono', monospace;
  font-size: .7rem;
  letter-spacing: .2em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: .7rem;
  text-align: center;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  text-align: center;
  line-height: 1;
  margin-bottom: 2.5rem;
}

/* ── CREATORS CAROUSEL ─────────────────────────── */
.creators-section {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0;
  overflow: hidden;
}

.creators-section .section-header {
  text-align: center;
  padding: 0 1.5rem 2rem;
}

.creators-track {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  animation: creatorScroll 30s linear infinite;
  padding: .5rem 1.5rem;
  will-change: transform;
}

.creators-track:hover { animation-play-state: paused; }

@keyframes creatorScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.creator-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.3rem 1.6rem;
  min-width: 180px;
  text-align: center;
  flex-shrink: 0;
  transition: border-color .3s;
}

.creator-card:hover { border-color: rgba(255,0,170,.4); }

.creator-avatar {
  font-size: 3rem;
  margin-bottom: .5rem;
  display: block;
}

.creator-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: .06em;
}

.creator-handle {
  font-family: 'Space Mono', monospace;
  font-size: .65rem;
  color: var(--pink);
  margin-top: .2rem;
}

.creator-subs {
  font-size: .72rem;
  color: rgba(240,240,248,.4);
  margin-top: .35rem;
}

/* ── FEATURES GRID ─────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
}

.feat-card {
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 1.8rem;
  transition: transform .3s ease, border-color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}

.feat-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(255,122,0,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s;
}

.feat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,212,255,.3);
  box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 30px rgba(0,212,255,.1);
}

.feat-card:hover::before { opacity: 1; }

.feat-emoji {
  font-size: 2.5rem;
  margin-bottom: .9rem;
  display: block;
}

.feat-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: .05em;
  margin-bottom: .45rem;
  color: var(--orange);
}

.feat-desc {
  font-size: .875rem;
  line-height: 1.65;
  color: rgba(240,240,248,.52);
}

/* ── TOKENOMICS ────────────────────────────────── */
.tokenomics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.token-row {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.3rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: border-color .3s;
}

.token-row:hover { border-color: rgba(255,122,0,.35); }

.token-icon { font-size: 2rem; flex-shrink: 0; }

.token-info-label {
  font-family: 'Space Mono', monospace;
  font-size: .65rem;
  color: rgba(240,240,248,.35);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.token-info-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  color: var(--cyan);
  letter-spacing: .05em;
  margin-top: .1rem;
}

/* ── BAR CHART ─────────────────────────────────── */
.bar-chart { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }

.bar-row { display: flex; align-items: center; gap: .8rem; }

.bar-name {
  font-family: 'Space Mono', monospace;
  font-size: .7rem;
  color: rgba(240,240,248,.55);
  width: 100px;
  flex-shrink: 0;
  text-align: right;
}

.bar-track {
  flex: 1;
  height: 9px;
  background: rgba(255,255,255,.06);
  border-radius: 100px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 100px;
  transform-origin: left;
  animation: barGrow 1.5s cubic-bezier(.22,1,.36,1) both;
}

@keyframes barGrow { from{transform:scaleX(0)} to{transform:scaleX(1)} }

.bar-pct {
  font-family: 'Space Mono', monospace;
  font-size: .7rem;
  color: var(--orange);
  width: 32px;
  flex-shrink: 0;
}

/* ── HOW TO BUY ────────────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 22px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--orange), var(--cyan), var(--pink));
  opacity: .3;
}

.step {
  display: flex;
  gap: 1.3rem;
  align-items: flex-start;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.3rem 1.5rem;
  transition: border-color .3s, transform .3s;
}

.step:hover {
  border-color: rgba(0,212,255,.35);
  transform: translateX(6px);
}

.step-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(255,122,0,.4);
}

.step-text h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  letter-spacing: .06em;
  margin-bottom: .25rem;
  color: var(--white);
}

.step-text p {
  font-size: .85rem;
  color: rgba(240,240,248,.5);
  line-height: 1.6;
}

/* ── MEME GALLERY ──────────────────────────────── */
.meme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .9rem;
}

.meme-tile {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 14px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
  text-align: center;
  padding: .75rem;
  position: relative;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

.meme-tile::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.78);
  font-size: .6rem;
  font-family: 'Space Mono', monospace;
  color: var(--orange);
  padding: .35rem;
  transform: translateY(100%);
  transition: transform .25s;
  letter-spacing: .04em;
}

.meme-tile:hover {
  transform: scale(1.06) rotate(-1deg);
  border-color: rgba(255,0,170,.4);
  box-shadow: 0 10px 40px rgba(255,0,170,.15);
}

.meme-tile:hover::after { transform: translateY(0); }
.meme-tile:active { transform: scale(0.95); }
.meme-tile.tapped::after { transform: translateY(0); }

/* ── DIVIDER ───────────────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  position: relative;
  z-index: 1;
}

/* ── PILL BADGE ────────────────────────────────── */
.pill {
  display: inline-block;
  background: rgba(255,122,0,.1);
  border: 1px solid rgba(255,122,0,.25);
  border-radius: 100px;
  padding: .22rem .8rem;
  font-family: 'Space Mono', monospace;
  font-size: .68rem;
  color: var(--orange);
  letter-spacing: .08em;
  margin-bottom: .7rem;
}

/* ── FLOATING PAWS ─────────────────────────────── */
.floating-paws {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.fpaw {
  position: absolute;
  font-size: 1.4rem;
  opacity: 0;
  animation: floatPaw linear infinite;
  user-select: none;
  will-change: transform, opacity;
}

@keyframes floatPaw {
  0%   { opacity: 0; transform: translateY(0) rotate(0deg) scale(0.5); }
  10%  { opacity: .28; }
  90%  { opacity: .12; }
  100% { opacity: 0; transform: translateY(-110vh) rotate(360deg) scale(1.2); }
}

/* ── ANIMATIONS ────────────────────────────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── FOOTER ────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3.5rem 1.5rem 2.5rem;
  border-top: 1px solid var(--border);
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.4rem;
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 1.3rem;
  margin-bottom: 1.8rem;
}

.social-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  border: 2px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  touch-action: manipulation;
}

.social-btn.tg {
  border-color: rgba(0,212,255,.35);
  box-shadow: 0 0 20px rgba(0,212,255,.15);
}
.social-btn.tg:hover {
  transform: scale(1.15) translateY(-4px);
  box-shadow: 0 0 40px rgba(0,212,255,.4);
  border-color: var(--cyan);
}

.social-btn.tw {
  border-color: rgba(255,122,0,.35);
  box-shadow: 0 0 20px rgba(255,122,0,.15);
}
.social-btn.tw:hover {
  transform: scale(1.15) translateY(-4px);
  box-shadow: 0 0 40px rgba(255,122,0,.4);
  border-color: var(--orange);
}

.footer-copy {
  font-family: 'Space Mono', monospace;
  font-size: .65rem;
  color: rgba(240,240,248,.2);
  letter-spacing: .08em;
}

.footer-disclaimer {
  font-size: .65rem;
  color: rgba(240,240,248,.15);
  margin-top: .5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */

/* ── 480px and below ───────────────────────────── */
@media (max-width: 480px) {
  .hero {
    padding: 3.5rem 1rem 4rem;
    justify-content: flex-start;
  }

  .logo-badge { font-size: .7rem; padding: .4rem 1rem .4rem .8rem; margin-bottom: 1.5rem; }

  .headline { font-size: 1.15rem; margin: 1rem 0 .6rem; }
  .tagline  { font-size: .75rem; margin-bottom: 2rem; }

  .cta-btn {
    font-size: 1.15rem;
    padding: .9rem 2rem;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .stats { gap: .6rem; margin-top: 2rem; }
  .stat-card { min-width: 80px; padding: .7rem .9rem; }
  .stat-val  { font-size: 1.4rem; }
  .stat-lbl  { font-size: .6rem; }

  .section { padding: 2.8rem 1rem; }
  .section-title { font-size: 2rem; margin-bottom: 2rem; }

  .tokenomics-grid { grid-template-columns: 1fr; }
  .token-row       { padding: 1rem 1.2rem; }
  .token-icon      { font-size: 1.7rem; }
  .token-info-val  { font-size: 1.1rem; }

  .bar-name { width: 80px; font-size: .62rem; }
  .bar-pct  { font-size: .62rem; }

  .steps::before { display: none; }
  .step       { gap: 1rem; padding: 1.1rem 1.2rem; }
  .step-num   { width: 36px; height: 36px; font-size: 1.1rem; }
  .step-text h4 { font-size: 1rem; }
  .step-text p  { font-size: .8rem; }
  .step:hover   { transform: none; }

  .meme-grid { grid-template-columns: repeat(3, 1fr); gap: .6rem; }
  .meme-tile { font-size: 2.2rem; }

  .features-grid { grid-template-columns: 1fr; gap: 1rem; }
  .feat-card  { padding: 1.4rem; }
  .feat-emoji { font-size: 2.2rem; }
  .feat-title { font-size: 1.3rem; }
  .feat-desc  { font-size: .83rem; }
  .feat-card:hover { transform: none; }

  .creator-card   { min-width: 155px; padding: 1.1rem 1.3rem; }
  .creator-avatar { font-size: 2.5rem; }

  .social-btn { width: 54px; height: 54px; }
  .footer     { padding: 2.5rem 1rem 2rem; }
  .footer-logo{ font-size: 1.8rem; }
}

/* ── 481px – 768px ─────────────────────────────── */
@media (max-width: 768px) and (min-width: 481px) {
  .stats    { gap: .8rem; }
  .stat-card{ min-width: 90px; padding: .8rem 1rem; }
  .stat-val { font-size: 1.55rem; }

  .section       { padding: 3.2rem 1.2rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .tokenomics-grid { grid-template-columns: 1fr; }
  .bar-name      { width: 90px; font-size: .65rem; }
  .steps::before { display: none; }
  .meme-grid     { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .meme-tile     { font-size: 2.5rem; }
  .step:hover    { transform: none; }
}

/* ── Reduce motion ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
