* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    overflow: hidden;
}

.background {
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #2c5f7c 0%, #1e3a5f 50%, #0f2027 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 100px 100px, 100px 100px, 50px 50px, 50px 50px;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.welcome-card {
    background: rgba(30, 58, 95, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    width: 480px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.lights {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 300px;
}

.light {
    width: 60px;
    height: 40px;
    background: linear-gradient(to bottom, #ffffff 0%, #e0e0e0 100%);
    border-radius: 0 0 30px 30px;
    position: relative;
}

.light::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.welcome-title {
    color: #4A9EFF;
    font-size: 28px;
    font-weight: bold;
    margin: 30px 0 10px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.domain {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.countdown-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.countdown-text {
    color: #ffffff;
    font-size: 16px;
}

.countdown-number {
    background: linear-gradient(135deg, #FF9500 0%, #FF7A00 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.4);
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.countdown-unit {
    color: #ffffff;
    font-size: 16px;
}

.redirect-info {
    background: linear-gradient(135deg, #FF9500 0%, #FF7A00 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    margin: 20px 0;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.3);
}

.redirect-text {
    margin-right: 5px;
}

.redirect-domain {
    font-weight: bold;
}

.nav-buttons {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-btn {
    background: linear-gradient(135deg, #4A9EFF 0%, #357ABD 100%);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
    min-width: 120px;
    justify-content: center;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 158, 255, 0.4);
}

.nav-btn.active {
    background: linear-gradient(135deg, #FF9500 0%, #FF7A00 100%);
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.4);
}

.nav-btn.active:hover {
    box-shadow: 0 6px 16px rgba(255, 149, 0, 0.5);
}

.btn-number {
    background: rgba(255, 255, 255, 0.3);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.cancel-btn {
    background: rgba(108, 117, 125, 0.8);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    margin: 20px 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.cancel-btn:hover {
    background: rgba(108, 117, 125, 1);
    transform: translateY(-1px);
}

.progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 30px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4A9EFF 0%, #357ABD 100%);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

/* 响应式设计 */
@media (max-width: 600px) {
    .welcome-card {
        width: 90%;
        padding: 30px 20px;
        margin: 20px;
    }
    
    .lights {
        gap: 200px;
    }
    
    .light {
        width: 40px;
        height: 30px;
    }
    
    .nav-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-btn {
        width: 100%;
        max-width: 200px;
    }
} 