body {
    margin: 0;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
}

#game-container {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background-color: #90EE90;
}

#world {
    width: 3000px;
    height: 2000px;
    position: absolute;
    transform: translate(0, 0);
    transition: transform 0.1s ease;
    background-image: url('assets/background.png');
    image-rendering: pixelated;
}

#player {
    width: 96px;
    height: 96px;
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.player-sprite {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    display: none;
    image-rendering: pixelated;
}

.player-up { background-image: url('assets/idle_up.gif'); }
.player-down { background-image: url('assets/idle_fw.gif'); }
.player-left { background-image: url('assets/idle_l.gif'); }
.player-right { background-image: url('assets/idle_r.gif'); }

.walking .player-up { background-image: url('assets/run_up.gif'); }
.walking .player-down { background-image: url('assets/run_fw.gif'); }
.walking .player-left { background-image: url('assets/run_l.gif'); }
.walking .player-right { background-image: url('assets/run_r.gif'); }

.interactive-zone {
    width: 96px;
    height: 96px;
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.interactive-zone:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.zone-icon {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    image-rendering: pixelated;
    background-image: url('assets/sign.png');
}

.interaction-bubble {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    max-width: 400px;
    display: none;
    z-index: 100;
    animation: popIn 0.2s ease;
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.interaction-bubble h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.interaction-bubble p {
    margin: 0;
    color: #666;
}

.walking {
    animation: bounce 0.4s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -55%); }
}