* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    overflow: hidden;
}

.container {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-image: url('https://nm.sd/images/2025/08/20/image30608dfb3a4bd4bb.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.4);
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
}

.text-left, .text-right {
    font-family: 'Ma Shan Zheng', 'Zhi Mang Xing', cursive;
    font-size: 12rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.8),
        -1px -1px 2px rgba(0, 0, 0, 0.5);
    user-select: none;
    transition: all 0.3s ease;
}

.text-left {
    animation: fadeInLeft 2s ease-out;
}

.text-right {
    animation: fadeInRight 2s ease-out;
}

.text-left:hover, .text-right:hover {
    transform: scale(1.1);
    text-shadow: 
        5px 5px 10px rgba(0, 0, 0, 0.9),
        -2px -2px 4px rgba(0, 0, 0, 0.6);
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .text-left, .text-right {
        font-size: 8rem;
    }
    
    .content {
        padding: 0 5%;
    }
}

@media (max-width: 480px) {
    .text-left, .text-right {
        font-size: 6rem;
    }
    
    .content {
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
    }
}