youtube subscribe button


(adsbygoogle = window.adsbygoogle || []).push({});

.btn {
display: inline-block;
padding: 10px 18px;
font-size: 14px;
font-weight: bold;
color: white;
text-decoration: none;
border-radius: 6px;
transition: all 0.3s ease;
box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
}
.btn i {
margin-right: 6px;
}
.youtube-btn {
background: linear-gradient(45deg, #ff0000, #cc0000);
}
.youtube-btn:hover {
background: linear-gradient(45deg, #e30202, #b00000);
transform: translateY(-2px);
}
.download-btn {
background: linear-gradient(45deg, #28a745, #218838);
}
.download-btn:hover {
background: linear-gradient(45deg, #218838, #1e7e34);
transform: translateY(-2px);
}
.loading-btn {
background: linear-gradient(45deg, #ff9800, #e68a00);
cursor: wait;
}

function show() {
window.open(‘https://youtube.com/@mazaabhyas000?si=Y6YiAPbdJ0q9GB6j’, ‘_blank’);

// Show loading animation
document.getElementById(“btn_yt”).style.display = “none”;
document.getElementById(“ytv”).style.display = “inline-block”;

// Simulate checking subscription (10 seconds)
setTimeout(function () {
document.getElementById(“ytv”).style.display = “none”;
document.getElementById(“countdownBtn”).style.display = “inline-block”;

// Start countdown
let timeLeft = 49;
let countdownEl = document.getElementById(“countdown”);
let timer = setInterval(function () {
timeLeft–;
countdownEl.textContent = timeLeft;
if (timeLeft <= 0) {
clearInterval(timer);
document.getElementById("countdownBtn").style.display = "none";
document.getElementById("yt").style.display = "inline-block";
}
}, 1000);

}, 10000);
}


(adsbygoogle = window.adsbygoogle || []).push({});