/* ==========================
   COLOR VARIABLES
   ========================== */
:root {
  --pink:#ff004c;
  --yellow:#ffcc00;
  --ink:#000000;   /* PURE BLACK BACKGROUND */
  --panel:#000000; /* PURE BLACK PANELING */
  --line:#111111;  /* slightly lighter for borders */
}

/* ==========================
   BASE RESET + BODY
   ========================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: monospace;
  background: var(--ink);
  color: #f5f5f5;
}

/* ==========================
   HERO SECTION
   ========================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;  /* show full image */
  background: #000;     /* letterbox bars stay black */
  display: block;
}

.overlay {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

@media (max-width: 768px) {
  .hero { height: 70vh; }
  .hero-img { object-fit: contain; background: #000; }
  .overlay { bottom: 6%; }
}

/* ==========================
   BUTTONS + SEARCH BAR
   ========================== */
.connect-btn {
  background: var(--yellow);
  color: #000;
  font-weight: 700;
  border: 0;
  border-radius: 6px;
  padding: 12px 22px;
  cursor: pointer;
  box-shadow: 0 0 16px var(--yellow);
}

.search {
  display: flex;
  gap: 8px;
}

.search input {
  width: 240px;
  max-width: 70vw;
  padding: 10px;
  border: 1px solid var(--pink);
  background: #111;
  color: #fff;
  box-shadow: 0 0 10px var(--pink);
}

.search .go {
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  border: 0;
  padding: 10px 16px;
  cursor: pointer;
  box-shadow: 0 0 10px var(--pink);
}

/* ==========================
   GENERIC SECTIONS
   ========================== */
.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  border-top: 1px solid var(--line);
}

h2 {
  color: var(--pink);
  text-align: center;
  margin-bottom: 20px;
}

/* ==========================
   ABOUT IMAGE PULSE
   ========================== */
.about-image img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 0 20px rgba(0, 174, 255, 0.6),
              0 0 40px rgba(0, 174, 255, 0.4);
  animation: pulse-about 3s infinite alternate;
  border-radius: 6px;
}

@keyframes pulse-about {
  from { box-shadow: 0 0 12px rgba(0, 174, 255, 0.5); }
  to   { box-shadow: 0 0 36px rgba(0, 174, 255, 1); }
}

/* ==========================
   MARKETPLACE GRID
   ========================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 12px;
  text-align: center;
}

/* ==========================
   FOOTER
   ========================== */
.footer {
  text-align: center;
  padding: 20px;
  background: #111;
  color: #aaa;
  border-top: 1px solid var(--line);
}

/* ==========================
   PUNK CARD STYLING
   ========================== */
.punk-card {
  background: #fff;
  color: #000;
  max-width: 360px;
  margin: 30px auto;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  font-family: 'Roboto Mono', monospace;
  line-height: 1.4;
}

.punk-image img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 14px;
}

.punk-id {
  font-family: 'Press Start 2P', monospace;
  font-size: 1.6rem;
  text-align: center;
  margin: 10px 0 16px;
}

.punk-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.punk-attributes { font-size: 0.65rem; }

.punk-attributes h3 {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.7rem;
  margin-bottom: 6px;
}

.punk-attributes ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.punk-attributes li { margin-bottom: 4px; }

.punk-attributes strong {
  font-weight: bold;
  text-transform: uppercase;
}

.punk-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.qr img {
  width: 70px;
  height: 70px;
}

.vertical-id {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.6rem;
  font-weight: bold;
}

.punk-tagline {
  font-size: 0.6rem;
  font-style: italic;
  text-align: center;
  margin: 12px 0 8px;
}

.powered-by {
  text-align: center;
  font-size: 0.5rem;
  color: #555;
  margin-top: 8px;
}

/* ==========================
   COLLECTION VARIANTS
   ========================== */
.gen1-card {
  box-shadow: 0 0 24px rgba(255, 0, 76, 0.7);
  animation: pulse-red 2.5s infinite alternate;
}

.gen2-card {
  box-shadow: 0 0 24px rgba(255, 204, 0, 0.7);
  animation: pulse-gold 2.5s infinite alternate;
}

@keyframes pulse-red {
  from { box-shadow: 0 0 12px rgba(255, 0, 76, 0.5); }
  to   { box-shadow: 0 0 36px rgba(255, 0, 76, 1); }
}

@keyframes pulse-gold {
  from { box-shadow: 0 0 12px rgba(255, 204, 0, 0.5); }
  to   { box-shadow: 0 0 36px rgba(255, 204, 0, 1); }
}

/* ==========================
   SEARCH BAR GLOW VARIANTS
   ========================== */
.search.gen1 input {
  border: 1px solid var(--pink);
  box-shadow: 0 0 10px var(--pink);
}

.search.gen1 .go {
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
}

.search.gen2 input {
  border: 1px solid var(--yellow);
  box-shadow: 0 0 10px var(--yellow);
}

.search.gen2 .go {
  background: var(--yellow);
  color: #000;
  box-shadow: 0 0 10px var(--yellow);
}

/* ==========================
   GALLERY SECTION (Gen1 + Gen2)
   ========================== */
#gallery h2,
#gallery-gen2 h2 {
  color: var(--pink);
  margin-bottom: 20px;
  text-align: center;
}

#galleryGrid,
#galleryGridGen2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#galleryGrid .gallery-item img,
#galleryGridGen2 .gallery-item img {
  width: 100%;
  max-width: 160px;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #000;
  display: block;
  margin: 0 auto;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(255, 0, 76, 0.5);
}

#galleryGrid .gallery-num {
  margin-top: 6px;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.75rem;
  color: var(--pink);
  text-shadow: 0 0 5px rgba(255, 0, 76, 0.6);
}

#galleryGridGen2 .gallery-num {
  margin-top: 6px;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.75rem;
  color: var(--yellow);
  text-shadow: 0 0 5px rgba(255, 204, 0, 0.6);
}

#loadMoreBtn,
#loadMoreBtnGen2 {
  margin-top: 20px;
  display: inline-block;
}

/* ==========================
   MODAL STYLING
   ========================== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  overflow-y: auto;
  padding: 40px 20px;
}

.modal-content {
  background: transparent;
  margin: 0 auto;
  max-width: 420px;
  position: relative;
}

.close {
  position: fixed;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  text-shadow: 0 0 8px #000;
  z-index: 10000;
}

.close:hover {
  color: var(--pink);
}

/* ==========================
   INFINITE MEME PROTOCOL
   ========================== */
.leaderboard {
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
  border: 2px solid #222;
  background: #111;
  box-shadow: 0 0 40px rgba(255,0,76,0.5);
  border-radius: 8px;
}

.leaderboard h2 {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 20px;
  color: #ffcc00;
  text-shadow: 0 0 8px #ffcc00, 0 0 20px #ff004c;
  letter-spacing: 2px;
}

.board-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  margin: 6px 0;
  background: #0d0d0d;
  border-radius: 6px;
  border: 1px solid #222;
  box-shadow: inset 0 0 6px rgba(255,255,255,0.05);
  animation: flicker 2s infinite alternate;
}

.wallet {
  color: #ffcc00;
  text-shadow: 0 0 6px #ffcc00;
  font-size: 0.7rem;
}

.points {
  font-size: 0.9rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 6px;
}

.points.up {
  color: #00ff99;
  text-shadow: 0 0 12px #00ff99, 0 0 24px #00ff99;
  animation: pulseUp 1.5s infinite alternate;
}

.points.down {
  color: #ff004c;
  text-shadow: 0 0 12px #ff004c, 0 0 24px #ff004c;
  animation: pulseDown 1.5s infinite alternate;
}

@keyframes pulseUp {
  from { text-shadow: 0 0 6px #00ff99, 0 0 12px #00ff99; }
  to   { text-shadow: 0 0 16px #00ff99, 0 0 32px #00ff99; }
}

@keyframes pulseDown {
  from { text-shadow: 0 0 6px #ff004c, 0 0 12px #ff004c; }
  to   { text-shadow: 0 0 16px #ff004c, 0 0 32px #ff004c; }
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: 0.7; }
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: #111;
  border-top: 2px solid #ff004c;
  border-bottom: 2px solid #ff004c;
  margin-top: 30px;
}

.ticker {
  display: inline-block;
  padding-left: 100%;
  animation: tickerMove 25s linear infinite;
  white-space: nowrap;
  font-size: 0.7rem;
  color: #ffcc00;
  text-shadow: 0 0 6px #ffcc00, 0 0 12px #ff004c;
}

@keyframes tickerMove {
  0%   { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

/* ==========================
   TICKER BAR (Triple Mode)
   ========================== */
/* Sticky wrapper for ticker + Metamask badge */
.ticker-shell {
  position: sticky;
  top: 0;
  z-index: 800;
  background: #050505;
  border-bottom: 2px solid #111;
}

/* Ticker itself (still the same element JS touches) */
.ticker-container {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
  position: relative; /* keeps scanlines anchored correctly */
}

.scanlines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 2;
}

.scanlines.day {
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.04) 0px,
    rgba(255,255,255,0.04) 1px,
    transparent 2px,
    transparent 4px
  );
}

.scanlines.night {
  background: repeating-linear-gradient(
    to bottom,
    rgba(180,100,255,0.05) 0px,
    rgba(180,100,255,0.05) 1px,
    transparent 2px,
    transparent 4px
  );
}

.scanlines.hack {
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,255,128,0.05) 0px,
    rgba(0,255,128,0.05) 1px,
    transparent 2px,
    transparent 4px
  );
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-scroll 120s linear infinite;
  position: relative;
  z-index: 1;
}

.ticker-container:hover .ticker-track {
  animation-play-state: paused;
}

.item,
.bullet {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
}

.flicker {
  animation: vhsflicker 0.4s steps(2, end);
}

@keyframes vhsflicker {
  0% { transform: translate(0); text-shadow: none; color:#fff; }
  20% { transform: translate(-3px, 2px); text-shadow: -2px 0 #ff1e8e, 2px 0 #00faff; }
  40% { transform: translate(3px, -2px); text-shadow: -2px 0 #7d2ae8, 2px 0 #00faff; }
  60% { transform: translate(-2px, 1px); text-shadow: -2px 0 #00faff, 2px 0 #ff1e8e; }
  80% { transform: translate(2px, -1px); text-shadow: -2px 0 #ff1e8e, 2px 0 #7d2ae8; }
  100% { transform: translate(0); text-shadow: none; color:#fff; }
}

/* slightly subtle pulse used in JS */
.pulse {
  transform: scale(1.02);
}

/* static flash class for hack mode */
.static {
  filter: contrast(1.2) brightness(1.1);
}

/* 🔥 Ticker-scroll animation */
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================
   SIDE DRAWER + TAB
   ========================== */
.drawer {
  position: fixed;
  top: 70px;
  left: 0;
  width: clamp(320px, 65vw, 480px);
  max-height: calc(100vh - 70px);
  background: rgba(0,0,0,0.85);
  border-radius: 0 20px 20px 0;
  transform: translateX(-100%);
  transition: transform .5s cubic-bezier(.2,.7,.1,1), opacity .3s;
  opacity: 0;
  z-index: 1000;
  overflow-y: auto;
  backdrop-filter: blur(4px);
}

.drawer.open {
  transform: translateX(0);
  opacity: 1;
  animation: neonBuzz .5s ease forwards, borderGlitch 3.5s infinite;
}

@keyframes neonBuzz {
  0% { filter: brightness(0.5); opacity: 0.7; }
  30% { filter: brightness(1.3); opacity: 1; }
  50% { filter: brightness(0.7); }
  70% { filter: brightness(1.2); }
  100% { filter: brightness(1); }
}

@keyframes borderGlitch {
  0%,19%,21%,23%,100% {
    box-shadow:
      0 0 6px #ff009d,
      0 0 12px #ff33cc,
      0 0 20px #ff33cc;
  }
  20%,22% { box-shadow: none; }
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 70px 20px 60px;
}

.drawer__title {
  font-size: 14px;
  margin-bottom: 12px;
}

.drawer__link {
  display: block;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  text-decoration: none;
  font-size: 12px;
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background .2s, transform .2s;
}

.drawer__link:hover {
  background: rgba(255,255,255,0.15);
  transform: scale(1.05);
}

/* Menu tab at TOP-LEFT */
.drawer-tab {
  position: fixed;
  top: 70px;           /* top-left placement */
  left: 0;
  height: 56px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
  background: black;
  color: white;
  border: none;
  border-radius: 0 18px 18px 0;
  cursor: pointer;
  z-index: 1101;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow:
    0 0 5px #ff009d,
    0 0 10px #ff009d,
    0 0 20px #ff33cc,
    0 0 40px #ff33cc;
  animation: neonTabFlicker 3.5s infinite;
}

@keyframes neonTabFlicker {
  0%,19%,21%,23%,100% {
    opacity: 1;
    text-shadow:
      0 0 5px #ff009d,
      0 0 10px #ff009d,
      0 0 20px #ff33cc,
      0 0 40px #ff33cc;
  }
  20%,22% {
    opacity: 0.8;
    text-shadow: none;
  }
}

.peanut {
  text-align: center;
  font-size: 28px;
  margin-top: 40px;
}

.drawer-ticker {
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 10px;
}

.drawer-ticker span {
  display: inline-block;
  padding-left: 100%;
  animation: scrollDrawerTicker 18s linear infinite;
}

@keyframes scrollDrawerTicker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.drawer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.04) 0px,
    rgba(0,0,0,0.15) 2px,
    transparent 3px
  );
  pointer-events: none;
  z-index: 5;
}

.glitch-text {
  position: relative;
  color: white;
  animation: glitch 3.5s infinite;
}

@keyframes glitch {
  0%,96%,100% {
    text-shadow: none;
    transform: translateX(0);
    opacity: 1;
  }
  97% {
    text-shadow: -2px 0 red, 2px 0 blue;
    transform: translateX(-1px);
    opacity: .9;
  }
  98% {
    text-shadow:  2px 0 red, -2px 0 blue;
    transform: translateX(1px);
    opacity: .8;
  }
  99% {
    text-shadow: -1px 0 blue, 1px 0 red;
    transform: translateX(0);
    opacity: 1;
  }
}

/* ==========================
   GALLERY – SOTHEBY'S VIBE
   ========================== */

/* Bigger images on desktop */
@media (min-width: 1024px) {
  #galleryGrid,
  #galleryGridGen2 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  #galleryGrid .gallery-item img,
  #galleryGridGen2 .gallery-item img {
    max-width: 220px;
  }
}

/* Center items and make room for meta tab */
.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Replace neon pixel font with classy white serif */
#galleryGrid .gallery-num,
#galleryGridGen2 .gallery-num {
  margin-top: 10px;
  font-family: 'Playfair Display', "Times New Roman", serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f5f5f5;
  text-shadow: none;
  letter-spacing: 0.03em;
}

/* Under-image meta tab */
.gallery-meta-tab {
  margin-top: 6px;
  padding: 8px 10px;
  width: 100%;
  max-width: 240px;

  background: rgba(0, 0, 0, 0.75);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);

  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gallery-meta-main {
  font-family: 'Playfair Display', "Times New Roman", serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #f5f5f5;
}

.gallery-meta-sub {
  font-size: 0.7rem;
  color: #bbbbbb;
}

.gallery-meta-link {
  margin-top: 4px;
  font-size: 0.7rem;
  text-decoration: none;
  color: #9dd4ff;
  border-bottom: 1px dotted rgba(157, 212, 255, 0.5);
  align-self: flex-start;
}

.gallery-meta-link:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;

}
/* ==========================
   MOBILE – COMPRESSED META TAB
   ========================== */
@media (max-width: 768px) {
  .gallery-meta-tab {
    margin-top: 4px;
    padding: 4px 6px;
    max-width: 200px;

    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
  }

  .gallery-meta-main {
    font-size: 0.7rem;
    font-weight: 600;
  }

  /* Hide the extra contract line on mobile to save space */
  .gallery-meta-sub {
    display: none;
  }

  .gallery-meta-link {
    font-size: 0.65rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ==========================
   GALLERY TITLES – AUCTION CATALOG STYLE
   ========================== */
#gallery h2,
#gallery-gen2 h2 {
  font-family: 'Playfair Display', "Times New Roman", serif;
  font-size: 1.5rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f5f5f5;
  text-align: center;
  margin-bottom: 28px;
}

#gallery h2::after,
#gallery-gen2 h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  margin: 10px auto 0;
  background: rgba(255, 255, 255, 0.3);
}

/* ==========================
   WALLET HUB OVERLAY
   ========================== */
.wallet-tab {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  padding: 12px 6px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: linear-gradient(180deg, #000, #111);
  color: #f5f5f5;
  border: 1px solid var(--yellow);
  border-radius: 10px 0 0 10px;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 9000;
  box-shadow:
    0 0 10px rgba(255, 204, 0, 0.7),
    0 0 24px rgba(0, 0, 0, 0.9);
}

.wallet-tab:hover {
  box-shadow:
    0 0 16px rgba(255, 204, 0, 0.9),
    0 0 28px rgba(0, 0, 0, 1);
}

/* Panel container */
.wallet-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  max-width: 78vw;
  height: 100vh;
  transform: translateX(100%);
  transition: transform 0.25s ease-out;
  z-index: 8999;
  pointer-events: none;
}

.wallet-panel.open {
  transform: translateX(0);
  pointer-events: auto;
}

.wallet-panel-inner {
  height: 100%;
  padding: 16px 14px;
  background:
    radial-gradient(circle at 0 0, rgba(255, 204, 0, 0.16), transparent 55%),
    #000;
  border-left: 1px solid var(--line);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Header */
.wallet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.wallet-header-title {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f5f5f5;
}

#walletClose {
  background: none;
  border: none;
  color: #f5f5f5;
  font-size: 1.1rem;
  cursor: pointer;
}

/* Sections */
.wallet-section {
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.9);
  font-size: 0.7rem;
}

.wallet-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.6rem;
  color: #888;
  margin-bottom: 3px;
}

.wallet-value {
  font-size: 0.8rem;
}

.wallet-value.pepe {
  color: #00ff99;
}

/* FFP badges */
.wallet-collections {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;

  /* 🔥 make the FFP grid scrollable when it gets tall */
  max-height: 40vh;          /* you can bump this to 50vh if you want more space */
  overflow-y: auto;
  padding-right: 4px;        /* so scrollbar doesn’t cover the last column */

  /* optional: smoother scrolling on mobile */
  -webkit-overflow-scrolling: touch;
}

.wallet-badge {
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid var(--yellow);
  background: rgba(0, 0, 0, 0.85);
  font-size: 0.65rem;
}

.wallet-hint {
  font-size: 0.65rem;
  color: #bbbbbb;
}

/* Signal quote */
.wallet-quote {
  font-size: 0.7rem;
  line-height: 1.4;
}

/* Footer */
.wallet-footer {
  margin-top: auto;
  font-size: 0.6rem;
  color: #888888;
}

/* ==========================
   METAMASK NATIVE TAG
   ========================== */

.mm-native-tag {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding: 0 18px 8px 18px;  /* space from ticker & edge */
}

.mm-native-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(246,133,27,0.9);   /* Metamask orange border */
  background: rgba(0, 0, 0, 0.9);
  box-shadow:
    0 0 6px rgba(246,133,27,0.5),
    0 0 12px rgba(0,0,0,0.9);

  opacity: 0;
  transform: translateY(4px);
  animation: mmNativeFadeIn 0.7s ease-out 0.3s forwards;
}

.mm-native-fox {
  font-size: 0.7rem;
  line-height: 1;
  filter: drop-shadow(0 0 4px rgba(246,133,27,0.7));
}

.mm-native-text {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;

  background: linear-gradient(90deg, #f6851b, #e2761b); /* fox gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 4px rgba(0,0,0,0.9);
}

@keyframes mmNativeFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slightly more compact on mobile */
@media (max-width: 768px) {
  .mm-native-tag {
    justify-content: center;
    padding: 0 10px 6px 10px;
  }

  .mm-native-text {
    font-size: 0.5rem;
    letter-spacing: 0.12em;
  }
}


