* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #22c55e;
    --primary-dark: #16a34a;
    --bg-dark: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
nav {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
    padding: 1rem 2rem;
    position: sticky; top: 0; z-index: 100;
}
nav .nav-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; gap: 2rem;
    flex-wrap: wrap;
}
nav .logo {
    font-size: 1.3rem; font-weight: 800; color: var(--primary);
    text-decoration: none; white-space: nowrap;
}
nav .nav-links { display: flex; gap: 1.5rem; flex: 1; flex-wrap: wrap; }
nav .nav-links a {
    color: var(--text-secondary); font-weight: 500; font-size: 0.9rem;
}
nav .nav-links a:hover { color: var(--primary); text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 2rem; }
.breadcrumb {
    color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
h1 { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; }
h1 span { color: var(--primary); }
h2 {
    font-size: 1.4rem; font-weight: 700; margin-top: 2rem; margin-bottom: 0.75rem;
    color: var(--text-primary);
}
h3 {
    font-size: 1.1rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.5rem;
    color: var(--text-primary);
}
.subtitle { color: var(--text-secondary); margin-bottom: 2rem; }
.tag {
    display: inline-block; padding: 0.2rem 0.6rem; border-radius: 4px;
    font-size: 0.8rem; font-weight: 600; margin: 0.15rem;
    background: rgba(34, 197, 94, 0.1); color: var(--primary);
    border: 1px solid rgba(34, 197, 94, 0.2);
}
.tag-secondary {
    background: rgba(59, 130, 246, 0.1); color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.2);
}
.tag-stabilizer {
    background: rgba(148, 163, 184, 0.1); color: var(--text-muted);
    border-color: rgba(148, 163, 184, 0.2);
}
.card {
    background: var(--bg-secondary);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 8px; padding: 1.25rem;
    transition: border-color 0.2s;
}
.card:hover { border-color: var(--primary); }
.card a { text-decoration: none; }
.card h3 { margin-top: 0; }
.grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem; margin-top: 1rem;
}
.list-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.75rem; margin-top: 1rem;
}
.meta-row {
    display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.75rem 0;
}
.meta-item {
    font-size: 0.85rem; color: var(--text-secondary);
}
.meta-item strong { color: var(--text-primary); }
.muscle-list { list-style: none; padding: 0; }
.muscle-list li { padding: 0.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.muscle-list li:last-child { border-bottom: none; }
.instructions ol {
    padding-left: 1.5rem; color: var(--text-secondary);
}
.instructions li { margin-bottom: 0.5rem; }
table {
    width: 100%; border-collapse: collapse; margin-top: 0.5rem;
}
th {
    text-align: left; padding: 0.6rem 0.75rem;
    color: var(--text-muted); font-weight: 600; font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}
td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--text-secondary);
}
footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(34, 197, 94, 0.1);
    padding: 2rem; text-align: center; color: var(--text-muted);
    font-size: 0.85rem; margin-top: 4rem;
}
footer a { color: var(--primary); }
.search-box {
    width: 100%; max-width: 400px; padding: 0.6rem 1rem;
    background: var(--bg-secondary); border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 6px; color: var(--text-primary); font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.search-box:focus { outline: none; border-color: var(--primary); }
.count { color: var(--text-muted); font-size: 0.9rem; }
/* Answer block (featured snippet target) */
.answer-block {
    font-size: 1.05rem; line-height: 1.7;
    color: var(--text-secondary); margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    border-left: 3px solid var(--primary);
    border-radius: 0 6px 6px 0;
}
.answer-block strong { color: var(--text-primary); }
/* Summary table */
.summary-table {
    width: auto; max-width: 500px; margin-bottom: 2rem;
    border: 1px solid rgba(34, 197, 94, 0.15); border-radius: 8px;
    overflow: hidden;
}
.summary-table th {
    width: 120px; text-align: right; padding-right: 1rem;
    background: var(--bg-secondary); white-space: nowrap;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    text-transform: none; font-size: 0.85rem; letter-spacing: 0;
}
.summary-table td {
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.summary-table tr:last-child th,
.summary-table tr:last-child td { border-bottom: none; }
/* Muscle Map */
.muscle-map { margin: 1.5rem 0; }
.muscle-map-views { display: flex; gap: 2rem; justify-content: center; }
.muscle-map-view { text-align: center; }
.muscle-map-label {
    font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem;
}
.muscle-map-legend {
    display: flex; gap: 1.5rem; justify-content: center;
    margin-top: 1rem; font-size: 0.8rem; color: var(--text-secondary);
}
.legend-item { display: flex; align-items: center; gap: 0.4rem; }
.legend-dot {
    width: 10px; height: 10px; border-radius: 50%; display: inline-block;
}
@media (max-width: 768px) {
    .container { padding: 1rem; }
    h1 { font-size: 1.6rem; }
    .grid { grid-template-columns: 1fr; }
    .muscle-map-views { gap: 1rem; }
    .muscle-map .body-svg { width: 110px !important; height: 220px !important; }
}
