/* ── COOKIE CONSENT BANNER ─────────────────────────────── */
#cc-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 99998;
  width: min(680px, calc(100vw - 2rem));
  background: rgba(16,13,26,.97);
  border: 1px solid rgba(255,45,120,.3);
  border-radius: 6px;
  backdrop-filter: blur(20px);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 8px 40px rgba(0,0,0,.6), 0 0 60px rgba(255,45,120,.06);
  transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .4s;
  opacity: 0;
  font-family: 'Space Grotesk', sans-serif;
}
#cc-banner.cc-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.cc-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.cc-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: .1rem;
}
.cc-title {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 1.2rem;
  letter-spacing: .08em;
  color: #fff;
  margin-bottom: .3rem;
}
.cc-text {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
}
.cc-text a {
  color: #00f5ff;
  text-decoration: none;
}
.cc-text a:hover { text-decoration: underline; }
.cc-buttons {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.cc-btn {
  flex: 1;
  min-width: 120px;
  padding: .6rem 1.25rem;
  border-radius: 3px;
  border: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
}
.cc-btn-accept {
  background: linear-gradient(135deg, #ff2d78, #9b30ff);
  color: #fff;
  box-shadow: 0 0 20px rgba(255,45,120,.3);
}
.cc-btn-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(255,45,120,.5);
}
.cc-btn-decline {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.1);
}
.cc-btn-decline:hover {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
}
.cc-btn-settings {
  background: transparent;
  color: rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.08);
  flex: 0;
  min-width: auto;
  white-space: nowrap;
}
.cc-btn-settings:hover {
  color: rgba(255,255,255,.6);
  border-color: rgba(255,255,255,.2);
}

/* Settings modal */
#cc-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
#cc-modal.cc-show { display: flex; }
.cc-modal-box {
  background: rgba(16,13,26,.99);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  width: min(520px, 100%);
  max-height: 80vh;
  overflow-y: auto;
  padding: 2rem;
}
.cc-modal-title {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 1.5rem;
  letter-spacing: .08em;
  color: #fff;
  margin-bottom: 1.5rem;
}
.cc-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.cc-toggle-row:last-of-type { border-bottom: none; }
.cc-toggle-info strong {
  display: block;
  font-size: .88rem;
  color: #fff;
  margin-bottom: .2rem;
}
.cc-toggle-info span {
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  line-height: 1.5;
}
/* toggle switch */
.cc-switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.cc-switch input { opacity: 0; width: 0; height: 0; }
.cc-slider {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.1);
  border-radius: 24px;
  cursor: pointer;
  transition: background .2s;
}
.cc-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; bottom: 3px;
  background: rgba(255,255,255,.4);
  border-radius: 50%;
  transition: transform .2s, background .2s;
}
.cc-switch input:checked + .cc-slider {
  background: linear-gradient(135deg, #ff2d78, #9b30ff);
}
.cc-switch input:checked + .cc-slider::before {
  transform: translateX(20px);
  background: #fff;
}
.cc-switch input:disabled + .cc-slider {
  opacity: .5;
  cursor: not-allowed;
}
.cc-modal-actions {
  display: flex;
  gap: .75rem;
  margin-top: 1.5rem;
}
.cc-modal-actions .cc-btn { flex: 1; }

@media (max-width: 480px) {
  #cc-banner { padding: 1.25rem; bottom: .75rem; }
  .cc-buttons { flex-direction: column; }
  .cc-btn { flex: none; width: 100%; }
  .cc-btn-settings { width: 100%; text-align: center; flex: none; }
}
