:root {
  --bg-light: #f7fafd;
  --bg-dark: #1e1e1e;
  --text-light: #2c3e50;
  --text-dark: #f5f5f5;
  --accent: #2f80ed;
  --accent-light: #56ccf2;
  --green: #27ae60;
}

* {
  box-sizing: border-box;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: var(--bg-dark);
    color: var(--text-dark);
  }

  .hero {
    background: linear-gradient(to right, #1e3c72, #2a5298);
  }

  footer {
    color: #aaa;
  }

  .cta-button {
    background: #00bbff;
    color: #000;
  }

  .cta-button:hover {
    background: #0077cc;
    color: #fff;
  }

  .tags a {
    background: #333;
    color: #fff;
  }
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-light);
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.8s ease;
}

body.loaded {
  opacity: 1;
}

.container {
  max-width: 800px;
  margin: auto;
  padding: 20px;
}

/* Заголовки */
h1, h2, h3 {
  color: #1a2b48;
  line-height: 1.3;
}

/* Параграфы */
p {
  margin-bottom: 1.2em;
}

/* Герой-секция */
.hero {
  background: linear-gradient(to right, var(--accent), var(--accent-light));
  color: white;
  padding: 40px 20px;
  text-align: center;
  border-radius: 0 0 20px 20px;
}

.hero h1 {
  font-size: 2em;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

/* Кнопки */
.cta-button {
  display: inline-block;
  padding: 12px 24px;
  background: #00aaff;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 10px;
  transition: background 0.3s, color 0.3s;
}

.cta-button:hover {
  background: #0077cc;
}

/* Списки */
ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 10px;
}

ul li::before {
  content: "✔";
  color: var(--green);
  position: absolute;
  left: 0;
  top: 0;
}

ol {
  padding-left: 1.2em;
  margin-bottom: 1.2em;
}

ol li {
  margin-bottom: 0.5em;
}

/* Раскрывающиеся блоки */
details {
  background: #fff;
  border-radius: 6px;
  padding: 15px;
  margin: 10px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

details[open] summary ~ * {
  animation: fade 0.3s ease-in-out;
}

@keyframes fade {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

details summary {
  font-weight: bold;
  font-size: 1.05em;
  color: #2a5d9f;
}

/* Подвал */
footer {
  text-align: center;
  font-size: 0.9em;
  color: #888;
  margin-top: 40px;
  padding: 20px;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Блок с призывом */
.cta-block {
  text-align: center;
  background: #ffffff;
  padding: 30px;
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* Ссылка на статью */
.article-link {
  background: #fff;
  padding: 20px;
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.article-link h2 {
  margin-bottom: 10px;
}

.article-link a {
  color: #2a5d9f;
  text-decoration: none;
  font-weight: bold;
}

.article-link a:hover {
  text-decoration: underline;
}

/* Хэштеги / теги */
.tags {
  margin-top: 20px;
}

.tags a {
  display: inline-block;
  background: #e8f4fd;
  color: var(--accent);
  padding: 4px 10px;
  margin: 4px 4px 0 0;
  border-radius: 6px;
  font-size: 0.9em;
  text-decoration: none;
  transition: background 0.2s ease-in-out;
}

.tags a:hover {
  background: #d0e9fb;
}

/* Адаптив */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.5em;
  }

  .hero p {
    font-size: 1em;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 0.95em;
  }
}
.donate {
  background: #eef6ff;
  border-radius: 12px;
  padding: 30px 20px;
  margin-top: 60px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.donate h2 {
  color: #1a3e73;
  margin-bottom: 15px;
  font-size: 1.5em;
}

