:root {
  --cookie-bg: rgba(16, 25, 33, 0.94);
  --cookie-line: rgba(255, 255, 255, 0.12);
  --cookie-text: #e6edf4;
  --cookie-muted: #a7b7c5;
  --cookie-accent: #f66026;
  --cookie-accent-hover: #ff8758;
}

.cookie-consent {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-consent__card {
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--cookie-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(246, 96, 38, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    var(--cookie-bg);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: auto;
}

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

.cookie-consent__title {
  margin: 0 0 6px;
  color: var(--cookie-text);
  font-family: "Sora", "IBM Plex Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cookie-consent__text {
  margin: 0;
  color: var(--cookie-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-consent__text a {
  color: var(--cookie-text);
  text-decoration: underline;
  text-decoration-color: rgba(246, 96, 38, 0.5);
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-consent__accept {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--cookie-accent), var(--cookie-accent-hover));
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.cookie-consent__accept:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.cookie-consent__link {
  color: var(--cookie-text);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.cookie-consent.is-hidden {
  display: none;
}

@media (max-width: 760px) {
  .cookie-consent {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .cookie-consent__card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
  }

  .cookie-consent__actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

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