body {
    margin: 0;
    background-color: #f7f7f7;
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.page-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: 20px;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 3rem;
    margin: 0;
    color: #535353;
    font-weight: bold;
}

.score-container {
    display: flex;
    gap: 10px;
}

.score-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #bbada0;
    padding: 10px 20px;
    border-radius: 5px;
}

.score-box span:first-child {
    font-size: 0.9rem;
    color: #eee4da;
    font-weight: bold;
}

.score-box span:last-child {
    font-size: 1.5rem;
    color: #fff;
    font-weight: bold;
}

.controls {
    margin-bottom: 20px;
}

#new-game-button {
    font-size: 1rem;
    padding: 10px 30px;
    background-color: #8f7a66;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

#new-game-button:hover {
    background-color: #9f8a76;
}

#game-canvas {
    border: 2px solid #bbada0;
    border-radius: 5px;
    background-color: #fff;
}

.home-button {
    margin-top: 20px;
    font-size: 1rem;
    color: #8f7a66;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 5px;
    transition: background-color 0.2s;
}

.home-button:hover {
    background-color: #eee4da;
}

.instructions {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #776e65;
}

.ranking-column {
    width: 250px;
    padding: 20px;
    border: 2px solid #bbada0;
    background-color: #fff;
    border-radius: 8px;
}

.ranking-column h2 {
    text-align: center;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #bbada0;
    color: #776e65;
}

#ranking-list {
    list-style-type: decimal;
    padding-left: 20px;
    margin: 0;
}

#ranking-list li {
    font-size: 1.1em;
    padding: 8px 5px;
    border-bottom: 1px solid #eee4da;
    color: #776e65;
}

#ranking-list li:first-child {
    font-weight: bold;
    color: #f9a825;
}
