*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #f7f5f0;
}

.parent-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

section {
    width: 100%;
    max-width: 1920px;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== Section 2 覆盖层（计数器 + 捐款额） ===== */
.counter-wrap {
    position: relative;
    container-type: inline-size;
}

.counter-digits {
    position: absolute;
    left: 17.09%;
    top: 22.44%;
    width: 60.05%;
    height: 16.58%;
    display: flex;
    gap: 2.25%;
    z-index: 2;
}

.counter-digit {
    width: 23.24%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-family: 'Arial Black', 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 12.4cqw;
    line-height: 1;
}

.donation-digit {
    position: absolute;
    left: 24.5%;
    top: 52.8%;
    z-index: 2;
    color: #475A20;
    font-weight: 400;
    font-size: 5.5cqw;
    line-height: 1.1;
}

/* ===== 返回主站按钮 ===== */
.back-to-main {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    opacity: 0.4;
    transition: opacity 0.3s ease, transform 0.3s ease;
    background: #475A20;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-main:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.back-to-main svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}
