 * {
    margin: 0; padding: 0; box-sizing: border-box;
  }
  body {
    font-family: 'Arial', sans-serif;
    background-color: #060102;
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
  }
  a {
    color: inherit;
    text-decoration: none;
  }

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background-color: rgba(11, 17, 33, 0.7);  /* чуть прозрачный тёмный фон */
  backdrop-filter: blur(8px);                /* размытие содержимого позади */
  -webkit-backdrop-filter: blur(8px);        /* для Safari */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* лёгкая обводка */
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  flex-wrap: wrap;
}

  .logo {
    font-weight: bold;
    font-size: 2rem;
    color: #3a7bd5;
    text-transform: uppercase;
  }
  nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    flex: 1;
  }
  .nav-link {
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  .nav-link:hover {
    background-color: rgba(58, 123, 213, 0.1);
    color: #3a7bd5;
  }
  .auth-buttons {
    display: flex;
    gap: 15px;
  }
.button {
  padding: 10px 20px;
  background: linear-gradient(135deg, #8B0000 0%, #FF0000 100%); /* насыщенный темно‑красный → ярко‑красный */
  color: #fff;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 15px rgba(139, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}

.button:hover {
  transform: translateY(-2px) scale(1.05);
  background: linear-gradient(135deg, #FF0000 0%, #8B0000 100%); /* инверсия градиента при наведении */
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.6);
}

  /* Слайдер игр */
  .games-section {
    padding: 60px 5%;

  }
/* Заголовок секции */
.games-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #e63946;
  position: relative;
  padding-bottom: 12px;
}
.games-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #8B0000, #FF0000);
  border-radius: 2px;
}

/* Обёртка грида с эффектом стекла */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  padding: 20px;
  background: rgba(20, 20, 20, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

/* Карточки игр */
.game-card {
  background: rgba(30, 41, 59, 0.8);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(230, 57, 70, 0.3);
}
.game-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 40px rgba(230, 57, 70, 0.4);
  border-color: rgba(255, 0, 0, 0.6);
}

/* Изображение в карточке */
.game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: #121b2c;
  border-bottom: 2px solid #e63946;
}

/* Контент карточки */
.game-content {
  padding: 15px;
  background: rgba(20, 20, 20, 0.7);
}

/* Кнопка «Играть» */
.play-button {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  background: linear-gradient(135deg, #8B0000 0%, #FF0000 100%);
  color: #fff;
  border: none;
  border-radius: 25px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 15px rgba(139, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}
.play-button:hover {
  transform: translateY(-2px) scale(1.05);
  background: linear-gradient(135deg, #FF0000 0%, #8B0000 100%);
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.6);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .games-grid {
    padding: 10px;
    gap: 15px;
  }
  .game-image {
    height: 150px;
  }
  .games-title {
    font-size: 2rem;
  }
}



  footer {
    background: #0b1121;
    padding: 50px 5% 20px;
    color: #94a3b8;
    text-align: center;
    font-size: 0.9rem;
  }

  /* Адаптив */
  @media (max-width: 768px) {
    .game-image {
      height: 200px;
    }
  }
  @media (max-width: 480px) {
    header {
      flex-direction: column;
      gap: 10px;
    }
    nav {
      justify-content: center;
    }
  }
  
  /* Общие контейнеры */
.content-section {
  padding: 60px 5%;
  background-color: #060102;
  color: #e0e0e0;
  font-family: 'Arial', sans-serif;
}

.content-section h2, h1 {
  font-size: 2rem;
  color: #e63946;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;           /* отступ для линии */
}

.content-section h2::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;                       /* теперь линия внизу */
  width: 50px;
  height: 4px;
  background: linear-gradient(135deg, #8B0000, #FF0000);
  border-radius: 2px;
}


/* Параграфы */
.content-section p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Списки */
.content-section ul,
.content-section ol {
  padding-left: 20px;
  margin-bottom: 20px;
}
.content-section li {
  margin-bottom: 10px;
  position: relative;
}
.content-section li::before {
  content: '•';
  color: #e63946;
  position: absolute;
  left: -15px;
  top: 0;
  font-size: 1.2rem;
  line-height: 1;
}

/* Сетка преимуществ с эффектом стекла */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
  padding: 20px;
  background: rgba(20, 20, 20, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Карточка преимущества */
.feature-card {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(230, 57, 70, 0.3);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}
.feature-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 40px rgba(230, 57, 70, 0.4);
  border-color: rgba(255, 0, 0, 0.6);
}

/* Иконка преимущества */
.feature-icon {
  font-size: 2.5rem;
  color: #e63946;
  margin-bottom: 15px;
}

/* Заголовок преимущества */
.feature-title {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
}

/* Описание преимущества */
.feature-desc {
  font-size: 0.95rem;
  color: #ccc;
}

/* Адаптив */
@media (max-width: 768px) {
  .features-grid {
    padding: 15px;
    gap: 15px;
  }
  .feature-card {
    padding: 15px;
  }
  .feature-title {
    font-size: 1rem;
  }
  .feature-desc {
    font-size: 0.9rem;
  }
}

/* Скрыть nav по умолчанию на мобильных при прокрутке вниз */
@media (max-width: 768px) {
  .header-nav {
    position: fixed;
    top: 0;
    width: 100%;
    transition: transform 0.3s ease;
    will-change: transform;
    z-index: 100;
  }
  /* Адаптив */
  @media (max-width: 768px) {
    .game-image {
      height: 200px;
    }
  }
  @media (max-width: 480px) {
    header {
      flex-direction: column;
      gap: 10px;
    }
    nav {
      justify-content: center;
    }