:root {
  --footer-height: 76px;
  --viewport-height: 100vh;
  --gold: #f1c64b;
  --green: #20df61;
  --black: #020604;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: var(--viewport-height);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(32, 223, 97, 0.16), transparent 32%),
    radial-gradient(circle at 86% 86%, rgba(241, 198, 75, 0.13), transparent 34%),
    var(--black);
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

.slideshow {
  position: fixed;
  inset: 0 0 var(--footer-height);
  height: calc(var(--viewport-height) - var(--footer-height));
  display: grid;
  place-items: center;
  background: #020604;
  isolation: isolate;
}

.slides,
.slide {
  position: absolute;
  inset: 0;
  margin: 0;
}

.slide {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  transition: opacity 700ms ease;
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slide-bg {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  filter: blur(18px) brightness(0.45) saturate(1.12);
  transform: scale(1.04);
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.24)),
    radial-gradient(circle at center, transparent 52%, rgba(0, 0, 0, 0.34));
  z-index: 1;
}

.slide-image {
  position: relative;
  z-index: 2;
  display: block;
  width: auto;
  height: auto;
  max-width: 100vw;
  max-height: calc(var(--viewport-height) - var(--footer-height));
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.42));
}

.social-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  height: calc(var(--footer-height) + env(safe-area-inset-bottom));
  padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 4vw, 26px);
  background: linear-gradient(180deg, rgba(2, 6, 4, 0.82), rgba(2, 6, 4, 0.98));
  border-top: 1px solid rgba(32, 223, 97, 0.42);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
}

.social-link {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: white;
  text-decoration: none;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.36);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.social-link svg {
  width: 31px;
  height: 31px;
  display: block;
  fill: currentColor;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.46);
  outline: none;
}

.facebook {
  background: linear-gradient(145deg, #1b74e4, #0849a8);
  font-family: Arial, Helvetica, sans-serif;
}

.instagram {
  background: radial-gradient(circle at 28% 105%, #feda75 0 18%, #fa7e1e 32%, #d62976 55%, #962fbf 76%, #4f5bd5 100%);
  font-size: 38px;
}

.whatsapp {
  background: linear-gradient(145deg, #25d366, #0a8f43);
}

@media (orientation: landscape) and (max-height: 520px) {
  :root {
    --footer-height: 58px;
  }

  .social-footer {
    padding-top: 6px;
    padding-bottom: calc(6px + env(safe-area-inset-bottom));
  }

  .social-link {
    width: 44px;
    height: 44px;
    font-size: 25px;
  }

  .instagram {
    font-size: 31px;
  }
}

@media (max-width: 480px) {
  :root {
    --footer-height: 70px;
  }

  .social-link {
    width: 50px;
    height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide {
    transition: none;
  }

  .social-link {
    transition: none;
  }
}
