.consent-lock {
  overflow: hidden;
}

.consent-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  background: rgba(2, 6, 23, 0.58);
  backdrop-filter: grayscale(0.35) brightness(0.72);
}

.consent-backdrop.is-visible {
  display: block;
}

.consent-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 10000;
  display: none;
  max-width: 820px;
  margin: 0 auto;
  padding: 22px;
  color: #ffffff;
  background: rgba(17, 17, 48, 0.96);
  border: 1px solid rgba(99, 102, 241, 0.34);
  border-radius: 14px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(18px);
}

.consent-banner.is-visible {
  display: block;
}

.consent-banner__content {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 280px);
  gap: 20px;
  align-items: center;
}

.consent-banner__title {
  margin: 0 0 5px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 700;
}

.consent-banner__text {
  margin: 0;
  color: #94a3b8;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  line-height: 1.55;
}

.consent-banner__text a {
  color: #a5b4fc;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.consent-banner__button {
  width: 100%;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

.consent-banner__button:hover,
.consent-banner__button:focus-visible {
  border-color: rgba(165, 180, 252, 0.7);
  outline: none;
}

.consent-banner__button--accept {
  min-height: 54px;
  padding: 0 24px;
  border-color: transparent;
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  font-size: 15.5px;
  box-shadow: 0 12px 32px rgba(6, 182, 212, 0.28);
}

.consent-banner__button--decline {
  width: auto;
  min-height: auto;
  padding: 4px 8px;
  border-color: transparent;
  color: #94a3b8;
  background: transparent;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 680px) {
  .consent-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 16px;
  }

  .consent-banner__content {
    grid-template-columns: 1fr;
  }

  .consent-banner__actions {
    width: 100%;
  }

  .consent-banner__button {
    flex: 1;
  }

  .consent-banner__button--decline {
    flex: 0;
  }
}
