body {
    margin: 0;
    padding: 0;
    min-height: 100vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Noto Serif SC', 'Songti SC', 'SimSun', 'STSong', serif;
    color: #fff;
    position: relative;
    overflow-x: hidden;
}

#background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-color: #000;
}

#background-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    transition: opacity 2s ease-in-out;
}

#background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    z-index: -1;
}

body::before {
    content: '';
    position: absolute;
    top: 0; left:0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index:1;
}

/* ================== 内容淡入动画 ================== */
@keyframes fadeInContent {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ================== 核心内容 ================== */
.content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
    width: 100%;
    max-width: 1000px;
    opacity: 0;
    animation: fadeInContent 1.5s ease forwards;
}

/* ================== 标题 ================== */
.content h1 { 
    font-size: 4.5rem;           
    font-weight: 600;           
    font-style: italic;
    line-height: 1.1; 
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-shadow:
        0 2px 15px rgba(0,0,0,0.7),
        0 0 30px rgba(0,0,0,0.4);
}

/* ================== 正文 ================== */
.content p {
    font-size: 2rem;          
    font-weight: 400; 
    line-height: 1.7;
    letter-spacing: 0.5px;
    margin-bottom: 35px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* ================== 访问量和点赞 ================== */
.counter-container { 
    margin-top: 10px; 
    text-align: center; 
}

#counterDisplay { 
    font-size: 1.8em;
    font-weight: bold; 
    color: #28a745; 
}

#likeButton {
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    background-color: transparent;
    color: #007bff;
    border: none;
    border-radius: 4px;
    transition: background-color 0.2s;
    margin-top: 12px;
}

#likeButton:hover:not(:disabled) {
    background-color: rgba(0, 123, 255, 0.1);
}

/* ================== 时间计数器 ================== */
.time-counter {
    position: fixed;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #ff4444;
    font-size: 1.5rem;  
    font-weight: 600;            
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
    z-index: 99999;
    pointer-events: none;
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

/* ================== 响应式 ================== */
@media(max-width:1200px){
    .content h1 { font-size: 4rem; }
    .content p { font-size: 1.8rem; }
}

@media(max-width:992px){ 
    .content h1 { font-size: 3.5rem; } 
    .content p { font-size: 1.6rem; } 
}

@media(max-width:768px){ 
    .content h1 { font-size: 2.8rem; } 
    .content p { font-size: 1.35rem; }
    .time-counter { font-size: 1.2rem; bottom: 15px; }
}

@media(max-width:480px){ 
    .content h1 { font-size: 2.2rem; } 
    .content p { font-size: 1.15rem; } 
    .time-counter { font-size: 1rem; }
}