@import url('https://fonts.googleapis.com/css2?family=Dongle:wght@300;400;700&display=swap');

body {
    font-family: 'Dongle', sans-serif;
    text-align: center;
    background-color: #f8f9fa;
    color: #343a40;
}

header {
    padding: 2rem 0;
}

header h1 {
    font-size: 4rem;
    margin: 0;
}

header p {
    font-size: 1.5rem;
    color: #6c757d;
}

.roulette-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
}

.roulette-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin-bottom: 1rem;
}

.roulette-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 30px solid #e64980;
    z-index: 10;
}

#roulette-canvas {
    display: block;
    transition: transform 4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

#spin-button {
    font-family: 'Dongle', sans-serif;
    font-size: 2rem;
    padding: 0.5rem 2rem;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#spin-button:hover {
    background-color: #ff8787;
}

#result {
    margin-top: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: #e64980;
    height: 50px;
}

.category-container {
    padding: 2rem;
    background-color: #e9ecef;
}

.category-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.category-buttons button {
    font-family: 'Dongle', sans-serif;
    font-size: 1.8rem;
    margin: 0.5rem;
    padding: 0.5rem 1.5rem;
    border: 2px solid #adb5bd;
    border-radius: 50px;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.category-buttons button:hover,
.category-buttons button.active {
    background-color: #adb5bd;
    color: white;
}

#category-result {
    margin-top: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
}

footer {
    margin-top: 3rem;
    padding: 1.5rem;
    font-size: 1.2rem;
    color: #6c757d;
}