body {
    font-family: Arial, sans-serif;
    background: #f0f0f0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    max-width: 200px;
}

.wheel-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: auto;
}

#wheelCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #000;
    z-index: 2;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/fondroue.png') no-repeat center center;
    background-size: cover;
    z-index: 1;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.rotate {
    animation: spin 5s linear infinite;
}

.logo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/UJ-Logo-FondNoir2.png') no-repeat center center;
    background-size: cover;
    z-index: 3;
    pointer-events: none;
}

#spinButton {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #E61F2B;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#spinButton:hover {
    background-color: #d10f1b;
}

#result {
    margin-top: 20px;
    font-size: 24px;
    color: #333;
    text-align: center;
}

.modal {
    display: none;
    position: fixed;
    z-index: 4;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}

.modal-header img {
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
}

.modal-body {
    background: url('../img/1.png') no-repeat center center;
    background-size: cover;
    padding: 20px;
    color: white;
    font-size: 18px;
}

.modal-footer {
    margin-top: 20px;
    font-size: 14px;
    color: #333;
}