.cookie-banner,
.cookie-modal {
  position: fixed;
  z-index: 99999;
  color: #f7ecd0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cookie-banner {
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: none;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid rgba(219, 178, 87, 0.28);
  border-radius: 18px;
  background: rgba(5, 11, 21, 0.92);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.cookie-banner.is-visible,
.cookie-modal.is-visible {
  display: flex;
}

.cookie-banner__text {
  max-width: 760px;
}

.cookie-banner__text strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.cookie-banner__text p {
  margin: 0;
  color: rgba(247, 236, 208, 0.76);
  line-height: 1.45;
}

.cookie-banner__actions,
.cookie-modal__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn,
.cookie-preferences-button {
  border: 1px solid rgba(219, 178, 87, 0.35);
  border-radius: 999px;
  padding: 11px 16px;
  cursor: pointer;
  color: #f7ecd0;
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-weight: 700;
}

.cookie-btn--primary {
  color: #08101c;
  border-color: transparent;
  background: linear-gradient(135deg, #f6df91, #c99a24);
}

.cookie-btn:hover,
.cookie-preferences-button:hover {
  border-color: rgba(246, 223, 145, 0.75);
}

.cookie-modal {
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.58);
}

.cookie-modal__panel {
  width: min(560px, 100%);
  padding: 24px;
  border: 1px solid rgba(219, 178, 87, 0.3);
  border-radius: 20px;
  background: #07101d;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.5);
}

.cookie-modal__panel h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.cookie-modal__panel p {
  color: rgba(247, 236, 208, 0.72);
  line-height: 1.5;
}

.cookie-choice {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-choice strong {
  display: block;
  margin-bottom: 4px;
}

.cookie-choice span {
  color: rgba(247, 236, 208, 0.65);
  font-size: 0.92rem;
}

.cookie-choice input {
  width: 22px;
  height: 22px;
  accent-color: #d6aa3f;
}

.cookie-preferences-button {
  padding: 0;
  border: 0;
  color: rgba(247, 236, 208, 0.75);
  background: transparent;
  text-decoration: underline;
}

@media (max-width: 760px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions,
  .cookie-modal__actions {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}