html,
body {
  min-height: 100%;
  margin: 0;
}

[dir="rtl"] body {
  font-family: "Vazirmatn", sans-serif;
}

[dir="ltr"] body {
  font-family: "Space Grotesk", sans-serif;
}

body {
  color: #fff;
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #0f0f1a 100%);
}

.blog-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(8, 11, 20, 0.7), rgba(8, 11, 20, 0.96)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 700'%3E%3Cg fill='none' stroke='%2385a2d6' stroke-opacity='0.2' stroke-width='2'%3E%3Cpath d='M0 120Q150 80 310 130T620 125T1000 145'/%3E%3Cpath d='M0 320Q210 260 390 330T720 340T1000 300'/%3E%3Cpath d='M0 560Q180 510 370 575T760 590T1000 550'/%3E%3Cpath d='M180 0Q130 180 210 350T170 700'/%3E%3Cpath d='M510 0Q470 180 550 350T520 700'/%3E%3Cpath d='M820 0Q770 170 860 350T810 700'/%3E%3C/g%3E%3C/svg%3E");
  background-position: center top;
  background-size: cover;
}

.text-gradient {
  background: linear-gradient(135deg, #0066ff, #00d9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass {
  background: linear-gradient(145deg, rgba(26, 26, 46, 0.86), rgba(15, 15, 26, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.blog-card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 217, 255, 0.32);
  box-shadow: 0 24px 60px rgba(0, 102, 255, 0.14);
}

.article-body {
  color: #d1d5db;
  line-height: 2;
}

.article-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
}

.article-body p {
  margin-bottom: 1.1rem;
}

.article-body ul {
  margin: 1rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.article-body li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.article-body li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.75rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #00c853;
  box-shadow: 0 0 18px rgba(0, 200, 83, 0.5);
}

.btn-primary {
  background: linear-gradient(135deg, #0066ff, #0052cc);
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0052cc, #003d99);
  transform: translateY(-1px);
}

.btn-soft {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.13);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-soft:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.24);
}
