/* Cookie Consent Banner - RunTheSim
   Consent-Mode-v2 banner styling. Quantum Plasma look: dark surface, cyan accent,
   Hanken Grotesk, radius 2px. Bottom-fixed toast, max 460px. */

.cc-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: auto;
  width: calc(100vw - 48px);
  max-width: 460px;
  background: #1E1A33;
  border: 1px solid rgba(139, 128, 180, 0.45);
  border-radius: 2px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 4px 14px rgba(0, 0, 0, 0.35);
  padding: 20px 22px 18px;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  color: #F0EDF7;
  z-index: 9999;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.32s ease;
}

.cc-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cc-banner__title {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #F0EDF7;
  margin: 0 0 8px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.cc-banner__body {
  font-size: 14px;
  line-height: 1.55;
  color: #B5AEC8;
  margin: 0 0 16px;
}

.cc-banner__body a {
  color: #30E8FF;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cc-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.cc-btn {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  line-height: 1.2;
}

.cc-btn--accept {
  background: #30E8FF;
  color: #0C0A14;
  border-color: #30E8FF;
}

.cc-btn--accept:hover {
  background: #5cefff;
  border-color: #5cefff;
}

.cc-btn--decline {
  background: transparent;
  color: #B5AEC8;
  border-color: rgba(139, 128, 180, 0.45);
}

.cc-btn--decline:hover {
  background: rgba(139, 128, 180, 0.12);
  border-color: rgba(139, 128, 180, 0.7);
}

@media (max-width: 540px) {
  .cc-banner {
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
    bottom: 16px;
    padding: 18px 18px 16px;
  }
  .cc-btn {
    flex: 1;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc-banner {
    transition: opacity 0.18s ease;
    transform: none;
  }
}
