
/* 全局样式设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
    min-width: 320px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    position: relative;
}
.header {
    grid-column: span 12;
    text-align: center;
    background: linear-gradient(135deg, #4CAF50, #2196F3);
    color: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.header p {
    font-size: 1.2rem;
    opacity: 0.8;
}
.section {
    grid-column: span 12;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
@media (min-width: 768px) {
    .section {
        grid-column: span 6;
    }
}
@media (min-width: 1024px) {
    .section {
        grid-column: span 4;
    }
}
.section-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2196F3;
}
.section-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FF9800;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}
.button:hover {
    background-color: #E65100;
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 20px;
}
.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.image-grid img:hover {
    transform: scale(1.05);
}
.footer {
    grid-column: span 12;
    text-align: center;
    padding: 20px;
    background: #212121;
    color: white;
    border-radius: 10px;
    margin-top: 20px;
}
.footer p {
    font-size: 1rem;
    opacity: 0.8;
}
.chart-container {
    width: 100%;
    height: 300px;
    margin-top: 20px;
    position: relative;
}
.chart {
    width: 100%;
    height: 100%;
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    .section {
        grid-column: span 12;
    }
}
@media (max-width: 480px) {
    .header h1 {
        font-size: 1.5rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
}
.animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate.active {
    opacity: 1;
    transform: translateY(0);
}

