/* style.css */
/* 基础样式 */
html,body{height:100%;margin:0;padding:0;}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    overflow: hidden; position: relative;
}
.background-animation {position:absolute;top:0;left:0;width:100%;height:100%;z-index:-1;opacity:.3;}
.particle {
    position: absolute; border-radius: 50%; background: rgba(255,255,255,.6);
    box-shadow: 0 0 10px rgba(255,255,255,.8);
    animation: float 15s linear infinite;
}
@keyframes float {
    0%{transform:translateY(100vh);opacity:0;}
    10%{opacity:1;}
    90%{opacity:.8;}
    100%{transform:translateY(-100px) translateX(50px);opacity:0;}
}
.container {
    text-align:center; background:rgba(255,255,255,.08); backdrop-filter:blur(20px);
    border-radius:20px; padding:2.5rem 1.5rem; box-shadow:0 25px 50px rgba(0,0,0,.2);
    border:1px solid rgba(255,255,255,.15); max-width:95%; width:400px; position:relative; z-index:10;
}
.logo {
    width:80px;height:80px;margin:0 auto 1.2rem;background:linear-gradient(45deg,#ff6b6b,#ffa502);
    border-radius:20%;display:flex;align-items:center;justify-content:center;
    font-size:2rem;color:#fff;font-weight:bold;box-shadow:0 10px 30px rgba(255,107,107,.4);
    animation:pulse 2.5s ease-in-out infinite;transform:rotate(45deg);
}
.logo span{transform:rotate(-45deg);}
@keyframes pulse {
    0%,100%{transform:rotate(45deg) scale(1);}
    50%{transform:rotate(45deg) scale(1.08);}
}
h1{color:#fff;font-size:1.8rem;margin-bottom:1rem;font-weight:500;text-shadow:0 2px 10px rgba(0,0,0,.2);}
.countdown {
    font-size:3.5rem;font-weight:700;color:#ffd32a;margin:1.2rem 0;text-shadow:0 0 25px rgba(255,211,42,.7);
    position:relative;font-family:'Arial Rounded MT Bold','Helvetica Rounded',Arial,sans-serif;
}
.countdown::after {
    content:'';position:absolute;bottom:-12px;left:50%;transform:translateX(-50%);
    width:80px;height:3px;background:linear-gradient(90deg,transparent,#ffd32a,transparent);border-radius:2px;
}
.message{color:rgba(255,255,255,.85);font-size:1.05rem;line-height:1.7;margin-bottom:2rem;}
.target-url{display:block;margin-top:8px;font-size:1rem;color:#70a1ff;word-break:break-all;}
.progress-container{width:100%;height:6px;background:rgba(255,255,255,.15);border-radius:3px;overflow:hidden;margin-top:1.5rem;}
.progress-bar{
    height:100%;background:linear-gradient(90deg,#ff6b6b,#ffa502);border-radius:3px;width:100%;
    animation:progress 5s linear forwards;
}
@keyframes progress{from{width:100%;}to{width:0%;}}
.loading-dots{display:inline-flex;gap:5px;margin-left:8px;}
.dot{width:8px;height:8px;background:#70a1ff;border-radius:50%;animation:bounce 1.4s ease-in-out infinite both;}
.dot:nth-child(1){animation-delay:-.32s;}
.dot:nth-child(2){animation-delay:-.16s;}
@keyframes bounce{0%,80%,100%{transform:scale(0);}40%{transform:scale(1);}}
.footer{margin-top:1.5rem;color:rgba(255,255,255,.6);font-size:.9rem;}

/* 引导层样式 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}
.overlay.active {
    opacity: 1;
    visibility: visible;
}
.guide-box {
    background: linear-gradient(145deg, #1e3c72, #2a5298);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 90%;
    width: 450px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(20px);
    transition: transform 0.5s ease;
}
.overlay.active .guide-box {
    transform: translateY(0);
}
.guide-icon {
    font-size: 4rem;
    color: #ff6b6b;
    margin-bottom: 1.5rem;
    animation: pulse-icon 2s infinite;
}
@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
.guide-title {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}
.guide-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}
.browser-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 2rem 0;
}
.browser-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.browser-icon i {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.browser-icon span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}
.guide-btn {
    background: linear-gradient(90deg, #ff6b6b, #ffa502);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
}
.guide-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.6);
}

/* 响应式设计 */
@media (max-width:480px){
    .container{padding:1.5rem 1rem;width:98%;}
    h1{font-size:1.2rem;}
    .countdown{font-size:2.2rem;}
    .logo{width:60px;height:60px;font-size:1.3rem;}
    
    .guide-box {
        padding: 1.5rem;
    }
    .guide-title {
        font-size: 1.4rem;
    }
    .guide-text {
        font-size: 1rem;
    }
    .browser-icons {
        gap: 15px;
    }
    .browser-icon i {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}