:root{
  --bg0:#0f0708;
  --bg1:#1b0a0d;
  --glass: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.14);
  --text: rgba(255,255,255,.92);
  --dim: rgba(255,255,255,.74);
  --red: rgba(225,29,46,.65);
  --yellow: rgba(245,158,11,.35);
  --radius: 18px;
  --max: 1100px;
  --pad: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(1100px 700px at 18% 12%, rgba(225,29,46,0.22), transparent 60%),
    radial-gradient(900px 600px at 82% 20%, rgba(245,158,11,0.12), transparent 62%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
  overflow-x:hidden;
}

a{color:inherit}
.bs-wrap{width:min(var(--max), calc(100% - (var(--pad)*2))); margin:0 auto}

/* Top bar */
.bs-top{
  position:sticky; top:0; z-index:50;
  background: rgba(10,5,6,.92);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}
.bs-top-inner{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 0}
.bs-brand{display:flex; align-items:center; gap:10px; text-decoration:none; font-weight:950; letter-spacing:-.02em}
.bs-badge{
  font-size:12px; letter-spacing:.08em; text-transform:uppercase; font-weight:950;
  padding:6px 10px; border-radius:999px;
  background: linear-gradient(90deg, rgba(225,29,46,.45), rgba(245,158,11,.24));
  border:1px solid rgba(255,255,255,.14);
}
.bs-nav{display:flex; gap:10px; align-items:center}
.bs-nav a{
  text-decoration:none; font-weight:850; opacity:.92;
  padding:10px 12px; border-radius:12px;
  border:1px solid transparent;
}
.bs-nav a:hover{background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); opacity:1}
.bs-nav a.is-muted{opacity:.75}

/* Burger + mobile */
.bs-burger{
  display:none;
  width:44px; height:44px;
  border-radius:12px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  color:#fff; font-size:20px;
}
.bs-mobile{
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(10,5,6,.98);
}
.bs-mobile-inner{padding:10px 0 16px; display:grid; gap:10px}
.bs-mobile-inner a{
  display:flex; justify-content:space-between; align-items:center;
  padding:14px 14px; border-radius:16px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  text-decoration:none; font-weight:900;
}
.bs-mobile-inner a::after{content:"›"; opacity:.9; font-size:22px}
@media (max-width: 900px){
  .bs-nav{display:none}
  .bs-burger{display:inline-flex; align-items:center; justify-content:center}
}

/* Main spacing */
main.bs-wrap{padding:18px 0 30px}

/* Cards */
.bs-card{
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
  padding: 18px;
}
.bs-card + .bs-card{margin-top:14px}

.bs-h1{margin:0; font-size:clamp(24px, 3.2vw, 40px); letter-spacing:-.03em; font-weight:950}
.bs-h2{margin:0 0 10px; font-size:18px; font-weight:900}
.bs-dim{opacity:.78}
.bs-row{display:grid; grid-template-columns:1fr 1fr; gap:14px}
@media (max-width: 900px){ .bs-row{grid-template-columns:1fr} }

.bs-field{display:flex; flex-direction:column; gap:6px; margin-top:12px}
.bs-field label{font-weight:900; opacity:.92}
.bs-input, .bs-textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.28);
  color: var(--text);
}
.bs-textarea{min-height:120px; resize:vertical}

.bs-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.bs-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  font-weight:900;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.10);
  cursor:pointer;
  transition: transform .12s ease, background .12s ease;
}
.bs-btn:hover{transform: translateY(-2px); background: rgba(255,255,255,.18)}
.bs-btn.primary{background: rgba(225,29,46,.38); border-color: rgba(225,29,46,.65)}
.bs-btn.primary:hover{background: rgba(225,29,46,.50)}
.bs-btn.ghost{background: transparent; border-color: rgba(255,255,255,.18)}

.bs-alert{
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.22);
}
.bs-alert.success{border-color: rgba(34,197,94,.35)}
.bs-alert.error{border-color: rgba(225,29,46,.45)}
.bs-alert.info{border-color: rgba(245,158,11,.30)}

/* Footer */
.bs-footer{padding: 26px 0 44px; border-top:1px solid rgba(255,255,255,.10); background: rgba(0,0,0,.10)}
.bs-footer-inner{display:flex; justify-content:space-between; gap:14px; align-items:flex-start}
.bs-foot-title{font-weight:950}
.bs-foot-dim{opacity:.75}
.bs-foot-right{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.bs-link{
  display:inline-flex;
  padding:10px 12px;
  border-radius:12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  text-decoration:none;
  font-weight:850;
}
.bs-link:hover{background: rgba(255,255,255,.10)}
.bs-link.is-muted{opacity:.75}
.bs-foot-bottom{margin-top:12px; text-align:center; opacity:.78}
