<!-- 本DIY代码来自于 https://diy.zhongzhipian.top -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NeonVerify - 卡密验证系统</title>
<style>
/* 全局样式 */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Raleway', sans-serif;
}
body {
overflow: hidden;
background: linear-gradient(135deg, #000323, #000645);
animation: gradient-bg 10s ease infinite;
}
@keyframes gradient-bg {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
/* 主容器 */
.container {
position: relative;
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
perspective: 1000px;
}
/* 卡密验证盒子 */
.code-box {
background: rgba(0, 0, 0, 0.6);
padding: 40px;
border-radius: 20px;
box-shadow: 0 15px 35px rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
transform-style: preserve-3d;
animation: float 3s ease infinite;
}
@keyframes float {
0%, 100% { transform: translateY(0) rotateX(0deg); }
50% { transform: translateY(-20px) rotateX(2deg); }
}
/* 标题部分 */
.header {
text-align: center;
margin-bottom: 40px;
}
.logo {
width: 120px;
height: 120px;
border-radius: 50%;
background: #5729ed;
box-shadow: 0 0 20px #5729ed;
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.1); }
100% { transform: scale(1); }
}
h1 {
color: #fff;
font-size: 2.5rem;
margin: 20px 0;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.notice {
color: #888;
font-size: 1.2rem;
line-height: 1.5;
}
/* 输入框组件 */
.input-field {
position: relative;
margin: 30px 0;
}
input {
width: 100%;
padding: 15px 25px;
background: transparent;
border: 2px solid #5729ed;
border-radius: 15px;
color: #fff;
font-size: 1.2rem;
outline: none;
transition: all 0.3s ease;
}
input:focus {
border-color: #ff6b6b;
box-shadow: 0 0 10px #ff6b6b;
}
input::placeholder {
color: rgba(255,255,255,0.5);
}
/* 按钮组件 */
.btn {
display: inline-block;
padding: 15px 40px;
background: linear-gradient(45deg, #5729ed, #ff6b6b);
color: #fff;
border: none;
border-radius: 15px;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 8px 15px rgba(87,41,237,0.3);
}
.btn:hover {
transform: translateY(-3px);
box-shadow: 0 5px 8px rgba(87,41,237,0.5);
}
.btn:active {
transform: translateY(-1px);
}
.btn-group {
display: flex;
gap: 20px;
margin-top: 30px;
}
/* 动态粒子效果 */
.particles {
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
pointer-events: none;
}
.particle {
position: absolute;
background: #5729ed;
animation: move 4s linear infinite;
}
@keyframes move {
0% { transform: translate(0, 0); }
100% { transform: translate(100%, 100%); }
}
/* 底部信息 */
.footer {
position: absolute;
bottom: 20px;
width: 100%;
text-align: center;
color: rgba(255,255,255,0.5);
}
.footer span {
animation: fade 2s ease infinite;
}
@keyframes fade {
0%, 100% { opacity: 0.5; }
50% { opacity: 1; }
}
</style>
</head>
<body>
<div class="container">
<div class="code-box">
<div class="header">
<div class="logo"></div>
<h1 id="title">title</h1>
<div class="notice" id="notice">notice</div>
</div>
<div class="input-field">
<input type="text" id="code" placeholder="请输入激活码"
pattern="^[a-zA-Z0-9_-]{1,16}$"
required>
</div>
<div class="btn-group">
<button class="btn" onclick="Call_Verify()">激活</button>
<button class="btn" id="Query_Trial" onclick="Call_Query_Trial()">查询</button>
<button class="btn" id="Pay" onclick="Call_Pay()">购买</button>
</div>
<!-- 动态粒子 -->
<div class="particles">
<div class="particle" style="left: 10%; top: 20%; width: 8px; height: 8px; animation-duration: 5s;"></div>
<div class="particle" style="left: 30%; top: 40%; width: 12px; height: 12px; animation-duration: 6s;"></div>
<div class="particle" style="left: 70%; top: 10%; width: 10px; height: 10px; animation-duration: 4s;"></div>
<div class="particle" style="left: 50%; top: 70%; width: 15px; height: 15px; animation-duration: 7s;"></div>
</div>
</div>
<div class="footer">
<span>『中纸片』提供技术支持</span>
</div>
</div>
<script>
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() {
const code = document.getElementById("code").value;
PanGolin.Verify(code);
}
function Call_Query_Trial() {
if (PanGolin.Is_Trial()) PanGolin.Trial();
else PanGolin.Query(document.getElementById("code").value);
}
function Call_Pay() {
PanGolin.Pay();
}
</script>
</body>
</html>
<!-- 本DIY代码来自于 https://diy.zhongzhipian.top -->