* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

#game-container {
    position: relative;
    width: 100vw;
    height: 100vh;
}

#game-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#game-ui {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#player-info {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    border-radius: 5px;
}

#battle-ui {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 80%;
    max-width: 500px;
}

#battle-options {
    display: flex;
    gap: 10px;
    width: 100%;
}

#battle-options button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50;
    color: white;
    font-weight: bold;
    cursor: pointer;
    pointer-events: auto;
}

#battle-options button:hover {
    background-color: #45a049;
}

.hidden {
    display: none !important;
}

/* Battle System Styles */
.battle-moves {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
    pointer-events: auto;
}

.move-btn {
    padding: 5px 10px;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    flex-grow: 1;
    min-width: 45%;
}

.battle-log {
    max-height: 100px;
    overflow-y: auto;
    margin-bottom: 10px;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    font-size: 14px;
}

.health-bar {
    width: 100%;
    height: 8px;
    background-color: #ccc;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 2px;
}

.health-bar-fill {
    height: 100%;
    transition: width 0.3s ease, background-color 0.3s ease;
}

/* Player Status UI */
.player-status-ui {
    margin-bottom: 10px;
    width: 100%;
}

/* Vibe Jam 2025 Banner */
#vibe-jam-banner {
    font-family: 'system-ui', sans-serif;
    position: fixed;
    bottom: -1px;
    right: -1px;
    padding: 7px;
    font-size: 14px;
    font-weight: bold;
    background: #fff;
    color: #000;
    text-decoration: none;
    z-index: 10000;
    border-top-left-radius: 12px;
    border: 1px solid #fff;
    pointer-events: auto;
    cursor: pointer;
}