.cookie-consent {
  position: fixed;
  inset: auto 18px 18px;
  z-index: 9998;
  font-family: "Poppins", Arial, sans-serif;
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent__panel {
  width: min(1040px, 100%);
  margin-left: auto;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 0%, rgba(112, 92, 252, .20), transparent 36%),
    linear-gradient(135deg, rgba(12, 18, 30, .98), rgba(18, 27, 43, .98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
  color: #eef3ff;
  padding: 18px;
  backdrop-filter: blur(16px);
}

.cookie-consent__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #37f0c2;
  background: rgba(55, 240, 194, .10);
  box-shadow: inset 0 0 0 1px rgba(55, 240, 194, .18);
  font-size: 1.45rem;
}

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

.cookie-consent__eyebrow {
  margin: 0 0 4px;
  color: #37f0c2;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cookie-consent h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 900;
}

.cookie-consent p {
  margin: 0;
}

.cookie-consent__content > p:not(.cookie-consent__eyebrow) {
  max-width: 760px;
  color: rgba(238, 243, 255, .74);
  font-size: .84rem;
  line-height: 1.55;
}

.cookie-consent__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
  color: rgba(238, 243, 255, .42);
  font-size: .78rem;
  font-weight: 700;
}

.cookie-consent__links a {
  color: #f6c65b;
  text-decoration: none;
}

.cookie-consent__links a:hover {
  color: #fff;
  text-decoration: underline;
}

.cookie-consent__prefs {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.cookie-consent__prefs[hidden] {
  display: none !important;
}

.cookie-consent__option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 12px;
  background: rgba(255, 255, 255, .045);
  cursor: pointer;
}

.cookie-consent__option.is-required {
  cursor: default;
}

.cookie-consent__option strong,
.cookie-consent__option small {
  display: block;
}

.cookie-consent__option strong {
  color: #fff;
  font-size: .8rem;
  font-weight: 900;
}

.cookie-consent__option small {
  margin-top: 2px;
  color: rgba(238, 243, 255, .62);
  font-size: .72rem;
  line-height: 1.35;
}

.cookie-consent__option input {
  width: 22px;
  height: 22px;
  accent-color: #37f0c2;
}

.cookie-consent__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  min-width: 178px;
}

.cookie-consent__btn {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

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

.cookie-consent__btn--primary {
  color: #061018;
  background: linear-gradient(135deg, #37f0c2, #f6c65b);
  box-shadow: 0 12px 30px rgba(55, 240, 194, .20);
}

.cookie-consent__btn--ghost {
  color: #eef3ff;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.cookie-consent__btn--ghost:hover {
  background: rgba(255, 255, 255, .14);
}

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

.footer-cookie-preferences {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.footer-cookie-preferences:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 860px) {
  .cookie-consent {
    inset: auto 10px 10px;
  }

  .cookie-consent__panel {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
  }

  .cookie-consent__icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    font-size: 1.15rem;
  }

  .cookie-consent__actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    min-width: 0;
  }

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

@media (max-width: 520px) {
  .cookie-consent__panel {
    grid-template-columns: 1fr;
  }

  .cookie-consent__icon {
    display: none;
  }

  .cookie-consent h2 {
    font-size: .98rem;
  }

  .cookie-consent__content > p:not(.cookie-consent__eyebrow) {
    font-size: .78rem;
  }
}
