body, html {
    margin: 0; padding: 0; width: 100%;
    background-color: #000; color: #fff;
    font-family: 'Poppins', sans-serif;
    overflow-y: auto;
    overflow-x: hidden;
}

.wall-container {
    width: 100%;
    position: relative;
    padding: 1.5vw 0;
    opacity: 0;
    animation: fadeInPage 0.5s ease forwards;
}

@keyframes fadeInPage { to { opacity: 1; } }

.image-grid {
    width: 97%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5vw;
}

.grid-item {
    aspect-ratio: 16 / 10;
    opacity: 0;
    transform: rotateY(-90deg);
    /* transition由JS动态添加，这里保持空白 */
}

.grid-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* 文字样式 - 恢复到原始版本 */
.overlay-text-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.overlay-text-container.visible {
    opacity: 1;
}

.word-row {
    display: flex;
    justify-content: center;
    gap: 2em;
    width: 100%;
    margin-bottom: 0.5em;
}

.overlay-word {
    font-size: 3.8em;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    color: #fff;
}

.overlay-word span {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotateX(-90deg);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.overlay-word.show span {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
}

.back-button {
    position: fixed; top: 30px; left: 30px; font-size: 1em; color: #fff;
    text-decoration: none; background-color: rgba(0,0,0,0.5);
    padding: 12px 20px; border-radius: 8px; z-index: 10;
    opacity: 0.7; transition: opacity 0.3s ease; line-height: 1.4;
}

.back-button:hover {
    opacity: 1;
}