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

body {
    font-family: 'SimHei', 'Microsoft YaHei', sans-serif; /* 黑体优先 */
    overflow-x: hidden;
    background: linear-gradient(180deg, #87CEEB 0%, #00BFFF 50%, #98D98E 100%);
    min-height: 100vh;
    position: relative;
}

/* 背景装饰 */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
}

.stars::before,
.stars::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    box-shadow:
        100px 100px white,
        200px 150px white,
        300px 200px rgba(255, 255, 255, 0.8),
        150px 250px white,
        250px 300px rgba(255, 255, 255, 0.6);
    animation: twinkle 3s ease-in-out infinite;
}

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

/* 云朵图片样式 */
.cloud-group {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0.8;
    animation: cloudFloat 25s ease-in-out infinite;
}

@keyframes cloudFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* 主容器 - 移动优先：叠加布局 */
.main-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    min-height: 100vh;
    display: block;
    overflow: hidden;
}

/* 地球+吉祥物大图 */
.left-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    padding-bottom: 130px;
    margin-top: 0;
    animation: fadeIn 1.5s ease-out;
}

.globe-wrapper {
    position: relative;
    width: 100%;
    max-width: 75%;
    height: auto;
    animation: float 6s ease-in-out infinite 1s;
    z-index: 1;
}

.globe-image {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    cursor: pointer;
    transition: transform 0.3s ease;
}

.globe-image:hover {
    transform: scale(1.02);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* 文字内容区域（移动端浮动在右上角，靠左对齐） */
.right-section {
    position: absolute;
    top: 5%;
    right: 5%;
    width: auto;
    max-width: 68%;
    padding: 0;
    background: transparent;
    z-index: 10;
    text-align: left; /* 文字左对齐 */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 靠左对齐 */
}

/* 移除整体滑入动画，改为逐行显示 */

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 标题 */
/* 标题 */
.title-section {
    margin-bottom: 10px; /* 减小间距 */
    text-align: left; /* 左对齐 */
    animation: titleEntrance 1s ease-out 0.2s both;
    overflow: hidden; /* 用于扫光效果 */
}

/* 标题扫光特效 */
.title-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.title-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(2px 2px 0 #FF6B00);
}

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

/* 数据项 */
.data-item {
    margin: 2px 0; /* 减小间距 */
    animation: fadeInUp 0.6s ease-out both;
}

.data-item:nth-child(2) { animation-delay: 0.4s; }
.data-item:nth-child(3) { animation-delay: 0.6s; }
.data-item:nth-child(4) { animation-delay: 0.8s; }
.data-item:nth-child(5) { animation-delay: 1.0s; }

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

.data-text,
.data-label,
.data-line,
.motivation-text,
.motivation-text.highlight {
    font-size: 14px;
    color: #000000;
    font-weight: 900;
    margin-bottom: 2px;
    line-height: 1.4;
}

.data-line {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    flex-wrap: wrap;
}

/* 数字包装器 - 数字+box背景 */
.number-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px; /* 基础间距 */
}

/* Box背景图片 - 只包裹数字 */
.box-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: fill; /* 拉伸填满 */
    z-index: 0;
    pointer-events: none;
}

/* 数字样式 - 在box上方 */
.number {
    position: relative;
    z-index: 1;
    font-size: 18px;
    font-weight: 900; /* 加粗 */
    color: #FFFFFF; /* 白色 */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* 深色阴影增强对比 */
    padding: 6px 18px 6px 12px; /* 增加内边距 */
    animation: countUp 1.5s ease-out;
}

.number.large {
    font-size: 22px;
    padding: 5px 18px 5px 12px; /* 右侧增加间距 */
}

@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* 逗号 */
.comma {
    margin: 0 2px;
}

/* 激励文字 */
.motivation-section {
    margin-top: 12px;
    animation: fadeIn 1s ease-out 1.2s both;
}

.motivation-text {
    opacity: 0;
    animation: textSlideIn 0.6s ease-out forwards;
}

/* 逐行显示动画延迟 */
.data-item:nth-child(2) { animation-delay: 0.5s; }
.data-item:nth-child(3) { animation-delay: 1.0s; }
.data-item:nth-child(4) { animation-delay: 1.5s; }

.motivation-text:nth-child(1) { animation-delay: 2.0s; }
.motivation-text:nth-child(2) { animation-delay: 2.5s; }
.motivation-text:nth-child(3) { animation-delay: 3.0s; }

@keyframes textSlideIn {
    from {
        opacity: 0;
        transform: translateX(0); /* 居中不需要偏移 */
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 底部地面 */
.ground {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ground-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
}

/* 响应式设计 - 桌面端改为左右布局 */
@media (min-width: 1024px) {
    .main-wrapper {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        padding: 40px 20px 200px;
        gap: 40px;
    }

    .left-section {
        position: relative;
        flex: 1;
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 0;
        align-items: center;
    }

    .right-section {
        position: relative;
        top: auto;
        right: auto;
        flex: 0 0 45%;
        max-width: 45%;
        padding: 40px 20px;
        background: transparent;
        text-align: left; /* 桌面端恢复左对齐 */
    }

    .title-section {
        text-align: left;
        margin-bottom: 20px;
    }

    .title-image {
        filter: drop-shadow(3px 3px 0 #FF6B00);
    }

    .data-text,
    .data-label,
    .data-line,
    .motivation-text,
    .motivation-text.highlight {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .data-line {
        gap: 10px;
        justify-content: flex-start;
    }

    .data-item {
        margin: 15px 0;
    }

    .number {
        font-size: 32px;
        padding: 6px 14px;
    }

    .number.large {
        font-size: 42px;
        padding: 8px 18px;
    }

    .number-wrapper {
        margin: 0 8px;
    }

    .motivation-section {
        margin-top: 20px;
    }

    .motivation-text {
        margin: 6px 0;
    }

    .globe-wrapper {
        max-width: 500px;
    }

    .number {
        color: #FFFFFF;
    }
}

/* 中等屏幕优化 */
@media (max-width: 768px) {
    .right-section {
        top: 15px;
        right: 10px;
        max-width: 60%;
        padding: 12px;
    }

    .globe-wrapper {
        max-width: 70%;
    }

    .ground {
        height: 100px;
    }

    .title-image {
        max-width: 95%;
    }

    .left-section {
        padding-bottom: 80px;
    }
}

/* 小屏幕优化 */
@media (max-width: 480px) {
    .right-section {
        top: 10px;
        right: 8px;
        max-width: 60%;
        padding: 10px;
    }

    .globe-wrapper {
        max-width: 75%;
    }

    .ground {
        height: 80px;
    }

    .title-image {
        max-width: 100%;
    }

    .left-section {
        padding-bottom: 60px;
    }

    .data-text,
    .data-label,
    .data-line,
    .motivation-text,
    .motivation-text.highlight {
        font-size: 12px;
    }

    .data-line {
        gap: 5px;
    }

    .number {
        font-size: 16px;
        padding: 3px 8px;
    }

    .number.large {
        font-size: 20px;
        padding: 4px 10px;
    }



    .number-wrapper {
        margin: 0 8px;
    }

    .data-item {
        margin: 6px 0;
    }

    .motivation-section {
        margin-top: 8px;
    }
}

/* 图片优化 */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
