/* MassAI — cookie consent banner (Consent Mode v2) */
.massai-consent {
  position: fixed;
  bottom: 16px;
  right: 16px;
  left: 16px;
  max-width: 420px;
  margin-left: auto;
  z-index: 9999;
  background: rgba(15, 15, 25, 0.92);
  border: 1px solid rgba(0, 229, 160, 0.25);
  border-radius: 12px;
  padding: 18px 20px;
  color: #e0e0e8;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  line-height: 1.5;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55), 0 0 30px rgba(0, 229, 160, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translateY(20px);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}

.massai-consent[data-visible="true"] {
  transform: translateY(0);
  opacity: 1;
}

.massai-consent__title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00e5a0;
  margin-bottom: 8px;
}

.massai-consent__text {
  margin: 0 0 14px;
  color: #c7c7d1;
}

.massai-consent__text a {
  color: #00e5a0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.massai-consent__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.massai-consent__btn {
  font: inherit;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.massai-consent__btn--primary {
  background: #00e5a0;
  color: #000;
}

.massai-consent__btn--primary:hover {
  box-shadow: 0 0 18px rgba(0, 229, 160, 0.45);
  transform: translateY(-1px);
}

.massai-consent__btn--secondary {
  background: transparent;
  color: #00e5a0;
  border-color: rgba(0, 229, 160, 0.45);
}

.massai-consent__btn--secondary:hover {
  border-color: rgba(0, 229, 160, 0.8);
  background: rgba(0, 229, 160, 0.08);
}

.massai-consent__btn--ghost {
  background: transparent;
  color: #e0e0e8;
  border-color: rgba(255, 255, 255, 0.18);
}

.massai-consent__btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.massai-consent__btn:focus-visible {
  outline: 2px solid #00e5a0;
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .massai-consent {
    bottom: 8px;
    right: 8px;
    left: 8px;
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .massai-consent { transition: opacity .15s ease; transform: none; }
}
