/* Pogai.dev — sticky premium meme landing */
:root {
  --bg: #07070b;
  --bg-2: #0e0f16;
  --ink: #f6f3ea;
  --muted: #9a9588;
  --gold: #ffc428;
  --gold-2: #ff8a1f;
  --cyan: #5ce1ff;
  --pink: #ff5ec8;
  --lime: #b8ff4a;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.12);
  --danger: #ff5a6a;
  --radius: 24px;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    system-ui, -apple-system, sans-serif;
  --display: "Segoe UI", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient backdrop */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1000px 600px at 15% -10%, rgba(255, 196, 40, 0.18), transparent 55%),
    radial-gradient(800px 500px at 90% 10%, rgba(92, 225, 255, 0.12), transparent 50%),
    radial-gradient(700px 500px at 50% 100%, rgba(255, 94, 200, 0.1), transparent 55%),
    linear-gradient(180deg, #0a0a10 0%, #07070b 40%, #050508 100%);
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
}
.orb-a {
  width: 280px;
  height: 280px;
  background: var(--gold);
  top: 12%;
  left: -60px;
  animation: drift 14s ease-in-out infinite;
}
.orb-b {
  width: 220px;
  height: 220px;
  background: var(--cyan);
  top: 40%;
  right: -40px;
  animation: drift 18s ease-in-out infinite reverse;
}
.orb-c {
  width: 180px;
  height: 180px;
  background: var(--pink);
  bottom: 8%;
  left: 30%;
  animation: drift 16s ease-in-out infinite;
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, -24px);
  }
}

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

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px) saturate(140%);
  background: rgba(7, 7, 11, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 196, 40, 0.7), 0 8px 24px rgba(255, 196, 40, 0.25);
}

.brand span {
  font-size: 1.05rem;
}

.brand em {
  font-style: normal;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  font-size: 0.82rem;
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.chip:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 196, 40, 0.45);
  background: rgba(255, 196, 40, 0.08);
}

.chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
}

/* Hero */
.hero {
  position: relative;
  padding: 2.5rem 0 1.5rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    padding: 3.5rem 0 2rem;
    gap: 2.5rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 196, 40, 0.35);
  background: rgba(255, 196, 40, 0.08);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  font-weight: 900;
}

h1 .cn {
  display: block;
  font-size: 0.42em;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

h1 .glow {
  background: linear-gradient(120deg, #fff 10%, var(--gold) 45%, var(--gold-2) 70%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(255, 196, 40, 0.25));
}

.lead {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 1.5rem;
}

.lead strong {
  color: var(--ink);
  font-weight: 700;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #140f05;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 10px 30px rgba(255, 138, 31, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:disabled,
.btn-primary[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.75;
  transform: none;
}

.btn-ghost {
  color: var(--ink);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: rgba(92, 225, 255, 0.45);
  box-shadow: 0 0 24px rgba(92, 225, 255, 0.12);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.meta-row b {
  color: var(--ink);
}

/* Sticker stage */
.stage {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
}

.sticker-card {
  position: relative;
  width: min(340px, 88vw);
  aspect-ratio: 1;
  border-radius: 36px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--glass-border);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(18px);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.sticker-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 180deg, transparent, rgba(255, 196, 40, 0.25), transparent 40%, rgba(92, 225, 255, 0.2), transparent 70%);
  animation: spin 10s linear infinite;
}

.sticker-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 35px;
  background: linear-gradient(165deg, rgba(18, 18, 24, 0.92), rgba(10, 10, 14, 0.96));
}

.sticker-card img.hero-face {
  position: relative;
  z-index: 1;
  width: 72%;
  border-radius: 50%;
  box-shadow:
    0 0 0 6px rgba(255, 196, 40, 0.85),
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(255, 196, 40, 0.35);
  animation: bob 4.5s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

.float-sticker {
  position: absolute;
  width: 72px;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.45));
  animation: floaty 5s ease-in-out infinite;
  z-index: 2;
}

.float-sticker.a {
  top: 8%;
  left: 2%;
  width: 78px;
}
.float-sticker.b {
  top: 18%;
  right: 0;
  width: 64px;
  animation-delay: -1.5s;
}
.float-sticker.c {
  bottom: 12%;
  left: 6%;
  width: 70px;
  animation-delay: -2.8s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(var(--r, -8deg));
  }
  50% {
    transform: translateY(-14px) rotate(calc(var(--r, -8deg) + 6deg));
  }
}

.bubble {
  position: absolute;
  z-index: 3;
  padding: 0.55rem 0.85rem;
  border-radius: 16px 16px 16px 4px;
  background: rgba(20, 20, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.bubble.top {
  top: 6%;
  right: 4%;
  color: var(--cyan);
}
.bubble.bot {
  bottom: 8%;
  right: 8%;
  color: var(--gold);
  border-radius: 16px 16px 4px 16px;
}

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0 2.5rem;
}

@media (min-width: 720px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
}

.stat .k {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.stat .v {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat .v.gold {
  color: var(--gold);
}
.stat .v.cyan {
  color: var(--cyan);
}
.stat .v.lime {
  color: var(--lime);
}

/* Sections */
section {
  padding: 1.25rem 0 2.5rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 28rem;
  font-size: 0.95rem;
}

.grid-3 {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 780px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  position: relative;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--glass-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  min-height: 180px;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
}

.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 0.9rem;
  background: rgba(255, 196, 40, 0.12);
  border: 1px solid rgba(255, 196, 40, 0.25);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Mint panel */
.mint {
  margin-top: 0.5rem;
  padding: 1.35rem;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 196, 40, 0.08), transparent 40%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 196, 40, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .mint {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    padding: 1.75rem;
  }
}

.mint h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
}

.mint p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.tiers {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.tier {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

.tier span:last-child {
  color: var(--gold);
  font-weight: 800;
}

.mint-aside {
  text-align: center;
  padding: 1.25rem;
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed rgba(255, 196, 40, 0.35);
}

.mint-aside img {
  width: 96px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 196, 40, 0.7);
}

.mint-aside .status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 90, 106, 0.12);
  border: 1px solid rgba(255, 90, 106, 0.35);
  color: #ff8a96;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.mint-aside .status .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--danger);
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

.note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* Social strip */
.social {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 700px) {
  .social {
    grid-template-columns: 1fr 1fr;
  }
}

.social-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.2rem;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.social-card:hover {
  border-color: rgba(92, 225, 255, 0.4);
  transform: translateY(-2px);
}

.social-card img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
}

.social-card h3 {
  margin: 0 0 0.15rem;
  font-size: 1rem;
}

.social-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.social-card .handle {
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.82rem;
}

/* Footer */
footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.85rem;
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 800;
}

.foot-brand img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.disclaimer {
  max-width: 36rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  opacity: 0.75;
}

/* Live mint controls */
.mint-aside .status.live {
  background: rgba(184, 255, 74, 0.12);
  border-color: rgba(184, 255, 74, 0.4);
  color: #d6ff8a;
}
.mint-aside .status.live .pulse {
  background: var(--lime);
}

.mint-panel {
  display: grid;
  gap: 0.85rem;
  margin: 0.25rem 0 1rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mint-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.mint-field input {
  width: 5.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
}

.mint-field strong {
  color: var(--gold);
  font-size: 1.05rem;
}

.mint-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.mint-actions .btn {
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.mint-msg {
  min-height: 1.2em;
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  word-break: break-word;
}
.mint-msg[data-kind="ok"] { color: var(--lime); }
.mint-msg[data-kind="err"] { color: #ff8a96; }
.mint-msg[data-kind="info"] { color: var(--cyan); }

.contract-line {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
  word-break: break-all;
}
.contract-line a {
  color: var(--cyan);
  text-decoration: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
}
.contract-line a:hover { text-decoration: underline; }

.mint-meta {
  margin: 0.75rem 0 0;
  text-align: left;
  display: grid;
  gap: 0.45rem;
}
.mint-meta div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
}
.mint-meta dt {
  margin: 0;
  color: var(--muted);
}
.mint-meta dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
}
#mint-agent[data-ok="0"] { color: #ff8a96; }
#mint-agent[data-ok="1"] { color: var(--lime); }

.mint code {
  font-size: 0.85em;
  color: var(--cyan);
}
