.cookie-consent {
  position: fixed;
  z-index: 10000;
  right: 20px;
  bottom: 20px;
  width: min(520px, calc(100vw - 40px));
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 20px;
  color: #e2e8f0;
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.14), transparent 38%),
    rgba(7, 17, 31, 0.97);
  box-shadow: 0 24px 70px rgba(2, 8, 23, 0.34);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cookie-consent__title {
  margin: 0 0 8px;
  color: #fff;
  font: 700 1.05rem/1.3 Inter, system-ui, sans-serif;
  letter-spacing: -0.02em;
}

.cookie-consent__text {
  margin: 0;
  color: rgba(226, 232, 240, 0.78);
  font: 400 0.9rem/1.55 Inter, system-ui, sans-serif;
}

.cookie-consent__text a {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.cookie-consent__button {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font: 650 0.84rem/1 Inter, system-ui, sans-serif;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.cookie-consent__button:hover {
  border-color: rgba(147, 197, 253, 0.45);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.cookie-consent__button:focus-visible {
  outline: 2px solid #67e8f9;
  outline-offset: 2px;
}

.cookie-consent__button--primary {
  color: #06111f;
  border-color: transparent;
  background: linear-gradient(135deg, #dbeafe, #67e8f9);
}

.cookie-consent__button--primary:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #fff, #a5f3fc);
}

@media (max-width: 600px) {
  .cookie-consent {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 17px;
    border-radius: 17px;
  }

  .cookie-consent__actions {
    display: grid;
  }

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

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

  .cookie-consent__button {
    transition: none;
  }
}
