body {
    font-family: 'Inter', sans-serif; /* Using Inter font as requested */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

h1 {
    color: #333;
    margin-bottom: 20px;
}


svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Default light blue background for all key slices */
.key-slice {
    fill: #ADD8E6; /* Light Blue */
    stroke: #333;
    stroke-width: 1;
    cursor: pointer;
    transition: fill 0.3s ease, transform 0.1s ease;
    transform-origin: center center;
}

/* Green background for highlighted slices */
.key-slice.highlighted {
    fill: #90EE90; /* Light Green */
    transform: scale(1.02); /* Slightly enlarge when highlighted */
    stroke-width: 2;
}

.key-slice:hover {
    transform: scale(1.01);
    filter: brightness(1.05);
}

.key-text {
    font-size: 14px;
    font-weight: bold;
    text-anchor: middle;
    dominant-baseline: middle;
    fill: #333;
    pointer-events: none; /* Allows clicks to pass through to the slice */
    user-select: none; /* Prevent text selection */
}

#reset-button {
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(145deg, #007bff, #0056b3); /* Blue gradient */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
    margin-bottom: 20px;
}
#reset-button:hover {
    background: linear-gradient(145deg, #0056b3, #003d80);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}
#reset-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#back-button {
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(145deg, #007bff, #0056b3); /* Blue gradient */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
    margin-bottom: 20px;
}
#back-button:hover {
    background: linear-gradient(145deg, #0056b3, #003d80);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}
#back-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}


#info-panel {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 12px;
    width: 40%;
    max-width: 650px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    text-align: center;
}

#info-panel h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.4em;
    margin-bottom: 15px;
	text-align: left;
}

#info-panel p {
    margin-bottom: 8px;
    line-height: 1.5;
    color: #555;
	text-align: left;
}

#info-panel strong {
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    body {
        padding: 15px;
    }
    h1 {
        font-size: 1.8em;
    }
    #circle-container {
        width: 95vmin;
        height: 95vmin;
    }
    .key-text {
        font-size: 12px;
    }
    #reset-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    #info-panel {
        padding: 10px;
        padding: 10px;
        width: 95%;
    }
    #info-panel h3 {
        font-size: 1.2em;
    }
}