/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0066cc;
    --secondary-blue: #004499;
    --accent-blue: #0099ff;
    --light-blue: #e6f3ff;
    --dark-blue: #002244;
    --text-primary: #333333;
    --text-secondary: #666666;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    --gradient-secondary: linear-gradient(135deg, #004499 0%, #0066cc 100%);
    --shadow-light: 0 4px 6px rgba(0, 102, 204, 0.1);
    --shadow-medium: 0 8px 25px rgba(0, 102, 204, 0.15);
    --shadow-heavy: 0 15px 35px rgba(0, 102, 204, 0.2);
}

body {
    font-family: 'Baloo 2', 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, .hero-title, .section-title {
    font-family: 'Baloo 2', 'Inter', sans-serif;
    letter-spacing: 1px;
}

/* 卡通云朵和星星背景 */
.bg-cloud {
    position: absolute;
    z-index: 0;
    opacity: 0.18;
}
.bg-cloud.cloud1 {
    top: 60px; left: 5vw; width: 120px;
}
.bg-cloud.cloud2 {
    top: 200px; right: 8vw; width: 90px;
}
.bg-star {
    position: absolute;
    z-index: 0;
    opacity: 0.13;
}
.bg-star.star1 {
    top: 100px; left: 30vw; width: 30px;
}
.bg-star.star2 {
    top: 300px; right: 20vw; width: 20px;
}

/* 优化按钮和卡片圆角、阴影 */
.btn, .btn-auth, .ad-card {
    border-radius: 18px !important;
    box-shadow: 0 4px 16px rgba(0,153,255,0.08);
}
.btn {
    font-family: 'Baloo 2', 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
}
.btn-primary, .btn-secondary {
    font-size: 18px;
    padding: 16px 32px;
}

.ad-card {
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(0,153,255,0.10);
    transition: transform 0.25s cubic-bezier(.68,-0.55,.27,1.55), box-shadow 0.25s;
}
.ad-card:hover {
    transform: translateY(-12px) scale(1.04) rotate(-2deg);
    box-shadow: 0 16px 48px rgba(0,153,255,0.18);
}

/* cartoon-ai插画样式 */
.cartoon-ai {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-left: 18px;
    animation: ai-bounce 2.2s infinite cubic-bezier(.68,-0.55,.27,1.55);
    z-index: 2;
}
@keyframes ai-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px) scale(1.04); }
}

/* 点的动画增加弹跳感 */
.point {
    position: absolute;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #0099ff 60%, #7ee8fa 100%);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,153,255,0.18);
    animation: point-bounce 1.8s infinite;
    border: 2px solid #fff;
}
@keyframes point-bounce {
    0%, 100% { transform: scale(1) translateY(0); }
    30% { transform: scale(1.18) translateY(-10px); }
    50% { transform: scale(0.95) translateY(0); }
    70% { transform: scale(1.12) translateY(-7px); }
}

/* 保持原有点位置 */
.point:nth-child(1) { top: 75%; left: 7%; animation-delay: 0s; }
.point:nth-child(2) { top: 25%; left: 25%; animation-delay: 0.5s; }
.point:nth-child(3) { top: 50%; left: 50%; animation-delay: 1s; }
.point:nth-child(4) { top: 35%; left: 75%; animation-delay: 1.5s; }
.point:nth-child(5) { top: 40%; left: 93%; animation-delay: 2s; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-auth {
    display: flex;
    gap: 48px;
    align-items: center;
}

.btn-auth {
    padding: 10px 24px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin: 0 4px;
}

.btn-login {
    background: transparent;
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
}

.btn-login:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-register {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-register:hover {
    background: var(--secondary-blue);
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
}

.nav-logo i {
    margin-right: 10px;
    font-size: 28px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

    .hamburger {
        display: none;
        flex-direction: column;
        cursor: pointer;
    }

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区域样式 */
.hero {
    padding: 120px 0 80px;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(45deg, #ffffff, #e6f3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* 图表动画 */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.chart-animation {
    position: relative;
    width: 300px;
    height: 200px;
}

.chart-curve {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.curve-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawCurve 6.5s ease-in-out infinite;
}

@keyframes drawCurve {
    0% {
        stroke-dashoffset: 1000;
    }
    15.38% {  /* 1.0s / 6.5s = 15.38% - 1秒开始绘制 */
        stroke-dashoffset: 1000;
    }
    38.46% {  /* 2.5s / 6.5s = 38.46% - 2.5秒完成绘制 */
        stroke-dashoffset: 0;
    }
    61.54% {  /* 4.0s / 6.5s = 61.54% - 4秒保持显示 */
        stroke-dashoffset: 0;
    }
    84.62% {  /* 5.5s / 6.5s = 84.62% - 5.5秒开始消失 */
        stroke-dashoffset: -1000;
    }
    100% {  /* 6.5s - 完全消失，重新开始 */
        stroke-dashoffset: -1000;
    }
}

.chart-points {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.point {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--white);
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    animation: pointSequence 6.5s ease-in-out infinite;
}

/* 最高点为红色 */
.point.highest-point {
    background: #ff4757;
    border-color: rgba(255,71,87,0.8);
    box-shadow: 0 0 8px rgba(255,71,87,0.6);
}

/* 普通点在0-1秒依次出现 (5个白色点) */
.point[data-point="1"] { animation-delay: 0s; }
.point[data-point="2"] { animation-delay: 0.2s; }
.point[data-point="3"] { animation-delay: 0.4s; }
.point[data-point="4"] { animation-delay: 0.6s; }
.point[data-point="6"] { animation-delay: 0.8s; }

/* 红色最高点精确在2.6秒出现 */
.point.highest-point[data-point="5"] { 
    animation-delay: 2.6s; 
    animation: redPointSequence 6.5s ease-in-out infinite;
}

@keyframes pointSequence {
    0% { 
        opacity: 0; 
        transform: scale(0); 
    }
    1.54% {  /* 0.1s / 6.5s = 1.54% - 立即出现 */
        opacity: 1; 
        transform: scale(1); 
    }
    61.54% {  /* 4.0s / 6.5s = 61.54% - 保持显示到4秒 */
        opacity: 1; 
        transform: scale(1); 
    }
    84.62% {  /* 5.5s / 6.5s = 84.62% - 普通点5.5秒开始消失 */
        opacity: 0; 
        transform: scale(0); 
    }
    100% {  /* 6.5s - 完全消失 */
        opacity: 0; 
        transform: scale(0); 
    }
}

/* 红色点专用动画 - 2.6秒出现，闪烁2次，5.0秒消失 */
@keyframes redPointSequence {
    0% { 
        opacity: 0; 
        transform: scale(0); 
    }
    40% {  /* 2.6s / 6.5s = 40% - 2.6秒开始出现 */
        opacity: 0; 
        transform: scale(0); 
    }
    40.77% {  /* 2.65s / 6.5s = 40.77% - 立即显示并开始闪烁 */
        opacity: 1; 
        transform: scale(1); 
    }
    43.08% {  /* 2.8s / 6.5s = 43.08% - 第一次闪烁消失 */
        opacity: 0; 
        transform: scale(1); 
    }
    44.62% {  /* 2.9s / 6.5s = 44.62% - 第一次闪烁恢复 */
        opacity: 1; 
        transform: scale(1); 
    }
    46.15% {  /* 3.0s / 6.5s = 46.15% - 第二次闪烁消失 */
        opacity: 0; 
        transform: scale(1); 
    }
    47.69% {  /* 3.1s / 6.5s = 47.69% - 第二次闪烁恢复 */
        opacity: 1; 
        transform: scale(1); 
    }
    55.38% {  /* 3.6s / 6.5s = 55.38% - 闪烁结束，持续显示 */
        opacity: 1; 
        transform: scale(1); 
    }
    76.92% {  /* 5.0s / 6.5s = 76.92% - 5.0秒消失 */
        opacity: 0; 
        transform: scale(0); 
    }
    100% {  /* 6.5s - 保持消失状态 */
        opacity: 0; 
        transform: scale(0); 
    }
}

/* 广告位区域样式 */
.ad-section {
    padding: 80px 0;
    background: var(--light-blue);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 60px;
}

.ad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.ad-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ad-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.ad-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.ad-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--white);
}

.ad-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.ad-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.ad-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 介绍区域样式 */
.intro-section {
    padding: 80px 0;
    background: var(--white);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.intro-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.feature i {
    color: var(--primary-blue);
    font-size: 20px;
}

/* 介绍区域的图表动画 */
.intro-chart-animation {
    position: relative;
    width: 300px;
    height: 200px;
    margin: 0 auto;
}

/* 关于页面图表动画元素 */
.chart-line {
    position: absolute;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    top: 50%;
    left: 10%;
    border-radius: 1px;
    animation: chartLineGrow 2s ease-out infinite;
}

.chart-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 102, 204, 0.5);
    animation: pointPulse 2s ease-in-out infinite;
}

/* 为不同的点设置不同的位置和延迟 */
.point-1 { top: 20%; left: 15%; animation-delay: 0s; }
.point-2 { top: 40%; left: 25%; animation-delay: 0.1s; }
.point-3 { top: 30%; left: 35%; animation-delay: 0.2s; }
.point-4 { top: 60%; left: 45%; animation-delay: 0.3s; }
.point-5 { top: 25%; left: 55%; animation-delay: 0.4s; }
.point-6 { top: 50%; left: 65%; animation-delay: 0.5s; }
.point-7 { top: 35%; left: 75%; animation-delay: 0.6s; }
.point-8 { top: 45%; left: 85%; animation-delay: 0.7s; }
.point-9 { top: 70%; left: 20%; animation-delay: 0.8s; }
.point-10 { top: 80%; left: 30%; animation-delay: 0.9s; }
.point-11 { top: 65%; left: 40%; animation-delay: 1.0s; }
.point-12 { top: 75%; left: 50%; animation-delay: 1.1s; }
.point-13 { top: 55%; left: 60%; animation-delay: 1.2s; }
.point-14 { top: 85%; left: 70%; animation-delay: 1.3s; }
.point-15 { top: 15%; left: 80%; animation-delay: 1.4s; }
.point-16 { top: 90%; left: 90%; animation-delay: 1.5s; }
.point-17 { top: 10%; left: 10%; animation-delay: 1.6s; }
.point-18 { top: 95%; left: 95%; animation-delay: 1.7s; }

@keyframes chartLineGrow {
    0% { width: 0%; opacity: 0; }
    50% { width: 80%; opacity: 1; }
    100% { width: 80%; opacity: 0.8; }
}

@keyframes pointPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.7; 
    }
    50% { 
        transform: scale(1.5); 
        opacity: 1; 
        box-shadow: 0 0 20px rgba(0, 102, 204, 0.8);
    }
}

.intro-chart-curve {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.intro-curve-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawIntroCurve 6.5s ease-in-out infinite;
}

@keyframes drawIntroCurve {
    0% {
        stroke-dashoffset: 1000;
    }
    15.38% {  /* 1.0s / 6.5s = 15.38% - 1秒开始绘制 */
        stroke-dashoffset: 1000;
    }
    38.46% {  /* 2.5s / 6.5s = 38.46% - 2.5秒完成绘制 */
        stroke-dashoffset: 0;
    }
    61.54% {  /* 4.0s / 6.5s = 61.54% - 4秒保持显示 */
        stroke-dashoffset: 0;
    }
    84.62% {  /* 5.5s / 6.5s = 84.62% - 5.5秒开始消失 */
        stroke-dashoffset: -1000;
    }
    100% {  /* 6.5s - 完全消失，重新开始 */
        stroke-dashoffset: -1000;
    }
}

.intro-chart-points {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.intro-point {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-blue);
    border: 2px solid rgba(0,102,204,0.8);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    animation: introPointSequence 6.5s ease-in-out infinite;
}

/* 介绍区域最高点为红色 */
.intro-point.intro-highest-point {
    background: #ff4757;
    border-color: rgba(255,71,87,0.8);
    box-shadow: 0 0 8px rgba(255,71,87,0.6);
}

/* 介绍区域普通点在0-1秒依次出现 (5个蓝色点) */
.intro-point[data-point="1"] { animation-delay: 0s; }
.intro-point[data-point="2"] { animation-delay: 0.2s; }
.intro-point[data-point="3"] { animation-delay: 0.4s; }
.intro-point[data-point="4"] { animation-delay: 0.6s; }
.intro-point[data-point="6"] { animation-delay: 0.8s; }

/* 介绍区域红色最高点精确在2.6秒出现 */
.intro-point.intro-highest-point[data-point="5"] { 
    animation-delay: 2.6s; 
    animation: introRedPointSequence 6.5s ease-in-out infinite;
}

@keyframes introPointSequence {
    0% { 
        opacity: 0; 
        transform: scale(0); 
    }
    1.54% {  /* 0.1s / 6.5s = 1.54% - 立即出现 */
        opacity: 1; 
        transform: scale(1); 
    }
    61.54% {  /* 4.0s / 6.5s = 61.54% - 保持显示到4秒 */
        opacity: 1; 
        transform: scale(1); 
    }
    84.62% {  /* 5.5s / 6.5s = 84.62% - 普通点5.5秒开始消失 */
        opacity: 0; 
        transform: scale(0); 
    }
    100% {  /* 6.5s - 完全消失 */
        opacity: 0; 
        transform: scale(0); 
    }
}

/* 介绍区域红色点专用动画 - 2.6秒出现，闪烁2次，5.0秒消失 */
@keyframes introRedPointSequence {
    0% { 
        opacity: 0; 
        transform: scale(0); 
    }
    40% {  /* 2.6s / 6.5s = 40% - 2.6秒开始出现 */
        opacity: 0; 
        transform: scale(0); 
    }
    40.77% {  /* 2.65s / 6.5s = 40.77% - 立即显示并开始闪烁 */
        opacity: 1; 
        transform: scale(1); 
    }
    43.08% {  /* 2.8s / 6.5s = 43.08% - 第一次闪烁消失 */
        opacity: 0; 
        transform: scale(1); 
    }
    44.62% {  /* 2.9s / 6.5s = 44.62% - 第一次闪烁恢复 */
        opacity: 1; 
        transform: scale(1); 
    }
    46.15% {  /* 3.0s / 6.5s = 46.15% - 第二次闪烁消失 */
        opacity: 0; 
        transform: scale(1); 
    }
    47.69% {  /* 3.1s / 6.5s = 47.69% - 第二次闪烁恢复 */
        opacity: 1; 
        transform: scale(1); 
    }
    55.38% {  /* 3.6s / 6.5s = 55.38% - 闪烁结束，持续显示 */
        opacity: 1; 
        transform: scale(1); 
    }
    76.92% {  /* 5.0s / 6.5s = 76.92% - 5.0秒消失 */
        opacity: 0; 
        transform: scale(0); 
    }
    100% {  /* 6.5s - 保持消失状态 */
        opacity: 0; 
        transform: scale(0); 
    }
}

/* 汇率预测页面样式 */
.forecast-section {
    padding: 80px 0;
    background: var(--light-blue);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
}

.card-free .card-icon {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
}

.card-premium .card-icon {
    background: linear-gradient(135deg, var(--primary-blue), #ffd700);
    color: var(--white);
}

.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.card-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.card-features li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.card-features i {
    margin-right: 12px;
    width: 16px;
}

.card-free .card-features i {
    color: var(--primary-blue);
}

.card-premium .card-features i {
    color: #ffd700;
}

.card-btn {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-free {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
}

.btn-free:hover {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

.btn-premium {
    background: linear-gradient(135deg, var(--primary-blue), #ffd700);
    color: var(--white);
}

.btn-premium:hover {
    background: linear-gradient(135deg, #ffd700, var(--primary-blue));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.card-premium::before {
    content: '推荐';
    position: absolute;
    top: 20px;
    right: -30px;
    background: #ffd700;
    color: var(--dark-blue);
    padding: 5px 40px;
    font-size: 0.9rem;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

/* 新的会员卡片样式 */
.card-vip {
    border: 3px solid var(--primary-blue);
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #333;
    position: relative;
    z-index: 1;
}

.card-vip .card-icon {
    background: linear-gradient(135deg, var(--primary-blue), #ffc107);
    color: white;
}

.card-svip .card-icon {
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #fff;
}

.card-svip {
    border: 3px solid #d4af37;
    background: linear-gradient(135deg, #fefcf7 0%, #f8f5f0 100%);
    color: #2c2c2c;
    position: relative;
}



.card-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 1.5rem 0;
    text-align: center;
}

.card-vip .card-price {
    color: var(--primary-blue);
}

.card-svip .card-price {
    color: #b8860b;
}

.card-features li.text-muted {
    opacity: 0.6;
}

.card-features .fa-times {
    color: #dc3545;
}

.text-muted {
    color: #6c757d !important;
}

.btn-vip {
    background: linear-gradient(135deg, var(--primary-blue), #1976d2);
    color: white;
    border: 2px solid transparent;
}

.btn-vip:hover {
    background: linear-gradient(135deg, #1976d2, var(--primary-blue));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.4);
}

.btn-svip {
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: white;
    border: 2px solid #d4af37;
    font-weight: 600;
}

.btn-svip:hover {
    background: linear-gradient(135deg, #b8860b, #d4af37);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .service-cards {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
}

/* 页脚样式 */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    text-align: center;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent-blue);
}

.contact-centered {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    text-align: center;
}

.contact-info i {
    color: var(--accent-blue);
    width: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--accent-blue);
    transform: translateX(5px);
}

.footer-links a i {
    width: 16px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 🔧 新增：整合后的footer样式 */
.unified-section {
    text-align: center;
    max-width: 400px;
}

.unified-section h3 {
    margin-bottom: 25px;
    font-size: 1.4rem;
}

.contact-info {
    margin-bottom: 25px;
}

.contact-info p {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.quick-nav-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links li {
    margin-bottom: 0;
}

.footer-links a {
    padding: 8px 15px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.partner-logo {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
    text-decoration: none;
    color: var(--white);
    display: block;
}

.partner-logo:hover {
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom .icp-info {
    margin-top: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* 🔧 新增：合作伙伴区域样式 */
.partners-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.partners-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-align: center;
    margin-bottom: 30px;
}

.partners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.partner-category {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.category-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-blue);
}

.partner-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.partner-link {
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--white);
    display: block;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.partner-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--accent-blue);
    text-decoration: none;
    transform: translateY(-2px);
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

/* 特定品牌颜色 */
.partner-link.bloomberg:hover {
    border-color: #ff6600;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.2);
}

.partner-link.reuters:hover {
    border-color: #ff6600;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.2);
}

.partner-link.wsj:hover {
    border-color: #0080c7;
    box-shadow: 0 4px 12px rgba(0, 128, 199, 0.2);
}

.partner-link.ft:hover {
    border-color: #ff6699;
    box-shadow: 0 4px 12px rgba(255, 102, 153, 0.2);
}

.partner-link.sina:hover {
    border-color: #e60012;
    box-shadow: 0 4px 12px rgba(230, 0, 18, 0.2);
}

.partner-link.eastmoney:hover {
    border-color: #1e9fff;
    box-shadow: 0 4px 12px rgba(30, 159, 255, 0.2);
}

.partner-link.jin10:hover {
    border-color: #ff9500;
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.2);
}

.partner-link.fxstreet:hover {
    border-color: #00b4aa;
    box-shadow: 0 4px 12px rgba(0, 180, 170, 0.2);
}

/* 🔧 新增：社交媒体图标区域样式 */
.social-media-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    border: 2px solid transparent;
}

.social-icon:hover {
    color: var(--white);
    text-decoration: none;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 社交媒体平台特定颜色 */
.social-icon[data-platform="wechat"]:hover {
    background: #07C160;
    border-color: #07C160;
    box-shadow: 0 6px 20px rgba(7, 193, 96, 0.4);
}

.social-icon[data-platform="weibo"]:hover {
    background: #E6162D;
    border-color: #E6162D;
    box-shadow: 0 6px 20px rgba(230, 22, 45, 0.4);
}

.social-icon[data-platform="tencent"]:hover {
    background: #1296DB;
    border-color: #1296DB;
    box-shadow: 0 6px 20px rgba(18, 150, 219, 0.4);
}

.social-icon[data-platform="bilibili"]:hover {
    background: #FB7299;
    border-color: #FB7299;
    box-shadow: 0 6px 20px rgba(251, 114, 153, 0.4);
}

.social-icon[data-platform="douyin"]:hover {
    background: #000000;
    border-color: #000000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.social-icon[data-platform="xiaohongshu"]:hover {
    background: #FF2442;
    border-color: #FF2442;
    box-shadow: 0 6px 20px rgba(255, 36, 66, 0.4);
}

/* 小红书自定义图标样式 */
.xiaohongshu-icon {
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    color: white;
    letter-spacing: -0.5px;
}


/* 🔧 美化footer底部 */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    flex: 1;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--accent-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}


/* 响应式适配 */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .partner-links {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        justify-content: center;
    }
    
    .contact-centered {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .footer-links {
        gap: 15px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    /* 移动端社交媒体图标调整 */
    .social-media-row {
        gap: 15px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
}

/* 响应式设计 */
/* 桌面端样式 */
@media (min-width: 769px) {
    /* 桌面端隐藏移动端用户系统按钮 */
    .mobile-user-button {
        display: none;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        order: 1;
    }
    
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }
    
    .nav-logo {
        order: 2;
    }
    
    .mobile-user-button,
    .mobile-user-avatar {
        order: 3;
    }
    
    /* 隐藏桌面端元素 */
    .nav-menu,
    .nav-auth {
        display: none;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 280px;
        height: auto;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        padding: 20px;
        border-radius: 12px;
        border: 1px solid rgba(0, 102, 204, 0.1);
        overflow: visible;
        z-index: 999;
        display: flex;
        margin-left: 20px;
    }

    .nav-menu.active {
        left: 0;
    }



    /* 移动端导航菜单项样式 */
    .nav-menu .nav-item {
        margin: 3px 0;
    }

    .nav-menu .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px 14px;
        border-radius: 8px;
        transition: all 0.3s ease;
        text-align: center;
        width: 100%;
        font-size: 15px;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: rgba(0, 102, 204, 0.05);
        color: var(--primary-blue);
    }



    /* 移动端用户系统入口样式 */
    .mobile-user-entry {
        position: relative;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid rgba(0, 102, 204, 0.1);
    }

    .mobile-user-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--primary-blue);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.3s ease;
        margin: 0;
    }

    .mobile-user-avatar:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    }

    .mobile-user-avatar.logged-in {
        background: linear-gradient(135deg, var(--primary-blue), #4CAF50);
    }

    .mobile-user-menu {
        display: none;
        background: white;
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        padding: 16px;
        margin-top: 10px;
        border: 1px solid rgba(0, 102, 204, 0.1);
        height: auto;
        overflow: visible;
        position: absolute;
        top: 100%;
        right: 0;
        width: 280px;
        z-index: 1000;
    }



    .mobile-user-menu.show {
        display: block;
    }

    .mobile-user-header {
        text-align: center;
        margin-bottom: 16px;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(0, 102, 204, 0.1);
    }

    .mobile-user-name {
        font-size: 18px;
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 5px;
    }

    .mobile-user-type {
        font-size: 14px;
        color: var(--primary-blue);
        font-weight: 500;
    }

    .mobile-user-options {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-user-option {
        padding: 8px 12px;
        margin: 4px 0;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 500;
        color: var(--text-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 8px;
        font-size: 14px;
    }

    .mobile-user-option:hover {
        background: rgba(0, 102, 204, 0.05);
        color: var(--primary-blue);
    }

    /* 移动端用户菜单图标样式 */
    .mobile-user-option i {
        width: 16px;
        text-align: center;
        font-size: 14px;
        opacity: 0.8;
    }

    .mobile-user-option.logout {
        background: white;
        color: #ff4757;
        border: 1px solid #ff4757;
        margin-top: 12px;
    }

    .mobile-user-option.logout:hover {
        background: #fff5f5;
        color: #ff3742;
        border-color: #ff3742;
    }

    /* 移动端认证按钮样式 */
    .mobile-auth-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
    }

    .mobile-btn-auth {
        padding: 12px 20px;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: center;
    }

    .mobile-btn-login {
        background: transparent;
        color: var(--primary-blue);
        border: 2px solid var(--primary-blue);
    }

    .mobile-btn-login:hover {
        background: var(--primary-blue);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    }

    .mobile-btn-register {
        background: var(--primary-blue);
        color: white;
    }

    .mobile-btn-register:hover {
        background: var(--secondary-blue);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 0 20px;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 1rem;
        white-space: normal !important;
        line-height: 1.5;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 15px 20px;
        font-size: 16px;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 20px;
    }

    .intro-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .intro-visual {
        margin-top: 30px;
    }

    .intro-chart-animation {
        width: 280px !important;
        height: 180px !important;
        margin: 0 auto;
        display: block !important;
    }

    .intro-chart-curve {
        width: 100% !important;
        height: 100% !important;
    }

    .ad-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* 🔧 修复移动端联系我们内容居中问题 */
    .contact-info p {
        justify-content: center;
        text-align: center;
    }
    
    .contact-info i {
        margin-right: 8px;
    }

    .partner-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* ==================== 用户认证模态框样式 ==================== */

.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.auth-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    width: 90%;
    max-width: 400px;
    max-height: 90vh;
    position: relative;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    margin: auto;
}

.auth-modal-overlay.active .auth-modal {
    transform: translateY(0);
}

.auth-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.auth-modal-close:hover {
    color: #333;
}

/* 优化弹窗内登录/注册tab按钮间距 */
.auth-tabs {
    display: flex;
    gap: 24px;
    margin-bottom: 2rem;
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.auth-tab.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

/* 登录方式选择标签 */
.login-method-tabs {
    display: flex;
    border-radius: 10px;
    background: #f8f9fa;
    padding: 4px;
    margin-bottom: 1.5rem;
}

.login-method-tab {
    flex: 1;
    padding: 0.75rem 0.5rem;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.login-method-tab i {
    font-size: 1.2rem;
}

.login-method-tab.active {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.login-method-tab:hover:not(.active) {
    color: var(--primary-blue);
    background: rgba(0, 102, 204, 0.1);
}

.login-method-content {
    display: none;
}

.login-method-content.active {
    display: block;
}

/* 输入框前缀 */
.input-with-prefix {
    position: relative;
}

.input-prefix {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 0.9rem;
    z-index: 2;
}

.auth-input.with-prefix {
    padding-left: 3.5rem;
}

/* 验证码输入框 */
.code-input-wrapper {
    display: flex;
    gap: 0.5rem;
}

.code-input-wrapper .auth-input {
    flex: 1;
}

.send-code-btn {
    padding: 0.75rem 1rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 100px;
}

.send-code-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-1px);
}

.send-code-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

.send-code-btn.countdown {
    background: #95a5a6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .login-method-tab {
        font-size: 0.75rem;
        padding: 0.5rem 0.25rem;
    }

    .login-method-tab span {
        display: none;
    }

    .login-method-tab i {
        font-size: 1rem;
    }

    .code-input-wrapper {
        flex-direction: column;
    }

    .send-code-btn {
        min-width: auto;
    }
}

.auth-input-group {
    margin-bottom: 1.5rem;
}

.auth-input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.auth-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.auth-input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

/* 密码输入框包装器 */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper .auth-input {
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: var(--primary-blue);
}

.password-toggle:focus {
    outline: none;
    color: var(--primary-blue);
}

.auth-input.error {
    border-color: #ff4757;
}

.auth-error {
    color: #ff4757;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.auth-error.show {
    display: block;
}

.password-hint {
    color: var(--text-secondary);
    font-size: 12px;
    margin-top: 4px;
    display: block;
    line-height: 1.4;
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-forgot-link {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-forgot-link:hover {
    color: #0056b3;
}

.auth-submit-btn {
    width: 100%;
    padding: 0.875rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.auth-submit-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.auth-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    color: #666;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e1e5e9;
}

.auth-divider span {
    background: white;
    padding: 0 1rem;
}

.auth-third-party {
    display: flex;
    gap: 1rem;
}

.auth-third-party-btn {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.auth-third-party-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
}

.auth-switch-link {
    color: var(--primary-blue);
    cursor: pointer;
    text-decoration: none;
}

.auth-switch-link:hover {
    text-decoration: underline;
}

/* 认证按钮样式 */
.auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* 用户菜单样式 */
.user-menu {
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
}

/* 用户类型颜色 - 根据最新要求调整 */
.user-avatar.free, .mobile-user-avatar.free {
    background: var(--primary-blue); /* UI主题蓝色 */
}

/* 游客头像样式 */
.user-avatar.guest {
    background: #95a5a6; /* 灰色背景表示游客 */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar.guest i {
    font-size: 1.2rem;
}

.user-avatar.vip, .mobile-user-avatar.vip {
    background: linear-gradient(135deg, #0066cc, #00b894, #fdcb6e); /* 蓝绿黄渐变 */
}

.user-avatar.svip, .mobile-user-avatar.svip {
    background: linear-gradient(135deg, #f39c12, #e67e22); /* 金黄色渐变 */
}

/* 蓝色文字样式 */
.text-primary {
    color: var(--primary-blue) !important;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    display: none;
    z-index: 100;
    border: 1px solid #e1e5e9;
}

.user-dropdown.show {
    display: block;
}

.user-dropdown-header {
    padding: 1rem;
    border-bottom: 1px solid #e1e5e9;
    text-align: center;
}

.user-dropdown-name {
    font-weight: 600;
    color: #333;
}

.user-dropdown-type {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
}

.user-dropdown-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-dropdown-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    border-bottom: 1px solid #f8f9fa;
    text-align: center;
}

.user-dropdown-item:hover {
    background: #f8f9fa;
}

.user-dropdown-item:last-child {
    border-bottom: none;
}

.user-dropdown-item.logout {
    color: #ff4757;
}

/* 用户状态指示 */
.user-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.user-status-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28a745;
}

.user-status.vip .user-status-icon {
    background: #ffc107;
}

.user-status.svip .user-status-icon {
    background: #dc3545;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .auth-modal {
        margin: 1rem;
        padding: 1.5rem;
    }

    .auth-third-party {
        flex-direction: column;
    }
}