:root{
  --accent-start: #7b59ff;
  --accent-end: #8fb6ff;
  --btn-radius: 12px;
  --glass-bg: rgba(255,255,255,0.78);
  --glass-border: rgba(255,255,255,0.6);
}

/* Базовые */
*{box-sizing:border-box;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,'Helvetica Neue',Arial;}
body{margin:0;background: linear-gradient(180deg,#fbfbff,#f6fffb);color:#111; -webkit-font-smoothing:antialiased;}
.container{max-width:1100px;margin:0 auto;padding:18px;}
.site-header{position:sticky;top:0;z-index:70;background:transparent;padding:12px 0;}
.header-inner{display:flex;justify-content:space-between;align-items:center;}
.brand-link{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit;font-weight:700;}
.pattern{width:36px;height:36px;border-radius:8px;background:linear-gradient(90deg,var(--accent-start),var(--accent-end));display:inline-block;color:white;display:flex;align-items:center;justify-content:center;}
.site-title{font-size:18px;}
.slogan{font-size:12px;color:#666;}
.header-actions .btn{margin-left:8px;}
.header-actions .header-btn { height:40px; display:inline-flex; align-items:center; gap:8px; padding:8px 12px; font-weight:600; border-radius:10px; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:var(--btn-radius);
  border:0;
  cursor:pointer;
  text-decoration:none;
  color:#fff;
  font-weight:700;
  font-size:14px;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}
.btn.gradient{
  background: linear-gradient(90deg,var(--accent-start),var(--accent-end));
  box-shadow: 0 10px 30px rgba(123,89,255,0.12);
}
.btn.glass{
  background: var(--glass-bg);
  color:#111;
  border:1px solid var(--glass-border);
  box-shadow:0 6px 18px rgba(20,20,50,0.04);
}

/* Vertical menu (fixed) */
.vertical-menu{
  display:none;
  position:fixed;
  z-index:1200;
  background:rgba(255,255,255,0.98);
  padding:10px;
  border-radius:10px;
  box-shadow: 0 20px 60px rgba(20,20,50,0.12);
  min-width:220px;
  border:1px solid rgba(0,0,0,0.04);
  opacity:0;
  transform:translateY(-6px);
  transition: opacity .14s ease, transform .14s ease;
  pointer-events:none;
}
.vertical-menu.open{
  display:block;
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
.vertical-menu ul{list-style:none;margin:0;padding:4px 0;}
.vertical-menu li{margin:6px 0;}
.vertical-menu li a{display:block;padding:8px 12px;border-radius:8px;color:inherit;text-decoration:none;}
.vertical-menu li.highlight a{background:linear-gradient(90deg,#f3f4ff,#fff0f8);font-weight:700;color:#182031;}
.vertical-menu { max-height:70vh; overflow:auto; }

/* Footer: ensure buttons align horizontally */
.site-footer{background:#fff;padding:18px 0;border-top:1px solid #eee;margin-top:40px;}
.site-footer .container{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;}
.site-footer .foot-left{flex:1;min-width:200px;}
.site-footer .foot-right{display:flex;gap:8px;align-items:center;}

/* Helpers */
.muted{color:#666;}
.card{background:var(--glass-bg);border-radius:12px;padding:12px;border:1px solid var(--glass-border);box-shadow:0 12px 40px rgba(20,20,50,0.04);}
.table{width:100%;border-collapse:collapse;margin-top:12px;}
.table th,.table td{padding:8px;border-bottom:1px solid #eee;text-align:left;}

@media(max-width:800px){
  .header-inner{flex-direction:column;gap:12px;}
  .site-footer .container{flex-direction:column;align-items:flex-start;}
}