<?php
$domain = $_SERVER["SERVER_NAME"];
$link = 'https://add-to-cart-link.com/'.$domain; // The link in your SellerHub settings, without the {domain} part
$price = '$25,000,000,000'; // wholesale price, you will probably want to increase
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?php echo $domain; ?> - Premium Domain For Sale</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: linear-gradient(45deg, #ff006e, #8338ec, #3a86ff, #06ffa5);
background-size: 400% 400%;
animation: gradientShift 8s ease infinite;
font-family: 'Courier New', monospace;
min-height: 100vh;
overflow-x: hidden;
position: relative;
}
@keyframes gradientShift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
position: relative;
z-index: 10;
}
.header {
text-align: center;
margin-bottom: 3rem;
position: relative;
}
.domain-title {
font-size: 4rem;
font-weight: bold;
color: #fff;
text-shadow: 3px 3px 0 #ff006e, -3px -3px 0 #8338ec;
transform: skew(-5deg, 2deg);
margin-bottom: 1rem;
animation: pulse 2s ease-in-out infinite alternate;
}
@keyframes pulse {
from { transform: skew(-5deg, 2deg) scale(1); }
to { transform: skew(-5deg, 2deg) scale(1.05); }
}
.subtitle {
font-size: 1.5rem;
color: #fff;
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
transform: rotate(-1deg);
}
.content-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
margin-bottom: 3rem;
}
.card {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border: 3px solid;
border-image: linear-gradient(45deg, #ff006e, #8338ec, #3a86ff, #06ffa5) 1;
padding: 2rem;
position: relative;
transform: perspective(1000px) rotateY(5deg);
transition: transform 0.3s ease;
}
.card:hover {
transform: perspective(1000px) rotateY(0deg) scale(1.02);
}
.card:nth-child(even) {
transform: perspective(1000px) rotateY(-5deg);
}
.card:nth-child(even):hover {
transform: perspective(1000px) rotateY(0deg) scale(1.02);
}
.price-tag {
font-size: 3rem;
font-weight: bold;
color: #06ffa5;
text-shadow: 2px 2px 0 #ff006e;
text-align: center;
margin: 1rem 0;
transform: skew(10deg, -2deg);
}
.buy-button {
display: block;
width: 100%;
padding: 1.5rem;
font-size: 1.5rem;
font-weight: bold;
text-transform: uppercase;
background: linear-gradient(45deg, #ff006e, #8338ec);
color: white;
border: none;
cursor: pointer;
position: relative;
overflow: hidden;
transform: skew(-8deg, 1deg);
transition: all 0.3s ease;
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.buy-button:hover {
transform: skew(-8deg, 1deg) scale(1.05);
box-shadow: 0 10px 30px rgba(255, 0, 110, 0.5);
}
.buy-button::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
transition: left 0.5s;
}
.buy-button:hover::before {
left: 100%;
}
.features {
list-style: none;
margin: 1.5rem 0;
}
.features li {
padding: 0.5rem 0;
color: #fff;
font-size: 1.1rem;
position: relative;
padding-left: 2rem;
transform: skew(-2deg);
}
.features li::before {
content: 'โ';
position: absolute;
left: 0;
color: #06ffa5;
font-size: 1.5rem;
}
.floating-shapes {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 1;
}
.shape {
position: absolute;
opacity: 0.3;
animation: float 10s ease-in-out infinite;
}
@keyframes float {
0%, 100% { transform: translateY(0) rotate(0deg); }
50% { transform: translateY(-20px) rotate(180deg); }
}
.shape-1 {
top: 10%;
left: 5%;
width: 100px;
height: 100px;
background: #ff006e;
clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
animation-delay: 0s;
}
.shape-2 {
top: 60%;
right: 10%;
width: 80px;
height: 80px;
background: #8338ec;
clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
animation-delay: 2s;
}
.shape-3 {
bottom: 20%;
left: 15%;
width: 120px;
height: 60px;
background: #3a86ff;
clip-path: polygon(0% 20%, 60% 20%, 60% 0%, 100% 50%, 60% 100%, 60% 80%, 0% 80%);
animation-delay: 4s;
}
.shape-4 {
top: 30%;
right: 20%;
width: 90px;
height: 90px;
background: #06ffa5;
clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
animation-delay: 6s;
}
.glitch-text {
position: relative;
display: inline-block;
}
.glitch-text::before,
.glitch-text::after {
content: attr(data-text);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.glitch-text::before {
left: 2px;
text-shadow: -2px 0 #ff006e;
clip: rect(44px, 450px, 56px, 0);
animation: glitch-anim 5s infinite linear alternate-reverse;
}
.glitch-text::after {
left: -2px;
text-shadow: 2px 0 #06ffa5;
clip: rect(44px, 450px, 56px, 0);
animation: glitch-anim 5s infinite linear alternate-reverse;
}
@keyframes glitch-anim {
0% { clip: rect(42px, 9999px, 44px, 0); }
5% { clip: rect(12px, 9999px, 66px, 0); }
10% { clip: rect(85px, 9999px, 95px, 0); }
15% { clip: rect(78px, 9999px, 95px, 0); }
20% { clip: rect(11px, 9999px, 66px, 0); }
25% { clip: rect(42px, 9999px, 44px, 0); }
30% { clip: rect(85px, 9999px, 95px, 0); }
35% { clip: rect(78px, 9999px, 95px, 0); }
40% { clip: rect(12px, 9999px, 66px, 0); }
45% { clip: rect(42px, 9999px, 44px, 0); }
50% { clip: rect(85px, 9999px, 95px, 0); }
55% { clip: rect(78px, 9999px, 95px, 0); }
60% { clip: rect(12px, 9999px, 66px, 0); }
65% { clip: rect(42px, 9999px, 44px, 0); }
70% { clip: rect(85px, 9999px, 95px, 0); }
75% { clip: rect(78px, 9999px, 95px, 0); }
80% { clip: rect(11px, 9999px, 66px, 0); }
85% { clip: rect(42px, 9999px, 44px, 0); }
90% { clip: rect(85px, 9999px, 95px, 0); }
95% { clip: rect(78px, 9999px, 95px, 0); }
100% { clip: rect(12px, 9999px, 66px, 0); }
}
</style>
</head>
<body>
<div class="floating-shapes">
<div class="shape shape-1"></div>
<div class="shape shape-2"></div>
<div class="shape shape-3"></div>
<div class="shape shape-4"></div>
</div>
<div class="container">
<header class="header">
<h1 class="domain-title glitch-text" data-text="<?php echo $domain; ?>">
<?php echo $domain; ?>
</h1>
<p class="subtitle">Premium Domain Name For Sale</p>
</header>
<div class="content-grid">
<div class="card">
<h2 style="color: #06ffa5; margin-bottom: 1rem; transform: skew(-3deg);">Domain Details</h2>
<ul class="features">
<li>Premium domain name</li>
<li>Instant ownership transfer</li>
<li>Perfect for business</li>
<li>Memorable & brandable</li>
<li>Global recognition</li>
</ul>
<div class="price-tag"><?php echo $price; ?></div>
</div>
<div class="card">
<h2 style="color: #ff006e; margin-bottom: 1rem; transform: skew(3deg);">Why Buy This Domain?</h2>
<ul class="features">
<li>High resale value</li>
<li>SEO-friendly</li>
<li>Short & catchy</li>
<li>Available immediately</li>
<li>Secure payment</li>
</ul>
<button class="buy-button" onclick="window.location.href='<?php echo $link; ?>'">
BUY NOW
</button>
</div>
</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
const cards = document.querySelectorAll('.card');
const shapes = document.querySelectorAll('.shape');
cards.forEach(card => {
card.addEventListener('mousemove', function(e) {
const rect = this.getBoundingClientRect();
const x = e.clientX - rect.left;
const y = e.clientY - rect.top;
const centerX = rect.width / 2;
const centerY = rect.height / 2;
const rotateX = (y - centerY) / 10;
const rotateY = (centerX - x) / 10;
this.style.transform = `perspective(1000px) rotateX(${rotateX}deg) rotateY(${rotateY}deg) scale(1.02)`;
});
card.addEventListener('mouseleave', function() {
this.style.transform = this.classList.contains('card') && this === cards[0]
? 'perspective(1000px) rotateY(5deg)'
: 'perspective(1000px) rotateY(-5deg)';
});
});
shapes.forEach((shape, index) => {
shape.addEventListener('animationiteration', function() {
const clipPaths = [
'polygon(50% 0%, 0% 100%, 100% 100%)',
'polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%)',
'polygon(0% 20%, 60% 20%, 60% 0%, 100% 50%, 60% 100%, 60% 80%, 0% 80%)',
'polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%)'
];
if (Math.random() > 0.7) {
this.style.clipPath = clipPaths[Math.floor(Math.random() * clipPaths.length)];
}
});
});
});
</script>
</body>
</html>