body {
    margin: 0;
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #f9f9f9;
    text-align: center;
    color: #222;
}

#gameTitle {
    font-size: 32px;
    font-weight: 700;
    margin: 20px 0 10px 0;
    color: #111;
}

#gameContainer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    margin: 0 auto;
    max-width: 1100px;
}

#sidePanel {
    width: 220px;
    background-color: #ffffff;
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    margin-right: 15px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 600px;
    text-align: left;

    font-family: 'Roboto', Arial, sans-serif;
    font-weight: bold;
    font-size: 16px;
    color: #111;
}

#sidePanel h3 {
    font-size: 18px;
    font-weight: bold;
    color: #111;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

#sidePanel label {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 16px;
    color: #111;
}

#sidePanel input[type='radio'] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #555;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

#sidePanel input[type='radio']:checked::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    background-color: #555;
    border-radius: 50%;
}

#sidePanel input[type='radio']:hover {
    border-color: #000;
}

#sidePanel button {
    padding: 12px 20px;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.2s ease, transform 0.1s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#sidePanel button:hover {
    background-color: #333;
    transform: translateY(-2px);
}

#sidePanel button:active {
    transform: translateY(0);
}

#mainArea {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#gameCanvas {
    border: 1px solid #ccc;
    background-color: #ffffff;
}

#analyticsPanel {
    margin-top: 10px;
    width: 800px;
    background-color: #111;
    color: white;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 24px;
    border-radius: 4px;
}

#analyticsPanel span:first-child {
    margin-right: 20px;
    font-weight: bold;
}

#analyticsPanel span {
    margin-right: 30px;
}
