.cookie-consent {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 120;
  width: min(620px, calc(100vw - 36px));
  padding: 16px;
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(9, 11, 24, 0.92);
  box-shadow: 0 18px 54px rgba(5, 7, 17, 0.3);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.cookie-consent.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-consent__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.cookie-consent__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: -0.015em;
}

.cookie-consent__text a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  display: flex;
  gap: 8px;
}

.cookie-consent__button {
  min-height: 40px;
  padding: 0 14px;
  color: #fff;
  font: 800 12px/1 Inter, Arial, sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.cookie-consent__button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
}

.cookie-consent__button--accept {
  color: #0e1020;
  border-color: #fff;
  background: #fff;
}

.cookie-consent__button--accept:hover {
  background: #eee7dc;
}

@media (max-width: 620px) {
  .cookie-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    padding: 14px;
    border-radius: 16px;
  }

  .cookie-consent__content {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cookie-consent__actions {
    justify-content: flex-end;
  }

  .cookie-consent__button {
    min-height: 38px;
  }
}

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