body {
    font-family: 'Georgia', serif;
    margin: 0;
    padding: 0;
    background-color: #2d2d2d;
    text-align: center;
    color: #f0e6d2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.game-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

header h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #FFD700;
}

main {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.battle-container {
    display: flex;
    height: 70%;
    margin-bottom: 10px;
    justify-content: space-between;
}

.map {
    width: 70%;
    background-color: #282828;
    border-radius: 12px;
    border: 3px solid #444;
}

.battle-area {
    width: 28%;
    background-color: #333;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.enemy img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
}

.health-bar {
    width: 100%;
    background-color: #555;
    height: 20px;
    border-radius: 10px;
    margin-top: 10px;
}

#enemy-health {
    background-color: #f00;
    height: 100%;
    border-radius: 10px;
}

.info-container {
    display: flex;
    justify-content: space-between;
    height: 30%;
    margin-top: 10px;
}

.character-info,
.upgrades {
    width: 45%;
    background-color: #444;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

h3 {
    margin-bottom: 10px;
    font-size: 22px;
    color: #FFD700;
}

.stat-box {
    background-color: #4b4b4b;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

button {
    background-color: #FFD700;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    color: #2d2d2d;
}

button:hover {
    background-color: #d4af37;
}

button:focus {
    outline: none;
}

footer button {
    font-size: 16px;
    margin-top: 20px;
}
