/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    background-color: rgb(253, 249, 232);
    overflow: hidden; /* 禁止滚动 */
}

/* 主容器 */
.container {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: rgb(253, 249, 232);
}

/* 主内容区域 */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

/* 图片容器 */
.image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.main-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* 页脚样式 */
.footer {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.footer p {
    font-size: 12px;
    color: #999;
    opacity: 0.7;
}

/* PC端横屏样式 */
@media screen and (min-width: 768px) and (orientation: landscape) {
    .main-content {
        padding: 40px;
    }
    
    .main-image {
        max-width: 90%;
        max-height: 90%;
    }
    
    .footer p {
        font-size: 13px;
    }
}

/* 平板端样式 */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .main-image {
        max-width: 95%;
        max-height: 85%;
    }
}

/* 手机端竖屏样式 */
@media screen and (max-width: 767px) and (orientation: portrait) {
    .main-content {
        padding: 15px;
    }
    
    .main-image {
        max-width: 100%;
        max-height: 85%;
    }
    
    .footer {
        bottom: 8px;
    }
    
    .footer p {
        font-size: 11px;
    }
}

/* 小屏手机适配 */
@media screen and (max-width: 480px) {
    .main-content {
        padding: 10px;
    }
    
    .footer p {
        font-size: 10px;
    }
}

/* 超宽屏适配 */
@media screen and (min-width: 1920px) {
    .main-image {
        max-width: 80%;
        max-height: 80%;
    }
    
    .footer p {
        font-size: 14px;
    }
} 