* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: "Microsoft YaHei", sans-serif;
}

.fullscreen-container {
    width: 100%;
    height: 100vh;
    position: relative;
    background-color: #000;
}

.image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.fullscreen-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

/* 预览相关样式 */
.preview-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: zoom-out;
}

.preview-container.active {
    display: flex;
}

.preview-image {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.preview-container.active .preview-image {
    transform: scale(1);
}

.no-scroll {
    overflow: hidden;
}

/* 添加动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.preview-container.active {
    animation: fadeIn 0.3s ease-in-out;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(0,0,0,0.6) 0%, 
        rgba(0,0,0,0.3) 30%,
        rgba(0,0,0,0.3) 70%,
        rgba(0,0,0,0.6) 100%);  /* 修改渐变使文字在任何背景下都清晰可见 */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
}

.subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .title {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .overlay {
        padding-top: 20px;
    }
}

/* 删除不需要的样式 */
.overlay, .subtitle {
    display: none;
} 