.logo-index {
    background: linear-gradient(#760800, #ff9a92, #3e0500);
    width: 100px;
    height: 100px;
    padding: 8px;
    border-radius: 50%;
}

/* 页面主内容 */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e4e8;
}

h1 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 2.8rem;
}

.subtitle {
    color: #7f8c8d;
    font-size: 1.2rem;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.content-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.content-card h3 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.content-card p {
    color: #555;
    margin-bottom: 15px;
}

/* 弹窗遮罩层 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* 弹窗样式 */
.modal {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    width: 90%;
    max-width: 500px;
    border-radius: 18px;
    padding: 40px 35px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: modalAppear 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalAppear {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.modal-icon {
    font-size: 4rem;
    color: #3498db;
}

.modal h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.modal p {
    color: #555;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

/* 验证码区域 */
.captcha-container {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e1e4e8;
}

.captcha-display {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.captcha-code {
    font-family: 'Courier New', monospace;
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 5px;
    padding: 12px 20px;
    background: linear-gradient(45deg, #2c3e50, #34495e);
    color: white;
    border-radius: 8px;
    user-select: none;
    margin-right: 15px;
    min-width: 180px;
    text-align: center;
}

.captcha-refresh {
    background: #3498db;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-refresh:hover {
    background: #2980b9;
    transform: rotate(90deg);
}

.captcha-input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.captcha-input {
    width: 100%;
    max-width: 300px;
    padding: 14px 18px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1.1rem;
    text-align: center;
    letter-spacing: 2px;
    transition: border-color 0.3s;
}

.captcha-input:focus {
    border-color: #3498db;
    outline: none;
}

.captcha-input.error {
    border-color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.05);
}

.captcha-input.success {
    border-color: #2ecc71;
    background-color: rgba(46, 204, 113, 0.05);
}

.captcha-error {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 8px;
    height: 20px;
}

/* 确认按钮 */
.confirm-btn {
    background: linear-gradient(to right, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    width: 100%;
    max-width: 300px;
}

.confirm-btn:hover {
    background: linear-gradient(to right, #2980b9, #2573a7);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

/* 页脚 */
.footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #e1e4e8;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .modal {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .captcha-code {
        font-size: 1.8rem;
        min-width: 150px;
        letter-spacing: 3px;
    }
}

@media (max-width: 480px) {
    .captcha-display {
        flex-direction: column;
    }
    
    .captcha-code {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* 错误提示样式 */
.error-notification {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 20px;
    border-radius: 5px;
    border: 1px solid #f5c6cb;
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 成功状态样式 */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 12px 20px;
    border-radius: 5px;
    border: 1px solid #c3e6cb;
    margin-bottom: 20px;
}

/* 重置按钮样式 */
.reset-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.reset-btn:hover {
    background: #c0392b;
}