
/* 主要内容区 */
main {
    margin-top: 100px;
    min-height: calc(100vh - 220px);
    padding-bottom: 40px;
}

/* 注册表单区域 */
.registration-section {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #e5e7eb;
}

.form-header {
    margin-bottom: 30px;
    text-align: center;
}

.form-header h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #6b5ce7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(107, 92, 231, 0.2);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.form-check-input {
    margin-right: 10px;
    width: 16px;
    height: 16px;
}

.form-check-label {
    font-size: 0.9rem;
    color: #555;
}

.form-check-label a {
    color: #6b5ce7;
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    background: #ffde59;
    color: #333;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
}

.btn:hover {
    background: #ffd426;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid #6b5ce7;
    color: #6b5ce7;
}

.btn-outline:hover {
    background: #6b5ce7;
    color: white;
}

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.divider::before, 
.divider::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background-color: #ddd;
}

.divider-text {
    padding: 0 15px;
    color: #888;
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f5f5f5;
    border: 1px solid #eee;
    font-size: 1.2rem;
    color: #555;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.95rem;
    color: #666;
}

.login-link a {
    color: #6b5ce7;
    text-decoration: none;
    font-weight: 500;
}

.login-link a:hover {
    text-decoration: underline;
}

.benefits-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #f7f9fc;
    border-radius: 8px;
}

.benefits-title {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #555;
}

.benefit-icon {
    margin-right: 10px;
    color: #6b5ce7;
}

/* 页脚 */
footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-logo span {
    color: #ffde59;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #ffde59;
    color: #333;
    transform: translateY(-3px);
}

.copyright {
    margin-top: 20px;
    color: #999;
    font-size: 0.9rem;
}

/* 响应式设计 */  
@media (max-width: 768px) {
    .nav-left .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .registration-section {
        padding: 30px 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .form-header h1 {
        font-size: 1.6rem;
    }
    
    .social-login {
        flex-wrap: wrap;
    }
}

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

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}
