.ct-cookie-consent {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 3000;
  width: min(440px, calc(100vw - 44px));
  color: #fff;
  font-family: 'Neue Haas Grotesk Text', Arial, sans-serif;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}

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

.ct-cookie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, .22);
  border-radius: 14px;
  background:
    radial-gradient(circle at 10% 0%, rgba(169, 130, 234, .20), transparent 36%),
    linear-gradient(180deg, rgba(22, 15, 40, .94), rgba(11, 8, 18, .94));
  box-shadow:
    0 24px 70px rgba(0, 0, 0, .48),
    0 0 0 1px rgba(255, 255, 255, .035) inset;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 20px;
}

.ct-cookie-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(169, 130, 234, .12), transparent);
  opacity: .55;
}

.ct-cookie-content {
  position: relative;
  z-index: 1;
}

.ct-cookie-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #a982ea;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.ct-cookie-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #a982ea;
  box-shadow: 0 0 14px rgba(169, 130, 234, .75);
}

.ct-cookie-title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.ct-cookie-text {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.55;
}

.ct-cookie-link {
  color: #d9c7ff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 199, 255, .36);
  transition: color .2s, border-color .2s;
}

.ct-cookie-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .7);
}

.ct-cookie-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.ct-cookie-btn {
  appearance: none;
  border: 0;
  border-radius: 9px;
  padding: 11px 16px;
  color: #fff;
  cursor: pointer;
  font-family: 'Neue Haas Grotesk Text', Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transition: background .2s, border-color .2s, box-shadow .2s, transform .15s;
}

.ct-cookie-btn:hover {
  transform: translateY(-1px);
}

.ct-cookie-btn-secondary {
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .86);
}

.ct-cookie-btn-secondary:hover {
  border-color: rgba(169, 130, 234, .42);
  background: rgba(169, 130, 234, .10);
  color: #fff;
}

.ct-cookie-btn-primary {
  background: #a982ea;
  box-shadow: 0 8px 26px rgba(169, 130, 234, .34);
}

.ct-cookie-btn-primary:hover {
  background: #9367dc;
  box-shadow: 0 10px 32px rgba(169, 130, 234, .42);
}

@media (max-width: 640px) {
  .ct-cookie-consent {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .ct-cookie-card {
    padding: 18px;
    border-radius: 12px;
  }

  .ct-cookie-title {
    font-size: 17px;
  }

  .ct-cookie-text {
    font-size: 13px;
  }

  .ct-cookie-actions {
    align-items: stretch;
    flex-direction: column-reverse;
    gap: 8px;
  }

  .ct-cookie-btn {
    width: 100%;
    padding: 12px 16px;
  }
}

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