/* Marjinbet — Bold, fast, unconventional theme */
:root{--bg:#0b0d12;--fg:#e6ecff;--muted:#9aa7bf;--primary:#7cffd6;--accent:#ff7cf3;--danger:#ff5e7e;--card:#121622;--edge:#1a2030;--link:#a0c1ff;--gold:#ffd166}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--fg);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;line-height:1.6}
a{color:var(--link);text-decoration:none}
a:hover{text-decoration:underline}
header{position:sticky;top:0;background:rgba(11,13,18,.85);backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid var(--edge);z-index:20}
.wrap{max-width:1100px;margin:0 auto;padding:0 20px}
.nav{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand{font-weight:800;letter-spacing:.5px;color:var(--primary)}
.brand span{color:var(--accent)}
.menu a{margin-left:18px;padding:8px 12px;border-radius:10px}
.menu a.active,.menu a:hover{background:var(--edge)}
.hero{padding:80px 0;background:linear-gradient(120deg,rgba(124,255,214,.08),rgba(255,124,243,.08)),radial-gradient(600px 300px at 80% 0%,rgba(255,209,102,.08),transparent)}
.hero h1{font-size:44px;margin:0 0 12px}
.hero p{margin:0 0 24px;color:var(--muted)}
.cta{display:inline-block;background:linear-gradient(90deg,var(--primary),var(--accent));color:#081018;padding:12px 18px;border-radius:12px;font-weight:700;box-shadow:0 6px 24px rgba(124,255,214,.25);transition:transform .15s ease}
.cta:hover{transform:translateY(-1px)}
.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin:40px 0}
.features div{background:var(--card);border:1px solid var(--edge);padding:18px;border-radius:14px}
/* Blocks */
.faq details{background:var(--card);border:1px solid var(--edge);border-radius:12px;padding:12px 14px;margin:10px 0}
.faq summary{cursor:pointer;font-weight:600}
.testimonials{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;margin:28px 0}
.testimonials blockquote{background:var(--card);border:1px solid var(--edge);border-radius:14px;padding:16px}
.testimonials footer{color:var(--muted);margin-top:8px}
.cta-banner{background:linear-gradient(90deg,rgba(124,255,214,.08),rgba(255,124,243,.08));border:1px solid var(--edge);border-radius:16px;padding:24px;margin:28px 0}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:14px;margin:20px 0}
.stat{background:var(--card);border:1px solid var(--edge);border-radius:12px;padding:14px;text-align:center}
.stat .value{font-size:22px;font-weight:800;color:var(--gold)}
.stat .label{color:var(--muted)}
.internal-links{background:var(--card);border:1px solid var(--edge);border-radius:14px;padding:16px;margin:20px 0}
.internal-links h3{margin-top:0}
.internal-links ul{margin:6px 0 0 16px}
/* Posts */
.posts{margin-top:20px}
.posts .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.post-card{background:var(--card);border:1px solid var(--edge);border-radius:12px;overflow:hidden}
.post-card .thumb{display:block;aspect-ratio:16/9;background:#0e121b}
.post-card img{width:100%;height:100%;object-fit:cover;display:block}
.post-card .meta{padding:12px}
.post-card h4{margin:0 0 6px 0;font-size:16px}
footer{border-top:1px solid var(--edge);padding:28px 0;color:var(--muted)}
.container{padding:28px 0}
.page h2{margin-top:0}
.alert{padding:10px 12px;border-radius:10px;border:1px solid var(--edge);margin:12px 0}
.alert.success{background:rgba(124,255,214,.07);color:var(--primary)}
.alert.error{background:rgba(255,94,126,.07);color:var(--danger)}

/* Admin */
.admin-wrap{max-width:960px;margin:0 auto;padding:20px}
.card{background:var(--card);border:1px solid var(--edge);border-radius:12px;padding:18px;margin-bottom:18px}
label{display:block;margin:10px 0 6px;color:var(--muted)}
input[type=text],input[type=password],textarea{width:100%;background:#0e121b;border:1px solid var(--edge);color:var(--fg);border-radius:10px;padding:10px}
textarea{min-height:160px}
.row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.btn{display:inline-block;background:var(--edge);color:var(--fg);padding:10px 14px;border-radius:10px;border:1px solid var(--edge)}
.btn.primary{background:linear-gradient(90deg,var(--primary),var(--accent));color:#081018;border:0}
.btn.danger{background:linear-gradient(90deg,var(--danger),#ff8aa3);color:#081018;border:0}
.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.muted{color:var(--muted)}

/* Rich content */
.page img{max-width:100%;border-radius:12px}
.page ul{padding-left:18px}


