/* Aetherion Cookie Consent — support.aetherion.studio */
.ae-cookie-bar {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(215,181,109,.32);
  border-radius: 24px;
  background: rgba(5,4,6,.96);
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
  color: #f8eddb;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-sizing: border-box;
}

.ae-cookie-bar *,
.ae-cookie-panel * {
  box-sizing: border-box;
}

.ae-cookie-inner {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.ae-cookie-copy h3 {
  margin: 0 0 6px;
  color: #fff4df;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 600;
}

.ae-cookie-copy p {
  margin: 0;
  color: #d8cdb8;
  font-size: .92rem;
  line-height: 1.45;
  font-weight: 400;
}

.ae-cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  flex: 0 0 auto;
}

.ae-cookie-btn {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(215,181,109,.28);
  border-radius: 999px;
  padding: 11px 16px;
  background: #111015;
  color: #f4e8d1;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .9rem;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
  white-space: nowrap;
  text-decoration: none;
}

.ae-cookie-btn-primary {
  color: #120c04;
  background: linear-gradient(135deg, #f5d78a 0%, #d7ad58 52%, #aa7930 100%);
  border-color: rgba(255,224,146,.9);
  box-shadow: 0 10px 26px rgba(215,173,88,.18);
}

.ae-cookie-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(245,215,138,.72);
  text-decoration: none;
  color: #fff4df;
}

.ae-cookie-btn-primary:hover {
  color: #120c04;
}

.ae-cookie-btn:focus-visible {
  outline: 2px solid rgba(245,215,138,.95);
  outline-offset: 3px;
}

.ae-cookie-panel {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.58);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ae-cookie-panel.is-open {
  display: flex;
}

.ae-cookie-modal {
  width: min(560px, 100%);
  border: 1px solid rgba(215,181,109,.32);
  border-radius: 28px;
  background: #070609;
  color: #f8eddb;
  box-shadow: 0 30px 100px rgba(0,0,0,.65);
  padding: 24px;
}

.ae-cookie-modal h3 {
  margin: 0 0 8px;
  color: #fff4df;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.6rem;
  line-height: 1.15;
  font-weight: 600;
}

.ae-cookie-modal p {
  margin: 0 0 14px;
  color: #d8cdb8;
  font-size: .94rem;
  line-height: 1.5;
}

.ae-cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(215,181,109,.16);
}

.ae-cookie-row strong {
  display: block;
  color: #fff4df;
  font-size: .95rem;
  line-height: 1.25;
}

.ae-cookie-row small {
  display: block;
  margin-top: 3px;
  color: #bcae91;
  font-size: .82rem;
  line-height: 1.35;
}

.ae-cookie-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
}

.ae-cookie-switch input {
  width: 22px;
  height: 22px;
  accent-color: #d7ad58;
  cursor: pointer;
}

.ae-cookie-switch input:disabled {
  cursor: not-allowed;
  opacity: .82;
}

.ae-cookie-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 18px;
}

@media (max-width: 760px) {
  .ae-cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ae-cookie-actions {
    width: 100%;
    justify-content: stretch;
  }

  .ae-cookie-btn {
    flex: 1;
    text-align: center;
  }

  .ae-cookie-bar {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 16px;
  }

  .ae-cookie-modal {
    padding: 20px;
    border-radius: 24px;
  }

  .ae-cookie-row {
    align-items: flex-start;
  }

  .ae-cookie-modal-actions {
    justify-content: stretch;
  }

  .ae-cookie-modal-actions .ae-cookie-btn {
    flex: 1;
  }
}
