/* * {
  outline: 1px solid red !important;
} */
*,
*:before,
*:after {
  box-sizing: border-box;
}
:root {
  --color-for-text: #8deeff;
}
body {
  background-color: #010101;
  font-family: "Comfortaa", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0%;
}
h1 {
  color: var(--color-for-text);
  font-family: "Tilt Neon", sans-serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 120%;
  letter-spacing: 0%;
  padding-top: 80px;
  max-width: 445px;
  text-shadow: 0 0 20px #0484fb;
  margin-top: 0;
  @media screen and (min-width: 1200px) {
    padding-top: 150px;
    font-size: 72px;
  }
}

h2 {
  color: var(--color-for-text);
  font-family: "Tilt Neon", sans-serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 120%;
  letter-spacing: 0%;
  text-shadow: 0 0 20px #0484fb;
  margin-top: 0;
  margin-bottom: 24px;
  @media screen and (min-width: 768px) {
    font-size: 48px;
  }
}
p {
  color: var(--color-for-text);
}
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.section {
  padding: 80px 0;
  margin-top: 0;
  @media screen and (max-width: 1200px) {
    padding: 60px 0;
  }
}

.container {
  margin: 0 auto;
  max-width: 1440px;
  padding: 0 20px;
  @media screen and (min-width: 1200px) {
    padding: 0 40px;
  }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background-color: black;
}
.header-container {
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-link {
  color: var(--color-for-text);
  text-decoration: none;
  transition:
    opacity 0.3s ease,
    text-shadow 0.3s ease;
}
.header-link:hover {
  opacity: 0.8;
  text-shadow: 0 0 10px rgba(141, 238, 255, 0.5);
}
.logo {
  display: block;
  height: 44px;
  width: auto;
}
.header-menu {
  display: none;
  @media screen and (min-width: 1200px) {
    display: flex;
    gap: 40px;
  }
}
.header-burger {
  display: block;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  line-height: 0;
  @media screen and (min-width: 1200px) {
    display: none;
  }
}
.header-burger:active {
  opacity: 0.6;
}
.header-burger img {
  width: 44px;
  height: 44px;
  display: block;
}
.header-mobile-menu {
  display: none;
  position: absolute;
  top: 80px;
  right: 20px;
  left: 20px;
  background: #010101;
  border: 2px solid #8deeff;
  border-radius: 20px;
  padding: 30px;
  z-index: 1000;
}
.header-mobile-menu.active {
  display: block;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.mobile-nav a {
  color: #8deeff;
  text-decoration: none;
  font-size: 24px;
  font-family: "Comfortaa", sans-serif;
}
.title-for-cards {
  color: #fbff7c;
  font-family: "Comfortaa", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0%;
}
.button {
  display: block;
  background-color: #fbff7c;
  color: #010101;
  text-align: center;
  border: none;
  border-radius: 24px;
  padding: 16px 24px;
  box-shadow: 0 0 8px 0 #fbff7c;
  width: 256px;
  height: 59px;
  font-size: 18px;
  margin-top: 125px;
  text-decoration: none;
  margin-bottom: 80px;
}
.button:hover {
  box-shadow: 0 0 16px 0 #fbff7c;
}
.hero {
  background-image: url("images/hero_img.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
}
.standart-width {
  max-width: 544px;
}
.border-img {
  border-radius: 16px;
  border: 2px solid #27b2ca;
}
.concept-container {
  display: flex;
  gap: 64px;
  justify-content: space-between;
}

.loop-list {
  display: flex;
  gap: 24px;
  justify-content: space-between;
}
.loop-list li {
  flex: 1;
}
.loop-list img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 24px;
}
.atmosphere {
  margin-bottom: 8px;
}
.atmosphere-h3 {
  color: var(--color-for-text);
  font-family: "Comfortaa", sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 130%;
  letter-spacing: 0%;
  text-shadow: 0 0 20px #0484fb;
  margin-top: 0;
  margin-bottom: 32px;
}
.modes-list {
  display: flex;
  gap: 24px;
  justify-content: space-between;
}
.modes-list li {
  flex: 1;
}
.modes-list img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 24px;
  display: block;
}
.faq-list details {
  border: 2px solid #27b2ca;
  border-radius: 20px;
  margin-bottom: 20px;
  background: transparent;
  transition: box-shadow 0.3s ease;
}
.faq-list details[open] {
  box-shadow: 0 0 15px rgba(141, 238, 255, 0.3);
}
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 35px;
  cursor: pointer;
  list-style: none;
  user-select: none;

  color: #fbff7c;
  font-family: "Comfortaa", sans-serif;
  font-weight: 700;
  font-size: 20px;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary .icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s ease;
}
.faq-list summary .icon::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #8deeff;
  border-bottom: 2px solid #8deeff;
  transform: rotate(45deg) translateY(-2px) translateX(-2px);
  transition: transform 0.3s ease;
}
.faq-list details[open] summary .icon::before {
  transform: rotate(-135deg) translateY(-2px) translateX(-2px);
}
.faq-list .content {
  color: var(--color-for-text);
  font-family: "Comfortaa", sans-serif;
  font-weight: 400;
  font-size: 18px;
  max-width: 1072px;
  padding-left: 35px;
  padding-bottom: 16px;
}
.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-contacts {
  max-width: 200px;
  color: #27b2ca;
}
.footer-title {
  color: #27b2ca;
  margin: 0 0 8px 0;
}
.footer-email {
  color: #27b2ca;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.2;
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links a {
  color: #27b2ca;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.footer-links a:hover {
  opacity: 0.7;
}
.footer-copyright {
  text-align: right;
  font-size: 14px;
  color: #27b2ca;
  margin: 0;
}
@media screen and (max-width: 1200px) {
  .footer-container {
    margin-top: 20px;
    padding: 40px 20px;
    gap: 32px;
    align-items: flex-start;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }

  .footer-links {
    align-items: flex-start;
    gap: 16px;
  }

  .footer-contacts {
    max-width: 100%;
  }

  .footer-copyright {
    text-align: left;
    margin-top: 20px;
    width: 100%;
  }
}

.policy {
  background-color: #8deeff;
  color: #010101;
  padding: 20px 160px;
}
.policy h2 {
  font-family: "Comfortaa", sans-serif;
  font-weight: 700;
  color: #010101;
  text-shadow: none;
  font-size: 28px;
}
.policy p {
  font-family: "Comfortaa", sans-serif;
  font-weight: 400;
  color: #010101;
  font-size: 18px;
}
.policy li {
  font-family: "Comfortaa", sans-serif;
  font-weight: 400;
  color: #010101;
  font-size: 18px;
}
.policy ul {
  margin-bottom: 18px;
}
.policy h1 {
  font-family: "Tilt Neon", sans-serif;
  font-weight: 400;
  color: #010101;
  text-shadow: none;
  font-size: 48px;
  line-height: 120%;
  max-width: 600px;
}
.policy h3 {
  font-family: "Comfortaa", sans-serif;
  font-weight: 700;
  color: #010101;
  font-size: 20px;
}
.policy-list a {
  color: #010101;
}
.policy-mail {
  color: #010101;
}

@media screen and (max-width: 1200px) {
  .concept-container,
  .loop-list,
  .modes-list {
    flex-direction: column;
    gap: 30px;
  }

  .container {
    padding: 0 20px;
    overflow: hidden;
  }
}
body.noscroll {
  overflow: hidden;
}
@media screen and (max-width: 1200px) {
  .policy {
    padding: 20px 20px;
  }
  .policy h1 {
    font-size: 36px;
  }
}

/* --- Загальні стилі для Cookies Popup --- */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: #010101;
  border: 1px solid #8deeff;
  border-radius: 28px; /* Оновлений радіус */
  padding: 30px;
  z-index: 9999;
  display: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cookie-popup.active {
  display: block;
}

.cookie-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cookie-text {
  color: #8deeff;
  font-family: "Comfortaa", sans-serif;
  font-size: 18px; /* Оновлений шрифт */
  line-height: 1.5;
  text-align: center;
  margin: 0;
}

.cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.cookie-btn {
  padding: 16px 30px;
  border-radius: 28px; /* Оновлений радіус */
  font-family: "Comfortaa", sans-serif;
  font-size: 18px; /* Оновлений шрифт */
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* Заборона розриву тексту на два рядки */
  white-space: nowrap;
}

.cookie-btn.accept {
  background-color: #8deeff;
  color: #010101;
  border: none;
}

.cookie-btn.decline {
  background-color: transparent;
  color: #8deeff;
  border: 1px solid #8deeff;
}

/* --- ДЕСКТОП ВЕРСІЯ --- */
@media screen and (min-width: 768px) {
  .cookie-popup {
    left: 40px;
    right: 40px;
    padding: 25px 40px;
  }

  .cookie-container {
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
  }

  .cookie-text {
    text-align: left;
  }

  .cookie-buttons {
    flex-direction: row;
    width: auto; /* Кнопки займають стільки місця, скільки треба тексту */
  }

  .cookie-btn {
    width: auto;
    min-width: 180px; /* Мінімальна ширина, щоб кнопки виглядали солідно */
  }
}

/* --- МОБІЛЬНА ВЕРСІЯ (компактна картка) --- */
@media screen and (max-width: 767px) {
  .cookie-popup {
    left: 20px;
    right: 20px;
    width: calc(100% - 40px); /* Не розтягується, залишає поля по боках */
    max-width: 350px; /* Обмежуємо ширину, щоб була як картка на скріні */
    margin: 0 auto; /* Центруємо по горизонталі */
  }
}
