/* ============================================================
   FROGGY SMP — styles
   ============================================================ */

:root {
  --bg: #071009;
  --bg2: #0b1a10;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-border: rgba(255, 255, 255, 0.09);
  --lime: #a3e635;
  --lime-soft: #65a30d;
  --spring: #34d399;
  --aqua: #22d3ee;
  --text: #e7f6ec;
  --muted: #9db4a6;
  --pixel: 'Press Start 2P', 'Courier New', monospace;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

::selection { background: var(--lime); color: #06210c; }

/* scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--lime-soft), var(--lime));
  border-radius: 8px;
  border: 3px solid var(--bg);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------------- glass utility ---------------- */
.glass {
  background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

/* ---------------- background sky / stars / moon ---------------- */
.sky {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(52, 211, 153, 0.14), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(163, 230, 53, 0.08), transparent 60%),
    linear-gradient(180deg, #050c07 0%, #07140b 45%, #0d2415 100%);
}

.stars { position: absolute; inset: 0; }
.star {
  position: absolute;
  width: 3px; height: 3px;
  background: #eaffef;
  border-radius: 50%;
  animation: twinkle var(--t, 3s) ease-in-out infinite;
  animation-delay: var(--d, 0s);
  opacity: 0.35;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.8); }
  50%      { opacity: 0.9;  transform: scale(1.25); }
}

.moon {
  position: absolute;
  top: 90px; right: 12%;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fffdea, #ffe9a3 55%, #d8b24a 100%);
  box-shadow: 0 0 40px 8px rgba(255, 236, 150, 0.5);
  animation: floaty 7s ease-in-out infinite;
}
.moon::after {
  content: '';
  position: absolute; inset: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 50%, rgba(120, 90, 30, 0.35) 22%, transparent 28%);
}

.fireflies { position: absolute; inset: 0; }
.firefly {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px 3px rgba(163, 230, 53, 0.8);
  animation: fly var(--f, 8s) linear var(--fd, 0s) infinite;
  opacity: 0;
}
@keyframes fly {
  0%   { transform: translate(0, 0) scale(0.4); opacity: 0; }
  15%  { opacity: 0.9; }
  45%  { opacity: 0.4; }
  60%  { transform: translate(60px, -90px) scale(1); opacity: 0.95; }
  80%  { opacity: 0.3; }
  100% { transform: translate(140px, -180px) scale(0.5); opacity: 0; }
}

/* ---------------- parallax terrain ---------------- */
.parallax { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
.px { position: absolute; left: 0; right: 0; bottom: 0; height: 34vh; }
.px--far   { background: linear-gradient(180deg, transparent, rgba(20, 46, 27, 0.55) 70%, rgba(20,46,27,0.9)); transform: translateY(8%); animation: drift 40s ease-in-out infinite; }
.px--mid   { background: linear-gradient(180deg, transparent, rgba(26, 58, 34, 0.75) 55%, rgba(26,58,34,0.95)); transform: translateY(12%); animation: drift 26s ease-in-out infinite reverse; }
.px--near  { background: linear-gradient(180deg, transparent, rgba(32, 72, 42, 0.85) 45%, rgba(17, 41, 25, 1)); transform: translateY(16%); animation: drift 16s ease-in-out infinite; }
@keyframes drift {
  0%, 100% { transform: translateY(8%) scale(1); }
  50%      { transform: translateY(14%) scale(1.06); }
}

/* ---------------- loader ---------------- */
.loader {
  position: fixed; inset: 0;
  z-index: 100;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 22px;
  background: var(--bg);
  transition: opacity 0.7s ease, visibility 0.7s;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-frog { font-size: 54px; animation: hop 0.9s ease-in-out infinite; }
@keyframes hop {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  40%      { transform: translateY(-24px) scale(1.05, 0.95); }
  55%      { transform: translateY(-26px) scale(0.97, 1.05); }
}
.loader-bar {
  width: 200px; height: 14px;
  border: 2px solid var(--lime);
  border-radius: 8px;
  padding: 2px;
  overflow: hidden;
}
.loader-bar span {
  display: block; height: 100%; width: 40%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--lime), var(--aqua));
  animation: loadslide 1s ease-in-out infinite;
}
@keyframes loadslide {
  0%   { transform: translateX(-110%); }
  100% { transform: translateX(250%); }
}
.loader-text {
  font-family: var(--pixel);
  font-size: 11px;
  color: var(--lime);
  letter-spacing: 2px;
  animation: blinker 1.1s steps(1) infinite;
}
@keyframes blinker { 50% { opacity: 0.2; } }

/* ---------------- nav ---------------- */
.nav {
  position: fixed; top: 14px; left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  display: flex; align-items: center; gap: 22px;
  padding: 12px 20px;
  border-radius: 16px;
  z-index: 50;
  transition: top 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled { top: 8px; box-shadow: 0 16px 44px rgba(0,0,0,0.55); }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--pixel); font-size: 16px; }
.brand-icon { font-size: 24px; animation: hop 2.4s ease-in-out infinite; }
.brand-name span { color: var(--lime); }

.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a {
  font-weight: 600; font-size: 0.92rem; color: var(--muted);
  position: relative; padding: 4px 0; transition: color 0.25s;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--lime);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--lime);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { margin-left: 6px; }

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 26px; height: 3px; border-radius: 3px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------- buttons ---------------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--pixel);
  font-size: 12px;
  padding: 14px 22px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.96); }

.btn--discord {
  background: linear-gradient(135deg, #5865f2, #7c5cf0);
  box-shadow: 0 8px 26px rgba(88, 101, 242, 0.45);
}
.btn--discord:hover { transform: translateY(-3px); box-shadow: 0 12px 34px rgba(88, 101, 242, 0.6); }

.btn--store {
  background: linear-gradient(135deg, #f59e0b, #f43f5e);
  box-shadow: 0 8px 26px rgba(245, 158, 11, 0.4);
}
.btn--store:hover { transform: translateY(-3px); box-shadow: 0 12px 34px rgba(245, 158, 11, 0.55); }

.btn--ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--lime-soft); color: var(--lime); }

.btn--play {
  background: linear-gradient(135deg, #84cc16 0%, #22c55e 55%, #14b8a6 110%);
  color: #052108;
  box-shadow: 0 10px 30px rgba(132, 204, 22, 0.4), inset 0 1px 0 rgba(255,255,255,0.5);
}
.btn--play:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(132, 204, 22, 0.55); }
.btn--play.big { font-size: 14px; padding: 18px 30px; }

/* moving shine */
.btn-ray {
  position: absolute; top: 0; bottom: 0; width: 40%;
  left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
  animation: ray 3.2s ease-in-out infinite;
}
@keyframes ray {
  0%, 60% { left: -60%; }
  100%    { left: 130%; }
}

/* ---------------- hero ---------------- */
.hero { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 130px 24px 80px; position: relative; }
.hero-inner { max-width: 900px; display: flex; flex-direction: column; align-items: center; gap: 26px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--pixel); font-size: 10px; color: var(--aqua);
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.08);
  padding: 9px 14px; border-radius: 999px;
  animation: pulse-glow 2.4s ease-in-out infinite;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: blinker 1.4s infinite; }
@keyframes pulse-glow {
  0%,100% { box-shadow: 0 0 12px rgba(34,211,238,0.25); }
  50%     { box-shadow: 0 0 26px rgba(34,211,238,0.55); }
}

.hero-title {
  font-family: var(--pixel);
  font-size: clamp(44px, 9vw, 104px);
  line-height: 1.05;
  color: var(--text);
  text-shadow: 0 0 30px rgba(163, 230, 53, 0.25);
  filter: drop-shadow(0 14px 30px rgba(0,0,0,0.5));
}
.hero-title-gradient {
  display: block;
  background: linear-gradient(90deg, var(--lime), var(--spring) 40%, var(--aqua) 75%, #c4b5fd);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-slide 6s linear infinite;
}
@keyframes grad-slide { 0% { background-position: 0% 0; } 100% { background-position: -220% 0; } }

.hero-sub {
  font-size: clamp(17px, 2.6vw, 23px);
  color: var(--muted);
  min-height: 30px;
}
.typewriter { color: var(--lime); font-weight: 700; }

.hero-ip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }

.ip-box {
  display: flex; align-items: center; gap: 10px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(163, 230, 53, 0.35);
  padding: 14px 22px; border-radius: 12px;
  color: var(--text); cursor: pointer; position: relative;
  font-family: var(--pixel); font-size: clamp(11px, 2vw, 13px);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.ip-box:hover { border-color: var(--lime); box-shadow: 0 0 24px rgba(163,230,53,0.3); transform: translateY(-2px); }
.ip-label { color: var(--muted); }
.ip-address { color: var(--lime); }
.ip-copied {
  position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
  font-family: var(--pixel); font-size: 9px; color: var(--lime);
  background: rgba(0,0,0,0.8); padding: 6px 10px; border-radius: 8px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.ip-copied.show { opacity: 1; transform: translateX(-50%) translateY(-4px); }

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); font-family: var(--pixel); font-size: 9px; letter-spacing: 2px; }
.mouse { width: 22px; height: 36px; border: 2px solid var(--muted); border-radius: 14px; display: grid; place-items: start center; padding-top: 6px; }
.wheel { width: 4px; height: 8px; border-radius: 4px; background: var(--lime); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

/* ---------------- stats ---------------- */
.stats {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  border-radius: var(--radius);
  display: grid; grid-template-columns: repeat(4, 1fr);
  position: relative; z-index: 5;
}
.stat { padding: 30px 18px; text-align: center; border-right: 1px solid var(--panel-border); }
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--pixel);
  font-size: clamp(20px, 3.5vw, 34px);
  color: var(--lime);
  display: block;
  text-shadow: 0 0 20px rgba(163,230,53,0.35);
}
.stat-version { font-size: clamp(12px, 2vw, 16px); color: var(--aqua); text-shadow: 0 0 18px rgba(34,211,238,0.35); padding: 4px 0; }
.stat-uptime { font-size: clamp(12px, 2vw, 18px); }
.stat-label { color: var(--muted); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.5px; }

/* ---------------- sections ---------------- */
.section { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 110px 0 20px; }
.section--dark { border-radius: var(--radius); margin-top: 110px; padding: 80px 40px; background: linear-gradient(135deg, rgba(163,230,53,0.05), rgba(34,211,238,0.04)); border: 1px solid var(--panel-border); backdrop-filter: blur(12px); }

.section-head { text-align: center; margin-bottom: 54px; max-width: 760px; margin-inline: auto; }
.kicker {
  font-family: var(--pixel); font-size: 10px; color: var(--aqua);
  letter-spacing: 3px; margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(26px, 4.6vw, 42px); font-weight: 800; line-height: 1.2; }
.grad {
  background: linear-gradient(90deg, var(--lime), var(--aqua));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sub { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

/* ---------------- cards ---------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 34px 26px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(600px 200px at var(--mx, 50%) var(--my, 0%), rgba(163,230,53,0.12), transparent 60%);
  opacity: 0; transition: opacity 0.35s;
}
.card:hover { border-color: rgba(163,230,53,0.5); box-shadow: 0 18px 50px rgba(0,0,0,0.45), 0 0 30px rgba(163,230,53,0.08); transform: translateY(-8px); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 58px; height: 58px; display: grid; place-items: center;
  font-size: 28px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(163,230,53,0.18), rgba(34,211,238,0.12));
  border: 1px solid rgba(163,230,53,0.25);
  margin-bottom: 18px;
  animation: hop 3s ease-in-out infinite;
}
.card h3 { font-family: var(--pixel); font-size: 13px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------------- shop ---------------- */
.shop-tabs {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 42px;
}
.shop-tab {
  font-family: var(--pixel); font-size: 11px;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  padding: 13px 22px; border-radius: 999px; cursor: pointer;
  transition: all 0.3s;
}
.shop-tab:hover { color: var(--text); border-color: rgba(163,230,53,0.4); transform: translateY(-2px); }
.shop-tab.active {
  background: linear-gradient(135deg, rgba(163,230,53,0.2), rgba(34,211,238,0.15));
  border-color: var(--lime); color: var(--lime);
  box-shadow: 0 0 22px rgba(163,230,53,0.3);
}

.shop-grid { display: none; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shop-grid.active { display: grid; }

/* rarity palette */
.pcard { --rc: #a3e635; --rg1: rgba(163,230,53,0.28); --rg2: rgba(163,230,53,0.06); }
.pcard[data-rarity="rare"]     { --rc: #38bdf8; --rg1: rgba(56,189,248,0.3);  --rg2: rgba(56,189,248,0.06); }
.pcard[data-rarity="epic"]     { --rc: #a78bfa; --rg1: rgba(167,139,250,0.3); --rg2: rgba(167,139,250,0.06); }
.pcard[data-rarity="legendary"]{ --rc: #fbbf24; --rg1: rgba(251,191,36,0.32); --rg2: rgba(251,191,36,0.07); }
.pcard[data-rarity="mythic"]   { --rc: #fb7185; --rg1: rgba(251,113,133,0.32); --rg2: rgba(251,113,133,0.07); }
.pcard[data-rarity="god"]      { --rc: #f0abfc; --rg1: rgba(240,171,252,0.32); --rg2: rgba(240,171,252,0.07);
  background-image: linear-gradient(120deg, rgba(163,230,53,0.05), rgba(56,189,248,0.05), rgba(240,171,252,0.05), rgba(163,230,53,0.05)) !important; }

.pcard {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  backdrop-filter: blur(10px);
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.pcard:hover {
  border-color: var(--rc);
  box-shadow: 0 18px 54px rgba(0,0,0,0.5), 0 0 34px var(--rg1);
  transform: translateY(-10px);
}
.pcard::after {  /* shine sweep */
  content: '';
  position: absolute; top: 0; bottom: 0; width: 60%; left: -80%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.09), transparent);
  transform: skewX(-20deg);
  animation: cardray 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cardray {
  0%, 55% { left: -80%; }
  100%    { left: 130%; }
}

/* animated rotating border for god tier */
.pcard[data-rarity="god"] .pcard-photo::after {
  content: '';
  position: absolute; inset: 0; border-radius: 12px;
  padding: 2px;
  background: conic-gradient(from var(--ra, 0deg), #a3e635, #38bdf8, #a78bfa, #fbbf24, #fb7185, #a3e635);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spinring 4s linear infinite;
}
@property --ra { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spinring { to { --ra: 360deg; } }

/* photo panel */
.pcard-photo {
  position: relative;
  height: 150px;
  border-radius: 12px;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 40%, var(--rg1), transparent 65%),
    linear-gradient(160deg, rgba(255,255,255,0.05), transparent);
  border: 1px solid color-mix(in srgb, var(--rc) 30%, transparent);
  overflow: hidden;
}
.pcard-photo::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 45%, var(--rg2), transparent 70%);
}
.pcard-big {
  font-size: 62px;
  position: relative; z-index: 2;
  filter: drop-shadow(0 0 18px var(--rg1));
  animation: floaty 3.6s ease-in-out infinite;
}
.pcard-img {
  width: 92px; height: auto;
  position: relative; z-index: 2;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.5)) drop-shadow(0 0 16px var(--rg1));
  animation: floaty 3.6s ease-in-out infinite;
}
.pcard:hover .pcard-img { animation: floaty 1.4s ease-in-out infinite, hop 1.4s ease-in-out infinite; }
.pcard[data-rarity="god"] .pcard-img { animation: floaty 3s ease-in-out infinite, huer 8s linear infinite; }
@keyframes huer {
  0%   { filter: drop-shadow(0 8px 16px rgba(0,0,0,0.5)) drop-shadow(0 0 16px var(--rg1)) hue-rotate(0deg); }
  100% { filter: drop-shadow(0 8px 16px rgba(0,0,0,0.5)) drop-shadow(0 0 16px var(--rg1)) hue-rotate(360deg); }
}
.pcard-glow {
  position: absolute; width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle, var(--rg1), transparent 70%);
  animation: glowpulse 2.6s ease-in-out infinite;
}
@keyframes glowpulse {
  0%,100% { transform: scale(0.85); opacity: 0.55; }
  50%     { transform: scale(1.25); opacity: 1; }
}
@keyframes floaty {
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50%     { transform: translateY(-10px) rotate(3deg); }
}

.pcard-tag {
  font-family: var(--pixel); font-size: 8px; letter-spacing: 2px;
  color: var(--rc);
  border: 1px solid color-mix(in srgb, var(--rc) 45%, transparent);
  background: color-mix(in srgb, var(--rc) 10%, transparent);
  align-self: flex-start;
  padding: 7px 10px; border-radius: 8px;
}
.pcard-name { font-family: var(--pixel); font-size: 15px; }
.pcard-desc { color: var(--muted); font-size: 0.88rem; }
.pcard-perks { list-style: none; margin: 2px 0 4px; display: grid; gap: 7px; }
.pcard-perks li {
  font-size: 0.85rem; color: var(--muted);
  padding-left: 24px; position: relative;
}
.pcard-perks li::before {
  content: '✔';
  position: absolute; left: 0; top: 0;
  color: var(--rc); font-weight: 800;
  text-shadow: 0 0 10px var(--rg1);
}
.pcard-foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 12px; border-top: 1px solid var(--panel-border);
}
.price { font-family: var(--pixel); font-size: 12px; color: var(--rc); text-shadow: 0 0 14px var(--rg1); }
.btn--buy {
  font-size: 9px; padding: 10px 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--rc) 75%, #fff), color-mix(in srgb, var(--rc) 60%, #000));
  color: #071009;
  box-shadow: 0 8px 20px var(--rg1);
}
.btn--buy:hover { transform: translateY(-2px); box-shadow: 0 12px 28px var(--rg1); }

/* ---------------- steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 34px 28px;
  position: relative;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.step:hover { transform: translateY(-8px); border-color: rgba(34,211,238,0.45); box-shadow: 0 18px 50px rgba(0,0,0,0.45); }
.step-num {
  font-family: var(--pixel); font-size: 11px; color: var(--aqua);
  display: inline-block; margin-bottom: 16px;
  border: 1px solid rgba(34,211,238,0.3); padding: 6px 10px; border-radius: 8px;
  background: rgba(34,211,238,0.07);
}
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
.mini-copy {
  display: inline-block;
  font-family: var(--pixel); font-size: 10px;
  color: var(--lime); cursor: pointer;
  background: rgba(163,230,53,0.1);
  border: 1px solid rgba(163,230,53,0.35);
  padding: 10px 12px; border-radius: 10px;
  transition: all 0.25s;
}
.mini-copy:hover { background: rgba(163,230,53,0.2); box-shadow: 0 0 18px rgba(163,230,53,0.25); transform: translateY(-2px); }

/* ---------------- rules ---------------- */
.rules { display: grid; gap: 14px; max-width: 780px; margin: 0 auto; }
.rule {
  display: flex; align-items: center; gap: 18px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 14px; padding: 18px 22px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.rule:hover { transform: translateX(8px); border-color: rgba(163,230,53,0.4); box-shadow: 0 8px 30px rgba(0,0,0,0.35); }
.rule-icon { font-size: 24px; }
.rule p { color: var(--muted); font-size: 0.98rem; }

/* ---------------- CTA banner ---------------- */
.cta {
  width: min(1180px, calc(100% - 32px));
  margin: 110px auto 0;
  border-radius: 24px;
  padding: 60px 30px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta::before {
  content: '🐸';
  position: absolute; font-size: 220px; opacity: 0.05;
  top: -20px; left: 4%;
  animation: hop 4s ease-in-out infinite;
}
.cta::after {
  content: '🐸';
  position: absolute; font-size: 160px; opacity: 0.04;
  bottom: -30px; right: 4%;
  transform: scaleX(-1);
  animation: hop 5s ease-in-out infinite reverse;
}
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; position: relative; z-index: 2; }
.cta h2 { font-size: clamp(24px, 4vw, 38px); font-weight: 800; }
.cta p { color: var(--muted); font-family: var(--pixel); font-size: 12px; }
.cta p strong { color: var(--lime); }
.cta-socials { display: flex; gap: 14px; margin-top: 8px; }

/* ---------------- leaderboard ---------------- */
.board { border-radius: var(--radius); overflow: hidden; max-width: 780px; margin: 0 auto; }
.board-row {
  display: grid; grid-template-columns: 60px 1fr 150px 150px;
  align-items: center; gap: 10px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.25s;
}
.board-row:not(.board-head):hover { background: rgba(163,230,53,0.05); }
.board-head { font-family: var(--pixel); font-size: 9px; color: var(--aqua); letter-spacing: 1px; background: rgba(0,0,0,0.2); }
.board-row > span:nth-child(2) { font-weight: 700; }
.board-row .bal { color: var(--lime); font-weight: 700; }
.board-empty { justify-content: center; text-align: center; color: var(--muted); display: block; padding: 26px; font-size: 0.95rem; }
.slot-emoji { font-size: 18px; }

/* ---------------- footer ---------------- */
.footer {
  margin-top: 110px;
  border-top: 1px solid var(--panel-border);
  padding: 46px 24px 26px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4));
}
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--pixel); font-size: 14px; }
.footer-brand .brand-icon { font-size: 20px; }
.footer-inner p { color: var(--muted); font-size: 0.82rem; max-width: 460px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--muted); font-weight: 600; font-size: 0.9rem; transition: color 0.25s; }
.footer-links a:hover { color: var(--lime); }
.footer-copy { text-align: center; color: var(--muted); font-size: 0.8rem; margin-top: 26px; opacity: 0.8; }

/* ---------------- payment modal ---------------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: rgba(4, 10, 6, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadein 0.25s ease;
  overflow-y: auto; padding: 20px;
}
.modal-overlay[hidden] { display: none; }
@keyframes fadein { from { opacity: 0; } }

.modal {
  position: relative;
  width: min(430px, 100%);
  background: linear-gradient(160deg, #0e2415, #0a1a0f);
  border: 1px solid rgba(163, 230, 53, 0.35);
  border-radius: 22px;
  padding: 30px 26px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 40px rgba(163,230,53,0.12);
  animation: popin 0.35s cubic-bezier(0.2, 1.4, 0.4, 1);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
@keyframes popin {
  from { transform: translateY(26px) scale(0.94); opacity: 0; }
}

.modal-close {
  position: absolute; top: 12px; right: 12px;
  background: none; border: none; color: var(--muted);
  font-size: 18px; cursor: pointer; z-index: 5;
  width: 34px; height: 34px; border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.08); color: var(--text); }

.pay-step { display: none; flex-direction: column; gap: 14px; }
.pay-step.active { display: flex; }

.pay-head { display: flex; align-items: center; gap: 12px; }
.pay-badge {
  font-family: var(--pixel); font-size: 9px; letter-spacing: 1px;
  color: #e7f6ec;
  background: linear-gradient(135deg, #40c4ff, #6a5cff);
  padding: 7px 10px; border-radius: 8px;
  box-shadow: 0 6px 16px rgba(64, 196, 255, 0.3);
}
.pay-title { font-family: var(--pixel); font-size: 13px; }

.pay-product {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--panel-border);
  border-radius: 12px; padding: 12px 16px;
}
.pay-price { font-family: var(--pixel); font-size: 13px; color: var(--lime); text-shadow: 0 0 14px rgba(163,230,53,0.4); }

.pay-hint { color: var(--muted); font-size: 0.9rem; }

.qr-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: #fff; border-radius: 18px; padding: 18px;
  box-shadow: 0 0 30px rgba(163,230,53,0.25);
}
.qr { width: 200px; height: auto; image-rendering: auto; }
.qr-payee {
  font-family: var(--pixel); font-size: 10px; color: #1a1a1a;
  letter-spacing: 1px;
}

.pay-steps { display: grid; gap: 8px; list-style: none; counter-reset: pstep; }
.pay-steps li {
  counter-increment: pstep;
  position: relative; padding-left: 34px;
  color: var(--muted); font-size: 0.88rem;
}
.pay-steps li::before {
  content: counter(pstep);
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  font-family: var(--pixel); font-size: 9px; color: var(--lime);
  background: rgba(163,230,53,0.12);
  border: 1px solid rgba(163,230,53,0.35);
  border-radius: 7px;
}

.pay-form { display: grid; gap: 14px; }
.pay-form label {
  display: grid; gap: 6px;
  color: var(--muted); font-size: 0.8rem; font-weight: 600;
}
.pay-form input[type="text"], .pay-form input:not([type]) {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text); font-size: 0.95rem;
  font-family: var(--sans);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.pay-form input:focus { border-color: var(--lime); box-shadow: 0 0 18px rgba(163,230,53,0.2); }

.file-label { cursor: pointer; }
.file-label input { display: none; }
.file-inner {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 2px dashed rgba(163,230,53,0.4);
  border-radius: 12px;
  padding: 18px;
  color: var(--lime); font-size: 0.9rem;
  transition: background 0.25s, border-color 0.25s;
}
.file-label:hover .file-inner { background: rgba(163,230,53,0.08); border-color: var(--lime); }
#proofPreview {
  width: 100%; border-radius: 12px;
  border: 1px solid var(--panel-border);
  max-height: 260px; object-fit: contain; background: #000;
}

.pay-note { color: var(--muted); font-size: 0.78rem; }
.pay-back { font-size: 9px; }

.pay-success {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: 40px;
  animation: floaty 2s ease-in-out infinite;
}
.pay-done { width: 100%; }

/* ---------------- music button ---------------- */
.music-btn {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 80;
  width: 62px; height: 62px;
  border-radius: 50%;
  border: none; cursor: pointer;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #14532d, #0b3018);
  border: 1px solid rgba(163, 230, 53, 0.45);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5), 0 0 22px rgba(163, 230, 53, 0.18);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.music-btn:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 16px 44px rgba(0,0,0,0.55), 0 0 30px rgba(163, 230, 53, 0.35); border-color: var(--lime); }
.music-btn:active { transform: scale(0.94); }
.music-btn.playing { box-shadow: 0 12px 34px rgba(0,0,0,0.5), 0 0 26px rgba(163,230,53,0.4); animation: pulse-glow 2s ease-in-out infinite; }

.music-note { font-size: 26px; filter: drop-shadow(0 0 8px rgba(163,230,53,0.6)); transition: opacity 0.3s, transform 0.3s; }
.music-btn.playing .music-note { opacity: 0; transform: scale(0.6); position: absolute; }
.music-note.note-mute { opacity: 0.45; }

.music-eq {
  position: absolute;
  display: none;
  align-items: flex-end; gap: 3px;
  height: 24px;
}
.music-btn.playing .music-eq { display: flex; }
.music-eq span {
  width: 4px; border-radius: 3px;
  background: linear-gradient(180deg, var(--lime), var(--aqua));
  animation: eq 0.9s ease-in-out infinite;
}
.music-eq span:nth-child(1) { height: 40%; animation-delay: 0s; }
.music-eq span:nth-child(2) { height: 90%; animation-delay: 0.22s; }
.music-eq span:nth-child(3) { height: 60%; animation-delay: 0.45s; }
.music-eq span:nth-child(4) { height: 75%; animation-delay: 0.68s; }
@keyframes eq {
  0%, 100% { transform: scaleY(0.55); }
  50%      { transform: scaleY(1); }
}

.music-tip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%; transform: translateY(-50%);
  font-family: var(--pixel); font-size: 9px;
  color: var(--lime);
  background: rgba(0, 0, 0, 0.82);
  border: 1px solid rgba(163, 230, 53, 0.3);
  padding: 10px 14px; border-radius: 10px;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.music-btn:hover .music-tip { opacity: 1; transform: translateY(-50%) translateX(-4px); }

@media (max-width: 560px) {
  .music-btn { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .music-tip { display: none; }
}

/* ---------------- toast ---------------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 140px);
  z-index: 90;
  background: linear-gradient(135deg, #14532d, #0c2f1a);
  color: var(--lime);
  border: 1px solid rgba(163,230,53,0.4);
  font-family: var(--pixel); font-size: 11px;
  padding: 14px 22px; border-radius: 12px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.5);
  transition: transform 0.45s cubic-bezier(0.2, 1.4, 0.4, 1);
  pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------------- reveal on scroll ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* staggered children */
.stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------------- responsive ---------------- */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--panel-border); }
  .nav-links {
    position: fixed; top: 76px; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: linear-gradient(160deg, rgba(10,25,14,0.97), rgba(6,14,8,0.97));
    border: 1px solid var(--panel-border);
    border-radius: 16px; padding: 14px;
    opacity: 0; transform: translateY(-12px); pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links a { padding: 12px 14px; border-radius: 10px; text-align: center; }
  .nav-links a:hover { background: rgba(163,230,53,0.08); }
  .nav-links a::after { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .board-row { grid-template-columns: 40px 1fr 100px 100px; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--panel-border); }
  .board-row { grid-template-columns: 32px 1fr 80px; }
  .board-row > span:nth-child(4) { display: none; }
  .board-head > span:nth-child(4) { display: none; }
  .moon { width: 60px; height: 60px; top: 120px; }
}