* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f0f4f8;
    font-family: 'Segoe UI', sans-serif;
    color: #333;
   
}

button {
    background: none;
    color: #333;
    border: 1.5px solid #ccc;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    margin-top: 20px;
}

button:hover {
    background-color: #e2e6ea;
    border-color: #999;
}

.total {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 27px;
    font-weight: 600;
    color: #555;
   
}

header {
    width: 100%;
    height: 12vh;
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px; 
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.player, .object {
    position: absolute;
}

.player {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #4a90e2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.object {
    width: 40px;
    height: 40px;
    background-color: #d35400;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 24px;
    border-radius: 10px;
    width: 320px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    margin-top: 30px;
}

.modal-content h3 {
    margin-bottom: 12px;
    font-weight: 600;
    color: #333;
}

#saveSettingsBtn {
    padding: 10px 18px;
    background-color: #2ecc71;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    margin-top: 20px;
    transition: background-color 0.2s ease;
}

#saveSettingsBtn:hover {
    background-color: #27ae60;
}
