:root {
  --bg: #0c0e0c;
  --panel: #141714;
  --card: #181d18;
  --lime: #b6ff1f;
  --lime-dim: #7fae14;
  --fg: #e8f3df;
  --dim: #93a48a;
  --pink: #ff7ad9;
  --thick: 3px solid #0a0c0a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  overflow-x: hidden;
}
/* floating lime blobs */
.blobs span {
  position: fixed; border-radius: 50%; z-index: 0; opacity: .14;
  background: radial-gradient(circle at 35% 35%, var(--lime), var(--lime-dim));
  animation: float 9s ease-in-out infinite;
}
.blobs span:nth-child(1) { width: 180px; height: 180px; left: -50px; top: 12%; }
.blobs span:nth-child(2) { width: 90px; height: 90px; right: 6%; top: 8%; animation-delay: -2s; }
.blobs span:nth-child(3) { width: 130px; height: 130px; right: 12%; top: 64%; animation-delay: -5s; }
.blobs span:nth-child(4) { width: 70px; height: 70px; left: 8%; top: 78%; animation-delay: -3s; }
.blobs span:nth-child(5) { width: 220px; height: 220px; left: 40%; top: 42%; animation-delay: -7s; opacity: .07; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-34px) rotate(14deg); }
}
header.nav, section, footer { position: relative; z-index: 1; }
/* nav */
header.nav {
  display: flex; align-items: center; gap: 22px;
  padding: 16px 28px; max-width: 1100px; margin: 0 auto;
}
.logo { font-size: 26px; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.lime-dot {
  width: 26px; height: 26px; border-radius: 50%; display: inline-block;
  background: radial-gradient(circle at 35% 35%, var(--lime), var(--lime-dim));
  border: var(--thick); animation: spin 7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
header.nav nav { display: flex; gap: 18px; margin-left: auto; }
header.nav nav a { color: var(--dim); text-decoration: none; font-weight: 700; }
header.nav nav a:hover { color: var(--lime); }
/* buttons */
.btn {
  display: inline-block; background: var(--lime); color: #0c0e0c;
  font-weight: 900; text-decoration: none; padding: 10px 22px;
  border-radius: 999px; border: var(--thick);
  box-shadow: 4px 4px 0 #000; transition: transform .12s, box-shadow .12s;
  cursor: pointer; font-size: 16px;
}
.btn:hover { transform: translate(-2px, -2px) rotate(-1deg); box-shadow: 6px 6px 0 #000; }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #000; }
.btn.big { font-size: 19px; padding: 14px 34px; }
.btn.ghost { background: transparent; color: var(--lime); box-shadow: 4px 4px 0 var(--lime-dim); }
.btn.discord { background: #7b8cff; }
.btn:disabled { filter: grayscale(1); cursor: not-allowed; transform: none; }
/* hero */
.hero { text-align: center; padding: 40px 20px 60px; max-width: 860px; margin: 0 auto; }
.hero h1 { font-size: clamp(44px, 8vw, 84px); font-weight: 900; line-height: 1.02; }
.hl {
  color: var(--lime); display: inline-block;
  animation: wiggle 2.4s ease-in-out infinite;
}
@keyframes wiggle { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg) scale(1.04); } }
.sub { color: var(--dim); font-size: 19px; margin: 18px auto 26px; max-width: 640px; }
.cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.badges span {
  background: var(--panel); border: 2px dashed var(--lime-dim); color: var(--lime);
  border-radius: 999px; padding: 6px 16px; font-size: 14px; font-weight: 700;
}
/* lime slice mascot */
.hero-lime { display: flex; justify-content: center; margin-bottom: 8px; }
.slice {
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--lime); border: 5px solid #0a0c0a;
  position: relative; animation: bounce 2.2s ease-in-out infinite;
  box-shadow: 6px 6px 0 #000;
}
@keyframes bounce { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-18px) rotate(4deg); } }
.slice i {
  position: absolute; left: 50%; top: 50%; width: 7px; height: 46px;
  background: #0c0e0c; border-radius: 4px; transform-origin: 50% 0%;
}
.slice i:nth-child(1) { transform: rotate(0deg) translate(-50%, 6px); }
.slice i:nth-child(2) { transform: rotate(45deg) translate(-50%, 6px); }
.slice i:nth-child(3) { transform: rotate(90deg) translate(-50%, 6px); }
.slice i:nth-child(4) { transform: rotate(135deg) translate(-50%, 6px); }
.slice i:nth-child(5) { transform: rotate(180deg) translate(-50%, 6px); }
.slice i:nth-child(6) { transform: rotate(225deg) translate(-50%, 6px); }
.slice i:nth-child(7) { transform: rotate(270deg) translate(-50%, 6px); }
.slice i:nth-child(8) { transform: rotate(315deg) translate(-50%, 6px); }
/* marquee */
.marquee { overflow: hidden; background: var(--lime); border-top: var(--thick); border-bottom: var(--thick); }
.track { display: inline-flex; white-space: nowrap; animation: slide 22s linear infinite; }
.track span { color: #0c0e0c; font-weight: 900; padding: 10px 0; font-size: 17px; }
@keyframes slide { to { transform: translateX(-50%); } }
/* sections */
section { max-width: 1100px; margin: 0 auto; padding: 64px 22px 20px; }
h2 { font-size: clamp(30px, 5vw, 46px); font-weight: 900; text-align: center; margin-bottom: 8px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 30px; }
.card {
  background: var(--card); border: var(--thick); border-radius: 22px;
  padding: 26px 22px; box-shadow: 6px 6px 0 #000;
  transition: transform .15s;
}
.card:hover { transform: translateY(-6px) rotate(-.6deg); }
.card .emoji { font-size: 38px; }
.card h3 { margin: 10px 0 8px; font-size: 22px; }
.card p { color: var(--dim); line-height: 1.55; }
.card .price { font-size: 40px; font-weight: 900; color: var(--lime); margin: 6px 0 10px; }
.card .btn { margin-top: 14px; }
.card.hot { background: #1d2412; outline: 3px solid var(--lime); position: relative; }
.pop {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  background: var(--pink); color: #0c0e0c; font-weight: 900; font-size: 13px;
  padding: 4px 14px; border-radius: 999px; border: var(--thick); white-space: nowrap;
}
.note { text-align: center; color: var(--dim); margin-top: 22px; }
/* code windows */
.code-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin-top: 30px; }
@media (max-width: 800px) { .code-grid { grid-template-columns: 1fr; } .arrow { transform: rotate(90deg); text-align: center; } }
.arrow { font-size: 40px; color: var(--lime); font-weight: 900; }
.win {
  background: #0a0c0a; border: var(--thick); border-radius: 18px;
  overflow: hidden; box-shadow: 6px 6px 0 #000;
}
.win .bar { background: var(--panel); padding: 10px 14px; display: flex; gap: 7px; align-items: center; }
.win .bar i { width: 12px; height: 12px; border-radius: 50%; background: #3a423a; }
.win .bar i:nth-child(1) { background: #ff5f57; }
.win .bar i:nth-child(2) { background: #febc2e; }
.win .bar i:nth-child(3) { background: #28c840; }
.win .bar span { margin-left: 8px; color: var(--dim); font-size: 13px; font-family: Consolas, monospace; }
.win pre {
  padding: 18px; font-family: Consolas, monospace; font-size: 14px; line-height: 1.6;
  min-height: 220px; white-space: pre-wrap; word-break: break-all; color: var(--fg);
}
.tok-k { color: var(--pink); } .tok-s { color: var(--lime); } .tok-n { color: #7b8cff; } .tok-c { color: #5a6656; }
/* demo-box is shared with the dashboard obfuscator */
.demo-box { max-width: 720px; margin: 0 auto; display: grid; gap: 14px; }
.demo-box textarea {
  background: #0a0c0a; color: var(--fg); border: var(--thick); border-radius: 18px;
  padding: 16px; font-family: Consolas, monospace; font-size: 14px; min-height: 130px;
  resize: vertical; box-shadow: 6px 6px 0 #000;
}
.demo-box pre {
  background: #0a0c0a; border: var(--thick); border-radius: 18px; padding: 16px;
  font-family: Consolas, monospace; font-size: 13px; text-align: left;
  min-height: 110px; white-space: pre-wrap; word-break: break-all; color: var(--lime);
}
.left { color: var(--dim); font-weight: 700; }
/* faq */
.faq details {
  background: var(--card); border: var(--thick); border-radius: 16px;
  margin: 12px auto; max-width: 760px; padding: 16px 20px; box-shadow: 4px 4px 0 #000;
}
.faq summary { font-weight: 900; font-size: 18px; cursor: pointer; }
.faq summary:hover { color: var(--lime); }
.faq details p { color: var(--dim); margin-top: 10px; line-height: 1.6; }
/* footer */
footer { text-align: center; padding: 50px 20px 60px; color: var(--dim); }
footer .logo { justify-content: center; margin-bottom: 10px; }
footer a { color: var(--lime); }
.tiny { font-size: 13px; margin-top: 8px; opacity: .7; }

/* account + auth modal */
.btn.small { font-size: 14px; padding: 8px 18px; }
.acct { display: flex; align-items: center; gap: 10px; }
.acct .who { color: var(--lime); font-weight: 900; font-size: 15px; white-space: nowrap; }
.modal-back {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(0, 0, 0, .65);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal-back[hidden] { display: none; }
.modal {
  background: var(--card); border: var(--thick); border-radius: 22px;
  box-shadow: 6px 6px 0 #000; padding: 30px 28px;
  max-width: 380px; width: 100%; position: relative;
  display: grid; gap: 12px;
}
.modal h3 { font-size: 24px; font-weight: 900; }
.modal label { display: grid; gap: 6px; color: var(--dim); font-weight: 700; font-size: 14px; }
.modal input {
  background: #0a0c0a; color: var(--fg); border: var(--thick); border-radius: 12px;
  padding: 10px 12px; font-size: 16px; font-family: inherit;
}
.modal input:focus { outline: 2px solid var(--lime); }
.modal .err { color: var(--pink); font-weight: 700; min-height: 20px; font-size: 14px; }
.modal .x {
  position: absolute; top: 10px; right: 12px;
  background: none; border: none; color: var(--dim);
  font-size: 18px; cursor: pointer;
}
.modal .x:hover { color: var(--lime); }
/* download section */
.download { text-align: center; }
.download .center { color: var(--dim); margin: 10px 0 22px; }

/* tabs */
.tabs {
  position: sticky; top: 0; z-index: 20;
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  max-width: 1100px; margin: 26px auto 0; padding: 12px 18px;
  background: rgba(12, 14, 12, .92);
  border-top: var(--thick); border-bottom: var(--thick);
}
.tabs a {
  color: var(--dim); text-decoration: none; font-weight: 900;
  padding: 8px 20px; border-radius: 999px; border: 2px solid transparent;
}
.tabs a:hover { color: var(--lime); }
.tabs a.active {
  color: #0c0e0c; background: var(--lime);
  border: 2px solid #0a0c0a; box-shadow: 3px 3px 0 #000;
}
.panel[hidden] { display: none; }
.dpanel[hidden] { display: none; }
.panel.solo { max-width: 860px; }
h2.gap { margin-top: 44px; }
.center { text-align: center; }
.dim { color: var(--dim); }
/* download card */
.dl-card {
  background: var(--card); border: var(--thick); border-radius: 22px;
  box-shadow: 6px 6px 0 #000; padding: 30px 26px;
  max-width: 620px; margin: 26px auto; text-align: center;
  display: grid; gap: 16px; justify-items: center;
}
.dl-ver { font-size: 30px; font-weight: 900; color: var(--lime); }
.sha { font-size: 13px; color: var(--dim); }
.sha code {
  display: inline-block; margin-top: 6px; font-size: 12px;
  background: #0a0c0a; border: 2px solid #0a0c0a; border-radius: 10px;
  padding: 8px 12px; color: var(--lime); word-break: break-all;
  user-select: all;
}
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 30px; }

/* dashboard */
.dash {
  display: flex; gap: 22px; align-items: flex-start;
  max-width: 1100px; margin: 0 auto; padding: 30px 22px 20px;
  position: relative; z-index: 1;
}
.side {
  display: grid; gap: 8px; min-width: 170px; position: sticky; top: 16px;
}
.side button {
  background: var(--panel); color: var(--dim); border: var(--thick);
  border-radius: 14px; padding: 12px 16px; font-weight: 900; font-size: 15px;
  font-family: inherit; cursor: pointer; text-align: left;
  box-shadow: 3px 3px 0 #000;
}
.side button:hover { color: var(--lime); }
.side button.active { background: var(--lime); color: #0c0e0c; }
.side button.ghostle { background: transparent; box-shadow: none; }
.dash-main { flex: 1; min-width: 0; }
.dpanel h2 { text-align: left; }
.dpanel h3 { margin: 26px 0 10px; font-size: 22px; }
.dpanel p { color: var(--dim); line-height: 1.6; margin: 10px 0; }
.info-hero { display: flex; gap: 16px; align-items: center; margin-bottom: 6px; }
.info-hero h2 { margin: 0; }
.lime-dot.big { width: 52px; height: 52px; }
.cta-row.left { justify-content: flex-start; }
.log-row {
  background: var(--card); border: var(--thick); border-radius: 14px;
  padding: 12px 16px; margin: 10px 0; box-shadow: 3px 3px 0 #000;
}
.log-row b { color: var(--lime); margin-right: 10px; }
.log-row p { margin: 6px 0 0; }
.hrow {
  display: flex; gap: 14px; flex-wrap: wrap;
  background: var(--card); border: var(--thick); border-radius: 12px;
  padding: 10px 14px; margin: 8px 0; font-size: 14px;
}
.hrow span:first-child { color: var(--lime); font-weight: 700; }
.demo-box.wide { max-width: none; }
.filebtn { cursor: pointer; }
.dpanel textarea {
  background: #0a0c0a; color: var(--fg); border: var(--thick); border-radius: 18px;
  padding: 16px; font-family: Consolas, monospace; font-size: 14px; min-height: 180px;
  resize: vertical; box-shadow: 6px 6px 0 #000; width: 100%;
}
@media (max-width: 760px) {
  .dash { flex-direction: column; }
  .side { grid-template-columns: 1fr 1fr; width: 100%; position: static; }
}

/* accessibility: calm everything down when the OS asks for it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
