/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #2c78f8 0%, #1e5bb8 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.6;
    color: white;
    overflow-x: hidden;
}

/* 主容器 */
.container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    justify-content: center;
    position: relative;
}

/* 内容区域 */
.content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

/* Logo区域 */
.logo-section {
    margin-bottom: 40px;
}

.logo {
    margin-bottom: 20px;
    animation: logoFloat 3s ease-in-out infinite;
}

.logo svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

h1 {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* 表单区域 */
.form-section {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 验证按钮 */
.verify-button {
    width: 100%;
    max-width: 280px;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.verify-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.verify-button:hover::before {
    width: 300px;
    height: 300px;
}

.verify-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.verify-button:active {
    transform: translateY(0px);
}

.verify-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-text {
    position: relative;
    z-index: 1;
}

/* 验证状态 */
.verification-status {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 12px;
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.status-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.success-icon {
    color: #4ade80;
}

.status-text {
    font-size: 0.95rem;
    font-weight: 400;
    flex: 1;
}

/* 页脚 */
.footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.footer p {
    font-size: 0.85rem;
    opacity: 0.7;
    font-weight: 300;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式 - 平板 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .content {
        padding: 30px 25px;
        margin: 20px 0;
        border-radius: 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .verify-button {
        max-width: 100%;
        font-size: 1rem;
    }
    
    .verification-status {
        max-width: 100%;
    }
    
    .status-item {
        padding: 10px 15px;
    }
    
    .status-text {
        font-size: 0.85rem;
    }
    
    .logo svg {
        width: 100px;
        height: 100px;
    }
}

/* 响应式 - 手机 */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .content {
        padding: 25px 20px;
        border-radius: 12px;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    .subtitle {
        font-size: 0.85rem;
    }
    
    .verify-button {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .status-item {
        padding: 8px 12px;
        margin-bottom: 8px;
    }
    
    .status-text {
        font-size: 0.8rem;
    }
    
    .logo svg {
        width: 80px;
        height: 80px;
    }
    
    .footer {
        position: relative;
        margin-top: 30px;
        bottom: auto;
    }
}

/* 高分辨率优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .content {
        backdrop-filter: blur(15px);
    }
}
