/* ============================================================
   БАННЕР СОГЛАСИЯ НА COOKIE внизу экрана (#cookieConsent) — (.cookie-consent*).
   ============================================================ */

.cookie-consent {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9998;
  max-width: 560px;
  width: auto;
  min-width: 320px;
  background: linear-gradient(145deg, rgba(18, 12, 28, 0.97), rgba(10, 6, 18, 0.99));
  border: 1px solid rgba(255, 184, 48, 0.15);
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 184, 48, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(calc(100% + 40px));
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.cookie-consent.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-consent::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 30%;
  right: 30%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FFB830, transparent);
  border-radius: 999px;
}

.cookie-consent__inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cookie-consent__icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.cookie-consent__content {
  flex: 1;
  min-width: 0;
}

.cookie-consent__text {
  font-size: 13px;
  color: rgba(212, 200, 232, 0.75);
  line-height: 1.5;
}

.cookie-consent__text a {
  color: #FFB830;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.cookie-consent__text a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.cookie-consent__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 10px 22px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #FFB830, #FF8C00);
  color: #08040C;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 16px rgba(255, 184, 48, 0.25);
  white-space: nowrap;
}

.cookie-consent__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 184, 48, 0.35);
}

.cookie-consent__btn i {
  font-size: 12px;
}

@media (max-width: 768px) and (min-width: 481px) {
  .cookie-consent {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(calc(100% + 40px));
    width: 420px;
    max-width: calc(100% - 40px);
    min-width: unset;
    padding: 12px 16px;
    border-radius: 14px;
  }
  .cookie-consent.show {
    transform: translateX(-50%) translateY(0);
  }
  .cookie-consent__inner {
    flex-direction: row;
    gap: 10px;
  }
  .cookie-consent__icon {
    font-size: 18px;
  }
  .cookie-consent__text {
    font-size: 12px;
  }
  .cookie-consent__btn {
    padding: 8px 16px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .cookie-consent {
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(calc(100% + 40px));
    width: 340px;
    max-width: calc(100% - 32px);
    min-width: unset;
    padding: 12px 16px;
    border-radius: 14px;
  }
  .cookie-consent.show {
    transform: translateX(-50%) translateY(0);
  }
  .cookie-consent__inner {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .cookie-consent__icon {
    display: none !important;
  }
  .cookie-consent__text {
    font-size: 11px;
    text-align: left;
  }
  .cookie-consent__text a {
    white-space: nowrap;
  }
  .cookie-consent__btn {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 11px;
    max-width: 110px;
    width: auto;
  }
}

@media (max-width: 360px) {
  .cookie-consent {
    width: 300px;
    max-width: calc(100% - 24px);
    padding: 10px 12px;
    bottom: 12px;
  }
  .cookie-consent__text {
    font-size: 10px;
  }
  .cookie-consent__btn {
    padding: 6px 12px;
    font-size: 10px;
    max-width: 90px;
  }
  .cookie-consent__text a {
    white-space: normal;
  }
}

