.modulelottery {
  position: relative;
  width: 1020px;
  height: 530px;
  background-image: url('roue-slclass2.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 40px;
  color: white;
  border-radius: 50px;
  overflow: hidden;
}

/* La roue est maintenant relative au module */
.wheel-container {
  position: absolute;
  top: -70px;
  left: -188px;
  overflow: hidden;
  pointer-events: none;
}

.robot-container {
  position: absolute;
  top: 430px;
  left: 905px;
  overflow: hidden;
  pointer-events: none;
}

.wheel-overlay {
  width: 100%;
  height: 100%;
  transform-origin: 337px 341.5px;
  transition: transform 4s cubic-bezier(.17, .67, .83, .67);
}

.contentlottery {
  margin-left: auto;
  width: 45%;
  text-align: left;
}

.h2lottery {
  margin: 0 0 15px 0;
  font-size: 1.5rem !important;
  font-weight: 600;
  color: #fff !important;
}

.plottery {
  margin: 0 0 15px 0;
  font-size: 1.2rem;
}

.btnlottery {
  background: #fbba3a;
  color: #fff;
  border: none;
  padding: 18px 45px;
  border-radius: 12px;
  font-size: 1.5rem;
  cursor: pointer;
  font-weight: bold;
}

.tooltiplottery {
  margin-top: 15px;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 15px;
  border-radius: 20px;
  display: none;
  align-items: center;
  gap: 12px;
}

.tooltiplottery img {
  width: 85px;
  height: 85px;
  border-radius: 15px;
  object-fit: cover;
}

.tooltiplottery {
  flex-direction: column;
  align-items: flex-start;
}

.tooltiplottery .email-container {
  width: 100%;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
}

.tooltiplottery .email-container input,
.tooltiplottery .email-container button {
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  margin-bottom: 6px;
}

.tooltiplottery .email-container button {
  background: #fbba3a;
  color: white;
  cursor: pointer;
}

/* ------- RESPONSIVE MOBILE -------- */
@media (max-width: 768px) {

  .modulelottery {
    width: 100% !important;
    height: auto !important;
    flex-direction: column;
    padding: 20px;
    border-radius: 25px;
    background-size: cover;
    align-items: center !important;
  }

  .wheel-container {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 260px !important;
    height: auto !important;
    margin: 0 auto !important;
    display: flex;
    justify-content: center;
  }

  .wheel-overlay {
    width: 260px !important;
    height: 260px !important;
    transform-origin: 50% 50% !important;
  }

  .contentlottery {
    width: 100% !important;
    margin-left: 0 !important;
    text-align: center !important;
    margin-top: 20px;
  }

  .contentlottery img {
    margin: 0 auto !important;
  }

  .h2lottery {
    font-size: 1.3rem !important;
  }

  .plottery {
    font-size: 1rem !important;
    margin-top: 15px !important;
  }

  .btnlottery {
    width: 100% !important;
    padding: 14px !important;
    font-size: 1.2rem !important;
  }

  .tooltiplottery {
    width: 100% !important;
    text-align: center !important;
    align-items: center !important;
  }

  .tooltiplottery .email-container {
    align-items: center !important;
  }

  .tooltiplottery .email-container input,
  .tooltiplottery .email-container button {
    width: 100% !important;
  }
}
