/* style.css — Roulette Camgirl Sexy (Responsive et Fix Débordement) */

/* Évite les débordements globaux */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* Applique box-sizing partout */
*, *::before, *::after {
  box-sizing: inherit;
}

.wheel-container {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(145deg, #1a001a, #2a002a);
  border-radius: 2rem;
  max-width: 600px;
  width: 90%;
  margin: 3rem auto;
  color: #ffe4f1;
  box-shadow: 0 0 60px rgba(255, 20, 147, 0.5);
  border: 2px solid #ff1493;
  overflow: hidden; /* Empêche les débordements visuels */
}

.wheel-container h2 {
  color: #ff69b4;
  text-shadow: 0 0 10px #ff69b4, 0 0 20px #ff1493;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.wheel-sub {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #ffc0cb;
  font-size: 1rem;
}

#wheel {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1; /* Assure un cercle parfait */
  border: 8px solid #ff1493;
  border-radius: 50%;
  box-shadow: 0 0 30px #ff69b4;
  margin: 0 auto 1rem;
  background: #1a001a;
}

#spin {
  background: linear-gradient(to right, #ff69b4, #ff1493);
  border: none;
  color: white;
  padding: 0.9rem 2rem;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50px;
  box-shadow: 0 0 15px #ff69b4, 0 0 30px #ff1493;
  cursor: pointer;
  margin-top: 1rem;
  transition: all 0.3s ease;
  width: 80%;
  max-width: 250px;
}

#spin:hover {
  transform: scale(1.08);
  background: #ff69b4;
}

.cta-inscription {
  display: inline-block;
  margin-top: 2rem;
  background: #fff;
  color: #ff1493;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 0 20px #ff69b4;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.cta-inscription:hover {
  background: #ff1493;
  color: white;
}

#final-result {
  margin-top: 2rem;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.07);
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid #ff69b4;
  color: #ffe4f1;
  box-shadow: inset 0 0 20px rgba(255, 20, 147, 0.3);
}

#copyBtn {
  margin-top: 1rem;
  background: #ff69b4;
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  box-shadow: 0 0 10px #ff1493;
}

#copyBtn:hover {
  background: #ff1493;
}

.hidden {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .wheel-container {
    padding: 1.5rem;
    margin: 2rem auto;
  }

  .wheel-container h2 {
    font-size: 1.8rem;
  }

  .wheel-sub {
    font-size: 0.95rem;
  }

  #spin {
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
  }

  .cta-inscription {
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
  }

  #final-result {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .wheel-container {
    padding: 1rem;
  }

  .wheel-container h2 {
    font-size: 1.6rem;
  }

  #wheel {
    max-width: 100%;
  }

  #spin,
  .cta-inscription {
    width: 100%;
    max-width: none;
  }

  #final-result {
    padding: 0.8rem;
    font-size: 1rem;
  }
}
