<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Visit Friends - Unlock Secret Code</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap" rel="stylesheet">
<style>
:root {
--primary-color: #4e3ae4; /* Darker Primary */
--secondary-color: #8c7ae6; /* Darker Secondary */
--text-dark: #1a1a1a; /* Very Dark Text for best readability */
--bg-dark: #f0f2f5; /* Light background for contrast */
--glass-bg: rgba(255, 255, 255, 0.9); /* Solid white background for clear text */
--border-glow: rgba(108, 92, 231, 0.5); /* Primary color for border glow */
}
body {
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
background: linear-gradient(135deg, #e0e6ed, #f0f2f5, #e0e6ed);
color: var(--text-dark);
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
overflow-x: hidden;
}
.container {
width: 90%;
max-width: 500px;
background: var(--glass-bg);
padding: 40px;
border-radius: 25px;
text-align: center;
/* NEUMORPHIC GLOW BORDER */
box-shadow:
0 10px 30px 0 rgba(0, 0, 0, 0.1), /* Subtle shadow */
0 0 15px var(--border-glow); /* Outer glow */
border: 2px solid var(--secondary-color); /* Pronounced border */
}
h1 {
font-size: 2.8rem;
font-weight: 700;
margin-bottom: 25px;
text-transform: uppercase;
letter-spacing: 3px;
color: var(--primary-color); /* Dark, readable color */
}
.step-card {
background: rgba(0, 0, 0, 0.03); /* Light background for steps */
padding: 25px;
border-radius: 18px;
margin-bottom: 25px;
transition: 0.3s;
border: 1px solid rgba(0,0,0,0.05);
}
.step-card h3 {
color: #2c3e50; /* Darker step titles */
font-weight: 600;
}
.step-card p {
color: #57606f; /* Clearer, slightly softer dark text */
font-size: 1rem;
}
.btn {
background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
color: white;
border: none;
padding: 18px 35px;
font-size: 1.2rem;
font-weight: bold;
border-radius: 50px;
cursor: pointer;
width: 100%;
transition: 0.3s transform, 0.3s box-shadow;
text-decoration: none;
display: inline-block;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.btn:hover {
transform: scale(1.05);
box-shadow: 0 6px 12px rgba(108, 92, 231, 0.4);
}
.btn:disabled {
background: #95a5a6;
cursor: not-allowed;
transform: none;
}
.timer {
font-size: 1.8rem;
font-weight: bold;
color: #d63031; /* Bright red for attention */
margin-top: 15px;
}
#code-section {
display: none;
background: rgba(0, 0, 0, 0.05);
padding: 20px;
border: 2px dashed var(--primary-color);
margin-top: 25px;
border-radius: 15px;
}
.code-title {
color: var(--text-dark);
font-size: 1.1rem;
font-weight: bold;
margin-bottom: 10px;
}
.secret-code {
font-family: monospace;
font-size: 2rem;
color: var(--primary-color);
display: block;
margin: 15px 0;
background: #fff;
padding: 10px;
border-radius: 8px;
}
.hidden { display: none; }
</style>
</head>
<body>
<div class="container">
<h1>Visit Friends..</h1>
<div id="box-1" class="step-card">
<h3>Step 1: Verify Participation</h3>
<p>Click the button below to start</p>
<button id="btn-1" class="btn" onclick="handleStep(1)">CLICK HERE (STEP 1)</button>
<div id="timer-1" class="timer hidden">Wait: <span id="count-1">10</span>s</div>
</div>
<div id="box-2" class="step-card hidden">
<h3>Step 2: Almost Done</h3>
<p>Click below for the final verification</p>
<button id="btn-2" class="btn" onclick="handleStep(2)">CLICK HERE (STEP 2)</button>
<div id="timer-2" class="timer hidden">Wait: <span id="count-2">5</span>s</div>
</div>
<div id="box-3" class="step-card hidden">
<button id="btn-getcode" class="btn" onclick="showSecretCode()">GET SECRET CODE</button>
<div id="code-section">
<p class="code-title">Your Secret Code:</p>
<span class="secret-code" id="myCode">XXXX-XXXX</span>
<button class="btn" style="background: #2d3436; font-size: 1rem; padding: 12px 20px;" onclick="copyCode()">COPY CODE</button>
</div>
</div>
</div>
<script>
// ================= CONFIG AREA (নিজস্ব তথ্য এখানে দিন) =================
const CONFIG = {
directLink1: "https://yourlink1.com", // ১ম লিঙ্ক
directLink2: "https://yourlink2.com", // ২য় লিঙ্ক
secretCode: "FRE-2026-BONG", // আপনার গোপন কোড
timer1: 10, // ১ম টাইমার (সেকেন্ড)
timer2: 5 // ২য় টাইমার (সেকেন্ড)
};
// =================================================================
let stepReached = 0;
function handleStep(step) {
if (step === 1) {
window.open(CONFIG.directLink1, '_blank');
document.getElementById('btn-1').style.display = 'none';
startTimer(1, CONFIG.timer1);
} else if (step === 2) {
window.open(CONFIG.directLink2, '_blank');
document.getElementById('btn-2').style.display = 'none';
startTimer(2, CONFIG.timer2);
}
}
function startTimer(step, seconds) {
const timerDiv = document.getElementById(`timer-${step}`);
const countSpan = document.getElementById(`count-${step}`);
timerDiv.classList.remove('hidden');
let timeLeft = seconds;
const countdown = setInterval(() => {
timeLeft--;
countSpan.textContent = timeLeft;
if (timeLeft <= 0) {
clearInterval(countdown);
timerDiv.innerHTML = "<span style='color: #27ae60;'>✅ Completed!</span>";
if (step === 1) {
document.getElementById('box-2').classList.remove('hidden');
} else {
document.getElementById('box-3').classList.remove('hidden');
}
}
}, 1000);
}
function showSecretCode() {
document.getElementById('myCode').textContent = CONFIG.secretCode;
document.getElementById('code-section').style.display = 'block';
document.getElementById('btn-getcode').style.display = 'none';
}
function copyCode() {
const codeText = document.getElementById('myCode').textContent;
navigator.clipboard.writeText(codeText);
alert("Code Copied: " + codeText);
}
</script>
</body>
</html>
No comments:
Post a Comment