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

a, img {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: none;
}

a:focus, a:active, img:focus, img:active {
    outline: none !important;
    border: none !important;
}

body {
    background-color: #ffffff;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #111;
    display: flex;
    justify-content: center;
    padding: 40px 0;
    min-height: 100vh;
}

.infographic-container {
    position: relative;
    width: 1200px;
    height: 800px;
    background: #fff;
}

/* 标题 */
.main-title {
    position: absolute;
    top: 10px;
    left: -30px;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.5px;
    font-family: 'Questrial', sans-serif;
}

/* 图片：宽度调大以适应衣服比例 */
.artifact-image {
    position: absolute;
    top: 250px;
    left: 50%;
    transform: translateX(-50%);
    width: 450px; /* 衣服图片较宽 */
    z-index: 5;
}

.artifact-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 左上：尺寸与材质框（带边框） */
.dimensions {
    position: absolute;
    top: 200px;
    left: 70px;
    width: 220px;
    padding: 15px;
    border: 1px solid #ccc;
    font-size: 14px;
    line-height: 1.8;
    color: #111;
    font-family: 'Questrial', sans-serif;
}

/* 右上：历史意义（纯文本无边框） */
.time-span {
    position: absolute;
    top: 120px;
    right: -50px;
    width: 330px;
    font-size: 13px;
    line-height: 1.6;
    text-align: left;
    font-family: 'Questrial', sans-serif;
}

/* 左下：内容范围框 */
.content-scope {
    position: absolute;
    bottom: 80px;
    left: -30px;
    width: 380px;
    border: 1px solid #ccc;
}

.content-scope-header {
    background-color: #e6e6e6;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Questrial', sans-serif;
}

.content-scope-body {
    padding: 15px;
    font-size: 13px;
    line-height: 1.6;
    text-align: justify;
    color: #333;
    font-family: 'Questrial', sans-serif;
}

/* 右下：出土日期框（黑底标题） */
.excavation-dates {
    position: absolute;
    bottom: 130px;
    right: 0px;
    width: 270px;
    border: 1px solid #ccc;
}

.excavation-header {
    background-color: #222;
    color: #fff;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Questrial', sans-serif;
}

.excavation-body {
    padding: 12px;
    font-size: 13px;
    line-height: 1.6;
    text-align: justify;
    color: #333;
    font-family: 'Questrial', sans-serif;
}

/* 返回按钮 */
.back-btn {
    position: fixed;
    top: 24px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 14px;
    color: #333;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc !important;
    border-radius: 20px;
    cursor: pointer;
    z-index: 100;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
    font-family: 'Questrial', sans-serif;
}

.back-btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
    transform: translateX(-2px);
}

.back-btn .arrow {
    font-size: 14px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.back-btn:hover .arrow {
    transform: translateX(-3px);
}

/* 响应式设计 */
@media (max-width: 1250px) {
    body {
        padding: 20px;
    }
    .infographic-container {
        width: 100%;
        height: auto;
        min-height: 800px;
    }
}

@media (max-width: 900px) {
    .infographic-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 20px;
    }

    .back-btn {
        top: 14px;
        left: 14px;
        padding: 6px 12px;
        font-size: 12px;
    }

    .main-title {
        position: static;
        text-align: center;
        margin-bottom: 30px;
    }

    .artifact-image {
        position: static;
        transform: none;
        margin-bottom: 40px;
        width: 280px;
    }

    .dimensions, .time-span {
        position: static;
        text-align: center;
        margin-bottom: 30px;
        width: 90%;
        max-width: 500px;
    }

    .content-scope, .excavation-dates {
        position: static;
        width: 90%;
        max-width: 500px;
        margin-bottom: 30px;
    }
}

/* 悬浮动画 */
@keyframes float-animation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); } 
    100% { transform: translateY(0px); }
}

.artifact-image img {
    animation: float-animation 3s ease-in-out infinite; 
}