:root {
  --bg: #070b18;
  --bg-2: #0c1226;
  --surface: #111833;
  --surface-2: #172044;
  --border: rgba(255, 255, 255, 0.09);
  --border-hi: rgba(198, 255, 61, 0.35);
  --text: #eef2ff;
  --text-2: #9aa6cf;
  --text-3: #6c79a6;
  --accent: #2f6bff;
  --lime: #c6ff3d;
  --lime-2: #90ef00;
  --heart: #ff4d7d;
  --radius: 20px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
img { display: block; max-width: 100%; }
code { font-family: Consolas, ui-monospace, monospace; font-size: 0.9em; background: rgba(255, 255, 255, 0.08); padding: 2px 6px; border-radius: 6px; }
.hidden { display: none !important; }

/* Ambient glows */
.bg-orb { position: fixed; border-radius: 50%; filter: blur(130px); pointer-events: none; z-index: -1; opacity: 0.32; }
.orb-1 { width: 520px; height: 520px; top: -180px; left: -120px; background: rgba(47, 107, 255, 0.65); }
.orb-2 { width: 460px; height: 460px; top: 220px; right: -160px; background: rgba(198, 255, 61, 0.35); }

.container { width: min(1240px, 100% - 36px); margin: 0 auto; }

/* Navbar */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 24, 0.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; flex: none; }
.brand img { border-radius: 10px; border: 1px solid rgba(255,255,255,0.14); }
.brand b { color: var(--lime); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 24px; color: var(--text-2); font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 10px; }

.lang-pills { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 3px; }
.lang-pills button { font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; color: var(--text-2); transition: 0.15s; }
.lang-pills button.on { background: var(--surface-2); color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 800; border-radius: 999px; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-lime {
  background: linear-gradient(135deg, var(--lime), var(--lime-2));
  color: #080d1c;
  box-shadow: 0 14px 34px -10px rgba(198, 255, 61, 0.55);
}
.btn-lime small { font-weight: 800; opacity: 0.72; font-size: 12px; }
.btn-lime:hover { box-shadow: 0 18px 40px -8px rgba(198, 255, 61, 0.7); }
.btn-soft { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.btn-soft:hover { background: #202c5c; border-color: rgba(255,255,255,0.18); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,0.09); }

/* Hero */
.hero { padding: 54px 0 42px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 38px; align-items: center; }
.live-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(198, 255, 61, 0.1); border: 1px solid rgba(198, 255, 61, 0.3);
  color: var(--lime); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; margin-bottom: 18px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.hero h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 900; line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 16px; }
.hero h1 .lime { color: var(--lime); }
.hero-lead { color: var(--text-2); font-size: 16.5px; max-width: 560px; margin-bottom: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 22px; border-top: 1px solid var(--border); }
.t-stat b { display: block; font-size: 22px; font-weight: 900; color: var(--text); line-height: 1.1; }
.t-stat span { font-size: 12px; color: var(--text-3); font-weight: 600; }

.video-frame {
  position: relative; border-radius: 22px; overflow: hidden;
  background: #050812; border: 1.5px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65), 0 0 60px rgba(47, 107, 255, 0.2);
  aspect-ratio: 16 / 9;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-controls { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 8px; }
.vc-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 12px; border-radius: 999px;
  background: rgba(7, 11, 24, 0.78); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; font-size: 12px; font-weight: 700;
}
.vc-btn:hover { background: rgba(47, 107, 255, 0.85); }
.media-caption { text-align: center; font-size: 12px; color: var(--text-3); margin-top: 10px; font-weight: 600; }

/* Sections */
.section { padding: 62px 0; }
.alt-sec { background: linear-gradient(180deg, rgba(17, 24, 51, 0.55), rgba(12, 18, 38, 0.25)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kicker { font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; color: var(--lime); text-transform: uppercase; margin-bottom: 6px; }
.center-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.center-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; letter-spacing: -0.02em; }

/* Catalog header & filters */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.sec-head h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 900; letter-spacing: -0.02em; }
.sec-head h2 small { font-size: 16px; color: var(--text-3); font-weight: 700; }
.cat-controls { display: flex; gap: 10px; flex-wrap: wrap; }
.search-wrap { position: relative; min-width: 260px; flex: 1; }
.search-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 14px; opacity: 0.65; pointer-events: none; }
.search-wrap input {
  width: 100%; height: 42px; padding: 0 14px 0 38px; border-radius: 999px;
  background: var(--surface); border: 1.5px solid var(--border); outline: 0; font-size: 14px;
}
.search-wrap input:focus { border-color: var(--accent); }
.select-ctrl {
  height: 42px; padding: 0 16px; border-radius: 999px;
  background: var(--surface); border: 1.5px solid var(--border); outline: 0; font-size: 13.5px; font-weight: 700; cursor: pointer;
}

.cat-pills, .brand-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.brand-pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; margin-bottom: 20px; }
.brand-pills::-webkit-scrollbar { display: none; }
.fpill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 14px; border-radius: 999px; flex: none;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-2);
  font-size: 13px; font-weight: 700; transition: 0.15s;
}
.fpill:hover { border-color: rgba(255,255,255,0.22); color: var(--text); }
.fpill.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.fpill span { font-size: 11px; opacity: 0.75; }

/* Mod grid */
.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); gap: 18px; }
.mod-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 10px; transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.mod-card:hover { transform: translateY(-4px); border-color: rgba(47, 107, 255, 0.55); box-shadow: var(--shadow); }
.mc-media { position: relative; aspect-ratio: 16 / 10.5; border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.mc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.mod-card:hover .mc-media img { transform: scale(1.05); }
.mc-size {
  position: absolute; left: 8px; bottom: 8px;
  padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800;
  background: rgba(7, 11, 24, 0.74); backdrop-filter: blur(6px); color: #fff;
}
.mc-photos {
  position: absolute; right: 8px; bottom: 8px;
  padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700;
  background: rgba(7, 11, 24, 0.74); color: #d8e1ff;
}
.mc-body { padding: 12px 6px 4px; display: flex; flex-direction: column; flex: 1; }
.mc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mc-top h3 { font-size: 15.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-ver { font-size: 11px; font-weight: 800; color: #8cb2ff; background: rgba(47, 107, 255, 0.18); padding: 2px 7px; border-radius: 7px; flex: none; }
.mc-sub { font-size: 12.5px; color: var(--text-2); margin-top: 4px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mc-stats { display: inline-flex; gap: 8px; font-size: 11.5px; color: var(--text-3); flex: none; }
.mc-stats .lk { color: var(--heart); }
.mc-actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8px; margin-top: 12px; }
.mc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  height: 36px; border-radius: 999px; font-size: 12.5px; font-weight: 800; transition: 0.15s;
}
.mc-btn.ghost { background: var(--surface-2); color: var(--text); }
.mc-btn.ghost:hover { background: #223062; }
.mc-btn.dl { background: var(--accent); color: #fff; }
.mc-btn.dl:hover { filter: brightness(1.12); }

.sk-card { height: 290px; border-radius: var(--radius); background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: sk 1.3s infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.load-more-wrap { text-align: center; margin-top: 28px; }
.empty-box { grid-column: 1 / -1; text-align: center; padding: 50px 20px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); color: var(--text-2); }

/* Steps & App showcase */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 34px; }
.step-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.step-num { font-size: 32px; font-weight: 900; color: var(--lime); line-height: 1; margin-bottom: 12px; }
.step-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-2); }
.app-showcase { border-radius: 24px; overflow: hidden; border: 1.5px solid rgba(255,255,255,0.12); box-shadow: var(--shadow); }
.app-showcase img { width: 100%; }

/* Comparison */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cmp-card { border-radius: var(--radius); padding: 26px; border: 1.5px solid var(--border); background: var(--surface); }
.cmp-card.good { border-color: var(--border-hi); background: linear-gradient(155deg, rgba(198,255,61,0.08), var(--surface) 55%); }
.cmp-tag { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; margin-bottom: 14px; color: var(--text-3); }
.cmp-card.good .cmp-tag { color: var(--lime); }
.cmp-card ul { list-style: none; display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; color: var(--text-2); font-weight: 600; }
.cmp-card.good ul { color: var(--text); }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px 20px; }
.faq-item summary { font-weight: 800; font-size: 15.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--lime); font-weight: 700; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: 12px; color: var(--text-2); font-size: 14.5px; }
.faq-item a { color: var(--lime); text-decoration: underline; }

/* CTA Banner */
.cta-banner {
  background: radial-gradient(circle at 85% 20%, rgba(198, 255, 61, 0.16), transparent 55%),
              linear-gradient(135deg, #131c3d, #0d142c);
  border: 1.5px solid var(--border-hi); border-radius: 28px; padding: 40px;
  box-shadow: var(--shadow);
}
.cta-banner h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; margin-bottom: 10px; }
.cta-banner p { color: var(--text-2); max-width: 660px; margin-bottom: 24px; font-size: 15.5px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 28px 0 38px; color: var(--text-3); font-size: 13px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { border-radius: 6px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 600; }
.footer-links a:hover { color: var(--text); }

/* Mod Detail SSR Page */
.mod-detail-wrap { padding: 26px 0 70px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--text-3); margin-bottom: 22px; font-weight: 600; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb b { color: var(--text); }
.mod-detail-grid { display: grid; grid-template-columns: 1.35fr 0.95fr; gap: 28px; align-items: start; }
.mod-main-photo { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface); border: 1px solid var(--border); }
.mod-main-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-badges { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; }
.pill-badge { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; background: rgba(7,11,24,0.78); backdrop-filter: blur(8px); }
.pill-badge.accent { background: var(--accent); color: #fff; }
.mod-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.mthumb { width: 92px; height: 60px; flex: none; border-radius: 12px; overflow: hidden; border: 2px solid transparent; opacity: 0.72; transition: 0.15s; }
.mthumb img { width: 100%; height: 100%; object-fit: cover; }
.mthumb.on, .mthumb:hover { opacity: 1; border-color: var(--lime); }

.panel-box { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 24px; }
.sticky-box { position: sticky; top: 88px; }
.mod-h1 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; line-height: 1.15; margin: 4px 0 10px; }
.mod-meta-line { display: flex; flex-wrap: wrap; gap: 8px; color: var(--text-2); font-size: 13.5px; margin-bottom: 20px; }
.dl-subnote { font-size: 12px; color: var(--text-3); margin: 10px 0 20px; text-align: center; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.spec-cell { background: var(--surface-2); border-radius: 13px; padding: 10px 12px; }
.spec-cell span { display: block; font-size: 11px; color: var(--text-3); font-weight: 700; text-transform: uppercase; }
.spec-cell b { font-size: 14px; font-weight: 800; }
.trust-mini { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text-2); padding: 14px; background: rgba(198,255,61,0.06); border: 1px solid rgba(198,255,61,0.18); border-radius: 14px; margin-bottom: 18px; }
.support-mini { text-align: center; font-size: 12.5px; color: var(--text-2); }
.support-mini-btns { display: flex; justify-content: center; gap: 10px; margin-top: 10px; }
.mod-desc { color: var(--text-2); font-size: 14.5px; white-space: pre-line; margin-top: 10px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag-pill { font-size: 12px; font-weight: 700; color: var(--text-2); background: var(--surface-2); padding: 4px 10px; border-radius: 999px; }
.related-sec { margin-top: 52px; }
.link-more { font-size: 14px; font-weight: 700; color: var(--lime); }

/* Modal */
.modal-back {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 7, 16, 0.78); backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 20px;
}
.modal-card {
  position: relative; width: min(520px, 100%);
  background: var(--surface); border: 1.5px solid var(--border-hi); border-radius: 26px;
  padding: 28px; box-shadow: 0 32px 90px rgba(0,0,0,0.7);
}
.modal-x {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface-2); color: var(--text-2); font-size: 16px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.modal-x:hover { color: var(--text); background: #263469; }
.modal-card h3 { font-size: 22px; font-weight: 900; margin-bottom: 14px; }
.install-steps { margin: 0 0 22px 18px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text-2); }
.install-steps b { color: var(--text); }
.modal-acts { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .mod-detail-grid, .compare-grid, .steps-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { padding: 28px 22px; }
}
@media (max-width: 560px) {
  .hero { padding: 30px 0 28px; }
  .btn-lg { width: 100%; }
  .nav-inner { gap: 8px; }
  .brand span { font-size: 15px; }
}
