@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #0b0f0d;
  --bg2: #101915;
  --green: #52d17c;
  --green-dark: #2fae5a;
  --brown: #8b5a2b;
  --panel: #131b17;
  --border: #223027;
  --text: #eaf3ec;
  --text-dim: #9db3a5;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3 { font-family: 'Inter', sans-serif; }

/* ---------------- Floating background blocks ---------------- */
.bg-blocks {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.block {
  position: absolute;
  width: 46px;
  height: 46px;
  background:
    linear-gradient(180deg, #6fce7f 0%, #6fce7f 30%, #7a5230 30%, #6b4726 100%);
  box-shadow: inset 0 0 0 3px rgba(0,0,0,.25), 0 20px 40px rgba(0,0,0,.4);
  border-radius: 4px;
  opacity: .18;
  animation: floatBlock linear infinite;
}
@keyframes floatBlock {
  0% { transform: translateY(110vh) rotate(0deg); }
  100% { transform: translateY(-15vh) rotate(360deg); }
}
.b1 { left: 5%;  width: 34px; height: 34px; animation-duration: 22s; animation-delay: 0s; }
.b2 { left: 18%; width: 60px; height: 60px; animation-duration: 30s; animation-delay: 3s; }
.b3 { left: 32%; width: 26px; height: 26px; animation-duration: 18s; animation-delay: 6s; }
.b4 { left: 50%; width: 50px; height: 50px; animation-duration: 26s; animation-delay: 1s; }
.b5 { left: 66%; width: 38px; height: 38px; animation-duration: 24s; animation-delay: 8s; }
.b6 { left: 80%; width: 30px; height: 30px; animation-duration: 20s; animation-delay: 4s; }
.b7 { left: 92%; width: 54px; height: 54px; animation-duration: 32s; animation-delay: 10s; }

/* ---------------- Nav ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11,15,13,.7);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { font-weight: 800; letter-spacing: .04em; }
.logo span { color: var(--green); }
.nav nav a {
  color: var(--text-dim);
  text-decoration: none;
  margin-left: 28px;
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
}
.nav nav a:hover { color: var(--green); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.hero-inner { max-width: 780px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #f87171; }
.dot.on { background: var(--green); box-shadow: 0 0 0 0 rgba(82,209,124,.6); animation: pulse 1.8s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(82,209,124,.55); }
  70% { box-shadow: 0 0 0 9px rgba(82,209,124,0); }
  100% { box-shadow: 0 0 0 0 rgba(82,209,124,0); }
}

h1 { font-size: clamp(40px, 7vw, 68px); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; }
.grad {
  background: linear-gradient(120deg, var(--green), #9ef2b0, var(--green-dark));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 4s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

.tagline { color: var(--text-dim); font-size: 17px; max-width: 560px; margin: 22px auto 34px; line-height: 1.6; }

.ip-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 10px 10px 10px 22px;
  border-radius: 12px;
  margin-bottom: 40px;
}
.ip-value { font-family: 'JetBrains Mono', Consolas, monospace; font-size: 17px; font-weight: 600; letter-spacing: .02em; }
.copy-btn {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #04220f;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: transform .12s, filter .15s;
}
.copy-btn:hover { filter: brightness(1.1); }
.copy-btn:active { transform: scale(.95); }
.copy-btn.copied { background: #294; }
.copy-btn.small { padding: 6px 12px; font-size: 12px; }

.hero-stats { display: flex; justify-content: center; gap: 46px; margin-bottom: 40px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats .n { font-size: 30px; font-weight: 800; color: var(--green); }
.hero-stats .l { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .06em; }

.cta {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
  font-weight: 600;
  transition: color .15s, border-color .15s;
}
.cta:hover { color: var(--green); border-color: var(--green); }

/* ---------------- Sections ---------------- */
.section { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; padding: 100px 24px; }
.section.alt { max-width: 100%; background: var(--bg2); }
.section.alt > * { max-width: 1000px; margin-left: auto; margin-right: auto; }
.section h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; text-align: center; margin-bottom: 50px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 20px;
  transition: transform .2s, border-color .2s;
}
.step:hover { transform: translateY(-6px); border-color: var(--green-dark); }
.step-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #04220f; font-weight: 800; display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; }
.step-ip { display: inline-block; margin-top: 8px; background: #0d1512; border: 1px solid var(--border); padding: 6px 10px; border-radius: 6px; color: var(--green); font-family: monospace; }

.version-note { text-align: center; color: var(--text-dim); margin-top: 40px; font-size: 14px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { text-align: center; padding: 20px; }
.feature .emoji { font-size: 34px; margin-bottom: 14px; }
.feature h3 { font-size: 16px; margin-bottom: 8px; }
.feature p { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; }

.rules { list-style: none; max-width: 640px; margin: 0 auto; }
.rules li {
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid var(--border);
  position: relative;
  color: var(--text-dim);
  font-size: 14.5px;
}
.rules li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }

.footer {
  position: relative; z-index: 1;
  text-align: center;
  padding: 50px 24px 60px;
  border-top: 1px solid var(--border);
}
.footer-ip { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 14px; font-size: 15px; }
.footer .dim { color: var(--text-dim); font-size: 13px; }

/* ---------------- Reveal on scroll ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .steps, .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps, .features { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .nav nav a { margin-left: 16px; font-size: 13px; }
}
