* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Segoe UI', 'Noto Sans SC', Roboto, '华文细黑', system-ui, -apple-system, sans-serif;
    background: #2e241f;
    height: 100vh;
    overflow: hidden;
    color: #f5efe7;
}

/* 主容器全屏滑动 - 移除固定背景，背景将由每个slide独立提供 */
.swiper-container {
    width: 100%;
    height: 100vh;
    position: relative;
}

/* 自定义滚动条隐藏 */
.swiper-wrapper {
    transition-timing-function: cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* 幻灯片通用样式 - 支持独立背景 */
.swiper-slide {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2rem 1.5rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    scrollbar-width: thin;
    scrollbar-color: #b68b40 #3a2c22;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* 为每个slide添加半透明遮罩层，确保文字可读性（可选） */
.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 0;
}

/* 确保内容在遮罩层之上 */
.swiper-slide > * {
    position: relative;
    z-index: 1;
}

.swiper-slide::-webkit-scrollbar {
    width: 4px;
}
.swiper-slide::-webkit-scrollbar-track {
    background: #3a2c22;
    border-radius: 8px;
}
.swiper-slide::-webkit-scrollbar-thumb {
    background: #b68b40;
    border-radius: 8px;
}

/* 卡片容器 (让内容更精致) */
.card {
    max-width: 340px;
    width: 100%;
    background: rgba(30, 26, 22, 0.75);
    backdrop-filter: blur(8px);
    border-radius: 48px 24px 48px 24px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    padding: 1.8rem 1.5rem 2rem;
    border: 1px solid rgba(210, 160, 90, 0.4);
    transition: all 0.3s ease;
}

/* 民族装饰元素：铜鼓纹点缀 */
.card::before {
    content: "⚲";
    font-size: 2.2rem;
    opacity: 0.2;
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-family: monospace;
    pointer-events: none;
    color: #e7bc7e;
}

/* 标题风格 */
.museum-title {
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-align: center;
    background: linear-gradient(135deg, #f9e0a8, #dbb05c);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.sub {
    font-size: 0.8rem;
    text-align: center;
    color: #e7cfa1;
    border-bottom: 1px dashed #b68b40;
    display: inline-block;
    padding-bottom: 6px;
    margin-bottom: 1.5rem;
}

/* 藏品图片容器 */
.artifact-img-box {
    width: 100%;
    aspect-ratio: 1 / 0.9;
    background: #2a241e;
    border-radius: 32px 16px 32px 16px;
    margin: 1rem 0 1.2rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.3s;
    box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.5);
    border: 1px solid #c99f60;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.artifact-img-box:hover {
    transform: scale(1.02);
}
.artifact-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 28px 12px 28px 12px;
}

/* 藏品名称描述 */
.artifact-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0.75rem 0 0.3rem;
    letter-spacing: 1px;
    color: #fae7b3;
}
.artifact-desc {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #e2cfaa;
    margin-bottom: 0.5rem;
}

/* 表单样式 */
.form-group {
    margin-bottom: 1.3rem;
    text-align: left;
}
label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 6px;
    color: #ecdca8;
    letter-spacing: 1px;
}
input, textarea {
    width: 100%;
    background: #2e2720;
    border: 1px solid #b99054;
    border-radius: 60px;
    padding: 12px 18px;
    font-size: 0.9rem;
    color: #fff1df;
    font-family: inherit;
    transition: 0.2s;
    outline: none;
}
textarea {
    border-radius: 24px;
    resize: vertical;
    min-height: 80px;
}
input:focus, textarea:focus {
    border-color: #efbf7a;
    box-shadow: 0 0 0 2px rgba(239, 191, 122, 0.3);
    background: #372f26;
}
.btn-submit {
    background: linear-gradient(95deg, #c48a3c, #b06d2a);
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 60px;
    font-weight: bold;
    font-size: 1rem;
    color: #2b211c;
    margin-top: 0.8rem;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 5px 12px rgba(0,0,0,0.3);
    font-family: inherit;
    letter-spacing: 1px;
}
.btn-submit:active {
    transform: scale(0.97);
    background: #a55e22;
}

/* 分页器定制 */
.swiper-pagination-bullet {
    background: #dba859;
    opacity: 0.5;
}
.swiper-pagination-bullet-active {
    background: #f5c27b;
    opacity: 1;
    transform: scale(1.2);
}

/* 模态框 (大图弹窗) */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.25s ease;
    cursor: pointer;
}
.lightbox.active {
    visibility: visible;
    opacity: 1;
}
.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    background: #2b231e;
    border-radius: 32px;
    padding: 1rem;
    box-shadow: 0 30px 40px rgba(0,0,0,0.6);
    border: 1px solid #cca36b;
    position: relative;
    cursor: default;
    text-align: center;
}
.lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 24px;
    object-fit: contain;
    background: #1e1915;
}
.lightbox-caption {
    margin-top: 12px;
    color: #eedba7;
    font-weight: 500;
    font-size: 1rem;
}
.close-lightbox {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #d69644;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #2c1f17;
    cursor: pointer;
    box-shadow: 0 4px 8px black;
    transition: 0.1s linear;
}
.close-lightbox:active {
    transform: scale(0.9);
}

/* 欢迎页特殊装饰 */
.welcome-icon {
    font-size: 3.8rem;
    margin-bottom: 0.8rem;
    color: #e0b072;
}
.quote {
    font-style: italic;
    border-left: 3px solid #e0a55b;
    padding-left: 12px;
    margin: 1.2rem 0;
    font-size: 0.9rem;
    color: #e2cfaa;
}

/* 底部预留安全区 */
.bottom-safe {
    margin-top: auto;
}
footer {
    font-size: 0.65rem;
    text-align: center;
    margin-top: 1.5rem;
    opacity: 0.6;
}
button, .artifact-img-box {
    user-select: none;
}
i.fa, i.far, i.fas {
    pointer-events: none;
}