.cookie-consent {
  position: fixed;
  z-index: 10000;
  right: clamp(16px, 3vw, 40px);
  bottom: clamp(16px, 3vw, 32px);
  left: clamp(16px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(760px, calc(100% - clamp(32px, 6vw, 80px)));
  margin: 0 auto;
  padding: 18px 20px;
  color: #f6f8f7;
  background: rgba(8, 13, 15, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.42);
  font-family: "Space Grotesk", Arial, sans-serif;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent.is-closing {
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px);
}

.cookie-consent__copy {
  min-width: 0;
}

.cookie-consent__title {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cookie-consent__text {
  margin: 0;
  color: rgba(246, 248, 247, 0.72);
  font-size: 0.82rem;
  line-height: 1.5;
}

.cookie-consent__accept {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 22px;
  color: #061014;
  background: #43c7f2;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.cookie-consent__accept:hover {
  background: #79dcfb;
  transform: translateY(-1px);
}

.cookie-consent__accept:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 620px) {
  .cookie-consent {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 17px;
  }

  .cookie-consent__accept {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent,
  .cookie-consent__accept {
    transition: none;
  }
}
