* {
    box-sizing: border-box;
}
body {
    background-color: rgb(0, 0, 0);
    background-image: url("img/skybg.jpg");
    font-family: Arial, sans-serif;
    color: white; /* Ensure text is visible on black background */
    margin: 0;
    overflow: hidden;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

img {
    animation: float 2s ease-in-out infinite;
    max-width: 100%;
}

.seat {
    padding: 10px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

#ticket {
    position: relative;
    width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#ticket.zoomed {
    transform: scale(8);
    cursor: zoom-out;
}

.left {
    position: absolute;
    width: 100px;
    top: 10px;
    left: 100px;
    cursor: pointer;
    display: inline-block;
}

#text-container {
    position: absolute;
    top: 100px;
    left: 200px;
    font-size: 20px;
    white-space: pre-wrap;
    font-family: "Courier New", monospace;
    border-right: 2px solid white;
    padding: 5px;
    color: white;
}

.ai-text {
    text-align: center;
    font-size: 20px;
    margin-top: 20px;
}

/* 烟雾效果 */
#smoke-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/smoke.png') center center / cover no-repeat;
    opacity: 0;
    transition: opacity 5s ease-in-out;
    pointer-events: none;
}

/* AI异常提示 */
#ai-warning {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    font-weight: bold;
    color: red;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}