/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: #f0f2f5;
    overflow: hidden; /* 防止背景球溢出 */
}

/* 动态背景 */
.bg-blobs {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s infinite alternate;
}

.blob:nth-child(2) {
    right: 10%;
    bottom: 10%;
    background: linear-gradient(135deg, #00cec9 0%, #81ecec 100%);
    animation-delay: -5s;
}

/* 卡片样式 - 玻璃拟态 */
.modal-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 50px 80px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.5);
    /* 入场动画 */
    animation: slideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.icon-box {
    font-size: 60px;
    margin-bottom: 20px;
    display: inline-block;
    animation: bounce 2s infinite;
}

.title {
    font-size: 32px;
    color: #2d3436;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.subtitle {
    color: #636e72;
    margin-bottom: 40px;
}

/* 按钮优化 */
.primary-btn {
    background: #0984e3;
    color: white;
    border: none;
    padding: 15px 45px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(9, 132, 227, 0.2);
}

.primary-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(9, 132, 227, 0.4);
    background: #0873c4;
}

.primary-btn:active {
    transform: translateY(-1px);
}

/* 动画定义 */

/* 1. 浮动背景动画 */
@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 100px); }
}

/* 2. 卡片滑入动画 */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 3. Emoji 跳动动画 */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.footer-hint {
    margin-top: 30px;
    font-size: 12px;
    color: #b2bec3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}