/* ============================================================
   Cronus Zen Marketplace — "Zen" theme
   Design replicated from the ZenScript reference layout, wired to
   the live catalog and real content. Fonts changed to Sora + Inter
   with the tight letter-spacing removed (less compressed).
   Standalone stylesheet: pages using this theme load ONLY this file.
   ============================================================ */
/* Self-hosted fonts (variable, latin subset) — no external Google chain */
@font-face{
  font-family:'Inter';font-style:normal;font-weight:300 700;font-display:swap;
  src:url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:'Manrope';font-style:normal;font-weight:600 800;font-display:swap;
  src:url('/fonts/manrope-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
:root{
  --bg:       #0a0e12;
  --bg2:      #10151b;
  --bg3:      #161d25;
  --border:   #212a33;
  --border2:  #2d3742;
  --text:     #eef2f6;
  --muted:    #97a6b4;
  --dim:      #828e9b;
  --accent:   #34d39a;
  --accent2:  #22b184;
  --accent-deep: #04241b;
  --accent-glow: rgba(52,211,154,0.10);
  --gold:     #e8b866;
  --gold-bg:  rgba(232,184,102,0.09);
  --r:        10px;
  --r-lg:     16px;
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}
html{scroll-behavior:smooth;}
body{font-family:var(--font-body);background:var(--bg);color:var(--text);line-height:1.7;min-height:100vh;-webkit-font-smoothing:antialiased;}
a{color:inherit;}
img{max-width:100%;}

/* ── NAV ── */
nav.site-nav{
  position:sticky;top:0;z-index:200;
  background:rgba(13,17,23,0.96);
  border-bottom:1px solid var(--border);
  backdrop-filter:blur(16px);
  display:flex;align-items:center;justify-content:space-between;
  padding:0 5%;height:68px;
}
.logo{
  font-family:var(--font-display);font-size:1.2rem;font-weight:800;
  color:var(--text);text-decoration:none;letter-spacing:-0.2px;
  display:flex;align-items:center;gap:10px;
}
.logo small{display:block;font-family:var(--font-body);font-size:0.62rem;font-weight:500;color:var(--muted);letter-spacing:1px;text-transform:uppercase;}
.logo-mark{
  width:32px;height:32px;border-radius:7px;
  background:linear-gradient(135deg,var(--accent) 0%,var(--accent2) 100%);
  display:flex;align-items:center;justify-content:center;
  font-size:0.85rem;color:var(--accent-deep);font-weight:800;flex-shrink:0;
}
.nav-links{display:flex;gap:30px;list-style:none;}
.nav-links a{color:var(--muted);text-decoration:none;font-size:0.9rem;font-weight:500;transition:color .2s;}
.nav-links a:hover,.nav-links a[aria-current="page"]{color:var(--accent);}
.nav-actions{display:flex;align-items:center;gap:10px;}
.btn-cart-nav{
  display:flex;align-items:center;gap:7px;
  background:var(--bg3);border:1px solid var(--border2);border-radius:var(--r);
  padding:9px 16px;font-size:0.85rem;font-weight:500;color:var(--muted);
  cursor:pointer;transition:all .2s;text-decoration:none;
}
.btn-cart-nav:hover{border-color:var(--accent);color:var(--text);}
.badge-count{
  background:var(--accent);color:var(--accent-deep);border-radius:999px;
  font-size:0.68rem;font-weight:700;padding:1px 7px;
}
.nav-cta{
  background:linear-gradient(135deg,var(--accent) 0%,var(--accent2) 100%);
  color:var(--accent-deep);border:none;border-radius:var(--r);
  padding:10px 20px;font-size:0.88rem;font-weight:700;cursor:pointer;
  text-decoration:none;transition:filter .2s;
}
.nav-cta:hover{filter:brightness(1.1);}
.nav-toggle{display:none;align-items:center;justify-content:center;width:42px;height:40px;flex-shrink:0;background:var(--bg3);border:1px solid var(--border2);border-radius:var(--r);color:var(--text);cursor:pointer;}
.nav-toggle:hover{border-color:var(--accent);color:var(--accent);}

/* ── HERO ── */
.hero{padding:0 5%;border-bottom:1px solid var(--border);position:relative;overflow:hidden;}
.hero-bg-grid{
  position:absolute;inset:0;
  background-image:
    linear-gradient(var(--border) 1px,transparent 1px),
    linear-gradient(90deg,var(--border) 1px,transparent 1px);
  background-size:60px 60px;opacity:0.3;
  mask-image:radial-gradient(ellipse 80% 60% at 50% 0%,black 40%,transparent 100%);
  -webkit-mask-image:radial-gradient(ellipse 80% 60% at 50% 0%,black 40%,transparent 100%);
}
.hero-glow{
  position:absolute;top:-160px;left:50%;transform:translateX(-50%);
  width:800px;height:420px;
  background:radial-gradient(ellipse,rgba(52,211,154,0.10) 0%,transparent 65%);
  pointer-events:none;
}
.hero-top{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;padding:100px 0 68px;}
.hero-label{
  display:inline-flex;align-items:center;gap:8px;
  border:1px solid var(--border2);border-radius:999px;
  padding:6px 16px 6px 12px;font-size:0.78rem;font-weight:600;
  color:var(--muted);margin-bottom:28px;
}
.hero-label-dot{width:7px;height:7px;background:var(--accent);border-radius:50%;display:inline-block;animation:pulseDot 2s infinite;box-shadow:0 0 8px var(--accent);}
@keyframes pulseDot{0%,100%{opacity:1;}50%{opacity:0.25;}}
.hero h1{
  font-family:var(--font-display);
  font-size:clamp(2.4rem,5vw,4rem);
  font-weight:800;line-height:1.15;letter-spacing:-0.3px;
  color:var(--text);margin-bottom:22px;max-width:800px;
}
.hero h1 span{color:var(--accent);}
.hero-sub{font-size:1.05rem;color:var(--muted);max-width:580px;margin:0 auto 38px;line-height:1.8;font-weight:400;}
.hero-ctas{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;}
.btn-hero{
  background:linear-gradient(135deg,var(--accent) 0%,var(--accent2) 100%);
  color:var(--accent-deep);border:none;border-radius:var(--r);
  padding:15px 32px;font-size:0.98rem;font-weight:700;
  cursor:pointer;text-decoration:none;display:inline-block;transition:filter .2s,box-shadow .2s;
}
.btn-hero:hover{filter:brightness(1.08);box-shadow:0 8px 28px rgba(52,211,154,0.28);}
.btn-hero-ghost{
  background:transparent;color:var(--muted);border:1px solid var(--border2);border-radius:var(--r);
  padding:15px 32px;font-size:0.98rem;font-weight:500;cursor:pointer;
  text-decoration:none;display:inline-block;transition:all .2s;
}
.btn-hero-ghost:hover{border-color:var(--accent);color:var(--text);}

/* ── HERO STATS ── */
.hero-stats{position:relative;display:flex;border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden;background:var(--bg2);margin-bottom:68px;}
.stat{flex:1;padding:22px 24px;text-align:center;border-right:1px solid var(--border);}
.stat:last-child{border-right:none;}
.stat-n{font-family:var(--font-display);font-size:1.7rem;font-weight:800;color:var(--text);display:block;}
.stat-l{font-size:0.74rem;color:var(--muted);font-weight:500;text-transform:uppercase;letter-spacing:1px;margin-top:3px;}

/* ── TRUST BAR ── */
.trust-bar{background:var(--bg2);border-bottom:1px solid var(--border);padding:16px 5%;display:flex;justify-content:center;gap:44px;flex-wrap:wrap;}
.trust-item{display:flex;align-items:center;gap:8px;font-size:0.84rem;font-weight:500;color:var(--muted);}
.trust-icon{color:var(--accent);font-size:0.9rem;}

/* ── SECTION BASE ── */
.section{padding:90px 5%;}
.section-alt{background:var(--bg2);}
.section-bordered{border-top:1px solid var(--border);border-bottom:1px solid var(--border);}
.eyebrow{font-size:0.72rem;font-weight:700;letter-spacing:2.5px;text-transform:uppercase;color:var(--accent);margin-bottom:14px;}
.section-h{font-family:var(--font-display);font-size:clamp(1.8rem,3.5vw,2.5rem);font-weight:800;letter-spacing:-0.2px;color:var(--text);margin-bottom:12px;line-height:1.2;}
.section-p{color:var(--muted);font-size:0.98rem;max-width:520px;line-height:1.8;}
.section-head-row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:36px;}
.link-arrow{color:var(--accent);font-size:0.9rem;font-weight:600;text-decoration:none;white-space:nowrap;}
.link-arrow:hover{filter:brightness(1.15);}

/* ── WHY US ── */
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--border);border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden;}
.why-card{background:var(--bg);padding:34px 30px;transition:background .2s;}
.why-card:hover{background:var(--bg2);}
.why-icon{width:46px;height:46px;border-radius:10px;background:var(--accent-glow);border:1px solid rgba(52,211,154,0.25);display:flex;align-items:center;justify-content:center;margin-bottom:22px;color:var(--accent);}
.why-title{font-family:var(--font-display);font-size:1.05rem;font-weight:700;color:var(--text);margin-bottom:10px;}
.why-desc{font-size:0.88rem;color:var(--muted);line-height:1.7;}

/* ── GAMES ── */
.games-wrap{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;}
.game-chip{background:var(--bg3);border:1px solid var(--border);border-radius:999px;padding:9px 18px;font-size:0.86rem;font-weight:500;color:var(--muted);transition:all .2s;text-decoration:none;}
.game-chip:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-glow);}

/* ── FILTER ── */
.filter-row{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:32px;}
.filt{background:var(--bg3);border:1px solid var(--border);border-radius:999px;padding:8px 18px;font-size:0.84rem;font-weight:500;color:var(--muted);cursor:pointer;transition:all .2s;}
.filt:hover,.filt.on{background:var(--accent);border-color:var(--accent);color:var(--accent-deep);}

/* ── PRODUCT / LIVE SCRIPT GRID ── */
.pgrid-wrap{border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden;}
.pgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1px;background:var(--border);}
.result-count{color:var(--muted);font-size:0.86rem;margin-bottom:18px;}

/* live script cards rendered by script.js (renderScriptCard) */
.live-script-card{
  background:var(--bg);padding:30px;position:relative;
  display:flex;flex-direction:column;transition:background .2s;min-height:280px;
}
.live-script-card:hover{background:var(--bg2);}
.live-script-card .diff{
  position:absolute;top:22px;right:26px;
  font-size:0.62rem;font-weight:700;letter-spacing:1px;color:var(--dim);
}
.live-script-card .top{display:flex;align-items:center;gap:8px;margin-bottom:16px;}
.live-script-card .top .game{font-size:0.72rem;font-weight:600;letter-spacing:0.4px;color:var(--muted);text-transform:uppercase;}
.live-script-card .badge{
  border-radius:999px;font-size:0.62rem;font-weight:700;letter-spacing:0.6px;
  text-transform:uppercase;padding:3px 10px;
}
.live-script-card .badge.free{background:var(--accent-glow);color:var(--accent);border:1px solid rgba(52,211,154,0.3);}
.live-script-card .badge.premium{background:var(--gold-bg);color:var(--gold);border:1px solid rgba(251,191,36,0.25);}
.live-script-card h2{font-family:var(--font-display);font-size:1.2rem;font-weight:800;line-height:1.3;margin-bottom:10px;}
.live-script-card h2 a{color:var(--text);text-decoration:none;}
.live-script-card h2 a:hover{color:var(--accent);}
.live-script-card .desc{font-size:0.86rem;color:var(--muted);line-height:1.65;margin-bottom:18px;}
.live-script-card .tags{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:20px;}
.live-script-card .tag{background:var(--bg3);border:1px solid var(--border);border-radius:4px;font-size:0.68rem;font-weight:600;color:var(--dim);padding:3px 9px;}
.live-script-card .foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:20px;border-top:1px solid var(--border);margin-top:auto;}
.live-script-card .foot .plat{display:block;font-size:0.66rem;color:var(--dim);text-transform:uppercase;letter-spacing:0.6px;margin-bottom:2px;}
.live-script-card .price{font-family:var(--font-display);font-size:1.5rem;font-weight:800;color:var(--text);line-height:1;}
.live-script-card .price.free-price{color:var(--accent);}
.live-script-card .get{
  background:linear-gradient(135deg,var(--accent) 0%,var(--accent2) 100%);
  color:var(--accent-deep);border:none;border-radius:var(--r);
  padding:11px 20px;font-size:0.85rem;font-weight:700;cursor:pointer;
  text-decoration:none;white-space:nowrap;transition:filter .2s;
}
.live-script-card .get:hover{filter:brightness(1.08);}
.directory-empty{grid-column:1/-1;padding:48px 20px;text-align:center;color:var(--muted);background:var(--bg);border:1px dashed var(--border2);font-size:0.9rem;}
.pagination{display:flex;gap:6px;justify-content:center;margin-top:26px;}
.pagination button{background:var(--bg3);border:1px solid var(--border);border-radius:var(--r);color:var(--muted);padding:8px 14px;cursor:pointer;font-size:0.85rem;}
.pagination button[aria-current="page"]{background:var(--accent);border-color:var(--accent);color:var(--accent-deep);font-weight:700;}

/* ── HOW IT WORKS ── */
.how-grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden;}
.how-step{padding:38px 30px;border-right:1px solid var(--border);}
.how-step:last-child{border-right:none;}
.how-num{font-family:var(--font-display);font-size:3rem;font-weight:800;color:#626d7a;line-height:1;margin-bottom:20px;}
.how-title{font-family:var(--font-display);font-size:1.05rem;font-weight:700;color:var(--text);margin-bottom:10px;}
.how-desc{font-size:0.88rem;color:var(--muted);line-height:1.7;}

/* ── REVIEWS ── */
.reviews-head{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin-bottom:36px;}
.reviews-score{display:flex;align-items:center;gap:8px;font-size:0.88rem;color:var(--muted);}
.reviews-score .stars{color:var(--gold);letter-spacing:2px;font-size:0.95rem;}
.test-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.test-card{background:var(--bg);border:1px solid var(--border);border-radius:var(--r-lg);padding:30px;transition:border-color .2s;}
.test-card:hover{border-color:var(--border2);}
.test-stars{color:var(--gold);font-size:0.95rem;letter-spacing:3px;margin-bottom:18px;}
.test-quote{font-size:0.9rem;color:var(--text);line-height:1.8;margin-bottom:26px;}
.test-author{display:flex;align-items:center;gap:12px;}
.test-avatar{width:42px;height:42px;border-radius:50%;background:var(--accent-glow);border:1px solid rgba(52,211,154,0.25);display:flex;align-items:center;justify-content:center;font-family:var(--font-display);font-weight:800;font-size:0.82rem;color:var(--accent);flex-shrink:0;}
.test-name{font-size:0.88rem;font-weight:600;color:var(--text);}
.test-meta{font-size:0.76rem;color:var(--muted);margin-top:1px;}

/* ── FAQ ── */
.faq-wrap{display:flex;flex-direction:column;gap:1px;background:var(--border);border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden;max-width:860px;}
.faq-item{background:var(--bg);}
.faq-item.open{background:var(--bg2);}
.faq-btn{width:100%;background:none;border:none;text-align:left;font-family:var(--font-body);font-size:0.95rem;font-weight:600;color:var(--text);padding:22px 28px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:20px;transition:color .2s;}
.faq-btn:hover{color:var(--accent);}
.faq-ico{width:24px;height:24px;border:1px solid var(--border2);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:1.1rem;color:var(--muted);transition:all .25s;line-height:1;}
.faq-item.open .faq-ico{transform:rotate(45deg);border-color:var(--accent);color:var(--accent);}
.faq-ans{max-height:0;overflow:hidden;transition:max-height .3s ease,padding .3s;font-size:0.9rem;color:var(--muted);line-height:1.8;padding:0 28px;}
.faq-item.open .faq-ans{max-height:400px;padding:0 28px 24px;}

/* ── TEXT / ARTICLE PAGES ── */
.text-wrap{max-width:820px;}
.text-wrap article{padding-bottom:28px;margin-bottom:28px;border-bottom:1px solid var(--border);}
.text-wrap article:last-child{border-bottom:none;margin-bottom:0;}
.text-wrap h2{font-family:var(--font-display);font-size:1.4rem;font-weight:700;color:var(--text);margin-bottom:14px;}
.text-wrap p{color:var(--muted);line-height:1.85;margin-bottom:14px;}

/* ── CONTACT ── */
.contact-wrap{display:grid;grid-template-columns:1fr 1.4fr;gap:70px;align-items:start;}
.contact-meta h2{font-family:var(--font-display);font-size:1.5rem;font-weight:800;color:var(--text);margin-bottom:14px;}
.contact-meta p{font-size:0.92rem;color:var(--muted);line-height:1.8;margin-bottom:30px;}
.contact-row{display:flex;gap:14px;align-items:flex-start;margin-bottom:20px;}
.contact-icon{width:40px;height:40px;background:var(--bg3);border:1px solid var(--border2);border-radius:var(--r);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.contact-row h3{font-size:0.86rem;font-weight:600;color:var(--text);margin-bottom:3px;}
.contact-row p{font-size:0.84rem;color:var(--muted);margin-bottom:0;}
.cform{display:flex;flex-direction:column;gap:16px;}
.crow{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.cfield{display:flex;flex-direction:column;gap:6px;}
.clabel{font-size:0.76rem;font-weight:600;color:var(--muted);letter-spacing:0.5px;text-transform:uppercase;}
.cinput,.ctextarea,.cselect{
  background:var(--bg2);border:1px solid var(--border2);border-radius:var(--r);
  padding:13px 14px;font-family:var(--font-body);font-size:0.9rem;color:var(--text);outline:none;transition:border-color .2s;width:100%;
}
.cinput::placeholder,.ctextarea::placeholder{color:var(--dim);}
.cinput:focus,.ctextarea:focus,.cselect:focus{border-color:var(--accent);background:var(--bg3);}
.ctextarea{resize:vertical;min-height:130px;}
.btn-submit{background:linear-gradient(135deg,var(--accent) 0%,var(--accent2) 100%);color:var(--accent-deep);border:none;border-radius:var(--r);padding:14px 30px;font-size:0.92rem;font-weight:700;cursor:pointer;align-self:flex-start;transition:filter .2s;}
.btn-submit:hover{filter:brightness(1.08);}
.form-note{font-size:0.85rem;padding:12px 16px;border-radius:var(--r);margin-bottom:4px;}
.form-note.ok{background:var(--accent-glow);border:1px solid rgba(52,211,154,0.3);color:var(--accent);}
.form-note.bad{background:rgba(239,68,68,0.1);border:1px solid rgba(239,68,68,0.3);color:#f87171;}
.honeypot-field{position:absolute;left:-9999px;width:1px;height:1px;opacity:0;}

/* ── FOOTER ── */
footer.site-footer{background:var(--bg2);border-top:1px solid var(--border);padding:62px 5% 30px;}
.footer-top{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:48px;margin-bottom:48px;}
.footer-logo{font-family:var(--font-display);font-size:1.1rem;font-weight:800;color:var(--text);text-decoration:none;display:flex;align-items:center;gap:9px;margin-bottom:14px;}
.footer-brand p{font-size:0.86rem;color:var(--muted);line-height:1.8;max-width:250px;}
.footer-col h2{font-size:0.72rem;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--dim);margin-bottom:16px;}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:11px;}
.footer-col a{font-size:0.86rem;color:var(--muted);text-decoration:none;transition:color .2s;}
.footer-col a:hover{color:var(--text);}
.footer-bottom{border-top:1px solid var(--border);padding-top:24px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;}
.footer-bottom p{font-size:0.78rem;color:var(--dim);}

/* ── TOAST ── */
.toast{position:fixed;bottom:24px;right:24px;z-index:400;background:var(--bg3);border:1px solid var(--border2);border-radius:var(--r);padding:14px 20px;font-size:0.85rem;color:var(--text);display:flex;align-items:center;gap:8px;opacity:0;transform:translateY(16px);transition:all .28s;pointer-events:none;box-shadow:0 8px 32px rgba(0,0,0,0.4);}
.toast.on{opacity:1;transform:translateY(0);}

/* ── INTERIOR PAGE HERO ── */
.subhero{position:relative;overflow:hidden;padding:76px 5% 52px;border-bottom:1px solid var(--border);}
.subhero .hero-bg-grid{opacity:0.22;}
.subhero-inner{position:relative;max-width:820px;}
.subhero h1{font-family:var(--font-display);font-size:clamp(2rem,4vw,3rem);font-weight:800;line-height:1.18;letter-spacing:-0.3px;color:var(--text);margin-bottom:16px;}
.subhero p{font-size:1.02rem;color:var(--muted);line-height:1.8;max-width:640px;}

/* ── CATALOG TOOLBAR (scripts page) ── */
.zen-toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:18px;}
.zen-search{flex:1;min-width:240px;display:flex;align-items:center;gap:10px;background:var(--bg2);border:1px solid var(--border2);border-radius:var(--r);padding:12px 16px;}
.zen-search input{flex:1;background:none;border:none;outline:none;color:var(--text);font-family:var(--font-body);font-size:0.92rem;}
.zen-search input::placeholder{color:var(--dim);}
.zen-search svg{width:16px;height:16px;color:var(--dim);flex-shrink:0;}
.toggle-free{display:inline-flex;align-items:center;gap:8px;background:var(--bg3);border:1px solid var(--border2);border-radius:var(--r);padding:11px 18px;font-size:0.85rem;font-weight:500;color:var(--muted);cursor:pointer;transition:all .2s;}
.toggle-free.active,.toggle-free:hover{border-color:var(--accent);color:var(--accent);}
.toggle-free .box{width:16px;height:16px;border:1px solid var(--border2);border-radius:4px;display:inline-flex;align-items:center;justify-content:center;font-size:0.7rem;color:var(--accent-deep);background:transparent;}
.toggle-free.active .box{background:var(--accent);border-color:var(--accent);}
.filter-row{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-bottom:14px;}
.filter-row .label{font-size:0.72rem;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--dim);margin-right:6px;}
.chip{background:var(--bg3);border:1px solid var(--border);border-radius:999px;padding:7px 16px;font-size:0.8rem;font-weight:500;color:var(--muted);cursor:pointer;transition:all .2s;}
.chip:hover,.chip.active{background:var(--accent);border-color:var(--accent);color:var(--accent-deep);}
.filter-groups{display:flex;flex-direction:column;gap:12px;margin-bottom:26px;}

/* ── GAME CATEGORY GRID (games page) ── */
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1px;background:var(--border);border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden;}
.cat-card{background:var(--bg);padding:30px 28px;display:flex;flex-direction:column;transition:background .2s;}
.cat-card:hover{background:var(--bg2);}
.cat-card[hidden]{display:none;}
.cat-card svg{width:30px;height:30px;color:var(--accent);margin-bottom:18px;}
.cat-card .ptag{align-self:flex-start;background:var(--bg3);border:1px solid var(--border);border-radius:4px;font-size:0.66rem;font-weight:600;color:var(--dim);text-transform:uppercase;letter-spacing:0.5px;padding:2px 8px;margin-bottom:12px;}
.cat-card h2{font-family:var(--font-display);font-size:1.15rem;font-weight:800;color:var(--text);margin-bottom:8px;}
.cat-card p{font-size:0.84rem;color:var(--muted);line-height:1.65;margin-bottom:18px;}
.cat-card a.cat-link{margin-top:auto;color:var(--accent);font-size:0.85rem;font-weight:700;text-decoration:none;}
.cat-card a.cat-link:hover{filter:brightness(1.15);}
.game-select-wrap{max-width:320px;margin-bottom:28px;}
.game-select-wrap select{width:100%;background:var(--bg2);border:1px solid var(--border2);border-radius:var(--r);padding:12px 14px;color:var(--text);font-family:var(--font-body);font-size:0.9rem;outline:none;}
.game-select-wrap select:focus{border-color:var(--accent);}

/* ── SUPPORT DETAILS ── */
.support-aside{display:flex;flex-direction:column;gap:14px;}
.support-aside article{background:var(--bg);border:1px solid var(--border);border-radius:var(--r-lg);padding:24px;}
.support-aside svg{width:26px;height:26px;color:var(--accent);margin-bottom:12px;}
.support-aside h2{font-family:var(--font-display);font-size:1rem;font-weight:700;color:var(--text);margin-bottom:6px;}
.support-aside p{font-size:0.85rem;color:var(--muted);line-height:1.7;}

/* ── SCRIPT DETAIL ── */
.detail-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:28px;align-items:start;}
.detail-overview{background:var(--bg);border:1px solid var(--border);border-radius:var(--r-lg);padding:32px;}
.detail-overview > .eyebrow{color:var(--accent);}
.detail-overview p{color:var(--muted);line-height:1.85;margin-bottom:14px;}
.detail-overview h2,.detail-overview h3{font-family:var(--font-display);color:var(--text);margin:20px 0 10px;}
.source-detail-content{margin-top:8px;}
.source-detail-content p{color:var(--muted);line-height:1.85;margin-bottom:14px;}
.detail-checkout{background:var(--bg2);border:1px solid var(--border2);border-radius:var(--r-lg);padding:28px;position:sticky;top:88px;}
.detail-checkout .badge{display:inline-block;background:var(--bg3);border:1px solid var(--border);border-radius:999px;font-size:0.7rem;font-weight:700;text-transform:uppercase;letter-spacing:0.6px;color:var(--muted);padding:4px 12px;margin-bottom:14px;}
.detail-price{display:block;font-family:var(--font-display);font-size:2.2rem;font-weight:800;color:var(--text);line-height:1;margin-bottom:22px;}
.detail-list{display:flex;flex-direction:column;margin-bottom:24px;}
.detail-list > div{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--border);}
.detail-list > div:last-child{border-bottom:none;}
.detail-list dt{font-size:0.82rem;color:var(--dim);}
.detail-list dd{font-size:0.85rem;color:var(--text);font-weight:600;text-align:right;}
.full-width{width:100%;text-align:center;}
.checkout-status{font-size:0.82rem;color:var(--muted);margin-top:14px;text-align:center;}
@media(max-width:820px){.detail-layout{grid-template-columns:1fr;}.detail-checkout{position:static;}}

/* ============================================================
   Professional polish pass
   ============================================================ */
/* Constrain content to a centered max width while keeping section
   backgrounds full-bleed. Biggest win on wide monitors. */
nav.site-nav,
.hero,
.subhero,
.trust-bar,
.section,
footer.site-footer{
  padding-inline: max(24px, calc((100% - 1200px) / 2));
}

/* Green eyebrows now act as section labels — give them room to breathe */
.section > .eyebrow,
.subhero .eyebrow{
  font-size: 0.76rem;
  margin-bottom: 18px;
}

/* Smooth, consistent transitions */
.test-card,
.cat-card,
.why-card,
.live-script-card,
.game-chip,
.btn-hero,
.btn-hero-ghost,
.nav-cta{
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
/* Subtle lift only on standalone (non-grid-line) cards */
.test-card:hover{ transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,0.30); }
.btn-hero:hover{ transform: translateY(-1px); }

/* Accessible focus rings = professional */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Tighter heading rhythm */
.hero h1{ line-height: 1.1; }
.subhero h1{ line-height: 1.16; }

/* A little more air below the hero sub and CTAs at large sizes */
.hero-top{ padding-top: 104px; }

/* ── Component refinement pass ── */
/* Calmer background texture */
.hero-bg-grid{ opacity: 0.15; }
.subhero .hero-bg-grid{ opacity: 0.1; }
nav.site-nav{ background: rgba(10,14,18,0.85); }
.hero-label-dot{ box-shadow: 0 0 6px var(--accent); }

/* Lift card groups off the background for depth */
.pgrid-wrap,.why-grid,.how-grid,.cat-grid,.hero-stats,.faq-wrap{
  box-shadow: 0 20px 44px -28px rgba(0,0,0,0.65);
}

/* Live script cards: cleaner, tighter internals */
.live-script-card{ padding: 28px 26px; min-height: 300px; }
.live-script-card h2{ font-size: 1.14rem; letter-spacing: -0.2px; }
.live-script-card .badge{ padding: 4px 11px; font-size: 0.6rem; }
.live-script-card .diff{ top: 26px; font-size: 0.6rem; color: var(--dim); }
.live-script-card .price{ font-size: 1.45rem; letter-spacing: -0.5px; }
.live-script-card .get{ padding: 10px 18px; font-size: 0.82rem; }
.live-script-card .tag,.ptag{ background: rgba(255,255,255,0.03); border-color: var(--border); color: var(--muted); }

/* Softer, consistent buttons + inputs */
.btn-hero,.btn-hero-ghost{ padding: 14px 30px; font-size: 0.95rem; }
.cinput,.ctextarea,.cselect,.zen-search{ border-radius: 10px; }

/* Eyebrow tuning */
.eyebrow{ letter-spacing: 2px; }

/* Email link (rendered by zen.js) */
.email-link{ color: var(--accent); text-decoration: none; font-weight: 600; }
.email-link:hover{ text-decoration: underline; }

/* ── RESPONSIVE ── */
@media(max-width:1024px){
  .why-grid{grid-template-columns:repeat(2,1fr);}
  .test-grid{grid-template-columns:1fr;}
}
@media(max-width:900px){
  .hero-top{padding:66px 0 42px;}
  .how-grid{grid-template-columns:1fr 1fr;}
  .how-step{border-right:none;border-bottom:1px solid var(--border);}
  .how-step:last-child{border-bottom:none;}
  .footer-top{grid-template-columns:1fr 1fr;}
  .contact-wrap{grid-template-columns:1fr;gap:40px;}
}
@media(max-width:820px){
  .nav-toggle{display:inline-flex;}
  .nav-cta{display:none;}
  .nav-links{
    display:none;position:absolute;top:68px;left:0;right:0;
    flex-direction:column;gap:0;align-items:stretch;
    background:var(--bg2);border-top:1px solid var(--border);border-bottom:1px solid var(--border);
    padding:6px 5% 10px;box-shadow:0 24px 44px -24px rgba(0,0,0,0.75);
  }
  .site-nav.nav-open .nav-links{display:flex;}
  .nav-links li{width:100%;}
  .nav-links a{display:block;padding:14px 2px;font-size:1rem;border-bottom:1px solid var(--border);}
  .nav-links li:last-child a{border-bottom:none;}
}
@media(max-width:640px){
  .hero-stats{flex-direction:column;margin-bottom:44px;}
  .stat{border-right:none;border-bottom:1px solid var(--border);padding:16px 20px;}
  .stat:last-child{border-bottom:none;}
  .why-grid{grid-template-columns:1fr;}
  .how-grid{grid-template-columns:1fr;}
  .footer-top{grid-template-columns:1fr;}
  .footer-bottom{flex-direction:column;align-items:flex-start;}
  .crow{grid-template-columns:1fr;}

  /* --- mobile type + spacing --- */
  .hero-top{padding:48px 0 34px;}
  .hero h1{font-size:1.95rem;line-height:1.2;margin-bottom:16px;}
  .hero-sub{font-size:1rem;margin-bottom:28px;}
  .hero-label{margin-bottom:20px;}
  .btn-hero,.btn-hero-ghost{padding:13px 22px;font-size:0.95rem;}
  .trust-bar{gap:11px 20px;padding:14px 5%;}
  .section{padding-block:52px;}
  .subhero{padding-top:50px;padding-bottom:36px;}
  .subhero h1{font-size:1.85rem;}
  .section-head-row{margin-bottom:24px;}
  .why-card,.cat-card,.test-card{padding:24px 20px;}
  .how-step{padding:26px 22px;}
  .how-num{font-size:2.4rem;margin-bottom:14px;}
  .stat-n{font-size:1.5rem;}

  /* --- compact script cards --- */
  .live-script-card{padding:20px 18px;min-height:auto;}
  .live-script-card h2{font-size:1.05rem;}
  .live-script-card .desc{font-size:0.83rem;line-height:1.55;margin-bottom:14px;}
  .live-script-card .tags{margin-bottom:14px;}
  .live-script-card .foot{padding-top:16px;}
  .live-script-card .price{font-size:1.3rem;}
  .live-script-card .diff{top:20px;}
}
