:root{
  --bg: #0a0a0a;
  --card: #111;
  --primary: #e6003a;
  --text: #f5f5f5;
  --text-dim: #aaa;
  --border: #222;
  --radius: 14px;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: "Vazirmatn", sans-serif;
  background: var(--bg);
  color: var(--text);
}
a{color:inherit;text-decoration:none}
.container{width:min(920px, 92%); margin:0 auto}

.site-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:20px 0; border-bottom:1px solid var(--border);
}
.logo{display:flex; align-items:center; gap:8px; font-weight:700}
.logo-dot{
  width:10px; height:10px; border-radius:50%; background:var(--primary);
}

.nav{display:flex; gap:16px; font-size:14px}
.nav-link{color:var(--text-dim)}
.nav-link.active{color:var(--text)}

.section-container{margin:24px 0; padding:18px; background:var(--card); border-radius:var(--radius)}
.section-title{display:flex; align-items:center; justify-content:space-between; margin-bottom:14px}
.section-title h2{margin:0; font-size:18px}
.tag{
  background:rgba(230,0,58,.15);
  color:var(--primary);
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
}

.anatomy-card{display:grid; grid-template-columns:140px 1fr; gap:14px}
.anatomy-image-placeholder{
  border:1px dashed var(--border);
  border-radius:12px;
  display:grid; place-items:center;
  color:var(--text-dim);
  min-height:120px;
}

.muscle-tags{display:flex; flex-wrap:wrap; gap:8px; margin-top:8px}
.chip{
  background:#151515;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  border:1px solid var(--border);
}

.moves-list{display:grid; gap:10px}
.move-item{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px; background:#151515; border-radius:12px;
  border:1px solid var(--border);
}
.move-title{font-weight:600}
.move-sub{font-size:12px; color:var(--text-dim)}
.move-icon{color:var(--primary)}

.ai-fab{
  position:fixed; left:16px; bottom:16px;
  width:52px; height:52px; border-radius:50%;
  border:none; background:var(--primary); color:#fff;
  font-weight:700; cursor:pointer;
  box-shadow:0 10px 30px rgba(230,0,58,.35);
}

.ai-modal{
  position:fixed; inset:0; background:rgba(0,0,0,.6);
  display:flex; align-items:flex-end; justify-content:center;
  opacity:0; pointer-events:none; transition:.2s ease;
}
.ai-modal.show{opacity:1; pointer-events:auto}
.ai-modal-card{
  width:min(480px, 94%);
  background:#111;
  border-radius:16px 16px 0 0;
  border:1px solid var(--border);
}
.ai-modal-header{
  padding:12px 14px; display:flex; justify-content:space-between; align-items:center;
  border-bottom:1px solid var(--border);
}
.ai-close{
  background:transparent; border:none; color:#fff; font-size:20px; cursor:pointer;
}
.ai-modal-body{
  padding:12px 14px; min-height:160px; display:flex; flex-direction:column; gap:8px;
}
.ai-msg{
  padding:10px 12px; border-radius:10px; font-size:14px; line-height:1.6;
}
.ai-bot{background:#171717; border:1px solid var(--border)}
.ai-user{background:rgba(230,0,58,.18); border:1px solid rgba(230,0,58,.4); align-self:flex-start}

.ai-modal-input{
  display:flex; gap:8px; padding:12px 14px; border-top:1px solid var(--border);
}
.ai-modal-input input{
  flex:1; background:#0f0f0f; border:1px solid var(--border);
  color:#fff; padding:10px; border-radius:10px;
}
.ai-modal-input button{
  background:var(--primary); border:none; color:#fff; padding:0 16px; border-radius:10px;
  cursor:pointer;
}

.muted{color:var(--text-dim); font-size:14px}

@media (max-width:600px){
  .anatomy-card{grid-template-columns:1fr}
}
