/* =========================
   COOKIE CONSENT
========================= */

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 1200;

  width: min(920px, calc(100% - 32px));

  transform: translateX(-50%);

  background: rgba(11, 7, 18, 0.96);
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 22px;

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(124, 58, 237, 0.08);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

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

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

  padding: 22px 24px;
}

.cookie-copy {
  max-width: 620px;
}

.cookie-copy strong {
  display: block;

  margin-bottom: 8px;

  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;

  color: var(--text);
}

.cookie-copy p {
  margin: 0 0 10px;

  font-size: 0.9rem;
  line-height: 1.6;

  color: rgba(247, 242, 255, 0.68);
}

.cookie-policy-link {
  display: inline-block;

  font-size: 0.85rem;
  font-weight: 600;

  color: var(--purple-light);

  text-decoration: none;
}

.cookie-policy-link:hover {
  color: var(--text);
}

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

  flex-shrink: 0;
}

.cookie-actions .btn {
  min-width: 120px;
  justify-content: center;
}

.footer-cookie-button {
  padding: 0;

  border: 0;
  background: transparent;

  color: inherit;

  font: inherit;
  text-align: left;

  cursor: pointer;
}

.footer-cookie-button:hover {
  color: var(--purple-light);
}

.footer-bottom-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-privacy a {
  color: var(--purple-light);
  font-weight: 600;
  text-decoration: none;
}

.contact-privacy a:hover {
  color: var(--text);
}


/* =========================
   COOKIE CONSENT - MOBILE
========================= */

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 14px;

    width: calc(100% - 20px);

    border-radius: 18px;
  }

  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;

    gap: 18px;

    padding: 20px;
  }

  .cookie-actions {
    width: 100%;
  }

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

  .cookie-copy p {
    font-size: 0.86rem;
  }

  .footer-bottom-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .cookie-actions {
    flex-direction: column;
  }

  .cookie-actions .btn {
    width: 100%;
  }
}
