/* ============================================
   LUXID — Cookie Consent Banner
   ============================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(13, 13, 13, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  animation: cookie-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cookie-banner[hidden] {
  display: none;
}

@keyframes cookie-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.cookie-banner__text {
  flex: 1;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.cookie-banner__text a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  transition: color 0.2s;
}

.cookie-banner__text a:hover {
  color: #fff;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner__decline,
.cookie-banner__accept {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 10px 22px;
  border-radius: 2px;
  cursor: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  white-space: nowrap;
  line-height: 1;
}

.cookie-banner__decline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.45);
}

.cookie-banner__decline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.85);
}

.cookie-banner__accept {
  background: var(--red, #E8332A);
  border: 1.5px solid var(--red, #E8332A);
  color: #fff;
}

.cookie-banner__accept:hover {
  background: #c42820;
  border-color: #c42820;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__decline,
  .cookie-banner__accept {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
}
