/* ================== Body & 背景 ================== */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: #fff;
    position: relative;
    overflow: 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.5);
    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: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
    width: 100%;
    max-width: 900px;
    opacity: 0;
    animation: fadeInContent 1.5s ease forwards;
}

/* ================== 标题 ================== */
.content h1 { 
    font-size: 8rem;           /* 放大 */
    font-weight: 800;           /* 增粗 */
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
    text-shadow:
        0 0 10px rgba(0,0,0,0.8),
        0 0 20px rgba(0,0,0,0.6);
}

/* ================== 正文 ================== */
.content p {
    font-size: 5.1rem;          /* 放大 */
    font-weight: 700;            /* 稍微加粗 */
    line-height: 1.7;
    text-shadow: 0 0 8px rgba(0,0,0,0.8);
}

/* ================== 访问量和点赞（保持原样） ================== */
.counter-container { 
    margin-top:20px; 
    text-align:center; 
}

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

#likeButton {
    padding: 6px 10px;
    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: 10px;
}

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

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

#likeButton:disabled {
    background-color: transparent;
    color: #bbbbbb;
    cursor: not-allowed;
}

/* ================== 时间计数器 ================== */
.time-counter {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #ff4444;
    font-size: 2.8rem;          /* 放大 */
    font-weight: 700;            /* 加粗 */
    font-family: 'Oswald', sans-serif;
    z-index: 99999;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    pointer-events: none;
    text-shadow:
        0 0 5px rgba(0,0,0,0.9),
        0 0 10px rgba(0,0,0,0.9),
        0 0 15px rgba(0,0,0,0.9);
}

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

@media(max-width:768px){ 
    .content h1 { font-size: 4rem; } 
    .content p { font-size: 1.5rem; } 
}

@media(max-width:480px){ 
    .content h1 { font-size: 3rem; } 
    .content p { font-size: 1.2rem; } 
}