* { margin: 0; padding: 0; box-sizing: border-box; font-family: sans-serif; }
body { background: #000; color: #fff; overflow: hidden; }

/* Configuração do Feed estilo TikTok (Scroll Snap) */
.feed-container {
    height: calc(100vh - 60px); /* 60px é a altura do rodapé */
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.video-wrapper {
    height: 100%;
    width: 100%;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    justify-content: center;
    background: #111;
}

.tiktok-video { width: 100%; height: 100%; object-fit: cover; }

/* Interface sobre o vídeo */
.video-ui { position: absolute; bottom: 80px; right: 10px; left: 10px; display: flex; justify-content: space-between; align-items: flex-end; pointer-events: none; }
.ui-bottom { width: 75%; pointer-events: auto; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); }
.ui-bottom h3 { margin-bottom: 5px; font-size: 16px; }
.ui-bottom p { font-size: 14px; margin-bottom: 5px; }
.ui-bottom .views { font-size: 12px; color: #ddd; }

.ui-right { display: flex; flex-direction: column; align-items: center; gap: 15px; pointer-events: auto; }
.btn-action { background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; display: flex; flex-direction: column; align-items: center; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); }
.btn-action .count { font-size: 12px; margin-top: 5px; }
.btn-action.liked { color: #ff2b54; }

/* Rodapé Fixo */
.footer-nav { height: 60px; width: 100%; background: #000; position: fixed; bottom: 0; display: flex; justify-content: space-around; align-items: center; border-top: 1px solid #333; z-index: 100; }
.nav-item { color: #fff; text-decoration: none; display: flex; flex-direction: column; align-items: center; font-size: 12px; gap: 5px; }
.nav-item i { font-size: 20px; }

/* Animação do Clique Duplo */
.heart-animation { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); font-size: 100px; color: #ff2b54; opacity: 0; transition: 0.3s; pointer-events: none; }
.heart-animation.active { transform: translate(-50%, -50%) scale(1); opacity: 1; transition: 0.1s; }
