/* ============================================
   PANDA INU — Panda B&W Theme
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

:root {
  /* ── Panda palette: black, white, grey ── */
  --bg:        #0d0d0d;
  --bg2:       #111214;
  --bg3:       #161718;
  --card:      #1a1b1d;
  --card2:     #202224;
  --border:    rgba(255,255,255,0.07);
  --border2:   rgba(255,255,255,0.13);

  --white:     #f0eeea;
  --off-white: #d8d4cc;
  --grey:      #a09890;
  --grey2:     #6a6460;
  --grey3:     #3a3836;

  /* accent = pure white / silver */
  --accent:    #e8e4de;
  --accent2:   #ffffff;
  --accent-dim: rgba(232,228,222,0.12);

  /* panda spots — inky black */
  --ink:       #0a0a0a;
  --ink2:      rgba(0,0,0,0.6);

  /* small pops of warm white */
  --warm:      #f4f0e8;

  --font-main: 'Cinzel', serif;
  --font-deco: 'Cinzel Decorative', serif;
  --font-zh:   'Noto Serif SC', serif;
  --font-bold: 'Bebas Neue', 'Cinzel Decorative', serif;
  --radius:    14px;
  --tr:        0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-main);
  overflow-x: hidden;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--grey3); border-radius: 3px; }

/* ── Selection ── */
::selection { background: rgba(232,228,222,0.2); color: #fff; }

/* ============================================
   BACKGROUND SYSTEM
   ============================================ */
.ink-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(60,56,52,0.5) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 0%   80%, rgba(30,28,26,0.6) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(25,23,21,0.4) 0%, transparent 50%);
}

#bamboo-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0.09;
}

.mist-layer {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 100% 30% at 50% 100%, rgba(150,145,138,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 60%  25% at 10%  55%, rgba(140,135,128,0.03) 0%, transparent 50%);
  animation: mist 22s ease-in-out infinite alternate;
}
@keyframes mist {
  from { opacity: .5; transform: translateX(-8px); }
  to   { opacity: 1;  transform: translateX(8px);  }
}

.petals-container {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
}
.petal {
  position: absolute; top: -30px; opacity: 0;
  animation: petal-fall linear infinite;
  border-radius: 50% 0 50% 0;
}
@keyframes petal-fall {
  0%   { transform: translateY(0)      rotate(0deg)   translateX(0);    opacity: 0; }
  8%   { opacity: .55; }
  92%  { opacity: .3; }
  100% { transform: translateY(110vh) rotate(720deg) translateX(70px); opacity: 0; }
}

.cursor-glow {
  position: fixed; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,195,188,0.05) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
  transform: translate(-50%,-50%);
  transition: left .1s ease, top .1s ease;
}

/* ── Noise texture overlay ── */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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.035'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: .4;
}

/* ── Container ── */
.container {
  max-width: 1140px; margin: 0 auto; padding: 0 28px;
  position: relative; z-index: 2;
}

/* ============================================
   HEADER
   ============================================ */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
#header.scrolled {
  background: rgba(7,7,7,0.97);
  border-bottom-color: var(--border2);
}

.header-inner {
  max-width: 1140px; margin: 0 auto;
  padding: 0 28px; height: 68px;
  display: flex; align-items: center; gap: 32px;
}

.logo {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; flex-shrink: 0;
}
.logo-img {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--border2); object-fit: cover;
  transition: border-color .3s, box-shadow .3s;
}
.logo:hover .logo-img {
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(232,228,222,0.2);
}
.logo-text {
  font-family: var(--font-deco); font-size: 1.05rem;
  font-weight: 700; color: var(--white); letter-spacing: .06em;
}
.logo-inu { color: var(--grey); }

.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  color: var(--grey); text-decoration: none; font-size: .78rem;
  font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  transition: color .25s; position: relative; padding-bottom: 3px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--white);
  transition: width .3s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* ── Buttons ── */
.btn-buy {
  position: relative; overflow: hidden;
  background: var(--white); color: var(--ink);
  font-family: var(--font-main); font-size: .75rem;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 9px 20px; border-radius: 6px;
  text-decoration: none; border: none; cursor: pointer;
  white-space: nowrap; transition: all .3s ease;
}
.btn-buy::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
  transform: translateX(-100%); transition: transform .4s ease;
}
.btn-buy:hover { background: var(--off-white); box-shadow: 0 4px 20px rgba(255,255,255,0.15); transform: translateY(-1px); }
.btn-buy:hover::before { transform: translateX(100%); }

.btn-primary {
  position: relative; overflow: hidden;
  background: var(--white); color: var(--ink);
  font-family: var(--font-main); font-size: .88rem;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 14px 32px; border-radius: 8px;
  text-decoration: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .3s ease;
  box-shadow: 0 4px 24px rgba(255,255,255,0.1);
}
.btn-primary::before {
  content: ''; position: absolute;
  top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
  transition: left .5s ease; pointer-events: none;
}
.btn-primary:hover { background: var(--off-white); transform: translateY(-3px); box-shadow: 0 10px 36px rgba(255,255,255,0.18); }
.btn-primary:hover::before { left: 160%; }
.btn-primary.large { padding: 16px 38px; font-size: .95rem; }

.btn-secondary {
  position: relative; overflow: hidden;
  background: transparent; color: var(--white);
  font-family: var(--font-main); font-size: .88rem;
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 13px 30px; border-radius: 8px;
  text-decoration: none; border: 1.5px solid rgba(255,255,255,0.25);
  transition: all .3s ease; display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.08);
}

.btn-outline {
  background: transparent; color: var(--grey);
  font-family: var(--font-main); font-size: .88rem;
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 13px 30px; border-radius: 8px;
  text-decoration: none; border: 1px solid var(--border2);
  transition: all .3s ease; display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.3); color: var(--white); transform: translateY(-2px); }

/* ── Hamburger ── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
  border-radius: 6px; transition: background .2s;
}
.hamburger:hover { background: rgba(255,255,255,0.06); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px; transition: all .3s ease;
}

/* ── Mobile Nav ── */
.mobile-nav {
  flex-direction: column;
  padding: 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .45s cubic-bezier(0.4,0,0.2,1), opacity .3s ease, padding .3s ease;
  /* always in flex so transition works — visibility controlled by max-height */
  display: flex;
}
.mobile-nav.open {
  max-height: 520px;
  opacity: 1;
  padding: 6px 0 24px;
}
.mobile-nav a {
  color: var(--grey); text-decoration: none; font-size: .82rem;
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 14px 24px 14px 20px;
  transition: all .22s;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex; align-items: center; gap: 10px;
}
.mobile-nav a .mn-dash {
  width: 14px; height: 1px;
  background: var(--grey2);
  flex-shrink: 0;
  transition: width .25s, background .25s;
}
.mobile-nav a:hover { color: var(--white); background: rgba(255,255,255,0.03); padding-left: 26px; }
.mobile-nav a:hover .mn-dash { width: 20px; background: var(--white); }
.mobile-nav .mobile-buy {
  margin: 14px 20px 0;
  border: none; border-radius: 8px;
  padding: 14px; justify-content: center; text-align: center;
  background: var(--white); color: var(--ink);
  font-size: .8rem; font-weight: 700; letter-spacing: .1em;
}
.mobile-nav .mobile-buy .mn-dash { display: none; }
.mobile-nav .mobile-buy:hover { background: var(--off-white); padding-left: 20px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; padding: 110px 28px 80px;
  max-width: 1200px; margin: 0 auto; position: relative; z-index: 2;
}
.hero-mist {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 75% 55%, rgba(200,195,188,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 5%  30%, rgba(255,255,255,0.02) 0%, transparent 50%);
}

.hero-content { flex: 1; max-width: 560px; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--off-white); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 100px; margin-bottom: 22px;
  position: relative;
}
.hero-badge::before {
  content: ''; position: absolute; inset: -3px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.08);
  animation: badge-ping 3s ease-out infinite;
}
@keyframes badge-ping {
  0%   { transform: scale(1);    opacity: .5; }
  100% { transform: scale(1.12); opacity: 0;  }
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 8px rgba(74,222,128,.6);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero-title { font-family: var(--font-deco); line-height: .92; margin-bottom: 18px; }
.title-line1 {
  display: block;
  font-size: clamp(3.2rem, 8vw, 5.8rem);
  color: var(--white); letter-spacing: .05em;
  text-shadow: 0 2px 40px rgba(255,255,255,0.08);
  animation: title-in .8s ease both;
}
.title-line2 {
  display: block;
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  color: var(--grey); letter-spacing: .15em;
  animation: title-in .8s .15s ease both;
}
@keyframes title-in {
  from { opacity:0; transform: translateY(20px); }
  to   { opacity:1; transform: translateY(0); }
}

.hero-subtitle {
  font-family: var(--font-zh); font-size: 1rem;
  color: var(--grey); line-height: 1.8; margin-bottom: 28px;
  font-weight: 300; letter-spacing: .03em;
  animation: title-in .8s .3s ease both;
}

/* CA box */
.hero-ca { margin-bottom: 28px; animation: title-in .8s .45s ease both; }
.ca-label {
  display: block; font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--grey); margin-bottom: 8px;
}
.ca-box {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border2); border-radius: 10px; overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.ca-box:hover { border-color: rgba(255,255,255,0.25); box-shadow: 0 0 20px rgba(255,255,255,0.04); }
.ca-box span {
  flex: 1; padding: 11px 14px; font-size: .7rem;
  font-family: 'Courier New', monospace; color: var(--grey);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.copy-btn {
  padding: 11px 18px; background: rgba(255,255,255,0.07);
  border: none; border-left: 1px solid var(--border2);
  color: var(--white); font-family: var(--font-main);
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  cursor: pointer; transition: all .25s; white-space: nowrap; flex-shrink: 0;
}
.copy-btn:hover { background: rgba(255,255,255,0.14); }

.hero-btns {
  display: flex; gap: 12px; flex-wrap: wrap;
  animation: title-in .8s .55s ease both;
}

/* Hero image side */
.hero-image-wrap {
  position: relative; flex-shrink: 0; width: 440px;
  display: flex; align-items: center; justify-content: center;
}
/* spinning rings */
.hero-coin-ring {
  position: absolute; width: 410px; height: 410px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  animation: spin 20s linear infinite;
  background: conic-gradient(from 0deg, transparent 80%, rgba(255,255,255,0.06) 100%);
}
.hero-image-wrap::before {
  content: ''; position: absolute; width: 330px; height: 330px;
  border-radius: 50%; border: 1px dashed rgba(255,255,255,0.05);
  animation: spin 12s linear infinite reverse; z-index: 1; pointer-events: none;
}
.hero-image-wrap::after {
  content: ''; position: absolute; width: 250px; height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  animation: ring-pulse 5s ease-in-out infinite; z-index: 1; pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ring-pulse {
  0%,100% { transform: scale(1);    opacity: .5; }
  50%      { transform: scale(1.07); opacity: 1;  }
}
.hero-panda {
  width: 380px; height: 380px; object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,.9)) drop-shadow(0 0 40px rgba(255,255,255,.04));
  animation: float 7s ease-in-out infinite; position: relative; z-index: 2;
  transition: filter .4s;
}
.hero-panda:hover { filter: drop-shadow(0 20px 60px rgba(0,0,0,.9)) drop-shadow(0 0 60px rgba(255,255,255,.09)); }
@keyframes float {
  0%,100% { transform: translateY(0)   rotate(-.4deg); }
  50%      { transform: translateY(-16px) rotate(.4deg);  }
}

/* ============================================
   TICKER
   ============================================ */
.ticker-wrap {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid var(--border2); border-bottom: 1px solid var(--border2);
  overflow: hidden; position: relative; z-index: 2;
}
.ticker-wrap::before, .ticker-wrap::after {
  content: ''; position: absolute; top:0; bottom:0; width: 80px; z-index: 2; pointer-events: none;
}
.ticker-wrap::before { left:0;  background: linear-gradient(90deg,  var(--bg), transparent); }
.ticker-wrap::after  { right:0; background: linear-gradient(-90deg, var(--bg), transparent); }
.ticker-track {
  display: flex; white-space: nowrap;
  animation: ticker 26s linear infinite;
}
.ticker-track span {
  font-family: var(--font-main); font-size: .73rem;
  font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--grey); flex-shrink: 0; padding: 13px 32px;
  border-right: 1px solid var(--border);
  transition: color .2s;
}
.ticker-track span:hover { color: var(--white); }
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.33%); }
}

/* ============================================
   SECTION SHARED
   ============================================ */
.section-pad { padding: 96px 0; position: relative; z-index: 2; }

.section-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 10px; justify-content: center;
}
.section-title {
  font-family: var(--font-deco);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--white); text-align: center; letter-spacing: .04em;
}
.section-ornament {
  color: var(--grey2); font-size: 1.2rem;
  animation: orn-sway 5s ease-in-out infinite;
}
.section-ornament:last-child { animation-delay: 2.5s; }
@keyframes orn-sway {
  0%,100%{ transform:rotate(0); opacity:.45; }
  50%    { transform:rotate(10deg); opacity:.7; }
}
.section-sub {
  text-align: center; color: var(--grey2); font-family: var(--font-zh);
  font-size: .95rem; margin-bottom: 52px; font-weight: 300;
}

/* ink-line divider */
.ink-divider {
  width: 100px; height: 1px; margin: 10px auto 48px;
  background: linear-gradient(90deg, transparent, var(--grey3), transparent);
}

/* ============================================
   ABOUT
   ============================================ */
.about { background: var(--bg2); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 60px; align-items: center; margin-top: 32px;
}
.about-img-wrap {
  position: relative; display: flex;
  align-items: center; justify-content: center;
}
.ink-circle {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  border: 1px solid rgba(255,255,255,0.06);
  animation: ring-pulse 6s ease-in-out infinite;
}
.about-coin {
  width: 270px; height: 270px; object-fit: contain;
  filter: drop-shadow(0 10px 40px rgba(0,0,0,.7));
  position: relative; z-index: 2;
  transition: transform .4s ease, filter .4s;
}
.about-coin:hover { transform: scale(1.04) rotate(2deg); filter: drop-shadow(0 16px 50px rgba(0,0,0,.8)) drop-shadow(0 0 30px rgba(255,255,255,.06)); }

.about-lead {
  font-family: var(--font-zh); font-size: 1.1rem;
  color: var(--white); line-height: 1.85; margin-bottom: 14px;
}
.about-text p {
  color: var(--grey); font-family: var(--font-zh);
  line-height: 1.85; margin-bottom: 14px; font-weight: 300;
}
.about-text strong { color: var(--white); font-weight: 700; }

.about-features { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.feat-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 15px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-left: 3px solid rgba(255,255,255,0.15);
  border-radius: var(--radius); transition: all .3s; position: relative; overflow: hidden;
}
.feat-item::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.03), transparent);
  opacity: 0; transition: opacity .3s;
}
.feat-item:hover { border-left-color: var(--white); transform: translateX(5px); }
.feat-item:hover::before { opacity: 1; }
.feat-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.feat-item strong { display: block; font-size: .88rem; color: var(--white); margin-bottom: 3px; letter-spacing: .04em; }
.feat-item p { font-size: .8rem; color: var(--grey2); margin: 0; line-height: 1.5; font-family: var(--font-zh); }

/* ============================================
   TOKENOMICS
   ============================================ */
.tokenomics { background: var(--bg); overflow: hidden; }
.tokenomics-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(80,76,70,0.08) 0%, transparent 70%);
}

/* top strip */
.toke-top-strip {
  display: flex; align-items: stretch;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 20px;
}
.toke-strip-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 22px 14px; gap: 5px; transition: background .25s;
}
.toke-strip-item:hover { background: rgba(255,255,255,0.03); }
.toke-strip-icon { font-size: 1.3rem; }
.toke-strip-label {
  font-size: .63rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--grey2);
}
.toke-strip-val {
  font-family: var(--font-deco); font-size: .95rem;
  font-weight: 700; color: var(--white);
}
.supply-num { font-size: 1.05rem; color: var(--off-white); }
.toke-divider { width: 1px; background: var(--border); flex-shrink: 0; }

/* stat cards */
.toke-stats {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 14px; margin-bottom: 24px;
}
.toke-stat-card {
  position: relative; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 18px 22px; text-align: center;
  overflow: hidden; transition: all .35s ease; cursor: default;
}
/* shimmer */
.toke-stat-card::before {
  content: ''; position: absolute; top: -60%; left: -60%;
  width: 40%; height: 220%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.05), transparent);
  transition: left .55s ease; pointer-events: none;
}
.toke-stat-card:hover::before { left: 160%; }
/* bottom bar */
.toke-stat-card::after {
  content: ''; position: absolute; bottom:0; left:20%; right:20%;
  height: 2px; border-radius: 2px; opacity: 0; transition: opacity .3s;
}
.toke-stat-card:hover::after { opacity: 1; }

.toke-stat-card.panda-white {
  border-color: rgba(255,255,255,0.12);
  background: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, var(--card) 60%);
}
.toke-stat-card.panda-white::after { background: rgba(255,255,255,0.4); }
.toke-stat-card.panda-white:hover { border-color: rgba(255,255,255,0.3); transform: translateY(-7px); box-shadow: 0 16px 44px rgba(0,0,0,.6), 0 0 24px rgba(255,255,255,.04); }
.toke-stat-card.panda-white .toke-stat-value { color: var(--white); }

.toke-stat-card.panda-grey {
  border-color: rgba(160,152,144,0.18);
  background: linear-gradient(160deg, rgba(100,96,90,0.08) 0%, var(--card) 60%);
}
.toke-stat-card.panda-grey::after { background: var(--grey); }
.toke-stat-card.panda-grey:hover { border-color: rgba(160,152,144,0.4); transform: translateY(-7px); box-shadow: 0 16px 44px rgba(0,0,0,.6), 0 0 24px rgba(120,115,108,.06); }
.toke-stat-card.panda-grey .toke-stat-value { color: var(--off-white); }

.toke-stat-deco {
  position: absolute; top: 8px; right: 10px;
  font-family: 'Ma Shan Zheng', cursive; font-size: 2.2rem; line-height: 1;
  color: rgba(255,255,255,0.04); pointer-events: none;
  transition: color .3s;
}
.toke-stat-card:hover .toke-stat-deco { color: rgba(255,255,255,0.08); }
.toke-stat-label { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--grey2); margin-bottom: 10px; }
.toke-stat-value { font-family: var(--font-deco); font-size: 1.6rem; font-weight: 900; line-height: 1; margin-bottom: 8px; transition: text-shadow .3s; }
.toke-stat-card:hover .toke-stat-value { text-shadow: 0 0 24px rgba(255,255,255,0.3); }
.toke-stat-sub { font-family: var(--font-zh); font-size: .72rem; color: var(--grey2); font-weight: 300; }

/* CA display */
.ca-display { text-align: center; }
.ca-display-label {
  display: block; font-size: .66rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--grey); margin-bottom: 10px;
}
.ca-display-box {
  display: inline-flex; align-items: center;
  background: var(--card); border: 1px solid var(--border2);
  border-radius: 10px; overflow: hidden; max-width: 600px; width: 100%;
  transition: border-color .3s;
}
.ca-display-box:hover { border-color: rgba(255,255,255,0.25); }
.ca-display-box span {
  flex: 1; padding: 13px 16px; font-size: .76rem;
  font-family: 'Courier New', monospace; color: var(--grey);
  word-break: break-all;
}
.ca-display-box button {
  padding: 13px 20px; background: rgba(255,255,255,0.07);
  border: none; border-left: 1px solid var(--border2);
  color: var(--white); font-family: var(--font-main);
  font-size: .72rem; font-weight: 700; cursor: pointer;
  transition: background .25s; white-space: nowrap;
}
.ca-display-box button:hover { background: rgba(255,255,255,0.14); }

/* ============================================
   HOW TO BUY
   ============================================ */
.how-to-buy { background: var(--bg2); }

.steps-grid {
  display: flex; align-items: stretch; gap: 0;
  margin-bottom: 44px;
}
.step-card {
  flex: 1; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 20px 24px; text-align: center;
  position: relative; transition: all .35s ease; overflow: hidden;
}
.step-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--white), transparent);
  transform: scaleX(0); transition: transform .4s ease;
}
.step-card:hover::before { transform: scaleX(1); }
.step-card:hover { border-color: var(--border2); transform: translateY(-7px); box-shadow: 0 16px 46px rgba(0,0,0,.55); }
.step-num {
  font-family: 'Ma Shan Zheng', cursive; font-size: 2rem;
  color: rgba(255,255,255,0.08); position: absolute;
  top: 10px; right: 14px; line-height: 1;
}
.step-icon { font-size: 1.9rem; margin-bottom: 12px; }
.step-card h3 { font-family: var(--font-main); font-size: .9rem; font-weight: 700; color: var(--white); margin-bottom: 10px; letter-spacing: .04em; }
.step-card p { font-family: var(--font-zh); font-size: .8rem; color: var(--grey); line-height: 1.65; font-weight: 300; }
.step-card strong { color: var(--off-white); font-weight: 700; }
.step-connector {
  display: flex; align-items: center; justify-content: center;
  padding: 0 6px; flex-shrink: 0; color: var(--grey3); font-size: .9rem;
}
.buy-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   ROADMAP
   ============================================ */
.roadmap { background: var(--bg); overflow: hidden; }
.roadmap-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(50,48,44,0.15) 0%, transparent 65%);
}
.roadmap-track {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr;
  align-items: start; margin-top: 10px;
}
.roadmap-phase {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 22px;
  transition: all .35s ease; position: relative; overflow: hidden;
}
.roadmap-phase::before {
  content: ''; position: absolute; top:0; left:0; bottom:0;
  width: 3px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2), transparent);
  transform: scaleY(0); transition: transform .4s ease;
}
.roadmap-phase:hover::before { transform: scaleY(1); }
.roadmap-phase:hover { border-color: var(--border2); transform: translateY(-5px); box-shadow: 0 12px 36px rgba(0,0,0,.5); }
.roadmap-phase.active {
  border-color: rgba(255,255,255,0.18);
  background: linear-gradient(145deg, rgba(255,255,255,0.05), var(--card));
}
.roadmap-phase.active::before { transform: scaleY(1); background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.35), transparent); }
.phase-badge {
  display: inline-block; background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12); color: var(--off-white);
  font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px; margin-bottom: 5px;
}
.phase-chinese {
  font-family: 'Ma Shan Zheng', cursive; font-size: 1rem;
  color: rgba(255,255,255,0.15); margin-bottom: 8px;
}
.roadmap-phase h3 { font-family: var(--font-deco); font-size: .9rem; color: var(--white); margin-bottom: 12px; letter-spacing: .03em; }
.roadmap-phase ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.roadmap-phase ul li { font-family: var(--font-zh); font-size: .78rem; color: var(--grey); font-weight: 300; line-height: 1.4; }
.roadmap-line {
  display: flex; align-items: flex-start; justify-content: center; padding-top: 36px;
}
.roadmap-line::before {
  content: ''; display: block; width: 2px; height: 50px;
  background: linear-gradient(to bottom, transparent, var(--grey3), transparent);
  transform: rotate(90deg); opacity: .5;
}

/* ============================================
   COMMUNITY
   ============================================ */
.community { background: var(--bg2); }
.community-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.comm-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 26px;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: all .35s ease; position: relative; overflow: hidden;
}
.comm-card::before {
  content: ''; position: absolute; top:0; right:0;
  width: 70px; height: 70px;
  background: linear-gradient(225deg, rgba(255,255,255,0.05) 0%, transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.comm-card::after {
  content: ''; position: absolute; bottom:0; left:0; right:0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: scaleX(0); transition: transform .45s ease;
}
.comm-card:hover::before { opacity: 1; }
.comm-card:hover::after  { transform: scaleX(1); }
.comm-card:hover { border-color: var(--border2); transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,.55); }
.comm-card.featured-comm { border-color: rgba(255,255,255,0.15); background: linear-gradient(145deg, rgba(255,255,255,0.04), var(--card)); }
.comm-icon { font-size: 2.2rem; margin-bottom: 14px; display: block; }
.x-icon { font-size: 1.7rem; font-weight: 900; color: var(--white); }
.comm-card h3 { font-family: var(--font-deco); font-size: 1rem; color: var(--white); margin-bottom: 9px; letter-spacing: .03em; }
.comm-card p { font-family: var(--font-zh); font-size: .82rem; color: var(--grey); line-height: 1.65; flex: 1; margin-bottom: 14px; font-weight: 300; }
.comm-handle { font-size: .76rem; font-weight: 700; color: var(--off-white); letter-spacing: .06em; margin-bottom: 14px; display: block; }
.comm-arrow { font-size: 1.1rem; color: var(--grey2); opacity: .6; transition: all .3s; align-self: flex-end; }
.comm-card:hover .comm-arrow { opacity: 1; transform: translateX(5px); color: var(--white); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: rgba(3,3,3,1); border-top: 1px solid var(--border);
  position: relative; z-index: 2;
}
.footer::before {
  content: ''; position: absolute; top:0; left:8%; right:8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}
.footer-top {
  max-width: 1140px; margin: 0 auto;
  padding: 56px 28px 36px;
  display: flex; gap: 60px; flex-wrap: wrap; align-items: flex-start;
}
.footer-brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.footer-logo { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--border2); object-fit: cover; }
.footer-brand-name { font-family: var(--font-deco); font-size: .95rem; font-weight: 700; color: var(--white); letter-spacing: .08em; }
.footer-brand-sub { font-size: .7rem; color: var(--grey2); letter-spacing: .06em; margin-top: 3px; }
.footer-links { display: flex; gap: 56px; flex: 1; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 9px; min-width: 110px; }
.footer-col h4 { font-family: var(--font-main); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-bottom: 5px; }
.footer-col a { font-family: var(--font-zh); font-size: .82rem; color: var(--grey2); text-decoration: none; transition: color .25s; font-weight: 300; }
.footer-col a:hover { color: var(--white); }
.footer-ca { font-family: 'Courier New', monospace; font-size: .7rem; color: var(--grey2); background: var(--card2); border: 1px solid var(--border); padding: 7px 11px; border-radius: 6px; }
.footer-copy { background: rgba(255,255,255,0.06); border: 1px solid var(--border2); color: var(--grey); font-family: var(--font-main); font-size: .68rem; font-weight: 700; cursor: pointer; padding: 7px 13px; border-radius: 6px; transition: all .25s; }
.footer-copy:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.footer-divider { height: 1px; background: var(--border); max-width: 1140px; margin: 0 auto; }
.footer-bottom { max-width: 1140px; margin: 0 auto; padding: 24px 28px; text-align: center; }
.disclaimer { font-family: var(--font-zh); font-size: .74rem; color: rgba(255,255,255,.18); line-height: 1.7; margin-bottom: 10px; font-weight: 300; }
.copyright { font-size: .74rem; color: rgba(255,255,255,.22); letter-spacing: .06em; }

/* ============================================
   TOAST
   ============================================ */
.toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(70px);
  background: rgba(22,22,22,0.97);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white); font-family: var(--font-main); font-size: .82rem;
  font-weight: 700; letter-spacing: .08em;
  padding: 12px 28px; border-radius: 100px; z-index: 9999;
  opacity: 0; backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0,0,0,.6);
  transition: all .4s cubic-bezier(.34,1.56,.64,1);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
  position: fixed; bottom: 28px; right: 24px;
  width: 42px; height: 42px; background: var(--card2);
  border: 1px solid var(--border2); border-radius: 50%;
  color: var(--grey); font-size: 1rem; cursor: pointer; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(16px);
  transition: all .35s ease; backdrop-filter: blur(10px);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: rgba(255,255,255,0.1); color: var(--white); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.5); }

/* ============================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================ */
@media (max-width: 1024px) {
  .toke-stats { grid-template-columns: repeat(2,1fr); }
  .roadmap-track { grid-template-columns: 1fr; gap: 14px; }
  .roadmap-line { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-img-wrap { max-width: 260px; margin: 0 auto; }
  .hero { padding: 100px 28px 60px; }
  .hero-image-wrap { width: 340px; }
  .hero-panda { width: 300px; height: 300px; }
  .hero-coin-ring { width: 330px; height: 330px; }
  .hero-image-wrap::before { width: 260px; height: 260px; }
  .hero-image-wrap::after  { width: 200px; height: 200px; }
}

/* ============================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================ */
@media (max-width: 768px) {
  /* Header */
  .nav-links { display: none; }
  .btn-buy   { display: none; }
  .hamburger { display: flex; }
  /* push hamburger to far right since nav is gone */
  .header-actions { margin-left: auto; }
  /* hide hero panda coin image on mobile */
  .hero-image-wrap { display: none; }

  /* ── HERO MOBILE ── */
  .hero {
    flex-direction: column;
    padding: 100px 22px 52px;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0;
    max-width: 100%;
  }
  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-mist { display: none; }

  .hero-badge   { margin: 0 auto 18px; }

  .title-line1 { font-size: clamp(2.6rem, 14vw, 3.4rem); }
  .title-line2 { font-size: clamp(2.2rem, 12vw, 2.9rem); }

  .hero-subtitle { font-size: .9rem; margin-bottom: 22px; }

  .hero-ca {
    width: 100%;
    max-width: 380px;
    margin-bottom: 20px;
  }
  .ca-box span {
    font-size: .62rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-btns {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 340px;
  }
  .hero-btns .btn-primary,
  .hero-btns .btn-secondary {
    width: 100%; justify-content: center;
    padding: 15px 20px;
  }

  /* Sections */
  .section-pad { padding: 64px 0; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-img-wrap { max-width: 200px; margin: 0 auto; }
  .about-coin { width: 190px; height: 190px; }
  .ink-circle { width: 220px; height: 220px; }

  /* Tokenomics */
  .toke-top-strip { flex-direction: column; }
  .toke-divider   { width: 80%; height: 1px; align-self: center; }
  .toke-stats     { grid-template-columns: 1fr 1fr; gap: 10px; }
  .toke-stat-value { font-size: 1.3rem; }
  .ca-display-box { flex-direction: column; }
  .ca-display-box span { padding: 12px 14px; text-align: center; font-size: .68rem; }
  .ca-display-box button { width: 100%; border-left: none; border-top: 1px solid var(--border2); padding: 12px; }

  /* Steps */
  .steps-grid { flex-direction: column; gap: 10px; }
  .step-connector { display: none; }
  .step-card { padding: 22px 18px 18px; }

  /* Roadmap */
  .roadmap-track  { grid-template-columns: 1fr; gap: 12px; }
  .roadmap-line   { display: none; }

  /* Community */
  .community-cards { grid-template-columns: 1fr; gap: 12px; }
  .comm-card { padding: 26px 20px; }

  /* Footer */
  .footer-top   { flex-direction: column; gap: 32px; padding: 40px 20px 28px; }
  .footer-links { flex-direction: column; gap: 24px; }
  .footer-bottom { padding: 20px; }

  /* CTA buttons */
  .buy-cta { flex-direction: column; align-items: center; }
  .buy-cta .btn-primary,
  .buy-cta .btn-outline { width: 100%; max-width: 340px; justify-content: center; }
}

/* ============================================
   RESPONSIVE — SMALL PHONE (≤480px)
   ============================================ */
@media (max-width: 480px) {
  .title-line1 { font-size: 2.8rem; }
  .title-line2 { font-size: 2.3rem; }
  .toke-stats  { grid-template-columns: 1fr 1fr; }
  .container   { padding: 0 16px; }
  .header-inner { padding: 0 16px; }
  .section-title { font-size: 1.35rem; }
  .hero-badge { font-size: .65rem; padding: 6px 12px; }
  .roadmap-phase { padding: 20px 16px; }
  .comm-card  { padding: 22px 16px; }
  .toke-stat-card { padding: 22px 12px 16px; }
}
