/* ---------- 全局重置 & 基础 ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #1e1e1e;
    background-color: #ffffff;
    line-height: 1.6;
}

/* ---------- Hero 全屏背景 ---------- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background: url("../img/bg1.jpg") no-repeat center center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2c3e50;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.30);
    pointer-events: none;
}

/* ---------- Logo 占位 ---------- */
.logo-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.70);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 4px;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.30);
    user-select: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-placeholder:hover {
    transform: scale(1.04);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

/* ---------- 滚动提示 ---------- */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.80);
    font-size: 14px;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: floatDown 2.4s ease-in-out infinite;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.30);
    cursor: pointer;
}

.scroll-hint .arrow {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.70);
    border-bottom: 2px solid rgba(255, 255, 255, 0.70);
    transform: rotate(45deg);
    opacity: 0.7;
}

@keyframes floatDown {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.6;
    }
    50% {
        transform: translateX(-50%) translateY(8px);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.6;
    }
}

/* ---------- 内容区域 (白色背景) ---------- */
.content {
    background: #ffffff;
    padding: 64px 24px 80px;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.content.visible {
    opacity: 1;
    transform: translateY(0);
}

.content h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 1px;
    padding-bottom: 16px;
    border-bottom: 2px solid #eaeaea;
    margin-bottom: 32px;
}

/* ---------- 日志条目 ---------- */
.log-entry {
    margin-bottom: 28px;
}

.log-entry .date {
    display: inline-block;
    font-size: 14px;
    color: #888;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.log-entry .title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.log-entry ul {
    list-style: none;
    padding-left: 0;
    margin-top: 4px;
}

.log-entry ul li {
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 2px;
}

.log-entry ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0;
    color: #999;
    font-weight: 300;
}

.log-placeholder {
    color: #aaa;
    font-size: 15px;
    padding: 20px 0 8px;
    border-top: 1px dashed #ddd;
    margin-top: 8px;
}

.log-placeholder small {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #bbb;
}

/* ---------- 底部 Footer ---------- */
.footer {
    background: #0d0d0d;
    color: #f0f0f0;
    padding: 32px 24px;
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.5px;
    line-height: 1.8;
    border-top: 1px solid #2a2a2a;
}

.footer p {
    margin: 0;
}

.footer .version {
    font-weight: 600;
    color: #ffffff;
}

.footer .divider {
    color: #555;
    margin: 0 10px;
}

.footer .highlight {
    color: #c0c0c0;
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
    .logo-placeholder {
        width: 120px;
        height: 120px;
        font-size: 20px;
        letter-spacing: 3px;
    }

    .content {
        padding: 40px 20px 56px;
    }

    .content h1 {
        font-size: 28px;
        padding-bottom: 12px;
        margin-bottom: 24px;
    }

    .log-entry .title {
        font-size: 16px;
    }

    .log-entry ul li {
        font-size: 14px;
        padding-left: 16px;
    }

    .footer {
        font-size: 13px;
        padding: 24px 16px;
    }

    .scroll-hint {
        bottom: 28px;
        font-size: 12px;
    }
    .scroll-hint .arrow {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .logo-placeholder {
        width: 96px;
        height: 96px;
        font-size: 16px;
        letter-spacing: 2px;
        border-width: 1.5px;
    }

    .content h1 {
        font-size: 22px;
    }

    .log-entry .title {
        font-size: 15px;
    }

    .log-entry ul li {
        font-size: 13px;
    }

    .footer {
        font-size: 12px;
        padding: 20px 12px;
    }
}