.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 987;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    width: 80%;
    max-width: 500px;
    z-index: 998;
   
}

.modal-content {
    text-align: left;
}

.modal h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: bold;
    text-align: left;
}

.modal img {
    width: 70%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
}

.modal-game{
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    width: fit-content;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    font-family:  Helvetica, sans-serif;
    
}

.btn-inscription{
    color: #ffffff;
    background-color: #000000;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 10px;
    border: none ;
    cursor: pointer;
}

.btn-inscription:hover {
     background: radial-gradient(
      circle at 0% 0%,
      #d47ce8 0%,
      #a44bd5 30%,
      #6a24b8 55%,
      #2b0e58 90%
    ),
    linear-gradient(
      90deg,
      #8a2be2 0%,
      #3b1465 100%
    );
}
.btn-inscription:active {
    transform: scale(0.95);
}