172 lines
4.8 KiB
HTML
172 lines
4.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>The Countdown Has Begun</title>
|
|
<style>
|
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
body {
|
|
background: linear-gradient(135deg, #1a0e00 0%, #3d1e00 50%, #1a0e00 100%);
|
|
color: #fff;
|
|
font-family: 'Trebuchet MS', 'Segoe UI', Arial, sans-serif;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
}
|
|
.glow-orb {
|
|
position: fixed;
|
|
top: 50%; left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: 600px; height: 300px;
|
|
background: radial-gradient(ellipse, rgba(255,170,0,0.12) 0%, transparent 70%);
|
|
pointer-events: none;
|
|
}
|
|
.container {
|
|
position: relative;
|
|
z-index: 2;
|
|
text-align: center;
|
|
padding: 2rem;
|
|
max-width: 700px;
|
|
width: 100%;
|
|
}
|
|
.crown {
|
|
font-size: 2.5rem;
|
|
margin-bottom: 1rem;
|
|
filter: drop-shadow(0 0 20px rgba(255,170,0,0.6));
|
|
}
|
|
.eyebrow {
|
|
font-size: 0.7rem;
|
|
letter-spacing: 0.5em;
|
|
text-transform: uppercase;
|
|
color: rgba(255,180,40,0.7);
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
h1 {
|
|
font-size: clamp(2rem, 5vw, 3.5rem);
|
|
font-weight: 300;
|
|
color: #ffd166;
|
|
margin-bottom: 0.3rem;
|
|
text-shadow: 0 0 30px rgba(255,190,50,0.4);
|
|
}
|
|
h1 strong { font-weight: 900; }
|
|
.tagline {
|
|
font-size: 0.9rem;
|
|
color: rgba(255,200,100,0.6);
|
|
margin-bottom: 3rem;
|
|
letter-spacing: 0.15em;
|
|
}
|
|
.countdown-wrap {
|
|
display: flex;
|
|
gap: 1rem;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 3rem;
|
|
}
|
|
.unit {
|
|
background: rgba(255,255,255,0.05);
|
|
border: 1px solid rgba(255,170,0,0.3);
|
|
border-radius: 8px;
|
|
padding: 1.25rem 1.5rem;
|
|
min-width: 100px;
|
|
box-shadow: 0 0 20px rgba(255,150,0,0.1), inset 0 0 20px rgba(0,0,0,0.3);
|
|
}
|
|
.unit-num {
|
|
font-size: 3rem;
|
|
font-weight: 700;
|
|
color: #ffd166;
|
|
line-height: 1;
|
|
text-shadow: 0 0 20px rgba(255,180,0,0.5);
|
|
}
|
|
.unit-label {
|
|
font-size: 0.6rem;
|
|
letter-spacing: 0.3em;
|
|
text-transform: uppercase;
|
|
color: rgba(255,170,0,0.5);
|
|
margin-top: 0.4rem;
|
|
}
|
|
.separator {
|
|
font-size: 2.5rem;
|
|
color: rgba(255,170,0,0.4);
|
|
align-self: center;
|
|
margin-bottom: 1.5rem;
|
|
font-weight: 300;
|
|
}
|
|
.message {
|
|
font-size: 0.95rem;
|
|
line-height: 1.8;
|
|
color: rgba(255,220,150,0.7);
|
|
max-width: 460px;
|
|
margin: 0 auto;
|
|
}
|
|
.ornament {
|
|
margin-top: 2rem;
|
|
font-size: 1rem;
|
|
color: rgba(255,170,0,0.3);
|
|
letter-spacing: 0.5em;
|
|
}
|
|
</style>
|
|
<script>
|
|
function updateCountdown() {
|
|
const stored = localStorage.getItem('cd-target-38');
|
|
let target;
|
|
if (stored) {
|
|
target = new Date(parseInt(stored));
|
|
} else {
|
|
target = new Date(Date.now() + 30 * 24 * 60 * 60 * 1000);
|
|
localStorage.setItem('cd-target-38', target.getTime().toString());
|
|
}
|
|
const now = new Date();
|
|
const diff = Math.max(0, target - now);
|
|
const d = Math.floor(diff / 86400000);
|
|
const h = Math.floor((diff % 86400000) / 3600000);
|
|
const m = Math.floor((diff % 3600000) / 60000);
|
|
const s = Math.floor((diff % 60000) / 1000);
|
|
document.getElementById('cd-d').textContent = String(d).padStart(2,'0');
|
|
document.getElementById('cd-h').textContent = String(h).padStart(2,'0');
|
|
document.getElementById('cd-m').textContent = String(m).padStart(2,'0');
|
|
document.getElementById('cd-s').textContent = String(s).padStart(2,'0');
|
|
}
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
updateCountdown();
|
|
setInterval(updateCountdown, 1000);
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div class="glow-orb"></div>
|
|
<div class="container">
|
|
<div class="crown">👑</div>
|
|
<div class="eyebrow">Aurelius & Co. • Premium Goods</div>
|
|
<h1>The Countdown<br><strong>Has Begun</strong></h1>
|
|
<div class="tagline">Something extraordinary is on its way.</div>
|
|
<div class="countdown-wrap">
|
|
<div class="unit">
|
|
<div class="unit-num" id="cd-d">30</div>
|
|
<div class="unit-label">Days</div>
|
|
</div>
|
|
<div class="separator">:</div>
|
|
<div class="unit">
|
|
<div class="unit-num" id="cd-h">00</div>
|
|
<div class="unit-label">Hours</div>
|
|
</div>
|
|
<div class="separator">:</div>
|
|
<div class="unit">
|
|
<div class="unit-num" id="cd-m">00</div>
|
|
<div class="unit-label">Minutes</div>
|
|
</div>
|
|
<div class="separator">:</div>
|
|
<div class="unit">
|
|
<div class="unit-num" id="cd-s">00</div>
|
|
<div class="unit-label">Seconds</div>
|
|
</div>
|
|
</div>
|
|
<div class="message">We have been working quietly and carefully on something we are genuinely proud of. When this countdown reaches zero, you will see what we mean.</div>
|
|
<div class="ornament">✳ ✳ ✳</div>
|
|
</div>
|
|
</body>
|
|
</html>
|