/* ========== 登录页专用样式 ========== */


        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #b3001b 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* ========== 顶部导航栏 ========== */
        .top-nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 40px;
            background: rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(10px);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            color: #fff;
            text-decoration: none;
        }

        .logo-icon {
            width: 45px;
            height: 45px;
            background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
        }

        .logo-text {
            font-size: 22px;
            font-weight: 700;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .nav-login {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .nav-login input {
            padding: 10px 15px;
            border: none;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.2);
            color: #fff;
            font-size: 14px;
            width: 140px;
            backdrop-filter: blur(5px);
            transition: all 0.3s ease;
        }

        .nav-login input::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }

        .nav-login input:focus {
            outline: none;
            background: rgba(255, 255, 255, 0.3);
            box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
        }

        .nav-login button {
            padding: 10px 25px;
            border: 2px solid #fff;
            border-radius: 8px;
            background: transparent;
            color: #fff;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .nav-login button:hover {
            background: #fff;
            color: #b3001b;
        }

        /* ========== 主内容区域 ========== */
        .main-container {
            flex: 1;
            display: flex;
            padding: 40px;
            gap: 50px;
            max-width: 1400px;
            margin: 0 auto;
            width: 100%;
        }

        /* ========== 左侧 - 功能介绍 ========== */
        .intro-section {
            flex: 1;
            color: #fff;
            padding: 20px 0;
        }

        .intro-title {
            font-size: 42px;
            font-weight: 700;
            margin-bottom: 15px;
            line-height: 1.3;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }

        .intro-subtitle {
            font-size: 18px;
            opacity: 0.9;
            margin-bottom: 40px;
            line-height: 1.6;
            max-width: 720px;
            text-wrap: balance;
        }

        .feature-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .feature-item {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            padding: 20px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.15);
        }

        .feature-item:hover {
            background: rgba(255, 255, 255, 0.18);
            transform: translateX(8px);
        }

        .feature-icon-box {
            width: 50px;
            height: 50px;
            min-width: 50px;
            background: linear-gradient(135deg, #b3001b 0%, #d71191 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .feature-icon-box svg {
            width: 26px;
            height: 26px;
            color: #fff;
        }

        .feature-text h3 {
            font-size: 17px;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .feature-text p {
            font-size: 14px;
            opacity: 0.85;
            line-height: 1.5;
        }

        /* ========== 右侧 - 注册区域 ========== */
        .register-section {
            width: 450px;
            min-width: 400px;
        }

        .register-card {
            background: #fff;
            border-radius: 24px;
            padding: 35px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        }

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

        .register-header h2 {
            font-size: 26px;
            color: #333;
            margin-bottom: 8px;
        }

        .register-header p {
            color: #888;
            font-size: 14px;
        }

        .quick-query-section {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 20px;
        }

        .quick-query-section h4 {
            font-size: 15px;
            color: #333;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .quick-query-section h4 svg {
            width: 18px;
            height: 18px;
            color: #b3001b;
        }

        .form-row {
            display: flex;
            gap: 10px;
            margin-bottom: 10px;
        }

        .form-row:last-child {
            margin-bottom: 0;
        }

        .form-group {
            flex: 1;
        }

        .form-group.small {
            flex: 0.7;
        }

        .form-group label {
            display: block;
            font-size: 12px;
            color: #666;
            margin-bottom: 4px;
        }

        .form-group input,
        .form-group select {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 14px;
            transition: all 0.2s ease;
            background: #fff;
        }

        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: #b3001b;
            box-shadow: 0 0 0 3px rgba(179, 0, 27, 0.1);
        }

        .btn-row {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }

        .btn-query {
            flex: 1;
            padding: 12px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #fff;
            border: none;
            border-radius: 10px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .btn-query:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
        }

        .btn-register {
            flex: 1;
            padding: 12px;
            background: linear-gradient(135deg, #b3001b 0%, #d71191 100%);
            color: #fff;
            border: none;
            border-radius: 10px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .btn-register:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(179, 0, 27, 0.4);
        }

        #zodiac-result {
            margin-top: 15px;
            padding: 15px 18px;
            background: linear-gradient(135deg, #fff5f7 0%, #f8f0ff 100%);
            border-radius: 10px;
            color: #333;
            font-size: 14px;
            line-height: 1.9;
            display: none;
            border: 1px solid rgba(179, 0, 27, 0.1);
        }

        #zodiac-result .result-label {
            color: #888;
            font-size: 13px;
        }

        #zodiac-result .result-value {
            color: #b3001b;
            font-weight: 600;
        }

        #zodiac-result.show {
            display: block;
            animation: fadeIn 0.3s ease;
        }

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

        .divider {
            display: flex;
            align-items: center;
            margin: 25px 0;
            color: #ccc;
            font-size: 13px;
        }

        .divider::before,
        .divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: #e0e0e0;
        }

        .divider span {
            padding: 0 15px;
        }

        .benefit-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .benefit-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 15px;
            background: #f8f9fa;
            border-radius: 10px;
            font-size: 14px;
            color: #555;
            transition: all 0.2s ease;
        }

        .benefit-item:hover {
            background: #fff5f7;
            color: #b3001b;
        }

        .benefit-icon {
            width: 28px;
            height: 28px;
            min-width: 28px;
            background: linear-gradient(135deg, #b3001b 0%, #d71191 100%);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .benefit-icon svg {
            width: 16px;
            height: 16px;
            color: #fff;
        }

        /* ========== 注册模态框 ========== */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(5px);
            z-index: 10000;
            justify-content: center;
            align-items: center;
        }

        .modal-overlay.show {
            display: flex;
            animation: fadeIn 0.3s ease;
        }

        .modal-box {
            background: #fff;
            border-radius: 24px;
            padding: 35px;
            width: 90%;
            max-width: 480px;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: slideUp 0.3s ease;
        }

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

        .modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 36px;
            height: 36px;
            border: none;
            background: #f0f0f0;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }

        .modal-close:hover {
            background: #e0e0e0;
            transform: rotate(90deg);
        }

        .modal-close svg {
            width: 20px;
            height: 20px;
            color: #666;
        }

        .modal-header {
            text-align: center;
            margin-bottom: 25px;
        }

        .modal-header h2 {
            font-size: 24px;
            color: #333;
            margin-bottom: 8px;
        }

        .modal-header p {
            color: #888;
            font-size: 14px;
        }

        .register-form .form-group {
            margin-bottom: 15px;
        }

        .register-form .form-group label {
            display: block;
            font-size: 13px;
            color: #555;
            margin-bottom: 6px;
            font-weight: 500;
        }

        .register-form .form-group input,
        .register-form .form-group select {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #e0e0e0;
            border-radius: 10px;
            font-size: 14px;
            transition: all 0.2s ease;
        }

        .register-form .form-group input:focus,
        .register-form .form-group select:focus {
            outline: none;
            border-color: #b3001b;
            box-shadow: 0 0 0 3px rgba(179, 0, 27, 0.1);
        }

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

        .register-form .form-row.two-col {
            grid-template-columns: repeat(2, 1fr);
        }

        .btn-submit {
            width: 100%;
            padding: 14px;
            background: linear-gradient(135deg, #b3001b 0%, #d71191 100%);
            color: #fff;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(179, 0, 27, 0.4);
        }

        .form-note {
            text-align: center;
            margin-top: 15px;
            font-size: 12px;
            color: #999;
        }

        /* ========== 匹配确认模态框 ========== */
        .match-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 20px;
            max-height: 350px;
            overflow-y: auto;
        }

        .match-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 16px;
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .match-item:hover {
            border-color: #b3001b;
            background: #fff5f7;
        }

        .match-item.selected {
            border-color: #b3001b;
            background: #fff0f3;
        }

        .match-item input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: #b3001b;
            flex-shrink: 0;
        }

        .match-info {
            flex: 1;
        }

        .match-name {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            margin-bottom: 4px;
        }

        .match-detail {
            font-size: 13px;
            color: #888;
        }

        .match-reason {
            display: inline-block;
            font-size: 11px;
            color: #b3001b;
            background: #fff0f3;
            padding: 2px 8px;
            border-radius: 4px;
            margin-top: 4px;
        }

        .match-actions {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .btn-skip-merge {
            width: 100%;
            padding: 12px;
            background: transparent;
            color: #666;
            border: 1px solid #ddd;
            border-radius: 12px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .btn-skip-merge:hover {
            background: #f5f5f5;
            color: #333;
        }

        .btn-submit:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        /* ========== 底部 ========== */
        .footer {
            text-align: center;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.7);
            padding: 25px 20px;
            background: rgba(0, 0, 0, 0.1);
        }

        .footer a {
            color: rgba(255, 255, 255, 0.9);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .footer a:hover {
            color: #fff;
            text-decoration: underline;
        }

        /* ========== 响应式设计 ========== */
        @media (max-width: 1024px) {
            .main-container {
                flex-direction: column;
                padding: 30px 20px;
                gap: 30px;
            }

            .register-section {
                width: 100%;
                min-width: auto;
                max-width: 500px;
                margin: 0 auto;
            }

            .intro-title {
                font-size: 32px;
            }
        }

        @media (max-width: 600px) {
            .top-nav {
                flex-direction: column;
                gap: 15px;
                padding: 15px 20px;
            }

            .nav-login-wrapper {
                width: 100%;
                flex-direction: column !important;
                gap: 10px !important;
            }

            .nav-login-wrapper .login-lang-switcher {
                width: 100%;
                display: flex;
                justify-content: center;
            }

            .nav-login {
                width: 100%;
                flex-direction: column;
                gap: 10px;
            }

            .nav-login input {
                width: 100%;
                max-width: 280px;
            }

            .nav-login button {
                width: 100%;
                max-width: 280px;
            }

            .intro-title {
                font-size: 26px;
            }

            .feature-item {
                padding: 15px;
            }

            .register-card {
                padding: 25px 20px;
            }

            .form-row {
                flex-direction: column;
            }

            .register-form .form-row {
                grid-template-columns: repeat(2, 1fr);
            }
        }
    