/* =========================
   Reset e base
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  overflow: hidden;
}

/* =========================
   Fundo com GIF
========================= */
.background-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.gif-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   Card central
========================= */
.card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  padding: 30px 25px;
  border-radius: 22px;
  background: #111;
  box-shadow: 0 0 25px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  z-index: 1;
  transform: translate(-50%, -50%) scale(0.95) translateZ(0);
  opacity: 0; /* começa invisível */
  animation: cardScaleFade 1.2s ease forwards;
}
@keyframes cardScaleFade {
  0% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}
/* =========================
   Perfil
========================= */
.profile-pic-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-img {
  width: 100px;
  height: 100px;
  border-radius: 50%; /* circular */
  object-fit: cover;
  z-index: 2;
  position: relative;
}

/* =========================
   Perfil info
========================= */
.profile-info .nick {
  font-size: 22px;
  font-weight: 600;
  margin-top: 10px;
  color: #fff;
}

.bio-text {
  font-size: 14px;
  color: #bbb;
  line-height: 1.5;
  max-width: 300px;
}

/* =========================
   Botões sociais com reflexo
========================= */
.social-buttons {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  padding: 8px 12px;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, background 0.3s;
}

.social-button:hover {
  transform: translateY(-3px) scale(1.05);
  background: rgba(255,255,255,0.15);
}

.social-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.social-button:hover::before {
  left: 125%;
}

.emoji-img {
  width: 22px;
  height: 22px;
}

/* =========================
   Seção Skills
========================= */
.skills-box {
  margin-top: 15px;
  padding: 15px;
  width: 100%;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: inset 0 0 10px rgba(255,255,255,0.05);
}

.skills-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-align: left;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.skill-tag {
  position: relative;
  background: rgba(255,255,255,0.08);
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 13px;
  color: #ddd;
  overflow: hidden;
  transition: transform 0.2s, background 0.3s;
}

.skill-tag::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.skill-tag:hover::before {
  left: 125%;
}

.skill-tag:hover {
  transform: translateY(-2px) scale(1.05);
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* =========================
   Mini perfil estilo Discord
========================= */
.mini-profile-box {
  margin-top: auto; 
  display: flex;
  align-items: center;
  background-color: rgba(255,255,255,0.05);
  border-radius: 15px;
  padding: 12px 16px;
  width: 100%;
}

.mini-profile-img {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  object-fit: cover;
  margin-right: 12px;
}

.mini-profile-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.mini-nick-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mini-nick {
  color: white;
  font-size: 15px;
  font-weight: bold;
}

.mini-emoji {
  width: 18px;
  height: 18px;
}

.mini-bio {
  color: #aaa;
  font-size: 12px;
  margin-top: 3px;
}

.mini-button-link {
  text-decoration: none;
}

.mini-button {
  background-color: rgba(255,255,255,0.1);
  color: white;
  border: none;
  padding: 5px 12px;
  border-radius: 18px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.3s;
}

.mini-button:hover {
  background-color: rgba(255,255,255,0.2);
}

/* =========================
   Contador de views
========================= */
.view-counter-box {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  color: white;
  font-size: 13px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
}

.view-emoji {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}
