* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  background: #111 url("imagemfundo-4k.png?v=20260820-4k") center / cover
    no-repeat;
  color: #fff;
  font-family: Arial, sans-serif;
}

.sound-intro {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at center, rgba(38, 29, 63, 0.94), rgba(8, 10, 16, 0.98)),
    #0b0c12;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.sound-experience-ready .sound-intro {
  display: none;
}

.sound-intro.is-leaving {
  visibility: hidden;
  opacity: 0;
}

.sound-intro__content {
  max-width: 540px;
  text-align: center;
}

.sound-intro__content p {
  margin: 0 0 20px;
  color: #f5c928;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.sound-intro__content h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  letter-spacing: -0.07em;
}

.sound-intro__content button {
  margin-top: 34px;
  padding: 16px 20px;
  border: 1px solid #f5c928;
  background: #f5c928;
  color: #16120a;
  font: 700 0.93rem Arial, sans-serif;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.sound-intro__content button:hover,
.sound-intro__content button:focus-visible {
  background: #fff;
  transform: translateY(-3px);
}

.sound-intro__content small {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.64);
}

.container-perfis {
  position: relative;
  display: flex;
  width: 100vw;
  height: 100vh;
  isolation: isolate;
}

.index-entry .container-perfis {
  animation: indexReturnIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes indexReturnIn {
  from {
    opacity: 0;
    transform: scale(1.015);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.perfil::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.perfil {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-width: 0;
  text-align: center;
  transition: flex 0.4s ease;
}

.perfil a {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.audio-toggle {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(245, 201, 40, 0.75);
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.72);
  color: #f5c928;
  cursor: pointer;
  opacity: 0.82;
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.audio-toggle--betinho {
  top: 28px;
  right: 28px;
}

.audio-toggle svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.audio-toggle:hover,
.audio-toggle:focus-visible,
.audio-toggle[aria-pressed="true"] {
  background: #f5c928;
  color: #151515;
  opacity: 1;
  transform: scale(1.08);
}

.audio-toggle[aria-pressed="true"] {
  animation: audioPulse 1.6s ease-in-out infinite;
}

.youtube-audio-player {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  pointer-events: none;
}

.youtube-audio-player iframe {
  width: 1px;
  height: 1px;
  border: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@keyframes audioPulse {
  50% {
    box-shadow: 0 0 0 9px rgba(245, 201, 40, 0);
  }
}

.imagem-wrapper {
  width: 200px;
  height: 200px;
  overflow: hidden;
  border: 3px solid #f5c928;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(245, 201, 40, 0.2);
  transition: transform 0.4s ease;
}

.imagem-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nome {
  margin: 20px 0 0;
  color: #ccc;
  font-size: 1.8rem;
  transition: color 0.4s ease;
}

.descricao {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  padding-top: 10px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.4s ease;
}

.perfil:hover::before,
.perfil:focus-within::before {
  opacity: 1;
}

.container-perfis:has(.perfil:hover) .perfil {
  flex: 0.72;
}
.container-perfis .perfil:hover {
  flex: 1.56;
}

.perfil:hover .imagem-wrapper,
.perfil:focus-within .imagem-wrapper {
  transform: scale(1.15);
}

.perfil:hover .nome,
.perfil:focus-within .nome {
  color: #fff;
}

.perfil:hover .descricao,
.perfil:focus-within .descricao {
  max-height: 100px;
  opacity: 1;
}

.betinho-gif,
.zunky-gif {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.betinho-gif img,
.zunky-gif img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.betinho-gif picture {
  display: block;
  width: 100%;
  height: 100%;
}

.perfil-2:hover .betinho-gif,
.perfil-2:focus-within .betinho-gif {
  opacity: 0.35;
}

.perfil-3:hover .zunky-gif,
.perfil-3:focus-within .zunky-gif {
  opacity: 0.35;
}

.page-transition {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
  visibility: hidden;
  background: rgba(4, 12, 20, 0.97);
  opacity: 0;
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease;
}

.page-transition img {
  width: min(340px, 65vw);
  border-radius: 50%;
  filter: drop-shadow(0 0 32px rgba(245, 201, 40, 0.28));
  transform: scale(0.75);
}

.page-transition.is-active {
  visibility: visible;
  opacity: 1;
}

.page-transition.is-active img {
  animation: transitionEnter 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-transition--zunky img {
  width: min(420px, 58vw);
  height: min(420px, 58vh);
  border-radius: 0;
  object-fit: contain;
}

.page-transition.is-closing {
  animation: transitionOverlayClose 0.45s ease-in both;
}

.page-transition.is-closing img {
  animation: transitionGifClose 0.45s ease-in both;
}

.page-transition--zunky.is-closing {
  animation: zunkyOverlayClose 0.45s ease-in both;
}

.page-transition--zunky.is-closing img {
  animation: zunkyGifClose 0.45s ease-in both;
}

@keyframes transitionEnter {
  0% {
    opacity: 0;
    transform: scale(0.75) rotate(-20deg);
  }
  35% {
    opacity: 1;
    transform: scale(1.08) rotate(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes transitionOverlayClose {
  from {
    clip-path: circle(150% at 50% 50%);
  }
  to {
    clip-path: circle(0% at 50% 50%);
  }
}

@keyframes transitionGifClose {
  from {
    clip-path: circle(75% at 50% 50%);
    opacity: 1;
    transform: scale(1);
  }
  to {
    clip-path: circle(0% at 50% 50%);
    opacity: 0;
    transform: scale(0.75);
  }
}

@keyframes zunkyOverlayClose {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes zunkyGifClose {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.92);
  }
}

@media (max-width: 700px) {
  body {
    overflow: auto;
  }

  .container-perfis {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }

  .perfil {
    flex: 1 !important;
    min-height: 33.33vh;
  }

  .imagem-wrapper {
    width: 145px;
    height: 145px;
  }

  .nome {
    font-size: 1.45rem;
  }

  .descricao {
    max-height: 100px;
    opacity: 1;
  }

  .betinho-gif,
  .zunky-gif {
    opacity: 0.22;
  }

  .page-transition {
    padding: 16px;
  }

  .page-transition img {
    width: min(280px, 76vw);
  }

  .page-transition--zunky img {
    width: min(300px, 78vw);
    height: min(300px, 54vh);
  }

  .sound-intro__content button {
    width: 100%;
  }

  .audio-toggle--betinho {
    top: 18px;
    right: 18px;
  }
}
