* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'fzqkbysjt', 'Microsoft YaHei', Arial, sans-serif;
}

@font-face {
    font-family: 'fzqkbysjt';
    src: url('../fonts/fzqkbysjt.woff2') format('woff2'),
        url('../fonts/fzqkbysjt.woff') format('woff');
    font-style: normal;
    font-display: swap;
}

body {
    background: #f0f5ff;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    transform: scale(1);
    /* 初始缩放值 */
}

.logo-container {
    width: 20vmin;
    /* 使用视口单位 */
    height: 20vmin;
    min-width: 200px;
    min-height: 400px;
    margin-bottom: 5vh;
}

.logo {
    width: 100%;
    height: 100%;
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
    background-image: url('../picture/001.jpg');
    background-size: cover;
    background-position: center;
}

.poem-container {
    writing-mode: vertical-rl;
    text-align: center;
    line-height: 1.8;
    font-size: 3vmin;
    color: #333;
    letter-spacing: 0.5vmin;
    height: 40vh;
    border-left: 3px solid #4a90e2;
    padding-left: 2vmin;
    margin-bottom: 5vh;
    max-width: 90%;
}

.enter-btn {
    width: 40vmin;
    height: 8vmin;
    min-width: 300px;
    min-height: 60px;
    background: #4a90e2;
    border-radius: 40px;
    border: none;
    color: white;
    font-size: 2.5vmin;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
    position: relative;
    margin-bottom: 5vh;
}

/* 响应式调整 */
@media (max-aspect-ratio: 4/3) {
    .container {
        transform: scale(0.9);
    }

    .poem-container {
        font-size: 2.5vmax;
    }
}

@media (max-height: 600px) {
    .container {
        transform: scale(0.8);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container,
.poem-container,
.enter-btn {
    animation: fadeIn 1s ease-out;
}

.container {
    transition: transform 0.3s ease-out;
}