/* 基础样式重置 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body, html { 
    height: 100%; 
    width: 100%; 
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: #020617; 
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 主页面容器 */
.main-layout {
    position: relative;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Canvas 粒子背景 */
#particle-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
}

/* 电脑端优雅降级 */
@media screen and (min-width: 768px) {
    .main-layout {
        width: 420px;         
        height: 85vh;         
        max-height: 900px;
        border-radius: 30px;  
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05); 
        overflow: hidden;
    }
}

/* 背景光晕 */
.cricle-item-1, .cricle-item-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    animation: float 10s infinite alternate ease-in-out;
}
.cricle-item-1 {
    width: 300px; height: 300px;
    background: rgba(56, 189, 248, 0.4);
    top: -50px; left: -50px;
}
.cricle-item-2 {
    width: 250px; height: 250px;
    background: rgba(139, 92, 246, 0.4);
    bottom: -50px; right: -50px;
    animation-delay: -5s;
}

/* 核心内容卡片 - 毛玻璃效果 */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 25px;
    width: 90%;
    max-width: 360px;
    text-align: center;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 动态 Logo */
.logo {
    position: relative;
    width: 80px; height: 80px;
    margin: 0 auto 25px;
}
.logo div {
    position: absolute;
    width: 32px; height: 32px;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.7);
    animation: logoAni 4s infinite ease-in-out;
}
.logo-1 { top: 0; left: 0; background: rgba(56, 189, 248, 0.2); }
.logo-2 { top: 0; right: 0; animation-delay: 1s !important; }
.logo-3 { bottom: 0; left: 0; animation-delay: 3s !important; }
.logo-4 { bottom: 0; right: 0; animation-delay: 2s !important; }

/* 文字与标题 */
.title1 { font-size: 13px; letter-spacing: 5px; color: #94a3b8; margin-bottom: 20px; }
.text-1 { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.text-1-1 { font-size: 22px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.text-1-2 { font-size: 14px; color: #cbd5e1; }
.text-1-3, .text-1-4 { font-size: 13px; color: #94a3b8; font-style: italic; font-family: "楷体", serif; }

/* 倒计时模块 */
.countdown {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}
.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.time-box span {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    color: #38bdf8;
    margin-bottom: 4px;
    min-width: 45px;
}
.time-box p { font-size: 10px; color: #64748b; }

/* 订阅交互区 */
.subscribe-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}
.subscribe-box input {
    padding: 12px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.3);
    color: #fff;
    outline: none;
    font-size: 13px;
    text-align: center;
    transition: all 0.3s;
}
.subscribe-box input:focus { border-color: #38bdf8; background: rgba(0,0,0,0.5); }
.subscribe-box button {
    padding: 12px;
    border-radius: 20px;
    border: none;
    background: #38bdf8;
    color: #0f172a;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}
.subscribe-box button:hover { background: #7dd3fc; transform: translateY(-2px); }

/* 底部标签 */
.text-2 { display: flex; justify-content: center; gap: 10px; font-size: 12px; color: #cbd5e1; }
.text-2 span { padding: 4px 10px; background: rgba(255,255,255,0.08); border-radius: 20px; }
.copyright { position: absolute; bottom: 20px; font-size: 12px; opacity: 0.5; }
.copyright a { color: #fff; text-decoration: none; }

/* 横屏遮罩 */
#horizontalMask {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #0f172a; z-index: 1000; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
@media screen and (max-width: 992px) and (orientation: landscape) {
    #horizontalMask { display: flex; }
    .main-layout { display: none; }
}
.horizontal-phone { width: 50px; height: 80px; border: 3px solid #fff; border-radius: 6px; margin-bottom: 20px; animation: rotatePhone 2s infinite ease-in-out; }
.t1 { font-size: 18px; margin-bottom: 10px; color: #fff; }
.t2 { font-size: 14px; color: #94a3b8; }

/* 动画定义 */
@keyframes float { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(20px, 40px) scale(1.1); } }
@keyframes logoAni { 0%, 100% { transform: scale(1) rotate(0); border-radius: 10px; } 50% { transform: scale(0.8) rotate(90deg); border-radius: 50%; border-color: #38bdf8; } }
@keyframes rotatePhone { 0% { transform: rotate(0deg); } 50%, 100% { transform: rotate(-90deg); } }