/* ============================================================
   quq — meme coin landing. Pure CSS.
   ============================================================ */
:root {
  --bg-1: #f4d28a;
  --bg-2: #e8b85a;
  --bg-3: #d49a3a;
  --ink: #1a1208;
  --ink-soft: #3a2a14;
  --paper: #fbe9b8;
  --accent: #ffb800;
  --accent-2: #ff6b35;
  --black: #0a0805;
  --line: rgba(26, 18, 8, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; overflow-x: hidden; }
body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f4d28a 0%, #e8b85a 35%, #d49a3a 70%, #b87a1f 100%);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.display { font-family: 'Bagel Fat One', system-ui, sans-serif; font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: 'JetBrains Mono', monospace; }
::selection { background: var(--black); color: var(--accent); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 200, 80, 0.5), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(255, 107, 53, 0.25), transparent 70%);
}

/* ===== Layout helpers ===== */
.section { position: relative; padding: 120px 32px; z-index: 2; }
.section-band { position: relative; padding: 120px 32px; z-index: 2; }
.section-dark { background: var(--black); color: #fff; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.section-dark .eyebrow { color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); box-shadow: 3px 3px 0 var(--accent); }
.section-dark .h-display { color: #fff; }
.wrap { max-width: 1240px; margin: 0 auto; }

/* ===== Type bits ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft); background: rgba(255,255,255,.4);
  padding: 8px 14px; border-radius: 999px;
  border: 1.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(255,107,53,.25);
}
.h-display {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95; letter-spacing: -0.02em; color: var(--ink);
}
.h-display .accent { color: var(--accent-2); }

/* ===== Buttons ===== */
.btn-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  background: var(--black); color: #fff;
  font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  font-size: 14px; border: 2px solid var(--black);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.btn-pill:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-pill:active { transform: translate(2px,2px); box-shadow: 0 0 0 var(--ink); }
.btn-pill.alt { background: var(--accent); color: var(--black); }

/* ===== Cards ===== */
.card {
  background: var(--paper); border: 2.5px solid var(--ink);
  border-radius: 24px; box-shadow: 6px 6px 0 var(--ink);
}
.card-hover { transition: transform 200ms ease, box-shadow 200ms ease; }
.card-hover:hover { transform: translate(-3px,-3px); box-shadow: 10px 10px 0 var(--ink); }
.tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1.5px solid var(--ink);
}

/* ===== Animations ===== */
@keyframes glitch-color {
  0%,100% { text-shadow: 3px 0 var(--accent-2), -3px 0 #00d4ff; }
  25% { text-shadow: -3px 0 var(--accent-2), 3px 0 #00d4ff; }
  50% { text-shadow: 3px 0 #00d4ff, -3px 0 var(--accent-2); }
  75% { text-shadow: -2px 1px var(--accent-2), 2px -1px #00d4ff; }
}
.glitch { display: inline-block; animation: glitch-color 2.5s infinite steps(1); }
@keyframes float-y { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-20px) scale(1.1); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes pulse-glow { 0%,100% { box-shadow: 0 0 0 0 rgba(255,184,0,.6); } 50% { box-shadow: 0 0 0 24px rgba(255,184,0,0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse-dot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }
@keyframes mascot-float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
@keyframes float-drift {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  25% { transform: translate(var(--drift),-40px) rotate(20deg); }
  50% { transform: translate(calc(var(--drift)*-0.5),-80px) rotate(-15deg); }
  75% { transform: translate(calc(var(--drift)*0.7),-50px) rotate(10deg); }
}
@keyframes grid-scroll { from { background-position: 0 0, 0 0, 0 0; } to { background-position: 0 0, 0 0, 0 41px; } }

/* ===== Marquee ===== */
.scroll-marquee { overflow: hidden; position: relative; }
.scroll-marquee-inner { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.scroll-marquee:hover .scroll-marquee-inner { animation-play-state: paused; }

/* ===== Floating emojis bg ===== */
.floaters { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.floaters span {
  position: absolute; opacity: .55;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
  animation: float-drift var(--dur, 18s) ease-in-out var(--delay, 0s) infinite;
}

/* ===== Mascot (😂 + turban) ===== */
.mascot { position: relative; display: inline-block; filter: drop-shadow(0 24px 40px rgba(0,0,0,.25)); }
.mascot.wiggle { animation: mascot-float 4s ease-in-out infinite; }
.mascot .face { font-size: 0.95em; line-height: 1; }
.mascot svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ===== Nav ===== */
.nav-wrap {
  position: fixed; top: 24px; left: 50%; transform: translateX(-50%);
  z-index: 100; width: calc(100% - 32px); max-width: 1180px;
  transition: top 200ms ease;
}
.nav-wrap.scrolled { top: 16px; }
.nav {
  background: #0a0805; border: 2px solid #0a0805; border-radius: 999px;
  padding: 8px 8px 8px 18px;
  display: flex; align-items: center; gap: 8px; color: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
}
.nav-wrap.scrolled .nav { box-shadow: 0 12px 36px rgba(0,0,0,.35); }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand .display { font-size: 22px; color: #fff; letter-spacing: 0.02em; }
.nav-links { flex: 1; display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.85; transition: all 120ms ease;
}
.nav-links a:hover { background: rgba(255,255,255,.12); opacity: 1; }
.nav-cta {
  background: var(--accent); color: #0a0805;
  padding: 10px 18px; border-radius: 999px;
  font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ===== Hero ===== */
.hero { padding-top: 160px; padding-bottom: 60px; min-height: 92vh; position: relative; }
.hero .wrap { position: relative; z-index: 3; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-title {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: clamp(64px, 11vw, 180px);
  line-height: 0.85; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 24px;
}
.hero-tagline {
  font-size: 0.42em; color: var(--ink-soft);
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  letter-spacing: 0.02em; text-transform: uppercase;
}
.hero-sub {
  font-size: 22px; max-width: 560px; line-height: 1.4;
  color: var(--ink-soft); margin-bottom: 36px; font-weight: 500;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-ctas .pulse { animation: pulse-glow 2s infinite; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 540px; }
.hero-stats .stat {
  background: rgba(255,255,255,0.5); border: 2px solid var(--ink);
  border-radius: 16px; padding: 12px 14px; box-shadow: 3px 3px 0 var(--ink);
}
.hero-stats .stat .k {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft);
}
.hero-stats .stat .v { font-family: 'Bagel Fat One', sans-serif; font-size: 24px; color: var(--ink); }
.hero-mascot-wrap { position: relative; height: 520px; display: flex; align-items: center; justify-content: center; }
.hero-rings-1 {
  position: absolute; inset: 30px; border-radius: 50%;
  border: 2.5px dashed var(--ink); animation: spin-slow 30s linear infinite;
}
.hero-rings-2 {
  position: absolute; inset: 80px; border-radius: 50%;
  border: 2.5px solid var(--ink); opacity: 0.4;
}
.hero-spark {
  position: absolute; filter: drop-shadow(0 4px 8px rgba(0,0,0,.15));
  animation: float-y 3s ease-in-out infinite;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr !important; }
  .hero-mascot-wrap { height: 360px; }
}

/* ===== Ticker ===== */
.ticker {
  background: #0a0805; color: #fff; padding: 14px 0;
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  position: relative; z-index: 3;
  display: flex; align-items: center;
}
.ticker-live {
  padding: 0 16px; background: var(--accent-2); color: #0a0805;
  font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  align-self: stretch; display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}
.ticker-live .dot { width: 8px; height: 8px; border-radius: 50%; background: #0a0805; animation: pulse-dot 1.2s infinite; }
.ticker-strip-wrap { flex: 1; }
.ticker-item { display: inline-flex; align-items: baseline; gap: 10px; white-space: nowrap; padding-right: 32px; }
.ticker-item .k { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ticker-item .v { font-family: 'JetBrains Mono', monospace; font-size: 16px; font-weight: 700; color: #fff; }
.ticker-item .v.up { color: #3ddc84; }
.ticker-item .v.down { color: #ff6b6b; }
.ticker-item .sep { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.socials { display: flex; flex-wrap: wrap; gap: 12px; }
.social-btn {
  width: 60px; height: 60px; border-radius: 50%;
  background: #0a0805; color: #fff;
  display: flex; align-items: center; justify-content: center;
  border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.social-btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); background: var(--accent-2); }
.lore-list { display: flex; flex-direction: column; gap: 14px; }
.lore-list li { display: flex; gap: 14px; align-items: flex-start; }
.lore-list .icon { font-size: 28px; flex-shrink: 0; }
.lore-list .txt { font-size: 16px; color: var(--ink); font-weight: 500; padding-top: 4px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr !important; } }

/* ===== Address ===== */
.address-wrap { padding: 40px 32px 100px; position: relative; z-index: 2; }
.address-h {
  font-family: 'Bagel Fat One'; font-size: clamp(48px, 8vw, 110px);
  text-align: center; color: transparent; -webkit-text-stroke: 2.5px var(--ink);
  margin-bottom: -20px; position: relative; z-index: 3; letter-spacing: -0.01em;
}
.address-grid {
  position: relative; height: 320px;
  background: #0a0805; border: 3px solid var(--ink); border-radius: 24px;
  overflow: hidden; box-shadow: 8px 8px 0 var(--ink);
}
.address-grid .floor {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(255,184,0,.6) 49.7%, rgba(255,184,0,.6) 50.3%, transparent 50.3%),
    repeating-linear-gradient(90deg, transparent 0, transparent 28px, rgba(255,255,255,.18) 28px, rgba(255,255,255,.18) 29px),
    repeating-linear-gradient(180deg, transparent 0, transparent 32px, rgba(255,255,255,.12) 32px, rgba(255,255,255,.12) 33px);
  transform: perspective(500px) rotateX(60deg) translateY(-20%) scale(2);
  transform-origin: center top;
  animation: grid-scroll 4s linear infinite;
}
.address-grid .ray {
  position: absolute; top: 0; left: 50%; width: 4px; height: 100%; opacity: 0.7;
}
.address-grid .ray.magenta { background: linear-gradient(180deg, transparent, #ff2bd6 30%, #ff2bd6 70%, transparent); transform: translateX(-160px) skewX(-25deg); }
.address-grid .ray.cyan { background: linear-gradient(180deg, transparent, #00d4ff 30%, #00d4ff 70%, transparent); transform: translateX(160px) skewX(25deg); }
.address-grid .pill-wrap {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px;
}
.address-pill {
  background: #0a0805; border: 3px solid #fff; color: #fff;
  padding: 18px 28px; border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(13px, 1.7vw, 22px); font-weight: 700;
  box-shadow: 0 0 0 3px var(--accent), 0 12px 40px rgba(0,0,0,.6);
  display: inline-flex; align-items: center; gap: 14px;
  max-width: 95%; word-break: break-all;
}
.address-pill .ico { flex-shrink: 0; font-size: 20px; }
.address-status {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.6); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
  transition: color 200ms;
}
.address-status.copied { color: var(--accent); }

/* ===== Tokenomics ===== */
.tokenomics-head { text-align: center; margin-bottom: 64px; }
.tokenomics-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.donut-wrap { display: flex; justify-content: center; }
.donut {
  position: relative; width: 360px; height: 360px;
}
.donut .ring {
  width: 100%; height: 100%; border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 0 4px var(--accent), 10px 10px 0 var(--accent-2);
  animation: spin-slow 80s linear infinite;
}
.donut .core {
  position: absolute; inset: 22%;
  background: #0a0805; border: 3px solid var(--accent);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; text-align: center; padding: 12px;
}
.donut .core .face { font-size: 56px; line-height: 1; }
.donut .core .num { font-family: 'Bagel Fat One'; font-size: 22px; margin-top: 6px; }
.donut .core .lab { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.6; margin-top: 2px; }
.legend { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.legend-row {
  display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,184,0,.25); border-radius: 14px;
}
.legend-row .swatch { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid #fff; }
.legend-row .name { font-size: 16px; font-weight: 600; }
.legend-row .pct { font-family: 'Bagel Fat One'; font-size: 22px; color: var(--accent); }
.token-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.token-stat {
  background: #161208; border: 2px solid var(--accent); border-radius: 14px;
  padding: 14px 18px; box-shadow: 4px 4px 0 var(--accent-2);
}
.token-stat .k { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.token-stat .v { font-family: 'Bagel Fat One'; font-size: 26px; color: #fff; }
@media (max-width: 900px) { .tokenomics-grid { grid-template-columns: 1fr !important; } }

/* ===== How to Buy ===== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.step-card { padding: 28px; position: relative; }
.step-card:nth-child(odd) { transform: rotate(-1deg); }
.step-card:nth-child(even) { transform: rotate(1deg); }
.step-emoji { font-size: 64px; margin-bottom: 10px; }
.step-num {
  font-family: 'JetBrains Mono'; position: absolute; top: 18px; right: 22px;
  font-size: 36px; font-weight: 700; color: rgba(26,18,8,.18); letter-spacing: -0.02em;
}
.step-title { font-family: 'Bagel Fat One'; font-size: 30px; margin-bottom: 8px; }
.step-desc { font-size: 15px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 18px; }
.step-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); border-bottom: 2px solid var(--accent-2); padding-bottom: 2px;
}

/* ===== Roadmap ===== */
.roadmap-spine {
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 4px; background: var(--ink);
  transform: translateX(-50%); border-radius: 4px;
}
.roadmap-list { display: flex; flex-direction: column; gap: 40px; }
.roadmap-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr);
  align-items: center; gap: 16px;
}
.roadmap-slot-l { min-width: 0; grid-column: 1 / 2; }
.roadmap-node-wrap { grid-column: 2 / 3; }
.roadmap-slot-r { min-width: 0; grid-column: 3 / 4; }
.roadmap-card { padding: 24px; background: #fff5dc; }
.roadmap-card.done { background: var(--paper); }
.roadmap-card .head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.roadmap-card .q-label { font-family: 'JetBrains Mono'; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.6; }
.roadmap-card .title { font-family: 'Bagel Fat One'; font-size: 30px; margin-bottom: 12px; }
.roadmap-card ul { display: flex; flex-direction: column; gap: 8px; }
.roadmap-card ul li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.roadmap-row.left .roadmap-card { transform: rotate(-0.7deg); }
.roadmap-row.right .roadmap-card { transform: rotate(0.7deg); }
.roadmap-row.left  .roadmap-slot-l { visibility: visible; }
.roadmap-row.left  .roadmap-slot-r { visibility: hidden; }
.roadmap-row.right .roadmap-slot-l { visibility: hidden; }
.roadmap-row.right .roadmap-slot-r { visibility: visible; }
.roadmap-node-wrap { display: flex; justify-content: center; }
.roadmap-node {
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 3px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bagel Fat One'; font-size: 22px;
  box-shadow: 4px 4px 0 var(--ink); position: relative; z-index: 2;
}
.roadmap-node.done { background: var(--accent); }
@media (max-width: 800px) {
  .roadmap-spine { left: 30px !important; }
  .roadmap-row { grid-template-columns: 60px minmax(0, 1fr) !important; }
  .roadmap-row .roadmap-slot-l,
  .roadmap-row .roadmap-slot-r {
    visibility: visible !important;
    grid-column: 2 / 3 !important;
    grid-row: 1 / 2 !important;
  }
  .roadmap-row.left .roadmap-slot-r,
  .roadmap-row.right .roadmap-slot-l { display: none !important; }
  .roadmap-node-wrap { grid-column: 1 / 2 !important; }
}

/* ===== Airdrop ===== */
.airdrop-card {
  padding: 56px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  position: relative; overflow: hidden; text-align: center;
}
.airdrop-card .deco-1 { position: absolute; top: -40px; left: -40px; font-size: 200px; opacity: 0.15; transform: rotate(-20deg); }
.airdrop-card .deco-2 { position: absolute; bottom: -50px; right: -30px; font-size: 200px; opacity: 0.15; transform: rotate(15deg); }
.airdrop-card .eyebrow { background: #0a0805; color: #fff; border-color: #0a0805; }
.countdown { display: inline-flex; gap: 10px; margin-bottom: 32px; flex-wrap: wrap; justify-content: center; }
.countdown-cell {
  background: #0a0805; color: #fff; border-radius: 14px;
  padding: 14px 22px; min-width: 90px;
  border: 2px solid #0a0805; box-shadow: 4px 4px 0 rgba(0,0,0,.2);
}
.countdown-cell .num { font-family: 'Bagel Fat One'; font-size: 38px; color: var(--accent); }
.countdown-cell .lbl { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7; }
.airdrop-tasks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; max-width: 800px; margin: 0 auto 32px; }
.airdrop-task {
  background: rgba(255,255,255,.6); border: 2px solid #0a0805;
  border-radius: 14px; padding: 16px; text-align: left;
  box-shadow: 3px 3px 0 #0a0805;
}
.airdrop-task .ico { font-size: 24px; margin-bottom: 6px; }
.airdrop-task .t { font-size: 14px; font-weight: 700; color: var(--ink); }
.airdrop-task .r { font-family: 'JetBrains Mono'; font-size: 12px; color: var(--accent-2); font-weight: 700; margin-top: 4px; }

/* ===== Memes Gallery ===== */
.memes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.meme-tile {
  aspect-ratio: 1 / 1; border: 3px solid var(--ink);
  border-radius: 18px; box-shadow: 6px 6px 0 var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 18px; cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.meme-tile:hover { transform: translate(-3px, -3px) rotate(0deg) !important; box-shadow: 10px 10px 0 var(--ink); }
.meme-tile .face { font-size: 96px; line-height: 1; animation: float-y 4s ease-in-out infinite; }
.meme-tile .cap { font-family: 'Bagel Fat One'; font-size: 22px; text-align: center; line-height: 1.1; }

/* ===== Partners ===== */
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.partner-tile {
  padding: 20px 16px;
  background: rgba(255,255,255,.5); border: 2px solid var(--ink);
  border-radius: 14px; box-shadow: 4px 4px 0 var(--ink);
  display: flex; align-items: center; justify-content: center;
  gap: 10px; transition: transform 150ms;
}
.partner-tile:hover { transform: translate(-2px,-2px); }
.partner-tile .ico { font-size: 28px; }
.partner-tile .name { font-weight: 700; font-size: 14px; }

/* ===== STAKING ===== */
.staking-card {
  background: var(--ink);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--accent-2);
}
.staking-tabs {
  display: flex;
  background: rgba(255,255,255,0.06);
  padding: 6px;
  gap: 4px;
  border-radius: 16px 16px 0 0;
}
.staking-tab {
  flex: 1;
  padding: 10px 0;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-family: 'Bagel Fat One', cursive;
  font-size: 15px;
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.2s;
}
.staking-tab.active {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.staking-tab:hover:not(.active) {
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.06);
}
.staking-card > div:nth-child(2) { /* estimated rewards */
  color: #fff;
}
.staking-input-box {
  margin: 0 20px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 14px 16px;
  color: #fff;
}
.staking-token-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 6px 14px 6px 8px;
  color: #fff;
}
.staking-amount-input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: 'Bagel Fat One', cursive;
  font-size: 28px;
  width: 100%;
  text-align: right;
}
.staking-amount-input::placeholder {
  color: rgba(255,255,255,0.25);
}
.staking-connect-btn {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 16px 0;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #c8e64a);
  color: var(--ink);
  font-family: 'Bagel Fat One', cursive;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.staking-connect-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.staking-features {
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.staking-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.staking-feature span:first-child {
  font-size: 16px;
}

/* staking panels (tab content) */
.staking-panel {
  display: none;
}
.staking-panel.active {
  display: block;
  animation: stk-fade 0.25s ease;
}
@keyframes stk-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.staking-max-btn {
  background: var(--accent);
  color: var(--ink);
  border: none;
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: opacity 0.15s;
}
.staking-max-btn:hover { opacity: 0.8; }
.staking-info-rows {
  margin: 0 20px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.staking-reward-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px 16px;
}
.staking-claim-btn {
  background: linear-gradient(135deg, #4ade80, #22c55e) !important;
}

/* staking profit calculator */
.staking-profit {
  margin: 0 20px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px 16px;
  transition: opacity 0.3s;
}
.staking-profit-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.staking-profit-periods {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.stp-btn {
  flex: 1;
  padding: 7px 0;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: rgba(255,255,255,0.45);
  border-radius: 8px;
  font-family: 'Bagel Fat One', cursive;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.stp-btn.active {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}
.stp-btn:hover:not(.active) {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
}
.staking-profit-result {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-q {
  width: 100%; padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left;
}
.faq-q .q-text { font-family: 'Bagel Fat One'; font-size: 22px; color: var(--ink); }
.faq-q .toggle {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px; flex-shrink: 0;
  transition: transform 200ms ease, background 200ms ease;
}
.faq-item.open .faq-q .toggle { transform: rotate(45deg); background: var(--accent-2); }
.faq-a { max-height: 0; transition: max-height 300ms ease; overflow: hidden; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 18px 26px 24px; font-size: 16px; color: var(--ink-soft); line-height: 1.6;
  border-top: 1.5px solid var(--line);
}

/* ===== Footer ===== */
.footer {
  position: relative; z-index: 2; background: #0a0805; color: #fff;
  padding: 80px 32px 40px; border-top: 3px solid var(--ink);
}
.footer-hero { text-align: center; margin-bottom: 56px; }
.footer-hero .face { font-size: 100px; margin-bottom: 12px; animation: float-y 4s ease-in-out infinite; }
.footer-hero .h-display { color: #fff; }
.footer-hero p { font-size: 18px; opacity: 0.7; margin: 12px auto 36px; max-width: 540px; }
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px; padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col-h { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { opacity: 0.8; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 16px; margin-top: 28px; font-size: 12px; opacity: 0.55;
}
.footer-bottom .right { max-width: 600px; text-align: right; }

/* ===== Tweaks panel ===== */
.tweaks-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  background: #0a0805; color: #fff;
  border: 2px solid #0a0805; border-radius: 999px;
  padding: 10px 18px; display: inline-flex; gap: 8px; align-items: center;
  box-shadow: 4px 4px 0 var(--accent);
  font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.tweaks-panel {
  position: fixed; bottom: 84px; right: 24px; z-index: 91;
  width: 280px; background: #0a0805; color: #fff;
  border: 2px solid var(--accent); border-radius: 16px;
  padding: 18px; box-shadow: 8px 8px 0 var(--accent-2);
  display: none;
}
.tweaks-panel.open { display: block; }
.tweaks-panel h3 { font-family: 'Bagel Fat One'; font-size: 18px; margin-bottom: 12px; color: var(--accent); }
.preset-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.preset-btn {
  border: 2px solid rgba(255,255,255,.2); border-radius: 10px;
  padding: 8px 10px; background: rgba(255,255,255,.05); color: #fff;
  font-size: 12px; font-weight: 600;
  display: flex; align-items: center; gap: 8px; text-align: left;
}
.preset-btn.active { border-color: #fff; }
.preset-btn .swatch {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,.4);
}
.color-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.color-row label { font-size: 12px; opacity: 0.8; }
.color-row input[type=color] { width: 40px; height: 28px; border: none; background: none; cursor: pointer; }

/* ============ SWAP MODAL ============ */
.swap-overlay {
  position: fixed; inset: 0;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
  z-index: 200;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 184, 0, 0.18), transparent 60%),
    radial-gradient(80% 60% at 100% 100%, rgba(255, 107, 53, 0.18), transparent 70%),
    rgba(10, 8, 5, 0.78);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  overflow-y: auto;
}
.swap-overlay.open { display: flex; animation: swapFadeIn 280ms ease both; }
body.swap-locked { overflow: hidden; }
@keyframes swapFadeIn { from { opacity: 0; } to { opacity: 1; } }

.swap-overlay-floaters { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.swap-overlay-floaters span {
  position: absolute;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.25));
  opacity: 0.55;
  animation: swapFloat 9s ease-in-out infinite;
}
@keyframes swapFloat {
  0%,100% { transform: translateY(0) rotate(-6deg); }
  50%     { transform: translateY(-22px) rotate(6deg); }
}

.swap-modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 28px;
  box-shadow: 8px 8px 0 var(--ink), 0 30px 80px -20px rgba(0,0,0,.55);
  padding: 28px;
  margin: auto;
  animation: swapPop 380ms cubic-bezier(.2,.9,.3,1.4) both;
}
@keyframes swapPop {
  from { transform: translateY(20px) scale(.94) rotate(-1deg); opacity: 0; }
  to   { transform: translateY(0) scale(1) rotate(0); opacity: 1; }
}

.swap-close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ink); color: #fff;
  font-size: 24px; font-weight: 700; line-height: 1;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--accent);
  display: grid; place-items: center;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.swap-close:hover { transform: rotate(90deg) translate(-1px,-1px); box-shadow: 4px 4px 0 var(--accent-2); }

.swap-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.swap-title {
  font-size: 32px;
  line-height: 1.05;
  margin-top: 10px;
  color: var(--ink);
}
.swap-title .accent { color: var(--accent-2); }
.swap-tabs {
  display: inline-flex;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 3px;
  flex-shrink: 0;
}
.swap-tab {
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(255,255,255,.7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.swap-tab.active { background: var(--accent); color: var(--ink); }

.swap-card { display: flex; flex-direction: column; gap: 14px; }

.swap-row {
  background: #fff5dc;
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: 14px 16px;
}
.swap-row-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.swap-balance { font-size: 11px; color: var(--ink-soft); opacity: 0.8; letter-spacing: 0.06em; text-transform: none; }
.swap-balance strong { font-weight: 700; color: var(--ink); }
.swap-mini {
  margin-left: 6px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.swap-mini:hover { background: var(--accent-2); color: #fff; }

.swap-input-row {
  display: flex; align-items: center; gap: 12px;
}
.swap-token {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 2px 2px 0 var(--ink);
  flex-shrink: 0;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.swap-token:hover { transform: translate(-1px,-1px); box-shadow: 3px 3px 0 var(--ink); }
.swap-token-ico {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.bnb-ico { background: #fff; border: 1.5px solid var(--ink); }
.quq-ico { background: var(--accent); border: 1.5px solid var(--ink); }
.quq-ico .quq-emoji { font-size: 26px; line-height: 1; transform: translateY(2px); }
.quq-ico .quq-turban { position: absolute; top: 1px; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; }
.swap-token-meta { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.swap-token-sym { font-family: 'Bagel Fat One'; font-size: 18px; color: var(--ink); }
.swap-token-sym .caret { font-size: 12px; opacity: 0.6; margin-left: 2px; }
.swap-token-net { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); opacity: 0.7; }

.swap-amount { flex: 1; text-align: right; min-width: 0; }
.swap-amount input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: 'Bagel Fat One', sans-serif;
  font-size: 32px;
  text-align: right;
  color: var(--ink);
  outline: none;
  padding: 0;
}
.swap-amount input::placeholder { color: rgba(26,18,8,0.3); }
.swap-amount input:read-only { color: var(--ink-soft); }
.swap-amount-usd {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  opacity: 0.7;
  margin-top: 2px;
}

.swap-quick {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 10px;
}
.swap-quick button {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(26,18,8,.06);
  border: 1.5px solid transparent;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.swap-quick button:hover { background: var(--accent); color: var(--ink); border-color: var(--ink); }

.swap-flip {
  align-self: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  display: grid; place-items: center;
  margin: -8px 0;
  position: relative; z-index: 2;
  transition: transform 280ms cubic-bezier(.4,2,.6,1);
}
.swap-flip:hover { transform: rotate(180deg); background: var(--accent-2); color: #fff; }

.swap-meta {
  background: rgba(26,18,8,.04);
  border: 1.5px dashed rgba(26,18,8,.25);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.swap-meta-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
}
.swap-meta-row .k { color: var(--ink-soft); letter-spacing: 0.05em; }
.swap-meta-row .v { font-family: 'JetBrains Mono', monospace; font-weight: 700; color: var(--ink); }

.swap-slip {
  display: inline-flex;
  background: rgba(26,18,8,.08);
  border-radius: 999px;
  padding: 2px;
}
.swap-slip button {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--ink-soft);
}
.swap-slip button.active { background: var(--accent); color: var(--ink); box-shadow: 0 1px 0 var(--ink); }

.swap-cta {
  width: 100%;
  padding: 16px 22px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-family: 'Bagel Fat One', sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform 120ms ease, box-shadow 120ms ease, background 200ms;
  margin-top: 4px;
  position: relative;
  overflow: hidden;
}
.swap-cta::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: swapShimmer 3.4s ease-in-out infinite;
}
@keyframes swapShimmer { 0%{transform:translateX(-100%);} 60%,100%{transform:translateX(100%);} }
.swap-cta:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--accent-2); background: var(--accent-2); }
.swap-cta:active { transform: translate(0,0); box-shadow: 0 0 0 var(--ink); }
.swap-cta.connected { background: var(--accent); color: var(--ink); }
.swap-cta.connected::after { display: none; }

.swap-wallets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.swap-wallets .wlt {
  padding: 10px 12px;
  background: #fff5dc;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.swap-wallets .wlt:hover { transform: translate(-1px,-1px); box-shadow: 2px 2px 0 var(--ink); background: var(--accent); }

.swap-footnote {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  opacity: 0.7;
  margin-top: 4px;
}
.swap-footnote strong { color: var(--ink); }

/* ============ TOKEN PICKER ============ */
.token-picker {
  position: absolute; inset: 0;
  background: var(--paper);
  border-radius: 28px;
  z-index: 10;
  display: none;
  flex-direction: column;
  padding: 24px;
  animation: tpSlideIn 220ms ease both;
}
.token-picker.open { display: flex; }
@keyframes tpSlideIn { from { transform: translateX(30px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.token-picker-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.token-picker-back {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(26,18,8,.08);
  border: 1.5px solid var(--ink);
  display: grid; place-items: center;
  color: var(--ink);
  transition: background 120ms;
}
.token-picker-back:hover { background: var(--accent); }
.token-picker-title {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: 18px;
  color: var(--ink);
}

.token-picker-search {
  margin-bottom: 12px;
}
.token-picker-search input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: #fff5dc;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  font-family: inherit;
}
.token-picker-search input::placeholder { color: rgba(26,18,8,.35); }
.token-picker-search input:focus { border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(255,107,53,.15); }

.token-picker-networks {
  display: flex; flex-wrap: wrap; gap: 5px;
  margin-bottom: 14px;
  max-height: 68px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.tp-net {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(26,18,8,.06);
  border: 1.5px solid transparent;
  color: var(--ink-soft);
  transition: all 120ms;
  white-space: nowrap;
}
.tp-net:hover, .tp-net.active { background: var(--accent); color: var(--ink); border-color: var(--ink); }

.token-picker-list {
  flex: 1;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 4px;
  min-height: 0;
  scrollbar-width: thin;
}
.tp-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  transition: all 120ms;
  cursor: pointer;
}
.tp-item:hover { background: rgba(26,18,8,.06); border-color: var(--ink); }
.tp-item.selected { background: var(--accent); border-color: var(--ink); }
.tp-item-ico {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 20px;
  flex-shrink: 0;
  border: 1.5px solid var(--ink);
  background: #fff;
  position: relative;
  overflow: hidden;
}
.tp-item-ico img { width: 28px; height: 28px; border-radius: 50%; }
.tp-item-meta { flex: 1; min-width: 0; }
.tp-item-sym { font-family: 'Bagel Fat One', sans-serif; font-size: 15px; color: var(--ink); }
.tp-item-name { font-size: 11px; color: var(--ink-soft); letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-item-net {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(26,18,8,.08);
  color: var(--ink-soft);
  flex-shrink: 0;
}
.tp-item-price {
  text-align: right;
  flex-shrink: 0;
}
.tp-item-price .tp-usd { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; color: var(--ink); }
.tp-loading {
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: var(--ink-soft);
  opacity: 0.7;
}

@media (max-width: 540px) {
  .swap-modal { padding: 22px 18px; border-radius: 24px; }
  .swap-head { flex-direction: column; align-items: stretch; gap: 12px; }
  .swap-title { font-size: 26px; }
  .swap-tabs { align-self: flex-start; }
  .swap-amount input { font-size: 26px; }
  .swap-wallets { grid-template-columns: 1fr; }
  .swap-quick button { font-size: 10px; padding: 4px 8px; }
  .token-picker { padding: 18px; border-radius: 24px; }
  .token-picker-list { min-height: 0; }
}

@media (max-width: 720px) {
  .section, .section-band { padding: 80px 20px; }
  .nav-links { display: none; }
}

/* ===== Wallet Connect Modal ===== */
.wallet-overlay {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 8, 5, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px;
  animation: wallet-fade-in 0.4s ease;
}
@keyframes wallet-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.wallet-overlay.hidden {
  display: none;
}
.wallet-modal {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 28px;
  box-shadow: 8px 8px 0 var(--ink), 0 30px 80px rgba(0,0,0,0.4);
  padding: 40px 36px 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  animation: wallet-slide-up 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes wallet-slide-up {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.wallet-modal-icon {
  font-size: 56px;
  margin-bottom: 12px;
  animation: wallet-bounce 2s infinite;
}
@keyframes wallet-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.wallet-modal-title {
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--ink);
}
.wallet-modal-desc {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 28px;
  line-height: 1.5;
}
.wallet-connect-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 700;
  background: var(--accent);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: all 150ms ease;
  margin-bottom: 24px;
}
.wallet-connect-btn:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--accent-2);
  color: #fff;
}
.wallet-connect-btn:active {
  transform: translateY(0);
  box-shadow: 2px 2px 0 var(--ink);
}
.wallet-modal-footer {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 16px;
  opacity: 0.8;
}
.wallet-modal-lock { font-size: 14px; }
.wallet-skip {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
  opacity: 0.7;
  transition: opacity 150ms, color 150ms;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wallet-skip:hover {
  opacity: 1;
  color: var(--accent-2);
}

@media (max-width: 540px) {
  .wallet-modal { padding: 28px 20px 22px; border-radius: 22px; }
  .wallet-modal-title { font-size: 24px; }
  .wallet-option { padding: 12px 14px; }
}
