
body {
    margin: 0;
    background: #fbe9d0;
    font-family: 'Georgia', serif;
    overflow-x: hidden;
    position: relative;
}

.wrapper {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.side-decor {
    position: absolute;
    top: 0;
    width: 120px;
    height: 100vh;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 3;
}
.left-decor {
    left: 0;
    background-image: url('lantern-left.png');
}
.right-decor {
    right: 0;
    background-image: url('lantern-right.png');
}

.confucius {
    height: 100vh;
    width: auto;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: bowConfucius 3s ease-in-out forwards;
    transform-origin: top center;
}

@keyframes bowConfucius {
    0%   { transform: translateX(-50%) rotateX(0deg); }
    30%  { transform: translateX(-50%) rotateX(60deg); }
    60%  { transform: translateX(-50%) rotateX(0deg); }
    100% { transform: translateX(-50%) rotateX(0deg); }
}

.container.small-scroll {
    position: absolute;
    bottom: 60px;
    left: 20%;
    transform: translateX(-50%);
    width: 400px;
    background: #fff8dc;
    border: 4px double #b22222;
    padding: 20px;
    font-size: 16px;
    color: #4b2e1e;
    z-index: 5;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.intro-box {
    position: absolute;
    top: 40px;
    right: 3%;
    background: #fff8dc;
    border: 3px solid #b22222;
    padding: 25px 40px;
    font-size: 20px;
    text-align: center;
    z-index: 6;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    max-width: 350px;
}

.pay-button {
    display: inline-block;
    background: #d22727;
    color: white;
    padding: 12px 24px;
    margin-top: 15px;
    font-size: 18px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}
.pay-button:hover {
    background: #a81f1f;
}

.download-button {
    display: inline-block;
    background: #b22222;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    margin-top: 15px;
    z-index: 5;
}

/* Responsive Tweaks */
@media screen and (max-width: 768px) {
    .confucius {
        height: 80vh;
    }
    .container.small-scroll {
        width: 80%;
        left: 50%;
        font-size: 14px;
    }
    .intro-box {
        position: absolute;
        top: auto;
        bottom: 10px;
        right: 50%;
        transform: translateX(50%);
        font-size: 16px;
        padding: 20px;
        max-width: 90%;
    }
    .pay-button, .download-button {
        font-size: 16px;
        padding: 10px 16px;
    }
    .side-decor {
        display: none;
    }
}
