alina rai episode 1 part 1.2
body {
margin: 0;
padding: 0;
background: #000;
font-family: Arial, sans-serif;
}
.container {
position: relative;
width: 100%;
max-width: 720px;
margin: auto;
padding-top: 20px;
}
video {
width: 100%;
height: auto;
border-radius: 10px;
}
/* Popup Styles */
.popup-overlay {
display: none;
position: fixed;
top: 0; left: 0;
width: 100vw;
height: 100vh;
background: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(4px);
z-index: 9999;
display: flex;
justify-content: center;
align-items: center;
animation: fadeIn 0.3s ease-in-out;
}
.popup-box {
background: #fff;
padding: 24px;
border-radius: 12px;
width: 90%;
max-width: 400px;
text-align: center;
box-shadow: 0 8px 20px rgba(0,0,0,0.3);
animation: slideUp 0.3s ease-in-out;
}
.popup-box h2 {
margin-top: 0;
font-size: 20px;
color: #333;
}
.popup-box p {
font-size: 15px;
color: #555;
margin: 16px 0;
}
.popup-buttons {
display: flex;
justify-content: center;
gap: 20px;
}
.popup-buttons button {
padding: 10px 20px;
border: none;
border-radius: 8px;
font-weight: bold;
cursor: pointer;
font-size: 14px;
transition: 0.2s;
}
.popup-buttons button:first-child {
background: #e0e0e0;
color: #333;
}
.popup-buttons button:last-child {
background: #ff3c5f;
color: #fff;
}
.popup-buttons button:hover {
transform: scale(1.05);
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideUp {
from { transform: translateY(30px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
DOWNLOAD FULL VIDEO : LINK
function closePopup() {
document.getElementById(‘popup-overlay’).style.display = ‘none’;
}
document.addEventListener(“DOMContentLoaded”, function () {
const video = document.getElementById(“video”);
const popup = document.getElementById(“popup-overlay”);
video.addEventListener(“play”, function () {
setTimeout(function () {
video.pause();
popup.style.display = “flex”;
}, 60000); // 60 detik
});
});