body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #111;
  color: #fff;
  line-height: 1.6;
}

/* Шапка */
.site-header {
  background-color: #000;
  padding: 1rem 2rem;
  text-align: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
}

/* Навигация */
.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: #fbfbfb;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.main-nav a.active,
.main-nav a:hover {
  color: #BA0605;
  font-weight: bold;
}

/* Основной блок */
.about-section {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #1a1a1a;
  border-radius: 1rem;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

.about-section h1,
.about-section h2 {
  text-align: center;
  color: #00f7ff;
  margin-bottom: 1.5rem;
}

.about-section p {
  text-align: center;
  color: #ccc;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.lead {
  font-size: 1.3rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #eee;
}

.custom-list {
  list-style: none;
  padding-left: 0;
  text-align: left;
}

.custom-list li {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Карточки групп */
.group-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
}

.group-card {
  background-color: #222;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.group-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
}

.group-time {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 0.5rem;
}

/* Таймер */
.timer {
  text-align: center;
  font-size: 1.5rem;
  margin: 1rem 0;
  color: #ccc;
}

.timer.highlight {
  color: #00f7ff;
  font-size: 1.7rem;
  font-weight: bold;
}

/* Кнопки */
.join-button {
  background-color: #BA0605;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: 1rem;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-weight: bold;
}

.join-button:hover {
  background-color: #9A0201;
}

/* Блоки и выравнивание */
.centered {
  text-align: center;
  margin: 2rem 0;
  font-size: 1.4rem;
}

/* Цитаты */
blockquote {
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid #BA0605;
  background-color: #1c1c1c;
  font-style: italic;
  color: #ddd;
}

/* Футер */
.site-footer {
  background-color: #000;
  color: #ccc;
  padding: 2rem;
  text-align: center;
  font-size: 0.95rem;
}

.site-footer a {
  color: #00f7ff;
  text-decoration: none;
}

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