/* 下雨全屏粒子 */
.rain-particle {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99999;
}
.rain-particle img {
    position: absolute;
    animation: rainFall linear infinite;
}
@keyframes rainFall {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100vh); }
}

/* 下雪全屏粒子 */
.snow-particle {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99999;
}
.snow-particle img {
    position: absolute;
    animation: snowFall linear infinite;
}
@keyframes snowFall {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50px, 100vh); }
}

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

html,
body {
    height: 100%;
}

body {
    padding: 30px;
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.7;
    color: #333;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    transition: background 0.5s ease;
}

/* 半透明白底，让文字看得清 */
.container {
    background: rgba(255, 255, 255, 0.85);
    padding: 40px;
    border-radius: 12px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 8px;
    text-align: left;
}

.subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 30px;
    text-align: left;
}

.text1 {
    font-size: 24px;
    font-weight: bold;
    color: #1a73e8;
    margin-bottom: 16px;
    text-align: left;
}

.text2 {
    font-size: 20px;
    color: #19d75e;
    margin-bottom: 10px;
    text-align: left;
    cursor: pointer;
    transition: 0.2s;
}

.text2:hover {
    color: #d93025;
    font-weight: bold;
}

.text3 {
    font-size: 24px;
    font-weight: bold;
    color: #222;
    margin-top: 40px;
    margin-bottom: 12px;
    text-align: left;
    padding-bottom: 6px;
    border-bottom: 1px solid #eee;
}

.text4 {
    font-size: 20px;
    color: #444;
    margin-bottom: 12px;
    text-align: left;
}

.text5 {
    font-size: 16px;
    color: #444;
    margin-bottom: 12px;
    text-align: left;
}

img {
    max-width: 90%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
    display: block;
}

a {
    display: inline-block;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
}

a:hover {
    color: #1a73e8;
}

/* 赞赏按钮样式 */
.zanshang-btn {
    position: fixed;
    top: 80px;
    right: 20px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    z-index: 9998;
    opacity: 0.9;
}

.zanshang-img {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 200px;
    max-width: 90vw;
    height: auto;
    display: none;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    z-index: 9999;
}

/* 联系我们样式 */
.contact-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.contact-btn {
    color: #fff;
    font-size: 16px;
    padding: 6px 12px;
    background: rgba(0,0,0,0.5);
    border-radius: 6px;
    cursor: pointer;
}

.contact-info {
    position: absolute;
    bottom: 45px;
    right: 0;
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.8;
    display: none;
    white-space: nowrap;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* 顶部时间和天气栏 */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 8px 20px;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 16px;
    z-index: 9999;
}

/* 标题图片样式 */
.title-img {
    display: block;
    margin: 0 auto;
    width: 640px;
    height: auto;
}

/* 健康条图片样式 */
.health-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* 健康值显示 */
.health-display {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-start;
}

/* 表格样式 */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    background: #fff;
    margin-bottom: 40px;
}

.data-table td,
.data-table th {
    padding: 8px;
    border: 1px solid #000;
}

.data-table tr {
    background: #f5f5f5;
    font-weight: bold;
}

/* 底部备案 */
.footer {
    text-align: center;
}

.footer a {
    color: #939393;
    font-size: 12px;
    text-decoration: none;
}

.footer img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin: 0;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    display: inline;
}

/* 广告和提示弹窗 */
.popup {
    position: fixed;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 14px 20px;
    border-radius: 10px 0 0 10px;
    font-size: 14px;
    z-index: 999;
    transition: all 0.5s ease;
    max-width: 280px;
    backdrop-filter: blur(6px);
    transform: translateX(120%);
}

#adPopup {
    bottom: 160px;
}

#tipPopup {
    bottom: 70px;
}

.popup-close {
    position: absolute;
    top: 6px;
    right: 10px;
    font-size: 18px;
    cursor: pointer;
    color: #fff;
}

.popup-content {
    padding-top: 6px;
}
