/* Footer styles for Beaute View */

.bv-footer {
  border-top: 1px solid var(--color-border-subtle);
  background: radial-gradient(circle at 0 100%, rgba(123, 109, 255, 0.22) 0, transparent 52%),
              radial-gradient(circle at 100% 0, rgba(144, 226, 255, 0.12) 0, transparent 50%),
              #050615;
  padding-top: var(--space-28);
  padding-bottom: var(--space-16);
}

.bv-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.4fr);
  gap: var(--space-24);
}

.bv-footer__brand-block {
  max-width: 520px;
}

.bv-footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.bv-footer__logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 10%, rgba(255,255,255,0.8) 0, transparent 42%),
              radial-gradient(circle at 70% 80%, rgba(123, 109, 255, 0.9) 0, rgba(5,6,16,0.3) 60%),
              linear-gradient(145deg, #111325, #262a4f);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.2), var(--shadow-soft);
}

.bv-footer__brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bv-footer__site-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bv-footer__site-tagline {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.bv-footer__description {
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.bv-footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-16);
}

.bv-footer__heading {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-bottom: var(--space-6);
}

.bv-footer__list {
  list-style: none;
}

.bv-footer__list li + li {
  margin-top: 0.4rem;
}

.bv-footer__list a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.bv-footer__list a:hover,
.bv-footer__list a:focus-visible {
  color: #ffffff;
}

.bv-footer__bottom {
  margin-top: var(--space-24);
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-10);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-8);
}

.bv-footer__copyright {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Cookie banner */

.bv-cookie {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-slow), opacity var(--transition-slow);
}

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

.bv-cookie__inner {
  margin-bottom: var(--space-8);
  padding: var(--space-12) var(--space-16);
  border-radius: var(--radius-lg);
  background: rgba(5, 7, 20, 0.98);
  border: 1px solid var(--color-border-strong);
  box-shadow: var(--shadow-elevated);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-16);
}

.bv-cookie__title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: var(--space-4);
}

.bv-cookie__description {
  font-size: 0.9rem;
}

.bv-cookie__link {
  display: inline-block;
  margin-top: var(--space-4);
  font-size: 0.85rem;
}

.bv-cookie__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--space-6);
  justify-content: flex-end;
}

.bv-cookie__button {
  font-size: 0.8rem;
  padding-inline: 1rem;
  white-space: nowrap;
}

/* Cookie banner reduced spacing on small screens */

@media (max-width: 768px) {
  .bv-footer__top {
    grid-template-columns: minmax(0, 1fr);
  }

  .bv-footer__links {
    grid-template-columns: minmax(0, 1fr);
  }

  .bv-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .bv-cookie__inner {
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-10) var(--space-10) var(--space-12);
  }

  .bv-cookie__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .bv-cookie__button {
    width: 100%;
    justify-content: center;
  }
}
