* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow-x: hidden;
  background-color: black;
  font-family: 'Unbounded', sans-serif;
  font-weight: 200;
}

.center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  font-weight: bold;
  text-align: center;
  color: white;
  text-shadow: 0 0 10px white;
  z-index: 1;
}

/* Vídeo de fundo */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 0.2;
}

#bg-video video {
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: -1;
}

#music-control {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 30px;
  z-index: 999;
}

#music-icon {
  width: 100%;
  height: 100%;
  cursor: pointer;
  text-shadow: 0 0 6px rgb(255, 115, 0);
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Painel de música ao passar o mouse */
#music-control:hover #music-panel {
  opacity: 1;
  pointer-events: auto;
}

#music-control:hover #music-icon {
  opacity: 0;
}

#music-panel {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-60%);
  width: max-content;
  height: 110%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 5px 8px;
  border-radius: 8px;
  background-color: #00000054;
  box-shadow: 0 0 12px #fff3;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

#music-panel button {
  background: none;
  border: none;
  color: rgb(255, 81, 0);
  font-size: 18px;
  cursor: pointer;
  text-shadow: 0 0 6px black;
  transform: none;
  margin-top: -2px;
}


#music-panel button:hover {
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.158);
}

#music-panel input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 80px;
  height: 6px;
  background: #ffffff;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

#music-panel input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  background: rgb(255, 115, 0);
  border-radius: 50%;
  box-shadow: 0 0 6px rgb(255, 153, 0);
  transition: transform 0.2s ease;
}

#music-panel input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.hidden {
  display: none;
}

.profile-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 700px;
  background: rgba(136, 69, 15, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.616);
  text-align: center;
  transition: 0.3s;
}


.profile-header {
  text-align: center;
  margin-top: 20px; /* ou ajuste conforme layout */
}

.profile-badge {
  margin-top: 8px; /* espaço abaixo do nome */
  display: inline-flex;
  gap: 8px; /* espaço entre badges se houver mais de um */
  justify-content: center;
  pointer-events: auto;
  position: static; /* remove absolute para ficar no fluxo normal */
  transform: none; /* remove translateX */
  z-index: auto;
}

.profile-badge img {
  width: 15px;
  height: 15px;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.245));
  transition: transform 0.2s ease;
  cursor: default;
}

.profile-badge img:hover {
  transform: scale(1.2);
}

.banner {
  
  position: absolute;
  top: 0;
  width: 100%;
  height: 120px;
  background: url('https://i.https://i.pinimg.com/originals/d2/d8/4a/d2d84af7e4c6b6c33a606d3127f4d31e.gif.com/originals/9f/cd/84/9fcd84b967950b3b967575be22de7e1f.gif') center/cover no-repeat;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  z-index: 1;
}

.profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0);
  object-fit: cover;
  position: relative;
  z-index: 2;
  margin-top: -50px;
}

.visitor-counter {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(61, 30, 0, 0.75);
  padding: 0.2em 0.5em;
  border-radius: 12px;
  font-size: clamp(0.6rem, 1vw, 0.8rem);
  color: #ccc;
  z-index: 20;
  white-space: nowrap;
  transition: all 0.3s ease;
  pointer-events: auto;
}

.visitor-counter:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px white;
  color: white;
  text-shadow: 0 0 6px white;
}

/* Ajuste para telas menores */
@media (max-width: 600px) {
  .visitor-counter {
    top: 8px;
    right: 8px;
    padding: 0.15em 0.4em;
    font-size: clamp(0.5rem, 2vw, 0.7rem);
    border-radius: 10px;
  }
}

.visitor-icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 6px;
  filter: drop-shadow(0 0 4px white); /* se quiser brilho */
}
/* PLANOS FUTUROS
.like-counter {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(61, 30, 0, 0.75);
  padding: 0.2em 0.5em;
  border-radius: 12px;
  font-size: clamp(0.6rem, 1vw, 0.8rem);
  color: #ccc;
  z-index: 20;
  white-space: nowrap;
  transition: all 0.3s ease;
  pointer-events: auto;
}

.like-counter:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px white;
  color: white;
  text-shadow: 0 0 6px white;
}

@media (max-width: 600px) {
  .like-counter {
    top: 8px;
    left: 8px;
    padding: 0.15em 0.4em;
    font-size: clamp(0.5rem, 2vw, 0.7rem);
    border-radius: 10px;
  }
}

.like-icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 6px;
  filter: drop-shadow(0 0 4px white); /* brilho opcional */

.glow-icon {
  filter: drop-shadow(0 0 3px white);
  color: white;
  width: 30px;
  margin: 0 10px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: -1rem;
}

.social-links img {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 6px white);
  transition: transform 0.2s ease;
}

.social-links img:hover {
  transform: scale(1.2);
}

.glow-icon:focus,
a:focus,
button:focus {
  outline: none;
  box-shadow: none;
  text-decoration: none;
}

.last-video {
  margin-top: 1rem;
  padding: 0 1rem;
}

h1.Unbounded {
  color: white !important;
}

.bio {
  font-family: 'Unbounded', sans-serif;
  font-size: 1rem;
  color: #ffffff;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 2rem;
}
.tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: auto;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  text-align: center;
  font-size: 0.65rem;
  padding: 4px 8px;
  border-radius: 8px;
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  z-index: 9999; /* aqui para garantir que fique acima do vídeo */
}

.badge-wrapper:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}
.badge-wrapper {
  position: relative;
  display: inline-block;
}
.unbounded {
  font-family: "Unbounded-light", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
}

/* Responsividade básica */
@media (max-width: 700px) {
.profile-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.2s ease;
  perspective: 1000px;
}


  .profile-pic {
    width: 80px;
    height: 80px;
    margin-top: -40px;
  }

  .social-links {
    gap: 1rem;
  }

  .last-video video {
    height: 160px;
  }
}
#snow-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.8;
}

#credit-button {
  position: relative;
  bottom: -100px;
  left: 0;
  z-index: 10000;
  color: white;
  padding: 10px 18px;
  font-family: 'Unbounded', sans-serif;
  font-size: 0.85rem;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px rgba(255, 115, 0, 0.3);
  animation: pulseGlow 2.5s infinite ease-in-out;
}



#credit-button:hover {
  background: rgba(255, 115, 0, 0.2);
  box-shadow: 0 0 12px rgba(255, 115, 0, 0.5), 0 0 4px rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
  text-shadow: 0 0 6px white;
  animation: pulseGlow 1.5s infinite ease-in-out
}

.discord-icon {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 4px white);
  transition: transform 0.3s ease;
}

#credit-button:hover .discord-icon {
  transform: scale(1.2);
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 10px rgba(255, 115, 0, 0.3), 0 0 5px rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 18px rgba(255, 115, 0, 0.5), 0 0 8px rgba(255, 255, 255, 0.2);
  }
  100% {
    box-shadow: 0 0 10px rgba(255, 115, 0, 0.3), 0 0 5px rgba(255, 255, 255, 0.1);
  }
}

.discord-icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  filter: drop-shadow(0 0 3px rgba(255,255,255,0.5));
}

/* Responsividade extra para telas pequenas */
@media (max-width: 768px) {
  #credit-button {
    right: 10px;
    bottom: 10px;
    padding: 8px 14px;
    font-size: 0.75rem;
  }
}
