﻿* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

.main {
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.wrapper {
    width: 420px;
    height: 100%;
    max-height: 810px;
    min-height: 600px;
}

@media screen and (max-height: 1000px) {
    .wrapper {
        height: 90%;
    }
}

.content-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.top-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image {
    max-width: 100%; /* 最大宽度不超过容器宽度 */
    max-height: 100vh; /* 最大高度不超过视口高度 */
    width: auto;
    height: auto;
    object-fit: contain; /* 确保图片完整显示 */
}

.status {
    display: none; /* 隐藏状态文字 */
    width: 100%;
    justify-content: center;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 0; /* 设置底部间距为 0 */
}

.status .loader {
    display: none;
    justify-content: center;
    align-items: center;
    margin-left: 8px;
}

.status .loader .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    animation: dot-blink 1.5s infinite ease-in-out;
}

@keyframes dot-blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.bottom-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0; /* 设置顶部间距为 0 */
}

.redirect-btn,
.cant-enter-btn {
    width: 300px; /* 增大按钮宽度 */
    height: 60px; /* 增大按钮高度 */
    background: #000;
    padding: 10px;
    font-size: 18px; /* 增大字体大小 */
    cursor: pointer;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    margin-bottom: 20px; /* 增大按钮间距 */
}

.footer {
    margin-top: 10px;
    margin-bottom: 20px; /* 确保底部文字在最低位置 */
}

.footer-text {
    text-align: center;
    font-size: 12px;
    font-weight: 300;
    color: #ccc;
}

/* 手机屏幕 */
@media screen and (max-width: 767px) {
    .wrapper {
        width: 90%;
        min-height: auto;
    }
    .redirect-btn,
    .cant-enter-btn {
        width: 80%;
        height: 50px;
        font-size: 16px;
    }
}

/* 平板屏幕 */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .wrapper {
        width: 70%;
    }
    .redirect-btn,
    .cant-enter-btn {
        width: 70%;
        height: 55px;
        font-size: 17px;
    }
}

/* 电脑屏幕 */
@media screen and (min-width: 1024px) {
    .wrapper {
        width: 420px;
    }
}