* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    font-family: 'Microsoft YaHei', sans-serif;
    position: relative;
    overflow: hidden;
}
/* 背景装饰 */
body::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 60%);
    animation: rotate 30s linear infinite;
}
@keyframes rotate { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }

.reg-container {
    position: relative;
    z-index: 10;
    width: 400px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px 35px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.logo-area {
    text-align: center;
    margin-bottom: 15px;
}
.logo-area h1 {
    color: #1e293b;
    font-size: 28px;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.input-group {
    margin-bottom: 12px;
    position: relative;
}
.input-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    background: #f8fafc;
}
.input-group input:focus {
    outline: none;
    border-color: #10b981;
    background: white;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}
.btn-reg {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}
.btn-reg:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(5, 150, 105, 0.3);
}
.links {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
}
.form-section {
    margin-bottom: 15px;
}
.section-title {
    font-size: 14px;
    color: #64748b;
    font-weight: bold;
    margin-bottom: 12px;
    border-left: 3px solid #10b981;
    padding-left: 8px;
}
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    font-size: 12px;
    color: #64748b;
}
.checkbox-group input {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.checkbox-group a {
    color: #3b82f6;
    text-decoration: none;
}
.checkbox-group a:hover {
    text-decoration: underline;
}
.links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s;
    margin: 0 10px;
}
.links a:hover { color: #10b981; }
.error-msg {
    background: #fee2e2;
    color: #dc2626;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 13px;
    text-align: center;
    border: 1px solid #fecaca;
}
