body {
    font-family: 'MS Gothic', 'Arial', sans-serif;
    background: linear-gradient(to bottom, #FFD700, #FF69B4);
    margin: 0;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.game-area {
    text-align: center;
    margin-bottom: 20px;
}

#game-canvas {
    border: 2px solid #000;
    background-color: #90EE90;
}

h1 {
    text-align: center;
    color: #FF1493;
    font-size: 2.5em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.players-display {
    display: flex;
    justify-content: space-around;
    background-color: #F0E68C;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 2px solid #FFD700;
}

.player {
    text-align: center;
    flex: 1;
    margin: 0 10px;
}

.character {
    font-size: 3em;
    margin-bottom: 10px;
}

.status {
    background-color: #FFFACD;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #DAA520;
}

.status div {
    margin-bottom: 5px;
    font-weight: bold;
}

.instructions {
    background-color: #FFFACD;
    border: 2px solid #FFD700;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 1em;
}

.instructions h3 {
    margin-top: 0;
    color: #8B4513;
    text-align: center;
}

.instructions ul {
    list-style-type: none;
    padding: 0;
}

.instructions li {
    margin-bottom: 8px;
    padding: 5px;
    background-color: #F5DEB3;
    border-radius: 4px;
}

.message-area {
    background-color: #E6E6FA;
    border: 2px solid #9370DB;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: bold;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

button {
    background-color: #32CD32;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #228B22;
}

.battle-area {
    background-color: #DC143C;
    border: 3px solid #B22222;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: white;
}

.battle-area div {
    margin-bottom: 10px;
    font-size: 1.2em;
    font-weight: bold;
}

#enemy-character {
    font-size: 4em;
    margin-bottom: 15px;
}

.battle-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.battle-actions button {
    background-color: #FF4500;
}

.battle-actions button:hover {
    background-color: #FF6347;
}

.inventory {
    background-color: #F5F5DC;
    border: 2px solid #8B4513;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.inventory h3 {
    margin-top: 0;
    color: #8B4513;
}

#item-list {
    list-style-type: none;
    padding: 0;
}

#item-list li {
    padding: 5px 0;
    font-weight: bold;
}
