.register-container {
    max-width: 450px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.register-header {
    text-align: center;
    margin-bottom: 30px;
}
.register-header h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 24px;
}
.register-header p {
    color: #666;
    font-size: 14px;
}
.form-group {
    margin-bottom: 20px;
}
.form-control {
    height: 45px;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0 15px;
    font-size: 14px;
    transition: all 0.3s;
}
.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102,126,234,.25);
}
.btn-register {
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
}
.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,.4);
}
.agree-check {
    margin: 20px 0;
    font-size: 14px;
}
.agree-check label {
    cursor: pointer;
}
.login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}
.login-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}
.login-link a:hover {
    text-decoration: underline;
}
.member-benefits {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
}
.member-benefits h5 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 18px;
}
.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}
.benefit-item i {
    margin-right: 12px;
    font-size: 16px;
    width: 20px;
}
.email-code-group {
    display: flex;
    gap: 10px;
}
.email-code-group .form-control {
    flex: 1;
}
.btn-send-code {
    width: 120px;
    background: #17a2b8;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-send-code:hover {
    background: #138496;
    transform: translateY(-1px);
}
.btn-send-code:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}
.alert {
    border-radius: 8px;
    border: none;
}
.password-strength {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
}
.strength-0 { background: #ffe6e6; color: #d63031; }
.strength-1 { background: #ffeaa7; color: #e17055; }
.strength-2 { background: #a3e4d7; color: #00b894; }
.strength-3 { background: #74b9ff; color: #0984e3; }
.strength-4 { background: #55efc4; color: #00b894; }

/* 弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(0,0,0,0.7);*/
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(145deg, #1e1e2e 0%, #252540 100%);
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: linear-gradient(135deg, rgba(30, 30, 46, 0.9) 0%, rgba(37, 37, 64, 0.9) 100%);
    padding: 25px 30px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
}

.modal-header:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.modal-title {
    color: #d4af37;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    text-align: center;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: none;
    border: none;
    color: #d4af37;
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-close:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    color: #e0e0e0;
    line-height: 1.8;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-body h3 {
    color: #d4af37;
    border-left: 4px solid #d4af37;
    padding-left: 15px;
    margin: 25px 0 15px 0;
    font-size: 20px;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body h4 {
    color: #f9e076;
    margin: 20px 0 10px 0;
    font-size: 16px;
}

.modal-body p {
    margin-bottom: 15px;
    text-align: justify;
}

.modal-body ul {
    margin: 15px 0;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 10px;
}

.modal-body li:before {
    content: "•";
    color: #d4af37;
    font-weight: bold;
    position: absolute;
    left: -10px;
}

.modal-footer {
    padding: 20px 30px;
    background: rgba(20, 20, 35, 0.8);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
}

.btn-modal-close {
    background: linear-gradient(135deg, #d4af37, #f9e076);
    border: none;
    border-radius: 8px;
    color: #1e1e2e;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-modal-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* 滚动条样式 */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(30, 30, 46, 0.5);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #d4af37, #f9e076);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #f9e076, #d4af37);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-body h3 {
        font-size: 18px;
    }
}

.agree-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed #d4af37;
    transition: all 0.3s;
}

.agree-link:hover {
    color: #f9e076;
    border-bottom-style: solid;
    text-decoration: none;
}