body {
    margin: 0;
    background: linear-gradient(45deg, #000428 0%, #004e92 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 登录/注册基础样式 */
.login-page, .register-page {
    min-height: 100vh;
    position: relative;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-wrapper, .register-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}

.login-box, .register-box {
    width: 100%;
    max-width: 520px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.8s ease-out;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 头部区域 */
.login-header, .register-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header .logo, .register-header .logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(0, 242, 96, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 242, 96, 0.3);
}

.login-header .logo i, .register-header .logo i {
    font-size: 40px;
    color: #00f260;
}

.login-header h1, .register-header h1 {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.login-header p, .register-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* 主体区域 */
.login-body, .register-body {
    position: relative;
    z-index: 1;
}

/* 表单样式 */
.form-group {
    margin-bottom: 22px;
    width: 100%;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    font-weight: 600;
}

.form-group .input-wrapper {
    position: relative;
    width: 100%;
}

.form-group .input-wrapper i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    z-index: 2;
    transition: all 0.3s;
}

.form-group input {
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    padding: 0 20px 0 50px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    font-family: inherit;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus {
    outline: none;
    border-color: #00f260;
    box-shadow: 0 0 10px rgba(0, 242, 96, 0.3);
    background-color: rgba(51, 51, 51, 0.2);
}

.form-group input:focus + i,
.form-group .input-wrapper:focus-within i {
    color: #00f260;
    transform: translateY(-50%) scale(1.1);
}

/* 表单选项 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    font-size: 14px;
}

.form-options label {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    font-weight: normal;
}

.form-options label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.form-options a {
    color: #00f260;
    text-decoration: none;
    transition: all 0.3s;
}

.form-options a:hover {
    color: #0575e6;
    text-decoration: underline;
}

/* 按钮样式 */
.btn-login, .btn-register {
    width: 100%;
    height: 55px;
    background: linear-gradient(45deg, #00f260, #0575e6);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.btn-login:hover, .btn-register:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 242, 96, 0.5);
}

/* 底部区域 */
.login-footer, .register-footer {
    text-align: center;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-footer p, .register-footer p {
    font-size: 14px;
    margin: 0;
}

.login-footer a, .register-footer a {
    color: #00f260;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.login-footer a:hover, .register-footer a:hover {
    color: #0575e6;
    text-decoration: underline;
}

/* 注册页面特定样式 */
.register-box {
    max-width: 520px;
}

.register-header {
    margin-bottom: 25px;
}

.register-header .logo {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
}

.register-header .logo i {
    font-size: 36px;
}

.register-header h1 {
    font-size: 26px;
    margin-bottom: 8px;
}

.register-header p {
    font-size: 13px;
}

.register-body {
    padding-top: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-group textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 15px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    min-height: 90px;
    resize: none;
    font-family: inherit;
}

.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group textarea:focus {
    outline: none;
    border-color: #00f260;
    box-shadow: 0 0 10px rgba(0, 242, 96, 0.3);
    background-color: rgba(51, 51, 51, 0.2);
}

.btn-register {
    height: 52px;
}

/* 套餐选择样式 */
.package-section {
    margin-bottom: 22px;
}

.package-section label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 14px;
    font-weight: 600;
}

.package-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.package-item {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.package-item:hover {
    border-color: #00f260;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 242, 96, 0.2);
}

.package-item.active {
    border-color: #00f260;
    background: rgba(0, 242, 96, 0.1);
    box-shadow: 0 0 15px rgba(0, 242, 96, 0.2);
}

.package-item input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.package-item .package-check {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-item.active .package-check {
    background: linear-gradient(45deg, #00f260, #0575e6);
    border-color: #00f260;
}

.package-item.active .package-check::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
}

.package-item .package-name {
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    margin-bottom: 6px;
}

.package-item .package-price {
    color: #00f260;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.package-item .package-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    line-height: 1.5;
}

/* Tab切换样式 */
.register-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 25px;
}

.register-tab {
    flex: 1;
    text-align: center;
    padding: 18px 0;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.register-tab.active {
    color: #fff;
}

.register-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 3px;
    background: linear-gradient(45deg, #00f260, #0575e6);
    border-radius: 2px;
}

.register-tab i {
    margin-right: 8px;
    font-size: 16px;
}

.register-tab:hover {
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 微信扫码区域 */
.wechat-content {
    text-align: center;
    padding: 25px 0;
}

.wechat-qrcode {
    width: 190px;
    height: 190px;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wechat-qrcode i {
    font-size: 85px;
    color: #07c160;
}

.wechat-tips {
    margin-bottom: 25px;
}

.wechat-tips p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 10px 0;
}

.wechat-tips p.title {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
}

.wechat-action {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.btn-wechat {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(45deg, #07c160, #10b981);
    color: #fff;
    border-radius: 28px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(7, 193, 96, 0.3);
}

.btn-wechat:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(7, 193, 96, 0.4);
}

.btn-refresh {
    display: inline-block;
    padding: 14px 35px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 28px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.btn-refresh:hover {
    border-color: #00f260;
    color: #00f260;
    box-shadow: 0 4px 15px rgba(0, 242, 96, 0.2);
}

/* 社交登录 */
.divider {
    position: relative;
    text-align: center;
    margin-bottom: 28px;
}

.divider::before, .divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.divider span {
    display: inline-block;
    padding: 0 20px;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.social-login {
    display: flex;
    gap: 15px;
    margin-bottom: 32px;
}

.social-btn {
    flex: 1;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
}

.social-btn:hover {
    border-color: #00f260;
    background: rgba(0, 242, 96, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 242, 96, 0.15);
}

.social-btn.wechat {
    border-color: #07c160;
    color: #07c160;
}

.social-btn.wechat:hover {
    background: rgba(7, 193, 96, 0.1);
    box-shadow: 0 4px 15px rgba(7, 193, 96, 0.2);
}

.social-btn i {
    font-size: 22px;
}

.social-btn span {
    font-size: 14px;
    font-weight: 500;
}

/* 页脚信息 */
.footer-info {
    text-align: center;
    padding: 25px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    position: relative;
    z-index: 1;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .login-box, .register-box {
        max-width: 100%;
        border-radius: 16px;
        margin: 10px;
        padding: 30px;
    }
    
    .login-header, .register-header {
        margin-bottom: 25px;
    }
    
    .login-header .logo, .register-header .logo {
        width: 65px;
        height: 65px;
        margin-bottom: 12px;
    }
    
    .login-header .logo i, .register-header .logo i {
        font-size: 32px;
    }
    
    .login-header h1, .register-header h1 {
        font-size: 24px;
    }
    
    .login-body, .register-body {
        padding-top: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .package-list {
        grid-template-columns: 1fr;
    }
    
    .wechat-qrcode {
        width: 160px;
        height: 160px;
    }
    
    .wechat-qrcode i {
        font-size: 70px;
    }
    
    .wechat-action {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .btn-wechat, .btn-refresh {
        width: 100%;
        max-width: 200px;
    }
    
    .social-login {
        flex-direction: column;
        gap: 12px;
    }
    
    .social-btn {
        width: 100%;
    }
}
