.cookie-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(1, 2, 7, .54);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.cookie-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner {
  position: fixed;
  left: clamp(14px, 4vw, 46px);
  right: clamp(14px, 4vw, 46px);
  bottom: clamp(14px, 4vw, 34px);
  z-index: 100;
  display: none;
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid rgba(230, 238, 255, .20);
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 10%, rgba(159, 194, 255, .15), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(210, 107, 122, .12), transparent 26%),
    linear-gradient(180deg, rgba(13, 18, 34, .97), rgba(3, 5, 11, .97));
  box-shadow: 0 30px 100px rgba(0,0,0,.72), 0 0 60px rgba(159,194,255,.14);
  overflow: hidden;
}

.cookie-banner.visible {
  display: block;
}

.cookie-inner {
  position: relative;
  padding: clamp(20px, 3.2vw, 30px);
}

.cookie-inner::before {
  content: "SOUL CONSENT";
  position: absolute;
  right: 18px;
  top: 14px;
  color: rgba(255,255,255,.045);
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 5.4rem);
  letter-spacing: .08em;
  pointer-events: none;
  white-space: nowrap;
}

.cookie-kicker {
  position: relative;
  color: var(--blue);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .74rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.cookie-title {
  position: relative;
  margin: 0 0 10px;
  color: var(--silver);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.05;
}

.cookie-text {
  position: relative;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 760px;
}

.cookie-options {
  position: relative;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.cookie-options.open {
  display: grid;
}

.cookie-option {
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,.045);
}

.cookie-option strong {
  display: block;
  color: var(--silver);
  margin-bottom: 6px;
}

.cookie-option span {
  display: block;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}

.cookie-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.cookie-switch input {
  width: 42px;
  height: 22px;
  accent-color: var(--blue);
}

.cookie-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.cookie-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: white;
  min-height: 44px;
  padding: 0 17px;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  transition: .2s ease;
}

.cookie-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.09);
}

.cookie-button.primary {
  color: #060914;
  border-color: rgba(255,255,255,.5);
  background: linear-gradient(135deg, white, #dce7ff 45%, #9fc2ff);
  box-shadow: 0 0 32px rgba(159,194,255,.26);
}

.cookie-button.ghost {
  color: var(--muted);
}

.cookie-settings-link {
  border: 0;
  background: transparent;
  color: rgba(244,247,255,.78);
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.cookie-settings-link:hover {
  color: white;
}