/* 基本样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.6;
    margin: 0;
    background-color: #f0f2f5;
    color: #333;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background-color: #0d47a1; /* 深蓝色 */
    color: #fff;
    padding: 2rem 0;
    text-align: center;
    border-bottom: 4px solid #1976d2; /* 稍亮的蓝色 */
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 600;
}

.strategy-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 10px auto 0;
    opacity: 0.9;
}

/* 主内容区域 */
main {
    padding: 2rem 0;
}

#report-links h2,
#comparison-charts h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #0d47a1;
}

.report-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.report-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.report-card h3 {
    margin-top: 0;
    color: #1565c0; /* 中蓝色 */
    font-size: 1.5rem;
    border-bottom: 2px solid #e3f2fd; /* 非常浅的蓝色 */
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.report-card p {
    margin-bottom: 1rem;
    color: #555;
}

.report-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.report-card li {
    margin-bottom: 0.5rem;
}

.report-card a {
    text-decoration: none;
    color: #1976d2;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 2px 0;
}

.report-card a:hover {
    color: #0d47a1;
    text-decoration: underline;
}


/* 更新信息 */
#update-info {
    text-align: center;
    margin-top: 2rem;
    color: #666;
    font-style: italic;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: #eee;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
    font-size: 0.9rem;
}

footer p {
    margin: 0;
}

/* 悬浮导航栏样式 */
#floating-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    padding: 15px;
    width: 180px;
    max-height: 70vh;
    overflow-y: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#floating-nav.collapsed {
    transform: translate(150%, -50%);
    opacity: 0;
    pointer-events: none;
}

#floating-nav h3 {
    margin-top: 0;
    font-size: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 8px;
    color: #333;
    text-align: center;
}

#floating-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#floating-nav li {
    margin-bottom: 6px;
}

#floating-nav a {
    text-decoration: none;
    color: #555;
    font-size: 0.85rem;
    display: block;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
}

#floating-nav a:hover {
    background-color: #f0f2f5;
    color: #007bff;
}

#nav-toggle-btn {
    position: fixed;
    right: 20px;
    bottom: 40px;
    width: 40px;
    height: 40px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 10000;
    transition: transform 0.3s ease;
    font-size: 20px;
    user-select: none;
}

#nav-toggle-btn:hover {
    transform: scale(1.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    .report-card {
        padding: 1.5rem;
    }

    #floating-nav {
        display: none;
    }
    #nav-toggle-btn {
        display: none;
    }
}
