/* ==============================
   WOFFY GLOBAL — MAIN STYLESHEET
   ============================== */

@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&f[]=satoshi@300,400,500,700&display=swap');

:root {
  --font-display: 'Clash Display', 'Inter', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;

  /* Woffy Gold/Orange palette */
  --gold: #f5c542;
  --orange: #ff6b3d;
  --amber: #e8900a;
  --pink: #ff6b9d;

  /* Dark bg */
  --bg: #07070f;
  --bg-2: #0d0d1a;
  --bg-3: #12121f;
  --surface: #16162a;
  --border: #1e1e35;
  --text: #f0ede8;
  --text-muted: #8b8a99;
  --text-faint: #4a4a5a;

  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* Spacing */
  --sp1: 0.25rem; --sp2: 0.5rem; --sp3: 0.75rem; --sp4: 1rem;
  --sp5: 1.25rem; --sp6: 1.5rem; --sp8: 2rem;    --sp10: 2.5rem;
  --sp12: 3rem;   --sp16: 4rem;  --sp20: 5rem;   --sp24: 6rem;

  /* Radius */
  --r-sm: 0.375rem; --r-md: 0.5rem; --r-lg: 0.75rem;
  --r-xl: 1rem; --r-2xl: 1.5rem; --r-full: 9999px;

  /* Transition */
  --ease: 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* ---- UTILS ---- */
.container { max-width: 1400px; margin: 0 auto; padding: 0 var(--sp4); }
.gradient-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section { padding: clamp(var(--sp12), 8vw, var(--sp24)) 0; }
.section-dark { background: var(--bg-2); }
.tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(245,197,66,0.1);
  border: 1px solid rgba(245,197,66,0.2);
  padding: 0.3em 0.8em;
  border-radius: var(--r-full);
  margin-bottom: var(--sp4);
}
.section-hdr { text-align: center; margin-bottom: clamp(var(--sp8), 5vw, var(--sp16)); }
.section-hdr h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.15;
  margin-top: var(--sp3);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp2);
  font-family: var(--font-body); font-weight: 600;
  font-size: var(--text-sm);
  padding: 0.65em 1.4em;
  border-radius: var(--r-full);
  transition: all var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #0d0d1a;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,197,66,0.3); }
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline:hover { background: rgba(245,197,66,0.08); }
.btn-tg {
  background: #229ED9;
  color: white;
}
.btn-tg:hover { background: #1a8fc4; transform: translateY(-2px); }
.btn-tw {
  background: #1d1d1d;
  color: white;
  border: 1px solid #333;
}
.btn-tw:hover { background: #2d2d2d; transform: translateY(-2px); }
.btn-lg { font-size: var(--text-base); padding: 0.75em 1.8em; }
.btn-xl { font-size: var(--text-lg); padding: 0.85em 2.2em; }

/* =============================
   NAV
   ============================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: var(--sp3) 0;
  background: oklch(from #07070f l c h / 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.nav {
  display: flex; align-items: center; gap: var(--sp8);
  padding: 0 var(--sp10);
  max-width: 100%;
  width: 100%;
}
.logo {
  display: flex; align-items: center; gap: var(--sp2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}
.logo svg { flex-shrink: 0; }
.nav-links {
  display: flex; gap: var(--sp6); margin-left: auto;
}
.nav-links a {
  font-size: var(--text-sm); font-weight: 500; color: var(--text-muted);
  transition: color var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: var(--sp3); margin-left: var(--sp4); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: var(--sp4);
  padding: var(--sp6);
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { display: flex; flex-direction: column; gap: var(--sp3); }
.mobile-menu a { font-size: var(--text-base); color: var(--text-muted); }
.mobile-menu a:hover { color: var(--text); }
.mobile-menu .btn { align-self: flex-start; }

/* =============================
   SCROLL SCENE
   ============================= */
.scroll-scene {
  /* height determines how much scroll travel we have */
  height: 600vh;
  position: relative;
  z-index: 10;
}
.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* ---- SKY ---- */
.sky-layer {
  position: absolute; inset: 0;
  transition: opacity 0.1s linear;
}
.sky-day {
  background: linear-gradient(180deg, #5BC8F5 0%, #87CEEB 60%, #c8e6c9 100%);
}
.sky-dusk {
  background: linear-gradient(180deg, #1a1a4e 0%, #6b21a8 30%, #ea580c 70%, #fbbf24 100%);
  opacity: 0;
}
.sky-night {
  background: linear-gradient(180deg, #020209 0%, #050520 40%, #0a0a30 100%);
  opacity: 0;
}

/* ---- STARS ---- */
.stars {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
}
.star {
  position: absolute;
  width: 2px; height: 2px;
  background: white;
  border-radius: 50%;
  animation: twinkle 2s infinite alternate;
}
@keyframes twinkle {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

/* ---- CLOUDS ---- */
.clouds { position: absolute; inset: 0; pointer-events: none; }
.cloud {
  position: absolute;
  background: white;
  border-radius: var(--r-full);
  opacity: 0.85;
}
.cloud::before, .cloud::after {
  content: ''; position: absolute;
  background: white; border-radius: 50%;
}
.cloud-1 { width: 120px; height: 40px; top: 15%; left: 10%; animation: cloudDrift 20s linear infinite; }
.cloud-1::before { width: 60px; height: 60px; bottom: 10px; left: 15px; }
.cloud-1::after  { width: 40px; height: 40px; bottom: 10px; right: 20px; }
.cloud-2 { width: 90px; height: 30px; top: 22%; left: 40%; animation: cloudDrift 28s linear infinite 5s; }
.cloud-2::before { width: 45px; height: 45px; bottom: 8px; left: 10px; }
.cloud-2::after  { width: 30px; height: 30px; bottom: 8px; right: 15px; }
.cloud-3 { width: 140px; height: 45px; top: 10%; left: 65%; animation: cloudDrift 24s linear infinite 10s; }
.cloud-3::before { width: 70px; height: 70px; bottom: 12px; left: 20px; }
.cloud-3::after  { width: 50px; height: 50px; bottom: 12px; right: 25px; }

@keyframes cloudDrift {
  from { transform: translateX(0); }
  to   { transform: translateX(-120vw); }
}

/* ---- GROUND ---- */
.ground-layer {
  position: absolute; bottom: 0; left: 0; right: 0;
  pointer-events: none;
}
.ground-back  { height: 12%; background: #2d6a4f; }
.ground-mid   { height: 8%;  background: #1b4332; }
.ground-front { height: 5%;  background: #0d2418; }

/* ---- HILLS ---- */
.hills {
  position: absolute; bottom: 0; left: 0; width: 100%;
  height: 50%; pointer-events: none;
}
.hills-green { z-index: 2; }
.hills-city  { z-index: 1; opacity: 0; }

/* ---- MOON ---- */
.moon {
  position: absolute;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff9c4, #fef3c7 60%, #fde68a);
  box-shadow: 0 0 40px 15px rgba(254,243,199,0.3), 0 0 80px 30px rgba(254,243,199,0.1);
  top: 12%; right: 12%;
  opacity: 0;
  pointer-events: none;
}

/* ---- SCROLL INDICATOR ---- */
.scroll-indicator {
  position: absolute;
  bottom: var(--sp8); left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: var(--sp2);
  color: rgba(255,255,255,0.7);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 30;
  animation: bounce 2s ease-in-out infinite;
  pointer-events: none;
}
.scroll-arrow svg { opacity: 0.8; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- DOG ---- */
.dog-wrap {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Lottie dog wrapper */
.dog-lottie-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 40px rgba(232,104,10,0.55)) drop-shadow(0 0 80px rgba(245,197,66,0.25));
}
#lottieContainer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
#lottieContainer > div {
  transition: opacity 0.3s ease;
}



/* Glow ring — orbits behind the SVG */
.dog-lottie-wrap::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #f5c542, #ff6b3d, transparent 60%, #f5c542);
  z-index: -1;
  animation: spinRing 5s linear infinite;
  opacity: 0.45;
}
@keyframes spinRing {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ---- RUNNING ANIMATION ---- */
/* Applied to dogSvg element when running */
.woffy-run #woffyLegs {
  animation: woffyRunLegs 0.4s ease-in-out infinite;
  transform-origin: 100px 230px;
}
.woffy-run #woffyTail {
  animation: woffyTailWag 0.3s ease-in-out infinite;
  transform-origin: 145px 175px;
}
@keyframes woffyRunLegs {
  0%, 100% { transform: skewX(-5deg) translateY(0); }
  50%       { transform: skewX(5deg) translateY(-5px); }
}
@keyframes woffyTailWag {
  0%, 100% { transform: rotate(-20deg); }
  50%       { transform: rotate(20deg); }
}

/* Leg animations for running (legacy support) */
@keyframes legRun1 {
  0%, 100% { transform: rotate(-20deg) translateY(0); }
  50%       { transform: rotate(20deg)  translateY(-6px); }
}
@keyframes legRun2 {
  0%, 100% { transform: rotate(20deg)  translateY(0); }
  50%       { transform: rotate(-20deg) translateY(-6px); }
}
.running #legFrontLeft  { animation: legRun1 0.35s ease-in-out infinite; transform-origin: center; }
.running #legFrontRight { animation: legRun2 0.35s ease-in-out infinite; transform-origin: center; }
.running #legBackLeft   { animation: legRun2 0.35s ease-in-out infinite; transform-origin: center; }
.running #legBackRight  { animation: legRun1 0.35s ease-in-out infinite; transform-origin: center; }
@keyframes tailWag {
  0%, 100% { transform: rotate(-30deg) translateY(0); }
  50%       { transform: rotate(10deg); }
}
.running #tail { animation: tailWag 0.4s ease-in-out infinite; transform-origin: 40px 118px; }
@keyframes dogBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}
.running { animation: dogBob 0.35s ease-in-out infinite; }

/* Dog house */
.doghouse {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(100px);
  width: 180px;
  opacity: 1;
  pointer-events: none;
  z-index: 10;
}
.doghouse svg { width: 100%; }

/* ZZZ */
.zzz-wrap {
  position: absolute;
  bottom: 110%; left: 60%;
  pointer-events: none;
}
.z {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  opacity: 0;
  animation: floatZ 3s ease-in-out infinite;
}
.z1 { font-size: 1rem;   bottom: 0;    left: 0;   animation-delay: 0s; }
.z2 { font-size: 1.4rem; bottom: 1.2rem; left: 0.8rem; animation-delay: 0.8s; }
.z3 { font-size: 1.8rem; bottom: 2.6rem; left: 1.8rem; animation-delay: 1.6s; }
@keyframes floatZ {
  0%   { opacity: 0; transform: translateY(0) scale(0.8); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(-30px) scale(1.1); }
}

/* =============================
   CROWD LAYER
   ============================= */
.crowd-layer {
  position: absolute;
  bottom: 5%;
  left: 0;
  right: 0;
  z-index: 15;
  pointer-events: none;
  height: 70px;
  overflow: visible;
}

/* Cheering state (phase 2) */
.cheering .person-arms {
  animation: raiseArms 0.6s ease-in-out infinite alternate;
  transform-origin: 0px 14px;
}
@keyframes raiseArms {
  from { transform: rotate(30deg); }
  to   { transform: rotate(-150deg); }
}
.cheering .person-body {
  animation: crowdBounce 0.5s ease-in-out infinite alternate;
}
@keyframes crowdBounce {
  from { transform: translateY(0); }
  to   { transform: translateY(-6px); }
}

/* Gentle wave for idle state */
.person {
  transition: transform 0.3s ease;
}

/* Fireworks/confetti */
.fireworks-container {
  position: absolute;
  top: -120px;
  left: 0;
  right: 0;
  height: 120px;
  pointer-events: none;
  overflow: visible;
}

.confetti-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  opacity: 0;
  animation: confettiFall 1.5s ease-out forwards;
}

/* Firework burst particles spawned by JS */
.firework-particle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  pointer-events: none;
  animation: fireworkBurst 1.2s ease-out forwards;
}
@keyframes fireworkBurst {
  0%   { transform: translate(0,0) scale(0); opacity: 1; }
  40%  { transform: translate(var(--dx,20px), var(--dy,-40px)) scale(1.2); opacity: 1; }
  100% { transform: translate(var(--dx,20px), var(--dy,-40px)) translateY(30px) scale(0.4); opacity: 0; }
}

@keyframes confettiFall {
  0%   { transform: translateY(0) rotate(0deg) scale(0); opacity: 0; }
  20%  { opacity: 1; }
  50%  { transform: translateY(-60px) rotate(180deg) scale(1); }
  100% { transform: translateY(30px) rotate(360deg) scale(0.5); opacity: 0; }
}

.sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  opacity: 0;
  animation: sparkleAnim 1s ease-out infinite;
}

@keyframes sparkleAnim {
  0%   { transform: scale(0) translateY(0); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: scale(1.5) translateY(-80px); opacity: 0; }
}

/* ---- HERO TEXT ---- */
.hero-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 25;
  pointer-events: none;
  width: min(680px, 92vw);
  max-width: 92vw;
  overflow: hidden;
}
.hero-text.clickable { pointer-events: auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--sp2);
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: white;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.35em 0.9em;
  border-radius: var(--r-full);
  backdrop-filter: blur(8px);
  margin-bottom: var(--sp4);
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }
.hero-text h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.1;
  color: white;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  margin-bottom: var(--sp4);
}
.hero-text p {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--sp8);
  max-width: 500px; margin-left: auto; margin-right: auto;
}
.hero-btns {
  display: flex; gap: var(--sp3); justify-content: center; flex-wrap: wrap;
  pointer-events: auto;
}
.scroll-hint {
  margin-top: var(--sp8);
  display: flex; flex-direction: column; align-items: center; gap: var(--sp1);
  font-size: var(--text-xs); color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em; text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-hint-icon {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}

/* ---- STORY TEXT ---- */
.story-text {
  position: absolute;
  top: 20%; left: 6%;
  z-index: 25;
  pointer-events: none;
  width: min(340px, 42vw);
}
.story-bubble {
  background: rgba(13,13,26,0.75);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: var(--sp6);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.year-tag {
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold);
  display: block; margin-bottom: var(--sp2);
}
.story-bubble h2 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--sp2);
}
.story-bubble p { font-size: var(--text-sm); color: var(--text-muted); }

/* ---- FINAL CTA ---- */
.final-cta {
  position: absolute;
  top: 52%; right: 6%;
  transform: none;
  z-index: 200;
  pointer-events: none;
  width: min(340px, 42vw);
  text-align: center;
  opacity: 0;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, var(--text-xl));
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--sp3);
}
.final-cta p { font-size: var(--text-base); color: var(--text-muted); margin-bottom: var(--sp6); }
.final-btns {
  display: flex; flex-direction: column; gap: var(--sp3);
  align-items: center;
  pointer-events: auto;
}
.final-btns .btn { width: 100%; justify-content: center; }

.stats-row {
  display: flex; gap: var(--sp6); justify-content: center;
  margin-top: var(--sp6);
}
.stat-item { text-align: center; }
.stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-lbl { display: block; font-size: var(--text-xs); color: var(--text-muted); margin-top: 2px; }

/* =============================
   TICKER
   ============================= */
.ticker-wrap {
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  padding: var(--sp3) 0;
  position: relative;
  z-index: 50;
}
.ticker {
  display: flex; gap: var(--sp6); align-items: center;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: #0d0d1a;
  width: max-content;
}
.sep { opacity: 0.5; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.33%); }
}

/* =============================
   FEATURES
   ============================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp4);
}
.feat-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: var(--sp8);
  transition: all var(--ease);
  position: relative; overflow: hidden;
}
.feat-card:hover {
  border-color: rgba(245,197,66,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.feat-card.highlight {
  border-color: rgba(245,197,66,0.4);
  background: linear-gradient(135deg, rgba(245,197,66,0.07), rgba(255,107,61,0.05));
}
.feat-card.highlight::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
}
.feat-icon { font-size: 2rem; margin-bottom: var(--sp4); }
.feat-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--sp2);
}
.feat-card p { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.6; }

/* =============================
   TOKENOMICS
   ============================= */
.tknm-v2 {
  display: grid;
  grid-template-columns: 1.4fr 560px;
  gap: var(--sp6);
  align-items: center;
}
.tknm-left {
  display: flex;
  flex-direction: column;
  gap: var(--sp4);
}
.tknm-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, var(--text-3xl));
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  white-space: nowrap;
}
.tknm-desc {
  color: var(--text-muted);
  font-size: var(--text-base);
  margin: 0;
}
.tknm-columns {
  display: flex;
  align-items: center;
  gap: var(--sp8);
}
.tknm-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0;
}
.tknm-mascot-big {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 0 40px rgba(245,197,66,0.5)) drop-shadow(0 20px 60px rgba(255,107,61,0.25));
  animation: mascotFloat 4s ease-in-out infinite;
  transform-origin: center bottom;
}
@keyframes mascotFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}
.tknm-text h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.1;
  margin: var(--sp3) 0 var(--sp3);
}
.tknm-text p { color: var(--text-muted); margin-bottom: var(--sp4); max-width: 48ch; font-size: var(--text-sm); }
.token-list { display: flex; flex-direction: column; gap: var(--sp2); margin-bottom: var(--sp5); }
.token-list li { display: flex; align-items: center; gap: var(--sp3); font-size: var(--text-sm); }
.dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--c, var(--gold));
  flex-shrink: 0;
}
.token-list b { font-weight: 700; min-width: 3rem; }
.tknm-detail {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--sp3);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp4) var(--sp5);
  margin-bottom: var(--sp4);
}
.tknm-detail div { display: flex; flex-direction: column; gap: 4px; }
.tknm-detail span { font-size: var(--text-xs); color: var(--text-muted); }
.tknm-detail strong { font-size: var(--text-sm); font-weight: 600; }
.donut { width: 240px; height: 240px; }

/* =============================
   ROADMAP
   ============================= */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp4);
}
.rm-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: var(--sp6);
  position: relative;
  transition: all var(--ease);
  opacity: 0.6;
}
.rm-card.done, .rm-card.active { opacity: 1; }
.rm-card.done { border-color: rgba(245,197,66,0.2); }
.rm-card.active {
  border-color: rgba(245,197,66,0.5);
  background: linear-gradient(135deg, rgba(245,197,66,0.06), rgba(255,107,61,0.04));
}
.rm-card.active::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
}
.rm-check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(245,197,66,0.15);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
  margin-bottom: var(--sp4);
}
.rm-card:not(.done):not(.active) .rm-check.empty {
  background: var(--bg-3);
  border: 1px solid var(--border);
}
.pulse-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(245,197,66,0.4);
  animation: pulseDot 2s infinite;
  margin: 8px auto;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(245,197,66,0.4); }
  70%  { box-shadow: 0 0 0 10px rgba(245,197,66,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,197,66,0); }
}
.rm-phase {
  font-size: var(--text-xs); color: var(--gold); font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  display: block; margin-bottom: var(--sp2);
}
.rm-card h3 {
  font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; margin-bottom: var(--sp2);
}
.rm-card p { font-size: var(--text-sm); color: var(--text-muted); }

/* =============================
   COMMUNITY
   ============================= */
.community-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--sp16); align-items: center;
}
.community-text h2 {
  font-family: var(--font-display); font-size: var(--text-2xl);
  font-weight: 700; margin: var(--sp3) 0 var(--sp4);
}
.community-text p { color: var(--text-muted); margin-bottom: var(--sp8); max-width: 44ch; }
.social-cards { display: flex; flex-direction: column; gap: var(--sp3); }
.social-card {
  display: flex; align-items: center; gap: var(--sp4);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp4) var(--sp5);
  transition: all var(--ease);
}
.social-card:hover { border-color: rgba(245,197,66,0.3); transform: translateX(4px); }
.social-card.tg { color: #229ED9; }
.social-card.tw { color: #e7e9ea; }
.social-card.dc { color: #7289da; }
.social-card div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.social-card strong { font-size: var(--text-sm); font-weight: 600; color: var(--text); }
.social-card span { font-size: var(--text-xs); color: var(--text-muted); }
.community-dog svg { width: 100%; max-width: 320px; margin: 0 auto; }

/* =============================
   BUY
   ============================= */
.buy-section { position: relative; overflow: hidden; text-align: center; }
.buy-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,197,66,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.buy-inner { position: relative; z-index: 1; max-width: 520px; margin: 0 auto; }
.buy-inner h2 {
  font-family: var(--font-display); font-size: var(--text-2xl);
  font-weight: 700; margin-bottom: var(--sp4);
}
.buy-inner > p { color: var(--text-muted); margin-bottom: var(--sp8); }
.buy-btns { display: flex; gap: var(--sp4); justify-content: center; flex-wrap: wrap; margin-bottom: var(--sp8); }
.contract-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp5) var(--sp6);
  margin-bottom: var(--sp6);
}
.contract-label { font-size: var(--text-xs); color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-bottom: var(--sp2); }
.contract-addr {
  display: flex; align-items: center; justify-content: center; gap: var(--sp3);
  flex-wrap: wrap;
}
.contract-addr code {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--text-xs);
  color: var(--gold);
  word-break: break-all;
}
.contract-addr button {
  color: var(--text-muted);
  transition: color var(--ease);
  padding: 4px;
  border-radius: var(--r-sm);
}
.contract-addr button:hover { color: var(--gold); }
.disclaimer { font-size: var(--text-xs); color: var(--text-faint); }

/* =============================
   FOOTER
   ============================= */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: var(--sp16) 0 var(--sp8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp8);
  margin-bottom: var(--sp12);
}
.footer-brand .logo { margin-bottom: var(--sp4); }
.footer-brand p { font-size: var(--text-sm); color: var(--text-muted); max-width: 28ch; }
.f-socials { display: flex; gap: var(--sp3); margin-top: var(--sp4); }
.f-socials a {
  width: 36px; height: 36px;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all var(--ease);
}
.f-socials a:hover { color: var(--gold); border-color: rgba(245,197,66,0.4); }
.f-links h4 {
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp4);
}
.f-links ul { display: flex; flex-direction: column; gap: var(--sp3); }
.f-links a { font-size: var(--text-sm); color: var(--text-muted); transition: color var(--ease); }
.f-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--sp6);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--sp3);
  font-size: var(--text-xs); color: var(--text-faint);
}
.f-disc { max-width: 50ch; text-align: right; }

/* =============================
   RESPONSIVE
   ============================= */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .tknm-v2 { grid-template-columns: 1fr; }
  .tknm-right { order: -1; }
  .tknm-mascot-big { max-width: 280px; }
  .tknm-columns { flex-direction: column; align-items: flex-start; }
  .tknm-chart { display: flex; justify-content: center; }
  .community-inner { grid-template-columns: 1fr; }
  .community-dog { display: flex; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .story-text { width: min(280px, 50vw); }
  .final-cta { top: 48%; right: 3%; width: min(260px, 44vw); }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .f-disc { text-align: center; max-width: 100%; }
  .hero-text { top: 40%; }
  .hero-text h1 { font-size: var(--text-2xl); }
  .dog-svg { width: 140px; }
  .doghouse { width: 140px; }
  .dog-lottie-wrap { width: 220px; height: 220px; }
  .story-text { top: 15%; left: 4%; width: min(200px, 55vw); }
  .final-cta { top: 48%; left: 50%; right: auto; transform: translateX(-50%); width: min(300px, 85vw); }
  .final-cta h2 { font-size: 1.1rem; }
  .tknm-detail { grid-template-columns: 1fr; }

  /* --- NAVBAR: BUY WFY butonu küçült --- */
  .nav-right .btn { font-size: 0.65rem; padding: 5px 8px; max-width: 110px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav-right .btn img { width: 20px !important; height: 20px !important; margin-right: 3px !important; }

  /* --- SCROLL HINT: taşmayı önle --- */
  .scroll-hint { letter-spacing: 0.05em; }
  .scroll-hint span { font-size: 0.55rem; letter-spacing: 0.05em; }

  /* --- STATS ROW: ortalanmış --- */
  .stats-row { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; }
  .stat-val { font-size: 1rem; }
  .stat-lbl { font-size: 0.6rem; }

  /* --- FOOTER: 2 sütun --- */
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: var(--sp6); }
  .footer-brand { grid-column: 1 / -1; }

  /* --- HTB BAŞLIK: küçült --- */
  .tknm-heading { font-size: var(--text-2xl); white-space: normal; }

  /* --- HOW TO BUY: mascot göster, tek sütun --- */
  .htb-layout { grid-template-columns: 1fr !important; gap: 2rem; }
  .htb-mascot { display: flex !important; }
  .tknm-mascot-big { max-width: 220px; }
}

/* =============================
   SCROLL SCENE — reduced motion
   ============================= */
@media (prefers-reduced-motion: reduce) {
  .ticker { animation: none; }
  .cloud { animation: none; }
  .z { animation: none; opacity: 0.5; }
  .badge-dot { animation: none; }
  .woffy-run #woffyLegs { animation: none; }
  .woffy-run #woffyTail { animation: none; }
  .cheering .person-arms { animation: none; }
  .cheering .person-body { animation: none; }
}

/* ===== HOW TO BUY ===== */
.htb-section { padding: var(--sp16) 0; }

.htb-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.htb-card {
  position: relative;
  background: linear-gradient(135deg, rgba(245,197,66,0.05) 0%, rgba(255,107,61,0.05) 100%);
  border: 1px solid rgba(245,197,66,0.15);
  border-radius: 20px;
  padding: 2rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.htb-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245,197,66,0.45);
  box-shadow: 0 12px 40px rgba(245,197,66,0.12);
}

/* connector line between cards */
.htb-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 2.6rem;
  right: -0.85rem;
  width: 1.7rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(245,197,66,0.5), rgba(255,107,61,0.5));
  z-index: 1;
}

.htb-num {
  font-family: 'Clash Display', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(90deg, #f5c542, #ff6b3d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.35;
}

.htb-icon {
  font-size: 2rem;
  line-height: 1;
}

.htb-card h3 {
  font-family: 'Clash Display', sans-serif;
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.htb-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.htb-card p strong {
  color: #f5c542;
}

.htb-link {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: #f5c542;
  text-decoration: none;
  margin-top: auto;
  transition: color 0.2s;
}
.htb-link:hover { color: #ff6b3d; }

@media (max-width: 1100px) {
  .htb-steps { grid-template-columns: repeat(3, 1fr); }
  .htb-card:nth-child(3)::after { display: none; }
}

@media (max-width: 700px) {
  .htb-steps { grid-template-columns: 1fr; gap: 1rem; }
  .htb-card::after { display: none; }
}

/* HTB layout (replaces old card grid) */
.htb-layout {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 4rem;
  align-items: center;
}

.htb-mascot {
  display: flex;
  justify-content: center;
  align-items: center;
}

.htb-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.75rem;
}

.htb-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(245,197,66,0.04);
  border: 1px solid rgba(245,197,66,0.1);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  transition: border-color 0.25s, background 0.25s;
}

.htb-row:hover {
  border-color: rgba(245,197,66,0.3);
  background: rgba(245,197,66,0.07);
}

.htb-row strong { color: var(--text-primary); }
.htb-row em { color: #f5c542; font-style: normal; }

.htb-badge {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5c542, #ff6b3d);
  color: #07070f;
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

@media (max-width: 1000px) {
  .htb-layout { grid-template-columns: 1fr; }
  .htb-mascot { display: flex; justify-content: center; }
}

/* ===== BUY TITLE ROW + ANIMATED IMAGE ===== */
.buy-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.buy-anim-img {
  width: 340px;
  height: 340px;
  object-fit: contain;
  animation: buyImgFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(245,197,66,0.6));
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.buy-anim-img.launching {
  animation: none !important;
}

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

@keyframes buyImgSpin {
  0%   { filter: drop-shadow(0 0 18px rgba(245,197,66,0.5)); }
  50%  { filter: drop-shadow(0 0 28px rgba(255,107,61,0.7)); }
  100% { filter: drop-shadow(0 0 18px rgba(245,197,66,0.5)); }
}
