.cookie-banner {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 999;
  width: calc(100% - 48px);
  max-width: 760px;
  background: var(--midnight);
  border: 1px solid #1A1D27;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(15, 17, 23, 0.22);
  padding: 20px 28px;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  pointer-events: none;
}

.cookie-banner.cookie-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.cookie-banner.cookie-hiding {
  transform: translateX(-50%) translateY(120px);
  opacity: 0;
  pointer-events: none;
}

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

.cookie-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cookie-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-mid);
}

.cookie-text p {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  color: #8A8F9E;
  line-height: 1.6;
  margin: 0;
  max-width: 480px;
}

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

.cookie-btn-decline {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #8A8F9E;
  background: transparent;
  border: 1px solid #2B2D35;
  border-radius: 4px;
  padding: 8px 18px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.cookie-btn-decline:hover {
  border-color: #4A4E5E;
  color: var(--white);
}

.cookie-btn-accept {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  background: var(--accent);
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.cookie-btn-accept:hover {
  background: #0040DD;
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 16px;
    padding: 16px 18px;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
}