body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #000;
  color: #fff;
  scroll-behavior: smooth;
}

.section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 40px;
  text-align: center;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5em;
  margin-bottom: 150px;
  animation: fadeIn 2s forwards;
}

h2 {
  margin: 10px 0 20px;
  font-size: 1.2em;
  font-weight: 500;
}

ul#probabilities {
  margin-top: 20px;
}

ul#probabilities li {
  margin: 6px 0;
  font-size: 0.8em; /* зменшений шрифт */
  opacity: 0.85;
}

li {
  margin: 8px 0;
  font-size: 1.2em;
}

.scroll-down {
  margin-top: 40px;
  font-size: 2em;
  cursor: pointer;
  animation: bounce 2s infinite;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1000px;
}

.news-item {
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.3s;
}
.news-item:hover {
  transform: translateY(-5px);
}

.news-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #222; /* якщо картинка не завантажиться */
}

.news-item-content {
  padding: 15px;
}
.news-item-content strong {
  display: block;
  font-size: 1.2em;
  margin-bottom: 10px;
}
.news-item-content a {
  color: #4da6ff;
  text-decoration: none;
}
.news-item-content a:hover {
  text-decoration: underline;
}

    .explanation {
      font-size: 0.95rem;
      max-width: 800px;
      margin: auto;
      line-height: 1.6;
      color: #9ba6b1;
    }

    footer {
      margin-top: 40px;
      padding: 20px;
      font-size: 0.85rem;
      color: #7d8590;
    }

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Анімації */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(10px); }
  60% { transform: translateY(5px); }
}
