.header-ice {
  background: linear-gradient(135deg, #74ebd5, #acb6e5);
  padding: 35px 0;
  position: relative;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.header-ice::before {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  width: 80%;
  height: 10px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: translateX(-50%);
}
.header-ice .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.header-ice .logo img {
  max-height: 65px;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.2));
  transition: filter 0.3s ease;
}
.header-ice .logo img:hover {
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
}
.header-ice .nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-ice .nav ul li a {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}
.header-ice .nav ul li a:hover {
  color: #e0f7fa;
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.header-ice .nav ul li a i {
  font-size: 16px;
  transition: transform 0.3s ease;
}
.header-ice .nav ul li a:hover i {
  transform: rotate(360deg);
}

 .modal {
    display: none;               /* по умолчанию скрыто */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    z-index: 10000;
  }
  .modal.show {
    display: flex;               /* когда добавлен класс show */
  }

  /* Содержимое модалки */
  .modal-content {
    position: relative;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    animation: popIn 0.3s ease;
  }

  /* Анимация появления */
  @keyframes popIn {
    from { transform: scale(0.9); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
  }

  /* Кнопка закрытия */
  .modal-close {
    position: absolute;
    top: 0.5rem; right: 0.5rem;
    background: none; border: none;
    font-size: 1.5rem; line-height: 1;
    cursor: pointer;
    color: #666;
    transition: color 0.2s;
  }
  .modal-close:hover {
    color: #000;
  }

  /* Адаптив */
  @media (max-width: 480px) {
    .modal-content { padding: 1rem; }
    .modal-close  { font-size: 1.25rem; }
  }