﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
    letter-spacing: 0.5px;
}

body {
    background-color: #0a1744;
    color: #fff;
    line-height: 1.6;
    background-image: 
        linear-gradient(to bottom, #0a1744, #0c1d5a),
        radial-gradient(circle at 20% 30%, rgba(0, 102, 204, 0.4) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(0, 183, 214, 0.3) 0%, transparent 40%);
    position: relative;
    overflow-x: hidden;
    font-weight: 300;
}

/* 添加动态星星背景 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 100px 100px, 150px 150px;
    background-position: 0 0, 25px 25px, 50px 50px;
    animation: twinkle 8s infinite linear;
    z-index: -1;
    opacity: 0.5;
}

@keyframes twinkle {
    0% { opacity: 0.3; }
    50% { opacity: 0.6; }
    100% { opacity: 0.3; }
}

/* 添加流动光线效果 */
.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(0, 183, 214, 0.05), transparent);
    animation: flow 15s infinite linear;
    z-index: 0;
    pointer-events: none;
}

@keyframes flow {
    0% { transform: translateX(0); }
    100% { transform: translateX(400%); }
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    position: relative;
}

/* 头部样式 */
.header {
    background-color: rgba(10, 35, 102, 0.8);
    text-align: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(26, 51, 119, 0.5);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 2px;
    background: linear-gradient(to right, transparent, #00b7d6, transparent);
    animation: headerGlow 4s infinite;
}

@keyframes headerGlow {
    0% { left: -100%; }
    100% { left: 100%; }
}

.header h1 {
    font-size: 24px;
    font-weight: normal;
    text-shadow: 0 0 10px rgba(0, 183, 214, 0.5);
}

/* 股票结果容器 */
.stock-results {
    position: relative;
    border-radius: 10px;
    overflow: hidden; /* 确保内容不会溢出 */
    height: 240px; /* 固定高度，适合三行 */
    margin-bottom: 20px;
    background: rgba(0, 20, 60, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

/* 股票项 */
.stock-item {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 80px;
    min-height: 80px; /* 确保最小高度 */
    overflow: hidden;
    position: relative;
    background: rgba(0, 30, 80, 0.5);
    width: 100%; /* 确保宽度 */
}

/* 确保最后一个股票项目底部没有白色边框 */
.stock-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.stock-item:hover {
    background: rgba(0, 40, 100, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stock-code {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 5px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 40, 120, 0.3);
}

.stock-number {
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    margin: 0 0 6px 0;
    text-shadow: 0 0 10px rgba(0, 183, 214, 0.8);
    text-align: center;
    line-height: 1.2;
}

.stock-name {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    padding: 0;
    text-align: center;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 0 5px rgba(0, 183, 214, 0.5);
    opacity: 0.9;
    position: relative;
    bottom: 2px;
}

.stock-code::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 183, 214, 0.3), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stock-item:hover .stock-code::after {
    transform: scaleX(1);
}

/* 股票诊断结果 */
.stock-diagnosis {
    flex: 1;
    padding: 8px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 20, 60, 0.4);
}

.stock-diagnosis p {
    margin: 3px 0;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    white-space: nowrap;
}

.diagnosis-label {
    flex-shrink: 0;
    color: #ffffff;
    font-weight: 500;
}

/* 股价变动样式 */
.up {
    color: #4CD964;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(76, 217, 100, 0.5);
}

.down {
    color: #FF3B30;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255, 59, 48, 0.5);
}

.neutral {
    color: #FFCC00;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.5);
}

.change-value {
    font-size: 16px;
    font-weight: bold;
}

.change-value.updating {
    animation: value-update 1s ease;
}

@keyframes value-update {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
        text-shadow: 0 0 10px currentColor;
    }
    100% {
        transform: scale(1);
    }
}

/* 按钮样式 */
.action-button {
    text-align: center;
    margin: 15px 0;
}

.info-action-button {
    margin-top: 5px;
    margin-bottom: 20px;
}

.action-button button {
    background: linear-gradient(to right, #f9e559, #ffcc00);
    color: #333;
    border: none;
    border-radius: 5px;
    padding: 15px 0;
    width: 90%;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 229, 89, 0.3), 0 0 20px rgba(249, 229, 89, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.action-button button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(249, 229, 89, 0.4), 0 0 30px rgba(249, 229, 89, 0.3);
}

.action-button button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
    transition: all 0.3s ease;
}

.action-button button:hover::after {
    transform: rotate(30deg) translate(-10%, -10%);
}

/* AI分析部分 */
.ai-analysis {
    padding: 20px 0;
    text-align: center;
    position: relative;
}

.ai-analysis::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(0, 183, 214, 0.8), transparent);
}

.ai-analysis h2 {
    position: relative;
    display: inline-block;
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 20px;
    padding-bottom: 10px;
    text-shadow: 0 0 15px rgba(0, 183, 214, 0.5);
}

.ai-analysis h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, transparent, #00b7d6, transparent);
    animation: width-pulse 3s infinite alternate;
}

@keyframes width-pulse {
    0% { width: 40%; opacity: 0.7; }
    100% { width: 80%; opacity: 1; }
}

/* 雷达图样式 */
.radar-chart {
    position: relative;
    width: 100%;
    height: 300px;
    margin: 0 auto;
}

.radar-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 使用CSS创建雷达图背景 */
.radar-container::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(0, 183, 214, 0.3);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: radarPulse 3s infinite alternate;
}

.radar-container::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(0, 183, 214, 0.5);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: radarPulse 3s infinite alternate 1.5s;
}

@keyframes radarPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.05); opacity: 0.8; }
}

/* 添加雷达图内部线条 */
.radar-lines {
    position: absolute;
    width: 250px;
    height: 250px;
    pointer-events: none;
}

.radar-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 125px;
    height: 1px;
    background-color: rgba(0, 183, 214, 0.3);
    transform-origin: left center;
}

.radar-line:nth-child(1) {
    transform: rotate(0deg);
}

.radar-line:nth-child(2) {
    transform: rotate(60deg);
}

.radar-line:nth-child(3) {
    transform: rotate(120deg);
}

.radar-line:nth-child(4) {
    transform: rotate(180deg);
}

.radar-line:nth-child(5) {
    transform: rotate(240deg);
}

.radar-line:nth-child(6) {
    transform: rotate(300deg);
}

.radar-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #00b7d6, #0088a3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 10;
    transition: transform 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 183, 214, 0.5);
}

.radar-center::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2), transparent);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: centerGlow 2s infinite alternate;
}

@keyframes centerGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

.probability {
    color: white;
    font-size: 36px;
    font-weight: bold;
    margin: 0 0 15px;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.analyze-button {
    background: none;
    border: none;
    color: white;
    font-size: 12px;
    cursor: pointer;
    padding: 5px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.analyze-button:hover {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

.radar-labels {
    position: absolute;
    width: 280px;
    height: 280px;
}

.label {
    position: absolute;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    text-align: center;
    width: 80px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-shadow: 0 0 8px rgba(0, 183, 214, 0.5);
    font-weight: 500;
    letter-spacing: 1px;
}

.label:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 183, 214, 0.8);
}

.label-top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.label-right {
    top: 25%;
    right: 0;
}

.label-bottom-right {
    bottom: 25%;
    right: 0;
}

.label-bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.label-bottom-left {
    bottom: 25%;
    left: 0;
}

.label-left {
    top: 25%;
    left: 0;
}

/* 详细分析部分样式 */
.detailed-analysis {
    padding: 20px 0;
    text-align: center;
    position: relative;
}

.detailed-analysis::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(0, 183, 214, 0.8), transparent);
}

.detailed-analysis h2 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: normal;
    text-shadow: 0 0 10px rgba(0, 183, 214, 0.5);
    position: relative;
    display: inline-block;
}

.detailed-analysis h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 183, 214, 0.8), transparent);
}

/* 分析标签页样式 */
.analysis-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.analysis-tabs::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.tab {
    padding: 10px 15px;
    margin: 0 5px;
    cursor: pointer;
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: all 0.3s ease;
}

.tab:hover {
    color: #fff;
    text-shadow: 0 0 5px rgba(0, 183, 214, 0.5);
}

.tab.active {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 183, 214, 0.8);
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #00b7d6;
    box-shadow: 0 0 10px rgba(0, 183, 214, 0.8);
    z-index: 1;
}

/* 标签页内容样式 */
.tab-content {
    padding: 0 15px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

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

/* 分析卡片样式 */
.analysis-card {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.analysis-card.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.analysis-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.analysis-result {
    padding: 5px 0;
}

.indicator {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.03);
    padding-left: 5px;
}

.indicator:last-child {
    border-bottom: none;
}

.indicator-name {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.indicator-value {
    font-size: 14px;
    font-weight: bold;
    position: relative;
}

.indicator-value.up {
    color: #f33;
    text-shadow: 0 0 5px rgba(255, 51, 51, 0.3);
}

.indicator-value.down {
    color: #3c3;
    text-shadow: 0 0 5px rgba(51, 204, 51, 0.3);
}

.indicator-value.neutral {
    color: #888;
}

/* 加载动画 */
.loading-indicator {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(0, 183, 214, 0.3);
    border-radius: 50%;
    border-top-color: #00b7d6;
    animation: spin 1s linear infinite;
    margin-left: 5px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 股票项滚动动画 */
@keyframes slideUp {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

/* 数据更新动画 */
.data-updating {
    animation: dataUpdate 0.5s ease;
}

@keyframes dataUpdate {
    0% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

/* 实时指示器 */
.realtime-indicator {
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 5px 10px;
    border-radius: 20px;
    margin-left: 20px;
    transition: all 0.3s ease;
}

.realtime-indicator.fallback-mode {
    background-color: rgba(255, 165, 0, 0.3);
}

.pulse {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #4CAF50;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

.fallback-mode .pulse {
    background-color: #FFA500;
    animation: pulse-warning 2s infinite;
}

.realtime-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    margin-left: 8px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 5px rgba(0, 183, 214, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

@keyframes pulse-warning {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 165, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 165, 0, 0);
    }
}

/* 选中的股票项 */
.stock-item.selected {
    background: rgba(0, 60, 140, 0.7);
    box-shadow: 0 0 15px rgba(0, 102, 204, 0.3);
}

.stock-item.selected::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, #00b7d6, #0066CC);
    box-shadow: 0 0 10px rgba(0, 183, 214, 0.8);
}

/* 发光效果按钮 */
.glow-effect {
    position: relative;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #f9e559, #ffcc00, #f9e559);
    border-radius: 7px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-effect:hover::before {
    opacity: 1;
    animation: glowAnimation 1.5s linear infinite;
}

@keyframes glowAnimation {
    0% { filter: blur(5px); }
    50% { filter: blur(10px); }
    100% { filter: blur(5px); }
}

/* AI徽章 */
.ai-badge {
    background-color: #0077b6;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 8px;
    vertical-align: middle;
    box-shadow: 0 0 10px rgba(0, 119, 182, 0.5);
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* 信任度指示器 */
.confidence-meter {
    margin: 20px auto;
    width: 80%;
    text-align: center;
}

.confidence-label {
    font-size: 14px;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.8);
}

.confidence-bar {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(to right, #00b7d6, #00d6ff);
    border-radius: 4px;
    position: relative;
    transition: width 1s ease;
}

.confidence-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0) 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.confidence-value {
    font-size: 14px;
    margin-top: 5px;
    color: #00b7d6;
    font-weight: bold;
}

/* 添加更新时间样式 */
.update-time {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-top: 5px;
}

#update-timestamp {
    font-weight: bold;
    color: #00b7d6;
    text-shadow: 0 0 5px rgba(0, 183, 214, 0.5);
}

/* 数据源标签 */
.data-source {
    font-size: 0.7rem;
    color: #aaa;
    font-weight: normal;
    margin-left: 10px;
    padding: 2px 8px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.fallback-data .data-source {
    background-color: rgba(255, 165, 0, 0.2);
    color: #FFA500;
}

/* 页脚样式 */
.footer {
    padding: 20px 15px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    line-height: 1.8;
    max-width: 90%;
    margin: 0 auto 10px;
    letter-spacing: 0.5px;
}

.footer p {
    margin-bottom: 5px;
}

/* 顶部雷达扫描组件 */
.top-radar-container {
    position: relative;
    width: 100%;
    height: 350px;
    background: linear-gradient(to bottom, #001235, #001a45);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.top-radar-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 183, 214, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.top-radar-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, rgba(0, 20, 64, 0.8), transparent);
    z-index: 2;
}

.radar-scan-effect {
    position: relative;
    width: 300px; /* 使用固定宽度而不是百分比 */
    height: 300px; /* 保持正方形 */
    max-width: 80%;
    max-height: 80%;
    margin: 0 auto;
    z-index: 3;
    margin-top: -5vh; /* 向上移动一点 */
}

.radar-scan-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(0, 183, 214, 0.25);
    box-shadow: 0 0 20px rgba(0, 183, 214, 0.4);
    background-color: rgba(0, 20, 60, 0.95); /* 更深的背景色 */
}

.radar-scan-area {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    border-radius: 50%;
    overflow: hidden;
    z-index: 4;
}

.radar-scan-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(
        from 0deg,
        rgba(0, 183, 214, 0.9) 0%,
        rgba(0, 183, 214, 0.7) 2%,
        rgba(0, 183, 214, 0.4) 5%,
        rgba(0, 183, 214, 0.2) 10%,
        transparent 15%
    );
    border-radius: 50%;
    transform-origin: center;
    animation: rotateArea 2.5s linear infinite;
}

@keyframes rotateArea {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.radar-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at center, transparent 20px, rgba(0, 183, 214, 0.1) 20px, rgba(0, 183, 214, 0.1) 21px, transparent 21px),
        radial-gradient(circle at center, transparent 40px, rgba(0, 183, 214, 0.1) 40px, rgba(0, 183, 214, 0.1) 41px, transparent 41px),
        radial-gradient(circle at center, transparent 60px, rgba(0, 183, 214, 0.1) 60px, rgba(0, 183, 214, 0.1) 61px, transparent 61px),
        radial-gradient(circle at center, transparent 80px, rgba(0, 183, 214, 0.1) 80px, rgba(0, 183, 214, 0.1) 81px, transparent 81px),
        radial-gradient(circle at center, transparent 100px, rgba(0, 183, 214, 0.1) 100px, rgba(0, 183, 214, 0.1) 101px, transparent 101px),
        radial-gradient(circle at center, transparent 120px, rgba(0, 183, 214, 0.1) 120px, rgba(0, 183, 214, 0.1) 121px, transparent 121px),
        linear-gradient(to right, rgba(0, 183, 214, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 183, 214, 0.1) 1px, transparent 1px);
    background-size: 
        30px 30px,
        auto auto,
        auto auto,
        auto auto,
        auto auto,
        auto auto,
        auto auto,
        30px 30px,
        30px 30px;
    background-position: center center;
    border-radius: 50%;
    overflow: hidden;
    opacity: 1;
    z-index: 3;
}

.radar-title {
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 10;
    top: auto;
    bottom: 8%;
    transform: none;
}

.radar-main-title {
    font-size: 2.8rem;
    color: white;
    text-shadow: 0 0 20px rgba(0, 183, 214, 0.8), 0 0 40px rgba(0, 183, 214, 0.4);
    margin: 0;
    font-weight: bold;
    letter-spacing: 5px;
    line-height: 1.3;
    animation: title-glow 3s infinite alternate;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}

@keyframes title-glow {
    0% { text-shadow: 0 0 20px rgba(0, 183, 214, 0.8), 0 0 40px rgba(0, 183, 214, 0.4); }
    100% { text-shadow: 0 0 30px rgba(0, 183, 214, 1), 0 0 60px rgba(0, 183, 214, 0.6); }
}

/* 移除状态栏，因为图片中没有显示 */
.radar-status-bar {
    display: none;
}

/* 删除after伪元素 */
.radar-main-title::after {
    content: none;
}

/* 底部信息栏 */
.bottom-info-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 0;
    position: relative;
    margin-bottom: 5px;
}

.bottom-info-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(0, 183, 214, 0.1), transparent);
    z-index: 1;
}

.bottom-info-title {
    font-size: 24px;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 183, 214, 0.5);
}

.info-bar-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, rgba(0, 183, 214, 0.8), transparent);
    z-index: 2;
}

/* 响应式样式 */
@media screen and (max-width: 480px) {
    .radar-scan-effect {
        margin-top: -80px;
    }
    
    .radar-title {
        bottom: 30%;
    }
    
    .radar-badge {
        font-size: 1rem;
        padding: 5px 15px;
        left: 40px;
    }
    
    .radar-main-title {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }
    
    .radar-status-bar {
        height: 36px;
        bottom: 8%;
    }
    
    .status-text {
        font-size: 0.9rem;
    }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
    .radar-scan-effect {
        margin-top: -60px;
    }
    
    .radar-title {
        bottom: 32%;
    }
    
    .radar-badge {
        left: 45px;
    }
    
    .radar-main-title {
        font-size: 3rem;
    }
}

/* 适配iPhone和其他高分辨率设备 */
@media screen and (min-width: 769px) {
    .radar-scan-effect {
        max-width: 600px;
        max-height: 600px;
    }
    
    .radar-title {
        bottom: 38%;
    }
    
    .radar-badge {
        font-size: 1.3rem;
        padding: 7px 22px;
        top: -65px;
    }
    
    .radar-main-title {
        font-size: 2.8rem;
    }
    
    .radar-status-bar {
        height: 45px;
        max-width: 450px;
    }
    
    .status-text {
        font-size: 1.1rem;
    }
}

@keyframes radarScan {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 雷达扫描线样式移除 */
.radar-scan-line {
    display: none;
}

@keyframes radar-scan-rotate {
    0% { transform: translateX(-50%) translateY(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) translateY(-50%) rotate(360deg); }
}

/* 雷达扫描点 */
.radar-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: rgba(0, 183, 214, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 183, 214, 0.8);
    z-index: 4;
    animation: radar-dot-pulse 2s infinite ease-in-out;
}

@keyframes radar-dot-pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 1; }
    100% { transform: scale(1); opacity: 0.5; }
}

/* 股票基本信息表格 */
.stock-info-table {
    background-color: #001755;
    color: #fff;
    padding: 20px;
    margin-top: 0;
    border-top: 2px solid #FF0000;
    border-bottom: 2px solid #FF0000;
    position: relative;
    overflow: hidden;
}

.stock-info-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.stock-info-left {
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.stock-info-left::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 80%;
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%);
}

.stock-trend-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.stock-trend-arrow::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    bottom: 0;
    left: 10%;
}

.up-arrow svg {
    fill: #FF4B4B;
}

.down-arrow svg {
    fill: #4B9BFF;
    transform: rotate(180deg);
}

.stock-info-right {
    width: 70%;
    padding-left: 20px;
}

.stock-data-table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
}

.stock-data-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stock-data-table tr:last-child {
    border-bottom: none;
}

.stock-data-table td {
    padding: 10px 15px;
    text-align: center;
    font-size: 14px;
}

.stock-data-table td:first-child {
    width: 5%;
}

.stock-data-table td:nth-child(2),
.stock-data-table td:nth-child(3),
.stock-data-table td:nth-child(4) {
    width: 30%;
}

/* 粒子效果容器 */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

/* 粒子样式 */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: rgba(0, 183, 214, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 183, 214, 0.8);
    animation: particle-float 15s infinite linear;
}

/* 为每个粒子设置不同的位置和动画延迟 */
.particle:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 30%;
    left: 80%;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    top: 70%;
    left: 10%;
    animation-delay: 2s;
}

.particle:nth-child(4) {
    top: 40%;
    left: 60%;
    animation-delay: 3s;
}

.particle:nth-child(5) {
    top: 80%;
    left: 30%;
    animation-delay: 4s;
}

.particle:nth-child(6) {
    top: 20%;
    left: 40%;
    animation-delay: 5s;
}

.particle:nth-child(7) {
    top: 60%;
    left: 70%;
    animation-delay: 6s;
}

.particle:nth-child(8) {
    top: 90%;
    left: 50%;
    animation-delay: 7s;
}

.particle:nth-child(9) {
    top: 50%;
    left: 90%;
    animation-delay: 8s;
}

.particle:nth-child(10) {
    top: 15%;
    left: 65%;
    animation-delay: 9s;
}

/* 粒子浮动动画 */
@keyframes particle-float {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(0.5);
        opacity: 0;
    }
}

/* 数字化效果 */
.digital-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 30, 60, 0.1) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.03), rgba(0, 0, 255, 0.03));
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
    z-index: 10;
    opacity: 0.3;
    animation: digital-scan 10s linear infinite;
}

@keyframes digital-scan {
    0% { background-position: 0 0; }
    100% { background-position: 0 100%; }
}

/* 标题字体增强 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    letter-spacing: 1px;
}

/* 雷达副标题 */
.radar-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-top: 10px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 183, 214, 0.5);
    animation: subtitle-fade 3s infinite alternate;
    font-weight: 300;
}

@keyframes subtitle-fade {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* 联系按钮样式 */
.contact-analyst-button {
    width: 80%;
    max-width: 300px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #0077b6, #00b4d8);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.3);
    margin: 0 auto;
    display: block;
    text-align: center;
}

.contact-analyst-button:hover {
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 180, 216, 0.5);
}

/* 通知样式 */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notification.info {
    background-color: rgba(0, 119, 182, 0.9);
    border-left: 4px solid #0077b6;
}

.notification.success {
    background-color: rgba(39, 174, 96, 0.9);
    border-left: 4px solid #27ae60;
}

.notification.error {
    background-color: rgba(231, 76, 60, 0.9);
    border-left: 4px solid #e74c3c;
}

/* 输入框高亮效果 */
.highlight-input {
    animation: highlight-pulse 1.5s ease;
}

@keyframes highlight-pulse {
    0% {
        box-shadow: 0 0 5px rgba(0, 180, 216, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 180, 216, 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(0, 180, 216, 0.5);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .notification {
        width: 80%;
        max-width: 300px;
        font-size: 14px;
        padding: 10px 15px;
    }
}

/* 股票输入容器样式 */
.stock-input-container {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* 隐藏股票代码输入框 */
.stock-code-input {
    display: none;
}

/* 隐藏原分析按钮 */
.analyze-stock-button {
    display: none;
}

/* 免费分析徽章 */
.free-analysis-badge {
    position: absolute;
    top: -15px;
    right: 10px;
    background-color: #ff4b4b;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255, 75, 75, 0.5);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* 免费分析文本提示 */
.free-analysis-text {
    margin-left: 20px;
    color: #00b4d8;
    font-weight: 500;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px rgba(0, 180, 216, 0.5);
    }
    to {
        text-shadow: 0 0 15px rgba(0, 180, 216, 0.8);
    }
}

/* 分析区域的免费分析提示框 */
.free-analysis-prompt {
    background: linear-gradient(135deg, rgba(0, 10, 30, 0.8), rgba(0, 40, 80, 0.8));
    border: 1px solid rgba(0, 180, 216, 0.5);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.2);
}

.prompt-icon {
    font-size: 24px;
    margin-right: 15px;
}

.prompt-text strong {
    color: #00b4d8;
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
}

.prompt-text p {
    color: #e0e0e0;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* 页脚CTA区域 */
.footer-cta {
    background: linear-gradient(135deg, rgba(0, 10, 30, 0.8), rgba(0, 40, 80, 0.8));
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid rgba(0, 180, 216, 0.3);
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.2);
}

.footer-cta h3 {
    color: #00b4d8;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

.footer-cta p {
    color: #e0e0e0;
    margin-bottom: 15px;
}

.footer-cta-button {
    background: linear-gradient(135deg, #0077b6, #00b4d8);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-cta-button:hover {
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 180, 216, 0.5);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-analyst-button {
        width: 90%;
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .free-analysis-badge {
        top: -10px;
        right: 5px;
    }
    
    .free-analysis-text {
        margin-left: 0;
        margin-top: 10px;
        text-align: center;
        display: block;
    }
    
    .radar-status-bar {
        flex-direction: column;
    }
    
    .status-indicator {
        margin-bottom: 5px;
    }
} 