/* 容器基础样式（匹配外层结构） */
.container {
    width: 100%;
    border-radius: 4vw;
    box-shadow: 10vw 2vw 6vw rgba(89, 204, 224, 1);
    overflow: hidden;
    padding: 5vw 3vw;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* 标题组容器（控制整体间距） */
.title-group {
    text-align: center;
    margin: 0 0 3vw; /* 底部间距，避免和进度条重叠 */
}

/* 主标题样式 */
.main-title {
    font-size: 1.2rem;
    color: #0066cc;
    margin: 0 0 1.5vw; /* 和副标题留小间距 */
    font-weight: 600;
    line-height: 1.3;
}

/* 副标题样式（辅助说明，颜色稍浅） */
.sub-title {
    font-size: 2.8vw;
    color: #3399ff; /* 和年份标签颜色一致 */
    margin: 0;
    line-height: 1.4;
    padding: 0 2vw; /* 左右留间距，避免文字贴边 */
}

/* 圆形进度条外层容器（横向排布核心） */
.springs-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5vw;
    padding: 0 1.5vw;
    flex-grow: 1;
    height: 20vh;
    position: relative;
}

/* 单个进度条项（纵向排列内部元素） */
.spring-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 0;
}

/* 圆形进度条主体 */
.spring-circle {
    width: 25vw;
    height: 25vw;
    border-radius: 50%;
    border: 0.8vw solid #0066cc;
    position: relative;
    overflow: hidden;
    background: #f0f9ff;
    box-shadow: 0 1.5vw 3vw rgba(0, 105, 148, 0.2);
    transition: transform 0.3s ease;
}

/* 圆形 hover 交互效果 */
.spring-circle:hover {
    transform: scale(1.05);
}

/* 水位填充基础样式（移除原动画代码，仅保留基础样式） */
.water-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, #3399ff, #66b3ff);
    height: 0%; /* 初始高度0，动画触发后再涨 */
}

/* 👇 新增：拆分动画类（原动画逻辑移到这里，进入视口后添加） */
/* 2023年水位动画类 */
.water-fill-2023.animate {
    animation: fillWater-2023 2s ease-out forwards;
    animation-delay: 0.5s;
}
@keyframes fillWater-2023 {
    to { height: 36%; }
}

/* 2024年水位动画类 */
.water-fill-2024.animate {
    animation: fillWater-2024 2s ease-out forwards;
    animation-delay: 1.5s;
}
@keyframes fillWater-2024 {
    to { height: 75%; }
}

/* 2025年水位动画类 */
.water-fill-2025.animate {
    animation: fillWater-2025 2s ease-out forwards;
    animation-delay: 2.5s;
}
@keyframes fillWater-2025 {
    to { height: 100%; }
}
/* 👆 新增动画类结束 */

/* 水波动画基础样式（保留，若后续启用水波可直接用） */
.water-wave {
    position: absolute;
    top: -2vw;
    left: 0;
    width: 200%;
    height: 4vw;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 60" preserveAspectRatio="none"><path d="M0,30 Q300,50 600,30 T1200,30 L1200,60 L0,60 Z" fill="%233399ff"/></svg>');
    background-size: 1200px 4vw;
    animation: waveScroll 3s linear infinite;
    opacity: 0.7;
}

/* 第二层水波（延迟动画增强层次感） */
.water-wave.wave-delay {
    animation-delay: 1.5s;
    opacity: 0.5;
}
@keyframes waveScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 百分比文字（居中显示） */
.percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4vw;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0.5vw 1vw rgba(0, 0, 0, 0.3);
    z-index: 3;
}

/* 天数标签（圆形下方） */
.days-label {
    font-size: 0.8rem;
    font-weight: bold;
    color: #0066cc;
    margin-top: 2.5vw;
    padding: 1vw 3vw;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 5vw;
    box-shadow: 0 0.8vw 1.5vw rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

/* 年份标签（天数下方） */
.year-label {
    font-size: 1rem;
    color: #3399ff;
    margin-top: 2vw;
    font-weight: 600;
    text-align: center;
}

/* 数据统计面板（若页面保留该模块则保留此样式） */
.stats-panel {
    display: flex;
    justify-content: space-between;
    gap: 2vw;
    margin-top: 4vw;
    background: #f0f9ff;
    border-radius: 3vw;
    padding: 4vw 3vw;
    box-shadow: 0 1vw 3vw rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
}
.stat-item {
    text-align: center;
    flex: 1;
    min-width: 30vw;
    padding: 2vw 1.5vw;
}
.stat-value {
    font-size: 4vw;
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 0.8vw;
}
.stat-label {
    font-size: 2.5vw;
    color: #3399ff;
    line-height: 1.3;
}