* { margin:0; padding:0; box-sizing:border-box; }
html, body { height:100%; overflow:hidden; background:#000; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

#reels-container {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Each Reel */
.reel {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #000;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.reel.active {
    opacity: 1;
    transform: translateY(0);
}
.reel.prev { transform: translateY(-100%); }
.reel.next { transform: translateY(100%); }

.reel video, .reel iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* Progress Bar */
.seek-bar {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: rgba(255,255,255,0.3);
}
.progress {
    height: 100%;
    width: 0%;
    background: #fff;
    transition: width 0.1s linear;
}

/* Floating Logo - Left Top */
.floating-logo {
    position: fixed;
    top: 20px;
    left: 20px;
    height: 50px;
    z-index: 100;
    image-rendering: -webkit-optimize-contrast; /* sharp logo */
}

/* Right Bottom Buttons */
.action-buttons {
    position: fixed;
    right: 15px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 100;
}
.action-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    cursor: pointer;
    transition: all 0.2s;
}
.action-btn:hover { transform: scale(1.1); }
.whatsapp { background: #25D366; box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
.whatsapp:hover { background: #1da851; }

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
}
.modal input, .modal button {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 16px;
}
.modal button {
    background: #25D366;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}
.close { position: absolute; top: 15px; right: 20px; font-size: 30px; cursor: pointer; }