:root {
  --bg: #1a1a1a;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e6eef9;
  --muted: #9db0c6;
  --accent: #00e091; /* pump.fun green */
  --accent-2: #7a5cff;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  --glass: rgba(18, 24, 30, 0.55);
  --solid-green: #84EFAA;
  --page-pad-x: clamp(16px, 4vw, 48px);
  --ticker-size: clamp(140px, 12vw, 220px);
  --ticker-gap: clamp(8px, 1.6vw, 18px);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body { margin: 0; font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji"; color: var(--text); background: var(--bg); line-height: 1.5; }

.header { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(150%) blur(10px); background: #1a1a1a; border-bottom: 1px solid var(--border); }
.header__inner { max-width: none; width: 100%; margin: 0; display: flex; align-items: center; gap: 12px; padding: 12px var(--page-pad-x); }

.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: 0.1px; color: var(--text); text-decoration: none; font-size: 20px; }
.brand__dot { width: 12px; height: 12px; border-radius: 999px; background: conic-gradient(from 180deg at 50% 50%, var(--accent), var(--accent-2)); box-shadow: 0 0 0 6px rgba(0, 224, 145, 0.22); }

.header__links { display: flex; align-items: center; gap: 14px; flex: 1 1 auto; justify-content: space-between; flex-wrap: wrap; }
.header__links--full .icon-link { flex: 1 1 0; justify-content: center; min-width: 220px; }
.header::after { content: ""; display: block; height: 2px; background: linear-gradient(90deg, rgba(0,224,145,0.5), rgba(0,224,145,0.1)); }

/* Socials: same size, solid green */
.icon-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 14px; border-radius: 0; border: 1px solid var(--solid-green); background: var(--solid-green); color: #0b0f14; text-decoration: none; font-size: 16px; will-change: transform; }
.icon-link:hover { animation: shake-x 0.4s ease-in-out; }
.icon-link--pumpfun .pf-dot { width: 14px; height: 14px; border-radius: 999px; background: var(--solid-green); box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08); }
.pf-text, .ds-text { color: #0b0f14; font-weight: 800; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 16px; border-radius: 0; border: 1px solid var(--border); background: var(--glass); color: var(--text); cursor: pointer; transition: transform 0.08s ease; text-align: center; will-change: transform; }
.button:hover { transform: translateZ(0); }
.button:active { transform: translateX(0) translateY(1px); }
/* Mint button: solid green, centered text, shake on hover */
.button--mint { border-color: var(--solid-green); background: var(--solid-green); color: #0b0f14; box-shadow: none; }
.button--mint:hover { background: var(--solid-green); border-color: var(--solid-green); animation: shake-x 0.4s ease-in-out; }
.button--xl { height: 80px; padding: 0 44px; font-size: 26px; font-weight: 900; letter-spacing: 0.3px; }

@keyframes shake-x {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(4px); }
  40% { transform: translateX(-4px); }
  60% { transform: translateX(3px); }
  80% { transform: translateX(-3px); }
}

.main { max-width: none; width: 100%; margin: 0; padding: 12px var(--page-pad-x) 80px; }
.content__cta { display: grid; place-items: center; padding: 14px 0 8px; }

.intro {
  text-align: center;
  margin: 16px 0 8px;
}

.intro__title {
  font-size: 28px;
  margin: 0 0 6px;
}

.intro__subtitle {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.nft-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transform: translateZ(0);
}

.nft-card:hover {
  border-color: rgba(0, 224, 145, 0.35);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
}

.nft-card__image { position: relative; }

.nft-card__image img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.nft-card__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(60% 60% at 50% 50%, rgba(0, 224, 145, 0.15), transparent 65%),
              linear-gradient(180deg, rgba(11, 15, 20, 0.0), rgba(11, 15, 20, 0.65));
  color: var(--text);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.nft-card:hover .nft-card__overlay { opacity: 1; }

.nft-card__overlay .mint {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 224, 145, 0.18);
  border: 1px solid rgba(0, 224, 145, 0.35);
  font-weight: 600;
}

.nft-card__info { padding: 12px; }

.nft-card__title {
  font-size: 16px;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nft-card__meta {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.loadmore { display: grid; place-items: center; margin-top: 18px; }

/* Footer */
.footer { position: sticky; bottom: 0; border-top: 1px solid var(--border); backdrop-filter: blur(6px); background: #1a1a1a; }
.footer__cta { display: grid; place-items: center; padding: 16px 16px 8px; }

.ticker-stack { display: grid; gap: 4px; margin-top: 4px; }
/* Bottom sliding ticker */
.ticker { width: 100%; overflow: hidden; border-top: 1px solid var(--border); }
.ticker__track { display: flex; gap: var(--ticker-gap); padding: 12px 0; align-items: center; will-change: transform; }
.ticker__item { flex: 0 0 auto; width: var(--ticker-size); height: var(--ticker-size); border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.ticker__item img { width: 100%; height: 100%; object-fit: cover; display: block; will-change: transform; }
.ticker__item img:hover { animation: shake-x 0.35s ease-in-out; }

@media (max-width: 900px) { .header__links--full .icon-link { min-width: 160px; } }
@media (max-width: 600px) { .header__links--full .icon-link { flex: 1 1 100%; } }

@media (max-width: 520px) { .header__inner { gap: 8px; } .icon-link { font-size: 14px; height: 52px; } .button--xl { height: 68px; font-size: 20px; padding: 0 32px; } .ticker__item { width: clamp(120px, 38vw, 160px); height: clamp(120px, 38vw, 160px); } }

@media (prefers-reduced-motion: reduce) { .button, .icon-link, .ticker__item img { transition: none; animation: none !important; } }


