@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
  width: 100%;
  background: linear-gradient(180deg, #141414, #0c0c0c);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* FEED ocupa toda a tela (sem cabeçalho) */
.feed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 18px 12px 40px;
  padding-top: 28px; /* pequeno espaçamento superior */
}

/* POST */
.post {
  width: 100%;
  max-width: 520px;
  background: rgba(255,255,255,0.03);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.03);
  animation: fadeIn 0.45s ease both;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(12px);} to { opacity: 1; transform: translateY(0);} }

/* Autor (nome + data) */
.autor {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 14px;
  gap: 4px;
}

.nome {
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffb3d9;
}

.data {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}

/* mídia - mantém proporção, sem esticar */
.post video,
.post img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: cover;
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

/* legenda */
.legenda {
  padding: 12px 14px;
  font-size: 0.96rem;
  color: #ffdfee;
  line-height: 1.35;
}

/* reações */
.reacoes {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  align-items: center;
  justify-content: flex-start;
  border-top: 1px solid rgba(255,255,255,0.02);
}

.reacoes button {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.reacoes button:hover { transform: translateY(-6%); }

.reacoes button.ativo {
  transform: scale(1.25);
  box-shadow: 0 6px 18px rgba(255,182,193,0.18);
}

/* comentários */
.comentarios {
  display: flex;
  gap: 8px;
  padding: 12px 14px 16px;
}

.comentarios input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  color: #fff;
  font-size: 0.9rem;
  outline: none;
}

.comentarios input::placeholder { color: rgba(255,255,255,0.45); }

.comentarios button {
  background: linear-gradient(90deg,#ff8fc1,#ffb3da);
  border: none;
  color: #fff;
  padding: 9px 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease;
}

.comentarios button:hover { transform: translateY(-3%); }

/* comentário visual adicionado dinamicamente */
.comentario-item { font-size: 0.9rem; }

/* responsivo */
@media (max-width: 600px) {
  .feed { padding: 12px 10px 40px; padding-top: 14px; }
  .post { max-width: 100%; border-radius: 12px; }
  .nome { font-size: 1rem; }
  .data { font-size: 0.72rem; }
  .reacoes button { font-size: 1.05rem; }
  .comentarios input { font-size: 0.88rem; padding: 9px; }
  .comentarios button { padding: 8px 12px; font-size: 0.86rem; }
}
.video-container {
  position: relative;
  width: 100%;
  max-width: 520px;
  overflow: hidden;
}

#ativarSom {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

#ativarSom:hover {
  background: rgba(255, 182, 193, 0.7);
}

.assinatura {
  text-align: center;
  margin: 40px 0 80px 0; /* espaçamento acima e abaixo */
}

.botao-vip {
  display: inline-block;
  background: linear-gradient(135deg, #ff5fa2, #ff7b00);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(255, 95, 162, 0.4);
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent; /* remove flash no iPhone */
}

.botao-vip:hover,
.botao-vip:active {
  transform: scale(1.05);
  background: linear-gradient(135deg, #ff7b00, #ff5fa2);
  box-shadow: 0 6px 14px rgba(255, 95, 162, 0.6);
}

/* 🔹 Responsivo — ajusta tamanho no celular */
@media (max-width: 600px) {
  .botao-vip {
    font-size: 1rem;
    padding: 12px 28px;
  }
}

/* ---------- POP-UP VIP ---------- */
.popup-vip {
  position: fixed;
  bottom: -200px; /* começa escondido */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 20px 25px;
  width: 90%;
  max-width: 320px;
  text-align: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(255, 95, 162, 0.4);
  transition: all 0.5s ease;
  z-index: 9999;
  opacity: 0;
}

.popup-vip.ativo {
  bottom: 30px;
  opacity: 1;
}

.popup-vip .botao-vip {
  display: inline-block;
  margin-top: 12px;
  background: linear-gradient(135deg, #ff5fa2, #ff7b00);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 26px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(255, 95, 162, 0.4);
  transition: all 0.3s ease;
}

.popup-vip .botao-vip:hover,
.popup-vip .botao-vip:active {
  transform: scale(1.05);
  background: linear-gradient(135deg, #ff7b00, #ff5fa2);
}

