/* Сброс стилей */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif, Helvetica, sans-serif;
  color: #f0eaff;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Градиентный слой */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    270deg,
    rgb(61, 61, 61),
    rgb(104, 104, 104),
    rgb(180, 180, 180),
    #ffffff
  );
  background-size: 800% 800%;
  animation: gradientMove 15s ease infinite;
  z-index: -1;
}

/* Анимация градиента */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.top-footer {
  background-color: rgba(0,0,0,0.32);
  display: flex;
  align-items: center;
  padding: 10px 20px;

  /* Свечение */
  box-shadow: 0 0 12px rgba(73, 73, 73, 0.6);
}

.top-footer .icon {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

/* Контейнер для названия и подписи */
.title-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.top-footer .title {
  font-size: 1.5rem;
  font-weight: bold;
}

.top-footer .subtitle {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-top: 2px;
  color: #e9dbff;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  text-align: center;
  gap: 20px; /* Отступы между коробками */
}

.content-box {
  background-color: rgba(49, 49, 49, 0.6); /* Тёмный фиолетовый фон внутри */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(49, 49, 49, 0.55); /* Мягкое фиолетовое свечение */
  max-width: 800px;
  margin: 0 auto;
  backdrop-filter: blur(5px); /* Лёгкое размытие фона */
  text-align: center;
  align-items: center;
}

.content-box h1 {
  margin-bottom: 10px;
  font-size: 2rem;
  color: #f6edff;
}

.content-box p {
  line-height: 1.6;
  text-align: left;
  color: #e9dbff;
}

.bottom-footer {
  background-color: rgba(6,0,12,0.6);
  text-align: center;
  padding: 10px;
  font-size: 0.9rem;
  color: #e6dbff;
}

.menu {
  background-color: rgba(6,0,12,0.45);
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px 0;
  box-shadow: 0 0 12px rgba(85, 85, 85, 0.5);
}

.menu a {
  color: #f0eaff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s, text-shadow 0.3s;
}

.menu a:hover {
  color: #e6ccff;
  text-shadow: 0 0 6px rgba(158, 158, 158, 0.85);
}



/* Только для history.html */
.history-text {
  column-count: 2; /* количество столбцов */
  column-gap: 40px; /* расстояние между ними */
  text-align: justify; /* выравнивание текста */
}

.history-text p {
  margin: 0;
  line-height: 1.6;
  color: #e9dbff;
}

.history-box {
  background: rgba(10, 4, 18, 0.65);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 22px rgba(30, 8, 60, 0.45);
  color: #f5ecff;
  
  column-count: 2;
  column-gap: 40px;

  display: block;
  width: 80%;
  margin: auto;
}

/* Контейнер меню */
.menu-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

/* Таблетки */
.menu-container a {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(90deg, #616161, #999999);
  color: #fffafc;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(63, 63, 63, 0.55);
}

/* Ползунок */
.menu-container a::after {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.08);
  transition: left 0.4s ease;
}

/* Эффект при наведении */
.menu-container a:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 22px rgba(194, 194, 194, 0.95);
  color: #fff8ff;
}

.menu-container a:hover::after {
  left: 100%;
}

.logo-container {
  text-align: center;
  align-self: center;
  width: 530px;
  height: 189px
  }

.terms-container {
  width: 55.50px;
  height: 55.50px;
  text-align: center;
  align-self: center;
}