.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: none;
}

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

.cookie-box {
  width: min(980px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  background: rgba(13,19,32,.97);
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
  padding: 20px;
  backdrop-filter: blur(12px);
}

.cookie-box h2 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -.03em;
}

.cookie-box p {
  margin: 0;
  color: #aebbd0;
  line-height: 1.55;
  font-size: 14px;
}

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

.cookie-actions button,
.cookie-footer-button {
  border: 0;
  border-radius: 14px;
  padding: 12px 15px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cookie-accept {
  color: #06111e;
  background: linear-gradient(135deg, #69d2ff, #9ee493);
}

.cookie-reject,
.cookie-settings,
.cookie-footer-button {
  color: #f4f7fb;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
}

.cookie-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: #69d2ff;
}

.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  background: rgba(0,0,0,.62);
  padding: 18px;
  align-items: center;
  justify-content: center;
}

.cookie-modal-backdrop.is-visible {
  display: flex;
}

.cookie-modal {
  width: min(720px, 100%);
  max-height: min(780px, calc(100vh - 36px));
  overflow: auto;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 26px;
  background: #111a2a;
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
  padding: 24px;
  color: #f4f7fb;
}

.cookie-modal h2 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -.04em;
}

.cookie-modal p {
  color: #aebbd0;
  line-height: 1.6;
}

.cookie-option {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 16px;
  margin: 12px 0;
  background: rgba(255,255,255,.05);
}

.cookie-option-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.cookie-option strong {
  display: block;
  margin-bottom: 4px;
}

.cookie-option span {
  color: #aebbd0;
  font-size: 14px;
}

.cookie-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #aebbd0;
  white-space: nowrap;
}

.cookie-switch input {
  width: 22px;
  height: 22px;
  accent-color: #69d2ff;
}

.cookie-footer-link {
  margin-left: 8px;
}

@media (max-width: 620px) {
  .cookie-actions {
    flex-direction: column;
  }

  .cookie-actions button,
  .cookie-footer-button {
    width: 100%;
  }

  .cookie-option-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
