/* ============ LIMES MODDING HUB — lime theme ============ */
:root {
  --bg: #070b06;
  --bg-2: #0b120a;
  --card: #0e160c;
  --line: rgba(140, 255, 0, 0.14);
  --lime: #8cff00;
  --lime-soft: #b6ff5c;
  --lime-deep: #4fae00;
  --text: #eef7e6;
  --muted: #9db38f;
  --dark: #0a1207;
  --radius: 18px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* Custom mascot cursor (desktop pointers only, toggleable via body class) */
@media (pointer: fine) {
  body.mascot-cursor, body.mascot-cursor a, body.mascot-cursor button,
  body.mascot-cursor summary, body.mascot-cursor .card {
    cursor: url("assets/cursor-32.png") 4 4, auto;
  }
  body.mascot-cursor .btn-primary {
    cursor: url("assets/cursor-32.png") 4 4, pointer;
  }
}

.container { width: min(1140px, 92%); margin: 0 auto; }
.container.narrow { width: min(760px, 92%); }
.lime { color: var(--lime); }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 6, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.8rem 0;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 800; font-size: 1.15rem; }
.brand em { font-style: normal; color: var(--lime); }
.brand-mark { width: 40px; height: 40px; object-fit: contain; border-radius: 12px; background: #101a0d; border: 1px solid var(--line); }
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; }
.nav-links a:hover { color: var(--lime); }
.nav-cta { display: flex; gap: 0.6rem; margin-left: 1rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 0.5rem 0.6rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--lime); margin: 4px 0; border-radius: 2px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-block; text-decoration: none; font-weight: 800;
  border-radius: 12px; padding: 0.6rem 1.2rem; border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--lime); color: #0a1207; box-shadow: 0 0 24px rgba(140, 255, 0, 0.35); }
.btn-primary:hover { background: var(--lime-soft); box-shadow: 0 0 34px rgba(140, 255, 0, 0.55); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(140, 255, 0, 0.06); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-dark { background: var(--dark); color: var(--lime); border: 1px solid var(--dark); }
.btn-lg { padding: 0.9rem 1.7rem; font-size: 1.05rem; }
.btn-block { display: block; text-align: center; margin-top: 1rem; }

/* ============ HERO ============ */
.hero { position: relative; padding: 5rem 0 4rem; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 70%;
  background: radial-gradient(ellipse 60% 60% at 70% 30%, rgba(140, 255, 0, 0.16), transparent 70%),
              radial-gradient(ellipse 40% 50% at 20% 80%, rgba(140, 255, 0, 0.08), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; position: relative; }
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.35rem 0.9rem; font-size: 0.85rem; font-weight: 700; color: var(--lime-soft);
  background: rgba(140, 255, 0, 0.07); margin-bottom: 1.2rem;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1.05; letter-spacing: -1px; }
.lede { color: var(--muted); font-size: 1.15rem; margin: 1.2rem 0 1.8rem; max-width: 34rem; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.stats { display: flex; gap: 2.2rem; margin-top: 2.2rem; }
.stats dt { font-size: 1.7rem; font-weight: 800; color: var(--lime); }
.stats dd { color: var(--muted); font-size: 0.9rem; }

.hero-art { display: flex; justify-content: center; }
.mascot-card {
  background: linear-gradient(160deg, #101b0d, #0a1207);
  border: 1px solid var(--line); border-radius: 24px;
  padding: 2rem; text-align: center;
  box-shadow: 0 0 60px rgba(140, 255, 0, 0.18);
  animation: float 4s ease-in-out infinite;
}
.mascot-card img { width: min(300px, 60vw); margin: 0 auto; filter: drop-shadow(0 0 30px rgba(140, 255, 0, 0.35)); }
.mascot-caption { color: var(--muted); font-size: 0.9rem; margin-top: 1rem; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ============ TICKER ============ */
.ticker { border-block: 1px solid var(--line); background: var(--lime); color: #0a1207; overflow: hidden; font-weight: 800; }
.ticker-track { display: inline-flex; gap: 1rem; padding: 0.6rem 0; white-space: nowrap; animation: tick 22s linear infinite; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.kicker { color: var(--lime); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; }
.section h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.5px; margin: 0.4rem 0 0.6rem; }
.section-sub { color: var(--muted); margin-bottom: 2.2rem; max-width: 38rem; }
.grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--lime); box-shadow: 0 12px 40px rgba(140, 255, 0, 0.12); }
.card-icon { font-size: 1.8rem; margin-bottom: 0.6rem; }
.card h3 { margin-bottom: 0.4rem; font-size: 1.2rem; }
.card p { color: var(--muted); }

/* Products */
.product { text-align: center; position: relative; }
.product.featured { border-color: var(--lime); box-shadow: 0 0 44px rgba(140, 255, 0, 0.18); }
.flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--lime); color: #0a1207; font-weight: 800; font-size: 0.8rem;
  padding: 0.2rem 0.9rem; border-radius: 999px; white-space: nowrap;
}
.product-mascot { width: 84px; margin: 0.4rem auto 0.8rem; filter: drop-shadow(0 0 16px rgba(140, 255, 0, 0.4)); }
.product-tag { color: var(--lime-soft); font-weight: 700; font-size: 0.9rem; margin-bottom: 0.8rem; }
.checklist { list-style: none; text-align: left; margin: 0.4rem 0; }
.checklist li { padding: 0.35rem 0 0.35rem 1.8rem; position: relative; color: var(--text); font-size: 0.95rem; }
.checklist li::before { content: "✔"; position: absolute; left: 0; color: var(--lime); font-weight: 800; }

/* Showcase */
.shot { padding: 1rem; }
.shot-frame { background: #0a1207; border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem; }
.shot-frame img { width: 150px; margin: 0 auto; }
.shot-frame.tint img { filter: hue-rotate(-18deg) saturate(1.4); }
.shot-frame.glow-frame img { filter: drop-shadow(0 0 24px rgba(140, 255, 0, 0.6)); }
.shot figcaption { padding: 0.9rem 0.4rem 0.2rem; display: grid; gap: 0.15rem; }
.shot figcaption span { color: var(--muted); font-size: 0.92rem; }

/* Buy banner */
.buy-banner {
  display: flex; align-items: center; gap: 2rem;
  background: linear-gradient(120deg, var(--lime) 0%, #6ee000 60%, var(--lime-soft) 100%);
  color: #0a1207; border-radius: 26px; padding: 2.6rem;
  box-shadow: 0 0 70px rgba(140, 255, 0, 0.3);
}
.buy-mascot { width: 130px; flex-shrink: 0; animation: float 4s ease-in-out infinite; }
.buy-copy h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -0.5px; }
.buy-copy p { margin: 0.6rem 0 1.3rem; font-weight: 600; opacity: 0.85; max-width: 36rem; }

/* FAQ */
.faq { display: grid; gap: 0.8rem; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0.4rem 1.2rem; }
.faq-item summary { cursor: pointer; font-weight: 800; padding: 0.9rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::after { content: "+"; color: var(--lime); font-size: 1.4rem; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { color: var(--muted); padding-bottom: 1.1rem; }
.faq-item a { color: var(--lime); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 2rem 0; background: var(--bg-2); }
.footer-grid { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-links { display: flex; gap: 1.2rem; margin-left: auto; }
.footer-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--lime); }
.footer-side { display: flex; align-items: center; gap: 1rem; width: 100%; justify-content: space-between; flex-wrap: wrap; }
.cursor-toggle {
  background: rgba(140, 255, 0, 0.08); color: var(--lime);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 1rem; font-weight: 700;
}
.cursor-toggle:hover { border-color: var(--lime); }
.fine { color: var(--muted); font-size: 0.85rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0; }
  .buy-banner { flex-direction: column; text-align: center; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 1rem 4%; gap: 1rem;
  }
  .stats { gap: 1.4rem; flex-wrap: wrap; }
}
