
:root{
  --bg:#0d0b14;
  --card:#141222;
  --text:#eae7ff;
  --muted:#bdb6ff;
  --accent:#8a5bff;
  --accent2:#ff2f8e;
  --brand:#7cf0ff;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Arial,sans-serif;line-height:1.5}
a{color:var(--brand);text-decoration:none}
.wrap{max-width:1100px;margin:0 auto;padding:0 16px}
.site-header{position:sticky;top:0;z-index:10;background:rgba(13,11,20,.8);backdrop-filter:blur(10px);border-bottom:1px solid #201c33}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;padding:12px 16px}
.brand{display:flex;align-items:center;gap:10px}
.logo{width:44px;height:44px;border-radius:12px;box-shadow:0 0 0 2px #fff2 inset}
.brand-title{font-weight:800;font-size:20px;letter-spacing:.3px}
.brand-title .dot{color:var(--accent2)}
.site-nav{display:flex;gap:16px}
.site-nav a{padding:8px 10px;border-radius:10px}
.site-nav a:hover{background:#201c33}
.menu-toggle{display:none;position:relative;width:42px;height:36px;background:none;border:0;cursor:pointer}
.menu-toggle span{position:absolute;left:6px;right:6px;height:3px;background:#fff;border-radius:3px;transition:.2s}
.menu-toggle span:nth-child(1){top:9px}
.menu-toggle span:nth-child(2){top:16px}
.menu-toggle span:nth-child(3){top:23px}
@media(max-width:860px){
  .site-nav{display:none;position:absolute;right:16px;top:62px;background:var(--card);padding:10px;border:1px solid #201c33;border-radius:14px;flex-direction:column;min-width:200px}
  body.nav-open .site-nav{display:flex}
  .menu-toggle{display:block}
}

.hero{background: radial-gradient(1200px 500px at 20% -10%, rgba(122,70,255,.25), transparent 60%), radial-gradient(1200px 600px at 100% 0%, rgba(255,47,142,.18), transparent 60%);}
.hero-inner{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;align-items:center;padding:60px 0}
.hero-copy h1{font-size:42px;line-height:1.1;margin:0 0 10px}
.hero-copy p{color:var(--muted);max-width:48ch}
.btn,.btn-primary{display:inline-block;padding:10px 16px;border-radius:12px;border:1px solid #2b2544;font-weight:600}
.btn{background:#19172a}
.btn-primary{background:linear-gradient(90deg,var(--accent),var(--accent2));color:#fff;border:0;box-shadow:0 6px 25px rgba(255,47,142,.25)}
.hero-art img{width:100%;max-width:360px;filter:drop-shadow(0 10px 30px rgba(0,0,0,.4));}

.section{padding:60px 0;border-top:1px solid #201c33}
.section.alt{background:#0f0d1a}
.features{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:20px}
.features article{background:var(--card);padding:16px;border-radius:14px;border:1px solid #1e1a2f}
.features h3{margin:0 0 6px}
.cta-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:18px}
.card{background:var(--card);padding:18px;border-radius:14px;border:1px solid #1e1a2f}
.card:hover{border-color:#2a2344;transform:translateY(-1px)}

.footer-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;align-items:start}
.site-footer{border-top:1px solid #201c33;padding:36px 0;background:#0f0d1a}
.contact input,.contact textarea{width:100%;padding:10px;border-radius:10px;border:1px solid #2b2544;background:#161327;color:#fff}
.contact .btn{margin-top:10px;background:linear-gradient(90deg,var(--accent),var(--accent2));border:0;color:#fff}

.auth input,.post-form input,.post-form textarea{width:100%;padding:10px;border-radius:10px;border:1px solid #2b2544;background:#161327;color:#fff}
.auth{max-width:420px}
.post{margin:12px 0}
