<!-- 本DIY代码来自于 https://diy.zhongzhipian.top -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>星辉密钥</title>
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Poppins:wght@300;600&display=swap" rel="stylesheet">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
overflow-x: hidden;
}
/* Particle effect for background */
.particles {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: -1;
}
.container {
max-width: 420px;
width: 90%;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border: 2px solid rgba(255, 255, 255, 0.2);
border-radius: 20px;
padding: 40px 30px;
margin: 20px;
box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
animation: slideIn 1s ease-out;
}
@keyframes slideIn {
from { transform: translateY(100px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
h1 {
font-family: 'Orbitron', sans-serif;
font-size: 28px;
color: #00f7ff;
text-align: center;
margin-bottom: 15px;
text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
}
.notice {
font-size: 14px;
color: #e0e0e0;
text-align: center;
margin-bottom: 25px;
}
.code {
margin-bottom: 20px;
}
.code input {
width: 100%;
padding: 14px;
background: rgba(0, 0, 0, 0.3);
border: 1px solid #00f7ff;
border-radius: 10px;
color: #fff;
font-size: 16px;
transition: all 0.3s ease;
}
.code input::placeholder {
color: #a0a0a0;
}
.code input:focus {
outline: none;
box-shadow: 0 0 10px #00f7ff;
border-color: #00f7ff;
}
.code button {
width: 100%;
padding: 14px;
background: linear-gradient(45deg, #00f7ff, #007bff);
border: none;
border-radius: 10px;
color: #fff;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
}
.code button:hover {
background: linear-gradient(45deg, #007bff, #00f7ff);
box-shadow: 0 0 15px rgba(0, 247, 255, 0.8);
transform: translateY(-2px);
}
.code-other {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 15px;
}
.code-other button {
padding: 12px;
border: none;
border-radius: 10px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}
.code-other .code-ver {
background: rgba(255, 255, 255, 0.2);
color: #fff;
}
.code-other .code-ver:hover {
background: rgba(255, 255, 255, 0.3);
box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.code-other .code-buy {
background: linear-gradient(45deg, #ff00ff, #ff4d4d);
color: #fff;
}
.code-other .code-buy:hover {
background: linear-gradient(45deg, #ff4d4d, #ff00ff);
box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
transform: translateY(-2px);
}
.footer {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(5px);
padding: 15px;
text-align: center;
}
.footer button {
background: none;
border: none;
color: #00f7ff;
font-family: 'Orbitron', sans-serif;
font-size: 16px;
cursor: default;
text-shadow: 0 0 5px rgba(0, 247, 255, 0.5);
}
.footer span {
display: block;
color: #e0e0e0;
font-size: 12px;
margin-top: 5px;
}
@media (max-width: 480px) {
.container {
padding: 25px 20px;
margin: 10px;
}
h1 {
font-size: 22px;
}
.notice {
font-size: 12px;
}
.code-other {
grid-template-columns: 1fr;
gap: 10px;
}
}
</style>
</head>
<body>
<div class="particles" id="particles"></div>
<div class="container">
<h1 id="title">title</h1>
<span class="notice" id="notice">notice</span>
<div class="code">
<input type="text" name="code" id="code" pattern="^[a-zA-Z0-9_-]{1,16}$" placeholder="请输入你的激活码">
<button type="submit" onclick="Call_Verify(code.value);" ontouchstart="mStart(this)" ontouchend="mUp(this)">激活</button>
</div>
<div class="code-other">
<button id="Query_Trial" type="submit" class="code-ver" onclick="Call_Query_Trial(code.value);">查询卡密</button>
<button id="Pay" type="submit" class="code-buy" onclick="Call_Pay();">购买卡密</button>
</div>
</div>
<div class="footer">
<button>『中纸片』提供服务</button>
<span>『中纸片』让我们服务与您</span>
</div>
<script>
// Particle effect
function createParticles() {
const particles = document.getElementById('particles');
for (let i = 0; i < 50; i++) {
const particle = document.createElement('div');
particle.style.position = 'absolute';
particle.style.width = '2px';
particle.style.height = '2px';
particle.style.background = 'rgba(0, 247, 255, 0.5)';
particle.style.borderRadius = '50%';
particle.style.left = Math.random() * 100 + 'vw';
particle.style.top = Math.random() * 100 + 'vh';
particle.style.animation = `float ${Math.random() * 5 + 5}s infinite ease-in-out`;
particles.appendChild(particle);
}
}
createParticles();
document.head.insertAdjacentHTML('beforeend', `
<style>
@keyframes float {
0%, 100% { transform: translateY(0); opacity: 0.5; }
50% { transform: translateY(-20px); opacity: 1; }
}
</style>
`);
// Original logic
document.getElementById("title").innerHTML = PanGolin.GetTitle();
document.getElementById("notice").innerHTML = PanGolin.GetNotice();
document.getElementById("Query_Trial").innerHTML = PanGolin.Is_Trial() ? "试用" : "查码";
document.getElementById("Pay").style.display = PanGolin.Is_Pay() ? "block" : "none";
function Call_Verify(data) {
PanGolin.Verify(data);
}
function Call_Query_Trial(data) {
if (PanGolin.Is_Trial()) PanGolin.Trial();
else PanGolin.Query(data);
}
function Call_Pay() {
PanGolin.Pay();
}
function mStart(obj) {
obj.style.opacity = "0.7";
}
function mUp(obj) {
obj.style.opacity = "1";
}
</script>
</body>
</html>
<!-- 本DIY代码来自于 https://diy.zhongzhipian.top -->