/* Yoga Wiki - Global Stylesheet */
:root {
  --bg: #080b12;
  --card: #111827;
  --border: #1f2840;
  --text: #e8eaf6;
  --muted: #6b7699;
  --accent: #7c6af7;
  --accent2: #a78bfa;
  --header-bg: #0d1117;
  --link: #c4b5fd;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.75;
}

a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ── Layout ── */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ── Header ── */
.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header .logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}
.site-header nav {
  display: flex;
  gap: 16px;
  font-size: 0.875rem;
}
.site-header nav a {
  color: var(--muted);
}
.site-header nav a:hover {
  color: var(--text);
}

/* ── Article ── */
.article-main {
  padding: 32px 16px 80px;
}

article h1 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.intro {
  color: #b0b8d4;
  font-size: 1.05rem;
  margin-bottom: 28px;
}

article h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 32px 0 12px;
}

article h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

article p {
  color: var(--text);
  margin-bottom: 12px;
}

article ul, article ol {
  padding-left: 20px;
  margin-bottom: 14px;
}
article li {
  color: var(--text);
  margin-bottom: 6px;
}

/* ── Steps List ── */
.steps-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Affiliate Box ── */
.affiliate-box {
  background: #0f2a1a;
  border-left: 4px solid #4ade80;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.affiliate-box h3 {
  color: #4ade80;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.affiliate-link {
  display: inline-block;
  color: #e2b714;
  font-size: 0.9rem;
  text-decoration: none;
}
.affiliate-link:hover {
  text-decoration: underline;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  border: 1px solid #e94560;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 28px 0;
  text-align: center;
}
.cta-banner h3 {
  color: #e2b714;
  font-size: 1rem;
  margin-bottom: 8px;
}
.cta-banner p {
  color: #9ca3af;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.cta-button {
  display: inline-block;
  background: #e94560;
  color: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}
.cta-button:hover {
  background: #c73652;
  text-decoration: none;
}

/* ── FAQ ── */
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 12px;
}
.faq-item h3 {
  color: var(--accent2);
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.faq-item p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── Footer ── */
.site-footer {
  background: #060d1a;
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 40px;
}
.site-footer a {
  color: var(--muted);
}
.site-footer a:hover {
  color: var(--text);
}

/* ── Difficulty badges ── */
.diff-beginner .difficulty-badge { background: #166534; color: #bbf7d0; }
.diff-intermediate .difficulty-badge { background: #92400e; color: #fde68a; }
.diff-advanced .difficulty-badge { background: #7f1d1d; color: #fecaca; }
.difficulty-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 9999px;
  margin-bottom: 8px;
}

/* ── Language nav ── */
.lang-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.lang-nav a {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.85rem;
  color: var(--muted);
}
.lang-nav a:hover, .lang-nav a.active {
  border-color: var(--accent);
  color: var(--accent2);
  text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  article h1 { font-size: 1.5rem; }
  .step-item { padding: 10px 12px; }
}
