:root{
  --green:#18D26E;
  --green-bright:#3FF08C;
  --bg:#06110B;
  --bg-2:#0A1B12;
  --text:#F2FFF6;
  --text-dim:rgba(242,255,246,0.62);
  --glass:rgba(255,255,255,0.045);
  --glass-border:rgba(63,240,140,0.18);
}

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

body{
  background:var(--bg);
  color:var(--text);
  font-family:'Inter', system-ui, sans-serif;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3{ font-family:'Space Grotesk', sans-serif; }

#bg-canvas{
  position:fixed; inset:0; width:100%; height:100%; z-index:0;
}

#grid-overlay{
  position:fixed; inset:0; z-index:1; pointer-events:none;
  background-image:
    linear-gradient(rgba(63,240,140,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63,240,140,0.05) 1px, transparent 1px);
  background-size:44px 44px;
  mask-image:radial-gradient(ellipse 80% 60% at 50% 20%, black 30%, transparent 90%);
}

#grain{
  position:fixed; inset:0; z-index:2; pointer-events:none;
  opacity:0.035; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

#spotlight{
  position:fixed; inset:0; z-index:2; pointer-events:none;
  background:radial-gradient(600px circle at var(--mx,50%) var(--my,20%), rgba(63,240,140,0.10), transparent 60%);
  transition:background 0.05s linear;
}

#scroll-progress{
  position:fixed; top:0; left:0; height:3px; width:0%;
  z-index:50;
  background:linear-gradient(90deg, var(--green), var(--green-bright));
  box-shadow:0 0 10px 2px rgba(63,240,140,0.6);
  transition:width 0.08s linear;
}

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

/* ---------- marquee ---------- */
.marquee{
  position:relative; z-index:3;
  width:100%; overflow:hidden;
  background:var(--green);
  padding:8px 0;
  border-bottom:2px solid rgba(0,0,0,0.15);
}
.marquee-track{
  display:flex; width:200%;
  animation:scrollMarquee 22s linear infinite;
}
.marquee-track span{
  flex:0 0 50%;
  font-family:'Space Grotesk', sans-serif;
  font-weight:700; font-size:14px; letter-spacing:0.04em;
  color:#06110B;
  white-space:nowrap;
}
@keyframes scrollMarquee{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }

/* ---------- topbar ---------- */
.topbar-outer{
  position:sticky; top:0; z-index:20;
  transition:background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom:1px solid transparent;
}
.topbar-outer.scrolled{
  background:rgba(6,17,11,0.72);
  backdrop-filter:blur(16px);
  border-bottom-color:var(--glass-border);
}
.topbar{
  position:relative;
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 32px;
  max-width:1200px; margin:0 auto;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-family:'Space Grotesk', sans-serif;
  font-weight:700; font-size:18px; letter-spacing:0.02em;
}
.brand-logo{ width:34px; height:34px; border-radius:9px; object-fit:cover; }
.topnav{ display:flex; gap:28px; font-size:14px; color:var(--text-dim); }
.topnav a{ position:relative; padding-bottom:4px; transition:color 0.2s ease; }
.topnav a:hover{ color:var(--text); }
.topnav a::after{
  content:''; position:absolute; left:0; right:100%; bottom:-1px; height:2px;
  background:linear-gradient(90deg, var(--green), var(--green-bright));
  border-radius:2px;
  transition:right 0.25s ease;
}
.topnav a.active{ color:var(--green-bright); }
.topnav a.active::after{ right:0; }
.topbar-right{ display:flex; align-items:center; gap:14px; }

@media (max-width:760px){ .topnav{ display:none; } }

.menu-btn{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:38px; height:38px; border-radius:10px;
  background:var(--glass); border:1px solid var(--glass-border);
  cursor:pointer;
}
.menu-btn span{ width:16px; height:2px; margin:0 auto; background:var(--text); border-radius:2px; transition:transform 0.25s ease, opacity 0.25s ease; }
.menu-btn.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2){ opacity:0; }
.menu-btn.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
@media (max-width:760px){ .menu-btn{ display:flex; } }

.mobile-menu{
  position:fixed; top:0; right:0; z-index:15;
  width:min(78vw, 300px); height:100vh;
  background:rgba(6,17,11,0.92); backdrop-filter:blur(20px);
  border-left:1px solid var(--glass-border);
  display:flex; flex-direction:column; gap:22px;
  padding:90px 28px 28px;
  transform:translateX(100%);
  transition:transform 0.35s ease;
}
.mobile-menu.open{ transform:translateX(0); }
.mobile-menu a{ font-size:16px; color:var(--text); font-family:'Space Grotesk', sans-serif; }
.mobile-menu .btn{ margin-top:8px; text-align:center; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:13px 26px;
  border-radius:14px;
  font-weight:700; font-size:14px;
  font-family:'Space Grotesk', sans-serif;
  transition:transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor:pointer; border:none;
}
.btn-primary{
  background:linear-gradient(135deg, var(--green-bright), var(--green));
  color:#06110B;
  box-shadow:0 10px 30px -8px rgba(63,240,140,0.55);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 14px 34px -6px rgba(63,240,140,0.7); }
.btn-ghost{
  background:var(--glass);
  border:1px solid var(--glass-border);
  color:var(--text);
}
.btn-ghost:hover{ transform:translateY(-2px); background:rgba(255,255,255,0.08); }
.btn-small{ padding:9px 18px; font-size:13px; border-radius:11px; }
.btn-large{ padding:16px 36px; font-size:16px; border-radius:16px; margin-top:26px; }

/* ---------- hero ---------- */
.hero{
  position:relative; z-index:3;
  max-width:820px; margin:0 auto;
  padding:64px 24px 60px;
  display:flex; flex-direction:column; align-items:center; text-align:center;
}

.hero-coin-wrap{
  position:relative; width:150px; height:150px; margin-bottom:26px;
  perspective:900px;
  animation:floatLogo 4s ease-in-out infinite;
}
.hero-logo-glow{
  position:absolute; inset:-34px;
  background:radial-gradient(circle, rgba(63,240,140,0.5), transparent 70%);
  filter:blur(12px);
  animation:pulseGlow 3s ease-in-out infinite;
}
@keyframes pulseGlow{ 0%,100%{ opacity:0.7; transform:scale(1);} 50%{ opacity:1; transform:scale(1.08);} }
@keyframes floatLogo{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-10px);} }

.hero-coin{
  position:relative; width:100%; height:100%;
  transform-style:preserve-3d;
  animation:coinSpin 7s linear infinite;
}
@keyframes coinSpin{ from{ transform:rotateY(0deg);} to{ transform:rotateY(360deg);} }

.coin-face{
  position:absolute; inset:0;
  border-radius:50%;
  overflow:hidden;
  backface-visibility:hidden;
  box-shadow:0 20px 50px -12px rgba(0,0,0,0.65), inset 0 0 0 4px rgba(255,255,255,0.15), inset 0 0 0 8px rgba(63,240,140,0.4);
}
.coin-face img{ width:100%; height:100%; object-fit:cover; display:block; }
.coin-back{ transform:rotateY(180deg); }
.coin-shine{
  position:absolute; inset:0;
  background:linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.55) 48%, transparent 62%);
  transform:translateX(-120%);
  animation:coinShine 3.4s ease-in-out infinite;
}
@keyframes coinShine{
  0%,60%{ transform:translateX(-120%); }
  85%,100%{ transform:translateX(120%); }
}
.coin-edge{
  position:absolute; inset:0; border-radius:50%;
  box-shadow:0 0 0 2px rgba(63,240,140,0.25);
  transform:translateZ(-2px);
}

@media (prefers-reduced-motion: reduce){
  .hero-coin{ animation:none; }
  .hero-coin-wrap{ animation:none; }
}

.live-pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 16px; border-radius:999px;
  background:var(--glass); border:1px solid var(--glass-border);
  font-size:12px; font-weight:700; letter-spacing:0.08em;
  color:var(--green-bright);
  margin-bottom:18px;
}
.live-dot{ width:7px; height:7px; border-radius:50%; background:var(--green-bright); box-shadow:0 0 10px 3px var(--green-bright); animation:blinkDot 1.4s ease-in-out infinite; }
@keyframes blinkDot{ 0%,100%{ opacity:1;} 50%{ opacity:0.3;} }

.hero-title{
  position:relative;
  font-weight:800; font-size:clamp(44px, 9vw, 96px);
  line-height:0.95; letter-spacing:-0.02em;
  margin-bottom:18px;
}
.hero-title .stroke{
  position:absolute; inset:0;
  -webkit-text-stroke:1px rgba(63,240,140,0.35);
  color:transparent;
  transform:translate(6px,6px);
}
.hero-title .fill{
  position:relative;
  background:linear-gradient(110deg, #fff 10%, var(--green-bright) 35%, var(--green) 50%, var(--green-bright) 65%, #fff 90%);
  background-size:250% 100%;
  -webkit-background-clip:text; background-clip:text; color:transparent;
  animation:titleShimmer 5s ease-in-out infinite;
}
@keyframes titleShimmer{
  0%{ background-position:0% 50%; }
  100%{ background-position:200% 50%; }
}

.hero-sub{
  max-width:520px; color:var(--text-dim); font-size:16px; line-height:1.6;
  margin-bottom:30px;
}
.hero-sub strong{ color:var(--green-bright); }

.ca-box{
  display:flex; align-items:center; gap:10px;
  background:var(--glass); border:1px solid var(--glass-border);
  padding:10px 10px 10px 16px; border-radius:14px;
  margin-bottom:26px; max-width:100%;
  cursor:pointer;
  transition:background 0.2s ease, border-color 0.2s ease;
}
.ca-box:hover{ background:rgba(63,240,140,0.08); border-color:rgba(63,240,140,0.4); }
.ca-label{
  font-size:11px; font-weight:800; color:var(--green-bright);
  background:rgba(63,240,140,0.15); padding:4px 8px; border-radius:8px;
  letter-spacing:0.06em; flex-shrink:0;
}
.ca-value{
  font-family:'Space Grotesk', monospace; font-size:13px;
  color:var(--text-dim);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  max-width:280px;
}
.copy-btn{
  flex-shrink:0; width:32px; height:32px; border-radius:9px;
  background:rgba(255,255,255,0.06); border:none; color:var(--text);
  display:flex; align-items:center; justify-content:center; cursor:pointer;
  transition:background 0.2s ease, color 0.2s ease;
}
.copy-btn:hover{ background:var(--green); color:#06110B; }

.hero-buttons{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }

/* ---------- entrance stagger ---------- */
.hero-el{
  opacity:0; transform:translateY(22px);
  transition:opacity 0.7s ease, transform 0.7s ease;
}
body.loaded .hero-el{ opacity:1; transform:translateY(0); }
body.loaded .hero-coin-wrap.hero-el{ transform:none; }
.hero-el:nth-of-type(1){ transition-delay:0.05s; }
.hero-coin-wrap{ transition-delay:0s !important; }
.live-pill.hero-el{ transition-delay:0.1s; }
.hero-title.hero-el{ transition-delay:0.2s; }
.hero-sub.hero-el{ transition-delay:0.3s; }
.ca-box.hero-el{ transition-delay:0.4s; }
.hero-buttons.hero-el{ transition-delay:0.5s; }

/* ---------- magnetic buttons ---------- */
.magnetic{ transition:transform 0.15s ease, box-shadow 0.18s ease, background 0.18s ease; will-change:transform; }

/* ---------- tilt cards ---------- */
.tilt{ transform-style:preserve-3d; will-change:transform; }

/* ---------- stats ---------- */
.stats{
  position:relative; z-index:3;
  max-width:1000px; margin:0 auto;
  border:1px solid var(--glass-border);
  border-radius:20px; overflow:hidden;
  margin-bottom:100px;
  background:var(--bg-2);
}
.stats-header{
  display:flex; align-items:center; gap:8px;
  padding:14px 20px;
  border-bottom:1px solid var(--glass-border);
  font-size:12.5px; color:var(--text-dim);
}
.live-dot-sm{
  width:7px; height:7px; border-radius:50%;
  background:var(--green-bright);
  box-shadow:0 0 8px 2px var(--green-bright);
  animation:blinkDot 1.4s ease-in-out infinite;
  flex-shrink:0;
}
.stats-updated{ margin-left:auto; opacity:0.7; }
.stats-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1px;
  background:var(--glass-border);
}
.stat{
  background:var(--bg-2);
  padding:26px 16px; text-align:center;
}
.stat-value{
  font-family:'Space Grotesk', sans-serif; font-weight:800;
  font-size:clamp(16px,2.6vw,26px);
  background:linear-gradient(135deg,#fff, var(--green-bright));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.stat-value.up{ background:linear-gradient(135deg,#fff, #3FF08C); -webkit-background-clip:text; background-clip:text; }
.stat-value.down{ background:linear-gradient(135deg,#fff, #FF6B6B); -webkit-background-clip:text; background-clip:text; }
.stat-label{ font-size:12px; color:var(--text-dim); margin-top:6px; letter-spacing:0.03em; }
@media (max-width:640px){ .stats-grid{ grid-template-columns:repeat(2,1fr); } }

/* ---------- sections ---------- */
main section{
  position:relative; z-index:3;
  max-width:980px; margin:0 auto;
  padding:20px 24px 100px;
}
.section-tag{
  display:inline-block; font-size:12px; font-weight:800; letter-spacing:0.12em;
  color:var(--green-bright); background:rgba(63,240,140,0.12);
  padding:6px 12px; border-radius:8px; margin-bottom:14px;
}

.chart-note{ color:var(--text-dim); font-size:13.5px; margin-bottom:18px; max-width:640px; }
.chart-embed{
  position:relative;
  width:100%;
  border-radius:20px; overflow:hidden;
  border:1px solid var(--glass-border);
  background:var(--bg-2);
  padding:14px 14px 0;
}
.chart-toolbar{
  display:flex; align-items:center; gap:8px;
  font-size:12.5px; color:var(--text-dim);
  padding-bottom:12px;
}
.chart-live-dot{
  width:7px; height:7px; border-radius:50%;
  background:var(--green-bright);
  box-shadow:0 0 8px 2px var(--green-bright);
  animation:blinkDot 1.4s ease-in-out infinite;
  flex-shrink:0;
}
.chart-timeframes{ margin-left:auto; display:flex; gap:6px; }
.tf-btn{
  padding:6px 12px; font-size:12px; font-weight:700;
  border-radius:8px; border:1px solid var(--glass-border);
  background:transparent; color:var(--text-dim);
  cursor:pointer; font-family:'Space Grotesk', sans-serif;
  transition:background 0.15s ease, color 0.15s ease;
}
.tf-btn:hover{ color:var(--text); }
.tf-btn.active{ background:var(--green); color:#06110B; border-color:var(--green); }

#price-chart{ width:100%; height:480px; display:block; }
@media (max-width:640px){ #price-chart{ height:340px; } }

.chart-links{
  display:flex; gap:20px; margin-top:14px; flex-wrap:wrap;
  font-size:13px; color:var(--text-dim);
}
.chart-links a:hover{ color:var(--green-bright); }

/* ---------- buy/sell pressure widget ---------- */
.pressure-panel{
  border:1px solid var(--glass-border);
  border-radius:20px;
  background:var(--bg-2);
  padding:14px 14px 6px;
  margin-top:16px;
}

.pressure-split-row{
  display:flex; align-items:center; gap:10px;
  padding:6px 4px 14px;
}
.pressure-split-label{
  font-family:'Space Grotesk', sans-serif; font-weight:800; font-size:12.5px;
  flex-shrink:0; min-width:74px;
}
.pressure-split-label.buy{ color:var(--green-bright); text-align:left; }
.pressure-split-label.sell{ color:#FF6B6B; text-align:right; }
.pressure-split-track{
  flex:1; height:8px; border-radius:999px; overflow:hidden;
  background:#FF6B6B; position:relative;
}
.pressure-split-fill{
  height:100%; background:linear-gradient(90deg, var(--green), var(--green-bright));
  transition:width 0.8s cubic-bezier(0.16,1,0.3,1);
}

#pressure-canvas{ width:100%; height:110px; display:block; }

.trade-ticker{
  display:flex; flex-direction:column;
  border-top:1px solid rgba(255,255,255,0.06);
  margin-top:8px;
}
.trade-row{
  display:flex; align-items:center; gap:10px;
  padding:8px 4px;
  font-size:12.5px;
  border-bottom:1px solid rgba(255,255,255,0.04);
  opacity:0; transform:translateY(6px);
  animation:holderIn 0.35s ease forwards;
}
.trade-row:last-child{ border-bottom:none; }
.trade-kind{
  font-family:'Space Grotesk', sans-serif; font-weight:800; font-size:11px;
  padding:2px 8px; border-radius:6px; flex-shrink:0; width:44px; text-align:center;
}
.trade-kind.buy{ color:#06110B; background:var(--green-bright); }
.trade-kind.sell{ color:#fff; background:#FF6B6B; }
.trade-vol{ font-family:'Space Grotesk', sans-serif; font-weight:700; color:var(--text); flex-shrink:0; }
.trade-addr{ color:var(--text-dim); font-family:'Space Grotesk', monospace; flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.trade-time{ color:var(--text-dim); flex-shrink:0; font-size:11px; }

@media (max-width:640px){
  .trade-addr{ display:none; }
  .pressure-split-label{ min-width:60px; font-size:11px; }
}

/* ---------- holders leaderboard ---------- */

.holders-summary{
  display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
  background:var(--glass-border);
  border:1px solid var(--glass-border);
  border-radius:18px; overflow:hidden;
  margin-bottom:26px;
}
.hsum-item{
  background:var(--bg-2);
  padding:18px 14px; text-align:center;
  display:flex; flex-direction:column; gap:5px;
}
.hsum-value{
  font-family:'Space Grotesk', sans-serif; font-weight:800;
  font-size:clamp(18px,2.6vw,26px);
  background:linear-gradient(135deg,#fff, var(--green-bright));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hsum-label{ font-size:11.5px; color:var(--text-dim); letter-spacing:0.03em; }

/* podium */
.podium{
  display:grid; grid-template-columns:1fr 1fr 1fr;
  align-items:end;
  gap:14px;
  margin-bottom:28px;
}
.podium-card{
  position:relative;
  border-radius:18px;
  border:1px solid var(--glass-border);
  background:linear-gradient(180deg, rgba(63,240,140,0.08), var(--bg-2) 60%);
  padding:20px 14px 16px;
  text-align:center;
  opacity:0; transform:translateY(16px);
  animation:holderIn 0.5s ease forwards;
  transition:transform 0.25s ease, box-shadow 0.25s ease;
}
.podium-card:hover{ transform:translateY(-4px); box-shadow:0 16px 40px -14px rgba(63,240,140,0.4); }
.podium-card[data-place="1"]{ order:2; padding-top:30px; border-color:rgba(255,216,77,0.5); }
.podium-card[data-place="2"]{ order:1; }
.podium-card[data-place="3"]{ order:3; }

.podium-medal{ font-size:26px; margin-bottom:6px; }
.podium-avatar{
  width:56px; height:56px; border-radius:50%;
  margin:0 auto 10px;
  border:2px solid rgba(255,255,255,0.25);
  box-shadow:0 0 0 4px rgba(63,240,140,0.12);
  display:flex; align-items:center; justify-content:center;
  font-family:'Space Grotesk', sans-serif; font-weight:800; font-size:20px;
  color:#fff; text-shadow:0 1px 4px rgba(0,0,0,0.55);
}
.podium-card[data-place="1"] .podium-avatar{ width:70px; height:70px; box-shadow:0 0 0 5px rgba(255,216,77,0.18), 0 0 24px -4px rgba(255,216,77,0.6); }
.podium-whale{ font-size:15px; margin-bottom:4px; }
.podium-addr{
  font-family:'Space Grotesk', monospace; font-size:12.5px;
  color:var(--text); display:flex; align-items:center; justify-content:center; gap:6px;
}
.podium-addr a{ color:inherit; }
.podium-addr a:hover{ color:var(--green-bright); }
.podium-tag{
  display:inline-block; margin-top:6px;
  font-size:10px; font-weight:800; letter-spacing:0.04em;
  color:var(--green-bright); background:rgba(63,240,140,0.14);
  padding:2px 7px; border-radius:6px;
}
.podium-pct{
  font-family:'Space Grotesk', sans-serif; font-weight:800;
  font-size:clamp(18px,3vw,24px);
  color:var(--green-bright);
  margin-top:10px;
}
.podium-card[data-place="1"] .podium-pct{ color:#FFD84D; }
.podium-fiat{
  font-family:'Space Grotesk', sans-serif; font-weight:700; font-size:14px;
  color:var(--text); margin-top:2px;
}
.podium-amount{ font-size:11px; color:var(--text-dim); margin-top:2px; }
.podium-held{ font-size:10px; color:var(--text-dim); margin-top:6px; opacity:0.8; }
.copy-mini{
  background:none; border:none; color:var(--text-dim); cursor:pointer;
  display:inline-flex; padding:2px; transition:color 0.15s ease;
}
.copy-mini:hover{ color:var(--green-bright); }

@media (max-width:700px){
  .podium{ grid-template-columns:1fr; }
  .podium-card[data-place="1"],
  .podium-card[data-place="2"],
  .podium-card[data-place="3"]{ order:0; }
}

/* list panel */
.holders-panel{
  border:1px solid var(--glass-border);
  border-radius:20px;
  background:var(--bg-2);
  padding:14px 14px 6px;
}
.holders-head{
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:14px;
  padding:6px 6px 12px;
  font-size:11px; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--text-dim);
  border-bottom:1px solid var(--glass-border);
  margin-bottom:4px;
}
.holders-head span:nth-child(2){ text-align:right; }
.holders-head span:nth-child(3){ text-align:right; }
@media (max-width:640px){ .holders-head span:nth-child(3){ display:none; } }

.holders-list{ display:flex; flex-direction:column; }

.holder-row{
  display:grid;
  grid-template-columns:1fr auto auto;
  align-items:center;
  gap:14px;
  padding:12px 6px;
  border-radius:12px;
  border-bottom:1px solid rgba(255,255,255,0.05);
  opacity:0; transform:translateY(8px);
  animation:holderIn 0.4s ease forwards;
  transition:background 0.2s ease;
}
.holder-row:hover{ background:rgba(63,240,140,0.05); }
.holder-row:last-child{ border-bottom:none; }
@keyframes holderIn{ to{ opacity:1; transform:translateY(0); } }

.holder-row.flash-up{ animation:flashUp 1.4s ease; }
.holder-row.flash-down{ animation:flashDown 1.4s ease; }
@keyframes flashUp{ 0%{ background:rgba(63,240,140,0.22); } 100%{ background:transparent; } }
@keyframes flashDown{ 0%{ background:rgba(255,107,107,0.18); } 100%{ background:transparent; } }

.holder-main{ min-width:0; display:flex; align-items:center; gap:10px; }
.holder-avatar{
  width:32px; height:32px; border-radius:50%; flex-shrink:0;
  border:1px solid rgba(255,255,255,0.2);
  display:flex; align-items:center; justify-content:center;
  font-family:'Space Grotesk', sans-serif; font-weight:800; font-size:12px;
  color:#fff; text-shadow:0 1px 3px rgba(0,0,0,0.55);
}
.holder-main-text{ min-width:0; }
.holder-address{
  display:flex; align-items:center; gap:6px;
  font-family:'Space Grotesk', monospace; font-size:13.5px;
  color:var(--text);
}
.holder-address a{ color:inherit; }
.holder-address a:hover{ color:var(--green-bright); }
.holder-tag{
  font-size:10.5px; font-weight:800; letter-spacing:0.04em;
  color:var(--green-bright); background:rgba(63,240,140,0.14);
  padding:2px 7px; border-radius:6px;
}
.holder-bar-track{
  margin-top:7px; height:5px; border-radius:999px;
  background:rgba(255,255,255,0.07); overflow:hidden; max-width:280px;
}
.holder-bar-fill{
  height:100%; border-radius:999px;
  background:linear-gradient(90deg, var(--green), var(--green-bright));
  width:0%;
  transition:width 0.8s cubic-bezier(0.16,1,0.3,1);
}
.holder-held{ font-size:10.5px; color:var(--text-dim); margin-top:5px; }

.holder-share{ text-align:right; flex-shrink:0; }
.holder-pct{
  font-family:'Space Grotesk', sans-serif; font-weight:800; font-size:15px;
  color:var(--green-bright);
}
.holder-whale{ font-size:11px; margin-top:2px; }

.holder-balance{ text-align:right; flex-shrink:0; }
.holder-fiat{
  font-family:'Space Grotesk', sans-serif; font-weight:700; font-size:13.5px;
  color:var(--text);
}
.holder-tokens{ font-size:11px; color:var(--text-dim); margin-top:2px; }
@media (max-width:640px){ .holder-balance{ display:none; } }

@media (max-width:640px){
  .holder-row, .holders-head{ grid-template-columns:1fr auto; gap:10px; padding:10px 4px; }
  .holder-address{ font-size:12px; }
  .holder-bar-track{ max-width:100%; }
  .holder-avatar{ width:26px; height:26px; font-size:10px; }
}
main section h2{
  font-size:clamp(28px,4vw,42px); margin-bottom:16px; letter-spacing:-0.01em;
}
.about p{ color:var(--text-dim); font-size:16px; line-height:1.7; max-width:680px; margin-bottom:36px; }

.about-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.about-card{
  background:var(--glass); border:1px solid var(--glass-border);
  border-radius:18px; padding:26px 22px;
  transition:transform 0.2s ease, border-color 0.2s ease;
}
.about-card:hover{ transform:translateY(-4px); border-color:rgba(63,240,140,0.45); }
.about-icon{ font-size:28px; margin-bottom:12px; }
.about-card h3{ font-size:17px; margin-bottom:8px; }
.about-card p{ font-size:14px; color:var(--text-dim); line-height:1.6; margin-bottom:0; }
@media (max-width:760px){ .about-grid{ grid-template-columns:1fr; } }

.token-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.token-card{
  background:var(--glass); border:1px solid var(--glass-border);
  border-radius:16px; padding:18px 20px;
  display:flex; flex-direction:column; gap:6px;
}
.token-card span{ font-size:12px; color:var(--text-dim); letter-spacing:0.04em; }
.token-card strong{ font-size:18px; font-family:'Space Grotesk', sans-serif; color:var(--green-bright); }
@media (max-width:760px){ .token-grid{ grid-template-columns:1fr 1fr; } }
.token-card strong.warn{ color:#FFD84D; }
.token-card strong.bad{ color:#FF6B6B; }
.token-card strong.unknown{ color:var(--text-dim); font-size:14px; }

.dev-wallet-card{
  margin-top:18px;
  border:1px solid var(--glass-border); border-radius:18px;
  background:var(--glass); padding:20px 22px;
}
.dev-wallet-head{ display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-bottom:16px; }
.dev-wallet-body{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; }
.dev-wallet-addr{
  font-family:'Space Grotesk', monospace; font-size:14px; color:var(--text);
  display:flex; align-items:center; gap:8px;
}
.dev-wallet-addr a{ color:inherit; }
.dev-wallet-addr a:hover{ color:var(--green-bright); }
.dev-wallet-figures{ display:flex; gap:28px; }
.dev-wallet-value{
  font-family:'Space Grotesk', sans-serif; font-weight:800; font-size:22px;
  color:var(--green-bright);
}
.dev-wallet-label{ font-size:11px; color:var(--text-dim); margin-top:2px; }

.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-bottom:8px; }
.step{
  background:var(--glass); border:1px solid var(--glass-border);
  border-radius:18px; padding:26px 22px;
}
.step-num{
  width:34px; height:34px; border-radius:10px;
  background:linear-gradient(135deg, var(--green-bright), var(--green));
  color:#06110B; font-weight:800; font-family:'Space Grotesk', sans-serif;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:14px;
}
.step h3{ font-size:16px; margin-bottom:8px; }
.step p{ font-size:14px; color:var(--text-dim); line-height:1.6; }
@media (max-width:760px){ .steps{ grid-template-columns:1fr; } }

.ca-box-alt{ margin:26px auto 0; justify-content:center; }

/* ---------- footer ---------- */
.site-footer{
  position:relative; z-index:3;
  text-align:center; padding:50px 24px 60px;
  border-top:1px solid var(--glass-border);
}
.footer-logo{ width:44px; height:44px; border-radius:12px; margin-bottom:16px; }
.site-footer p{ max-width:520px; margin:0 auto 20px; font-size:12.5px; color:var(--text-dim); line-height:1.6; }
.footer-links{ display:flex; gap:22px; justify-content:center; font-size:13px; color:var(--text-dim); flex-wrap:wrap; }
.footer-links a:hover{ color:var(--green-bright); }

/* ---------- toast ---------- */
.toast{
  position:fixed; bottom:26px; left:50%; transform:translateX(-50%) translateY(20px);
  background:var(--green); color:#06110B; font-weight:700; font-size:13px;
  padding:12px 22px; border-radius:12px;
  opacity:0; pointer-events:none;
  transition:opacity 0.3s ease, transform 0.3s ease;
  z-index:20;
}
.toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }

/* ---------- back to top ---------- */
.to-top-btn{
  position:fixed; bottom:26px; right:26px; z-index:20;
  width:44px; height:44px; border-radius:50%;
  background:var(--glass); border:1px solid var(--glass-border);
  backdrop-filter:blur(14px);
  color:var(--text);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  opacity:0; transform:translateY(10px);
  pointer-events:none;
  transition:opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}
.to-top-btn.visible{ opacity:1; transform:translateY(0); pointer-events:auto; }
.to-top-btn:hover{ background:var(--green); color:#06110B; border-color:var(--green); }

/* ---------- accessible focus states ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible{
  outline:2px solid var(--green-bright);
  outline-offset:3px;
  border-radius:6px;
}

/* ---------- tactile press feedback ---------- */
.btn:active,
.ctrl-btn:active,
.copy-btn:active,
.copy-mini:active,
.to-top-btn:active,
.tf-btn:active{
  transform:scale(0.94);
}
