/* Cookie consent banner — GDPR compliance.
   Owns: banner layout, animation, button styles.
   Does NOT own: consent logic (that's in cookie-consent.js). */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.35s ease-out, opacity 0.35s ease-out;
  opacity: 0;
  pointer-events: none;
}

.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner--hiding {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  background: rgba(20, 18, 15, 0.97);
  border-top: 1px solid rgba(184, 134, 11, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cookie-banner__text {
  flex: 1;
  min-width: 0;
}

.cookie-banner__title {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #d4a940;
  letter-spacing: 0.02em;
}

.cookie-banner__sep {
  opacity: 0.4;
  margin: 0 0.3em;
}

.cookie-banner__desc {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

.cookie-banner__en {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.5rem 1.1rem;
  border: none;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.cookie-btn--accept {
  background: #b8860b;
  color: #fff;
}

.cookie-btn--accept:hover {
  background: #d4a940;
  box-shadow: 0 0 12px rgba(184, 134, 11, 0.4);
}

.cookie-btn--reject {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-btn--reject:hover {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
}

/* Mobile: stack vertically */
@media (max-width: 600px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.8rem;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

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