/* ========== 基础重置 ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #c62828;
    --primary-hover: #e53935;
    --primary-dark: #8e0000;
    --bg-dark: #0a0a0a;
    --bg-card: rgba(20, 20, 20, 0.85);
    --bg-input: rgba(255, 255, 255, 0.06);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --border-color: rgba(255, 255, 255, 0.1);
    --border-active: rgba(198, 40, 40, 0.6);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    --radius: 12px;
    --radius-sm: 8px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: var(--primary-hover);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #ff6f6f;
}

/* ========== 视频背景 ========== */
.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}

.video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.6) 30%,
        rgba(0, 0, 0, 0.6) 70%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

/* ========== 顶部头部 ========== */
.site-header {
    position: relative;
    z-index: 10;
    background: #333333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    height: 62px;
    gap: 24px;
}

.header-logo {
    display: flex;
    flex-direction: column;
}

.header-logo-title {
    font-size: 28px;
    font-weight: 900;
    color: #ffcc00;
    letter-spacing: -1px;
    line-height: 1;
}

.header-logo-title sup {
    font-size: 13px;
    top: -8px;
}

.header-logo-desc {
    color: #ffffff;
    font-size: 11px;
}

.header-login {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-input-item {
    position: relative;
}

.header-input-item input {
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #fff;
    padding: 6px 8px 6px 28px;
    font-size: 13px;
    width: 140px;
    height: 30px;
}

.header-input-item input::placeholder {
    color: #cccccc;
}

.header-input-icon {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #ddd;
    font-size: 14px;
}

.header-login-btn {
    background: #ffcc00;
    border: none;
    font-size: 13px;
    font-weight: bold;
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    color: #000;
    transition: background 0.3s;
    height: 30px;
}

.header-login-btn:hover {
    background: #ffd633;
}

/* ========== 语言选择器 ========== */
.lang-selector {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 100;
}

.lang-current {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-secondary);
    user-select: none;
    transition: border-color 0.3s;
}

.lang-current:hover {
    border-color: var(--border-active);
}

.lang-current .arrow {
    margin-left: 4px;
    font-size: 0.75rem;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 4px;
    min-width: 150px;
    box-shadow: var(--shadow);
}

.lang-selector:hover .lang-dropdown {
    display: block;
}

.lang-dropdown a {
    display: block;
    padding: 6px 12px;
    color: var(--text-secondary);
    font-size: 0.813rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.lang-dropdown a:hover,
.lang-dropdown a.active {
    background: rgba(198, 40, 40, 0.15);
    color: var(--text-primary);
}

/* ========== 主内容 ========== */
.main-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    min-height: 100vh;
}

/* ========== Logo ========== */
.logo {
    text-align: center;
    margin: 20px 0 30px;
}

.logo h1 {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: 12px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #c62828, #ff6f6f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    line-height: 1.1;
}

.logo .tagline {
    display: block;
    font-size: 0.938rem;
    color: var(--text-secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 4px;
}

/* ========== 区块标题 ========== */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4px;
}

.section-desc {
    color: var(--text-secondary);
    text-align: center;
    font-size: 0.938rem;
    margin-bottom: 24px;
}

/* ========== 顶部标题 ========== */
.title-area {
    text-align: center;
    margin-bottom: 30px;
}

.top-text {
    font-size: 52px;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 2px;
}

.main-title {
    font-size: 80px;
    color: #ffcc00;
    font-weight: bold;
    line-height: 1.1;
}

/* ========== Who would you like to connect with ========== */
.select-card {
    background-color: #121212;
    border-radius: 12px;
    padding: 28px 24px;
    max-width: 650px;
    width: 100%;
    height: auto;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.select-card.step2-active {
}

.card-question {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
}

.option-row {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.option-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.option-item:hover {
    transform: translateY(-4px);
}

.option-item.active .option-box {
    box-shadow: 0 0 0 3px #ffcc00, 0 0 20px rgba(255, 204, 0, 0.3);
}

.option-box {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease;
}

.option-box.man {
    background-color: #1a405c;
}

.option-box.woman {
    background-color: #b80000;
    border: 3px solid #fff;
}

.option-box.couple {
    background-color: #4b3466;
}

.option-box.trans {
    background: linear-gradient(#5bc0de, #f8c8d0, #f0f0f0, #f8c8d0, #5bc0de);
    border: 3px solid #fff;
}

.option-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.option-label {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

/* 人物剪影 */
.silhouette {
    width: 65px;
    height: 85px;
    fill: #54c0d8;
}

.silhouette-woman {
    fill: #ffb8d0;
}

.silhouette-couple {
    fill: #9b7fc0;
    width: 85px;
    height: 85px;
}

/* Next 按钮 */
.next-btn {
    display: block;
    margin: 24px 0 0 auto;
    background-color: #ffcc00;
    border: none;
    border-radius: 10px;
    padding: 10px 44px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #000;
}

.next-btn:hover {
    background-color: #ffd633;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.35);
}

/* ========== 步骤2 ========== */
.step-1 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.step-2 {
    display: none;
    flex-direction: column;
    height: 100%;
}

.step-2 .step2-title {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
}

.step-2 .section-title {
    font-size: 17px;
    color: #fff;
    margin: 8px 0 6px;
    font-weight: 500;
    text-align: left;
}

.step-2 .btn-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.step-2 .option-btn {
    height: 38px;
    padding: 0 10px;
    font-size: 16px;
    background: transparent;
    border: 2px solid #ddd;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.step-2 .option-btn.active {
    border-color: #ff3333;
    background-color: #4b262b;
}

.step-2 .bottom-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
}

.step-2 .back-arrow {
    font-size: 36px;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0 8px;
    transition: opacity 0.2s;
}

.step-2 .back-arrow:hover {
    opacity: 0.7;
}

.step-2 .step2-next-btn {
    width: 150px;
    height: 40px;
    padding: 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #222;
    border: 1px solid #444;
    border-radius: 10px;
    color: #777;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    font-weight: 500;
}

.step-2 .step2-next-btn.active {
    background-color: #ffcc00;
    border-color: #ffcc00;
    color: #000;
    font-weight: bold;
}

.step-2 .step2-next-btn.active:hover {
    background-color: #ffd633;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.3);
}

/* ========== 步骤3 ========== */
.step-3 {
    display: none;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.step-3 .step3-back {
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    align-self: flex-start;
    transition: opacity 0.2s;
    line-height: 1;
}

.step-3 .step3-back:hover {
    opacity: 0.7;
}

.step-3 .step3-title {
    color: #fff;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 16px;
}

.step-3 .step3-btn-group {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.step-3 .step3-option-btn {
    flex: 1;
    min-width: 90px;
    height: 38px;
    padding: 0 10px;
    background: transparent;
    border: 2px solid #ddd;
    border-radius: 999px;
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.step-3 .step3-option-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.step-3 .step3-option-btn.active {
    border-color: #ff3333;
    background-color: #4b262b;
}

.step-3 .step3-next-btn {
    display: block;
    margin-left: auto;
    width: 199px;
    height: 40px;
    padding: 0;
    background: #ffc120;
    border: none;
    border-radius: 999px;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    margin-top: auto;
}

.step-3 .step3-next-btn:hover {
    background: #ffcd48;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.3);
}

/* ========== 步骤4 ========== */
.step-4 {
    display: none;
    flex-direction: column;
    height: 100%;
}

.step-4 .step4-title {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 14px;
}

.step-4 .step4-label {
    font-size: 15px;
    color: #eee;
    margin: 10px 0 6px;
    display: block;
}

.step-4 .birth-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.step-4 select {
    width: 100%;
    height: 50px;
    background: #1a1a1a;
    border: 2px solid #444;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    padding: 0 16px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    font-family: inherit;
    cursor: pointer;
}

.step-4 select:focus {
    outline: none;
    border-color: #666;
}

.step-4 .step4-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
}

.step-4 .step4-back {
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    padding: 4px 8px;
    transition: opacity 0.2s;
}

.step-4 .step4-back:hover {
    opacity: 0.7;
}

.step-4 .step4-next-btn {
    width: 199px;
    height: 40px;
    padding: 0;
    background: #222;
    border: 1px solid #333;
    border-radius: 8px;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-4 .step4-next-btn.active {
    background: #ffc120;
    border-color: #ffc120;
    color: #000;
    font-weight: 600;
}

.step-4 .step4-next-btn.active:hover {
    background: #ffcd48;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 204, 0, 0.25);
}

/* ========== 步骤5 ========== */
.step-5 {
    display: none;
    flex-direction: column;
    height: 100%;
}

.step-5 .step5-title {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 14px;
}

.step-5 .step5-form-item {
    margin-bottom: 12px;
}

.step-5 .step5-label {
    font-size: 15px;
    display: block;
    margin-bottom: 6px;
    color: #f0f0f0;
}

.step-5 .step5-input-wrap {
    position: relative;
}

.step-5 .step5-input {
    width: 100%;
    height: 42px;
    background: transparent;
    border: 2px solid #555;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 16px;
    color: #fff;
    outline: none;
    font-family: inherit;
}

.step-5 .step5-input::placeholder {
    color: #888;
}

.step-5 .step5-input:focus {
    border-color: #aaa;
}

.step-5 .step5-eye {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    opacity: 0.7;
    cursor: pointer;
}

.step-5 .step5-tip {
    font-size: 14px;
    color: #777;
    margin-top: 6px;
}

.step-5 .step5-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
}

.step-5 .step5-back {
    font-size: 28px;
    color: #ddd;
    cursor: pointer;
    transition: opacity 0.2s;
}

.step-5 .step5-back:hover {
    opacity: 0.7;
}

.step-5 .step5-next-btn {
    width: 199px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: 2px solid #333;
    border-radius: 8px;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-5 .step5-next-btn.active {
    background: #ffc120;
    border-color: #ffc120;
    color: #000;
    font-weight: 600;
}

.step-5 .step5-next-btn.active:hover {
    background: #ffcd48;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.3);
}

/* ========== Forgot password ========== */
.forgot-link {
    text-align: right;
    font-size: 0.813rem;
    margin-top: -8px;
}

.forgot-link a {
    color: var(--text-muted);
}

.forgot-link a:hover {
    color: var(--primary-hover);
}

/* ========== 注册表单 ========== */
.register-section {
    width: 100%;
    max-width: 420px;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    position: relative;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.938rem;
    outline: none;
    transition: all 0.3s;
}

.form-group input:focus {
    border-color: var(--primary);
    background: rgba(198, 40, 40, 0.08);
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.15);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-group input:invalid:not(:placeholder-shown) {
    border-color: #ff5252;
}

.form-group input:valid:not(:placeholder-shown) {
    border-color: #4caf50;
}

/* ========== 复选框 ========== */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.813rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.checkbox-label .link {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* ========== 按钮 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    width: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(198, 40, 40, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ========== 登录链接 ========== */
.login-link {
    text-align: center;
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.login-link a {
    font-weight: 600;
}

/* ========== 告警 ========== */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.alert-success {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #81c784;
}

.alert-error {
    background: rgba(198, 40, 40, 0.15);
    border: 1px solid rgba(198, 40, 40, 0.3);
    color: #ef9a9a;
}

/* ========== 弹窗遮罩 ========== */
.overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 1000; }
.overlay.active { display: block; }
.loading { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 1001; }
.loading.active { display: block; }
.loading-spinner { width: 40px; height: 40px; border: 4px solid #333; border-top-color: #ffcc00; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.prompt-modal { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 1001; }
.prompt-modal.active { display: block; }
.prompt-box { background: #1a1a1a; border-radius: 12px; padding: 32px 40px; text-align: center; min-width: 300px; border: 1px solid #333; }
.prompt-icon { width: 48px; height: 48px; border-radius: 50%; background: #ffcc00; color: #000; font-size: 24px; font-weight: bold; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.prompt-text { color: #fff; font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.prompt-btns { display: flex; gap: 10px; justify-content: center; }
.prompt-btn { border: none; padding: 10px 24px; border-radius: 24px; font-size: 14px; cursor: pointer; font-weight: bold; text-decoration: none; display: inline-block; }
.prompt-btn.primary { background: #ffcc00; color: #000; display: inline-flex; align-items: center; gap: 4px; }
.prompt-btn.primary:hover { background: #ffd633; }
.prompt-btn.secondary { background: #333; color: #aaa; }
.prompt-btn.secondary:hover { background: #444; color: #fff; }

/* ========== APP下载 ========== */
.app-download {
    display: flex;
    gap: 16px;
    width: 100%;
    max-width: 650px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.app-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 18px;
    flex: 1;
    min-width: 240px;
}

.app-icon svg {
    width: 50px;
    height: 50px;
    display: block;
}

.app-info {
    flex: 1;
    min-width: 0;
}

.app-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

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

.app-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: #ffcc00;
    color: #000;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s;
    flex-shrink: 0;
}

.app-btn:hover {
    background: #ffd633;
    color: #000;
}

/* ========== 页脚 ========== */
.footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 32px 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.75rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-secondary);
}

.footer .copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer .disclaimer {
    font-size: 0.688rem;
    color: rgba(255, 255, 255, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Toast 提示 ========== */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    font-size: 0.875rem;
    color: var(--text-primary);
    z-index: 999;
    opacity: 0;
    transition: all 0.4s ease;
    box-shadow: var(--shadow);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.error {
    border-color: var(--primary);
}

/* ========== 密码强度指示器 ========== */
.password-strength {
    height: 3px;
    background: var(--border-color);
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}

.password-strength .bar {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: all 0.3s;
}

.password-strength .bar.weak {
    width: 33%;
    background: #ff5252;
}

.password-strength .bar.medium {
    width: 66%;
    background: #ffc107;
}

.password-strength .bar.strong {
    width: 100%;
    background: #4caf50;
}


/* ========== 全步骤统—响应式 ========== */
/* --- 900px 及以下 --- */
@media (max-width: 900px) {
    .select-card { padding: 20px 16px; }
    .card-question { font-size: 17px; }
    .option-row { gap: 12px; }
    .next-btn { font-size: 15px; padding: 8px 30px; }

    .step-2 .step2-title { font-size: 20px; }
    .step-2 .section-title { font-size: 15px; }
    .step-2 .option-btn { font-size: 14px; }
    .step-2 .btn-row { gap: 8px; }
    .step-2 .step2-next-btn { width: 130px; font-size: 14px; }
    .step-2 .back-arrow { font-size: 24px; }

    .step-3 .step3-title { font-size: 22px; margin-bottom: 12px; }
    .step-3 .step3-option-btn { font-size: 14px; min-width: 80px; }
    .step-3 .step3-btn-group { gap: 8px; margin-bottom: 14px; }
    .step-3 .step3-back { font-size: 26px; }

    .step-4 .step4-title { font-size: 20px; margin-bottom: 10px; }
    .step-4 .step4-label { font-size: 14px; margin: 8px 0 5px; }
    .step-4 select { font-size: 14px; height: 44px; }
    .step-4 .birth-row { gap: 8px; }
    .step-4 .step4-back { font-size: 24px; }

    .step-5 .step5-title { font-size: 20px; margin-bottom: 10px; }
    .step-5 .step5-label { font-size: 14px; }
    .step-5 .step5-input { font-size: 15px; height: 38px; }
    .step-5 .step5-eye { width: 20px; height: 20px; }
    .step-5 .step5-tip { font-size: 12px; }
}

/* --- 768px 及以下 --- */
@media (max-width: 768px) {
    .top-text { font-size: 28px; }
    .main-title { font-size: 42px; }

    .select-card { padding: 16px 12px; }
    .card-question { font-size: 15px; }
    .option-row { gap: 10px; }
    .next-btn { font-size: 14px; padding: 8px 24px; border-radius: 8px; }

    .step-2 .step2-title { font-size: 18px; margin-bottom: 8px; }
    .step-2 .section-title { font-size: 14px; }
    .step-2 .option-btn { font-size: 13px; height: 34px; border-width: 1.5px; }
    .step-2 .btn-row { gap: 6px; }
    .step-2 .step2-next-btn { width: 110px; font-size: 13px; height: 36px; }
    .step-2 .back-arrow { font-size: 22px; }

    .step-3 .step3-title { font-size: 20px; margin-bottom: 10px; }
    .step-3 .step3-option-btn { font-size: 13px; min-width: 70px; height: 34px; border-width: 1.5px; }
    .step-3 .step3-btn-group { gap: 6px; margin-bottom: 12px; }
    .step-3 .step3-next-btn { width: 160px; height: 36px; font-size: 14px; }
    .step-3 .step3-back { font-size: 24px; }

    .step-4 .step4-title { font-size: 18px; }
    .step-4 .step4-label { font-size: 13px; }
    .step-4 select { font-size: 13px; height: 40px; border-radius: 6px; }
    .step-4 .birth-row { gap: 6px; }
    .step-4 .step4-next-btn { width: 160px; height: 36px; font-size: 14px; }
    .step-4 .step4-back { font-size: 22px; }

    .step-5 .step5-title { font-size: 18px; }
    .step-5 .step5-label { font-size: 13px; }
    .step-5 .step5-input { font-size: 14px; height: 36px; border-radius: 6px; }
    .step-5 .step5-next-btn { width: 160px; height: 36px; font-size: 14px; }
    .step-5 .step5-eye { width: 18px; height: 18px; right: 12px; }
    .step-5 .step5-tip { font-size: 11px; }
    .step-5 .step5-back { font-size: 22px; }

    .lang-selector { top: 12px; right: 12px; }
    .site-header { height: auto; flex-wrap: wrap; padding: 6px 16px; gap: 6px; justify-content: center; }
    .header-logo-title { font-size: 22px; }
    .header-logo-title sup { font-size: 11px; top: -6px; }
    .header-logo-desc { font-size: 10px; }
    .header-login { gap: 6px; justify-content: center; }
    .header-input-item input { width: 120px; font-size: 12px; height: 26px; padding: 4px 6px 4px 24px; }
    .header-input-icon { font-size: 12px; left: 6px; }
    .header-login-btn { font-size: 12px; padding: 4px 12px; height: 26px; }
}

/* --- 480px 及以下（手机） --- */
@media (max-width: 480px) {
    .main-content { padding: 60px 12px 40px; justify-content: center; }
    .title-area { margin-bottom: 24px; }
    .top-text { font-size: 22px; }
    .main-title { font-size: 34px; }

    .select-card { padding: 14px 10px; }
    .card-question { font-size: 14px; }
    .option-box.woman, .option-box.trans { border-width: 2px; }
    .option-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; justify-items: center; }
    .next-btn { font-size: 13px; padding: 6px 20px; border-radius: 6px; }

    .step-2 .step2-title { font-size: 16px; }
    .step-2 .section-title { font-size: 13px; margin: 6px 0 4px; }
    .step-2 .option-btn { font-size: 12px; height: 30px; }
    .step-2 .btn-row { grid-template-columns: 1fr 1fr; gap: 5px; }
    .step-2 .step2-next-btn { width: 100px; font-size: 12px; height: 32px; }
    .step-2 .back-arrow { font-size: 20px; }

    .step-3 .step3-title { font-size: 18px; margin-bottom: 8px; }
    .step-3 .step3-option-btn { font-size: 12px; min-width: 60px; height: 30px; }
    .step-3 .step3-btn-group { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 10px; }
    .step-3 .step3-next-btn { width: 140px; height: 34px; font-size: 13px; }
    .step-3 .step3-back { font-size: 22px; }

    .step-4 .step4-title { font-size: 16px; margin-bottom: 8px; }
    .step-4 .step4-label { font-size: 12px; margin: 6px 0 4px; }
    .step-4 .birth-row { grid-template-columns: 1fr; gap: 5px; }
    .step-4 select { font-size: 13px; height: 38px; }
    .step-4 .step4-next-btn { width: 140px; height: 34px; font-size: 13px; }
    .step-4 .step4-back { font-size: 20px; }

    .step-5 .step5-title { font-size: 16px; margin-bottom: 8px; }
    .step-5 .step5-label { font-size: 12px; margin-bottom: 4px; }
    .step-5 .step5-input { font-size: 13px; height: 34px; }
    .step-5 .step5-form-item { margin-bottom: 8px; }
    .step-5 .step5-next-btn { width: 140px; height: 34px; font-size: 13px; }
    .step-5 .step5-back { font-size: 20px; }
    .step-5 .step5-eye { width: 16px; height: 16px; right: 10px; }
    .step-5 .step5-tip { font-size: 10px; }

    .app-card { padding: 10px 12px; min-width: 180px; }
    .app-icon svg { width: 40px; height: 40px; }
    .app-name { font-size: 13px; }
    .app-desc { font-size: 11px; }
    .app-btn { font-size: 12px; padding: 6px 14px; }

    .footer-links { gap: 4px 8px; }
    .footer-links a { font-size: 10px; }
    .site-header { height: auto; padding: 6px 10px; justify-content: space-between; }
    .header-logo { gap: 2px; }
    .header-logo-title { font-size: 18px; }
    .header-logo-title sup { font-size: 9px; top: -5px; }
    .header-logo-desc { font-size: 9px; }
    .header-input-item { display: none; }
    .header-login-btn { font-size: 11px; padding: 4px 10px; height: 24px; }
}
