* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #fff5f8;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Hero ---------- */
.hero {
  width: 100%;
  background: linear-gradient(135deg, #ff5c8a 0%, #e91e63 60%, #c2185b 100%);
  color: #fff;
  text-align: center;
  padding: 28px 16px;
  border-radius: 0 0 28px 28px;
}

.hero h1 {
  font-size: 1.7rem;
  text-shadow: 0 2px 4px rgba(0,0,0,.2);
}

.plus {
  background: #fff;
  color: #e91e63;
  border-radius: 50%;
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  line-height: 1.4em;
  font-weight: bold;
}

.subtitle {
  margin-top: 6px;
  font-size: 1.05rem;
  opacity: .95;
}

.prize-badges {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255,255,255,.25);
  border: 2px solid #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: bold;
  font-size: .9rem;
}

.badge-final {
  background: #fff;
  color: #e91e63;
}

/* ---------- Juego ---------- */
.game {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 48px;
  width: 100%;
  max-width: 420px;
}

.tries {
  font-size: 1rem;
  color: #c2185b;
  margin-bottom: 18px;
}

.wheel-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  max-width: 90vw;
  max-height: 90vw;
}

.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 8px solid #e91e63;
  box-shadow: 0 8px 24px rgba(233,30,99,.3), inset 0 0 0 4px #fff;
  transition: transform 4s cubic-bezier(.15,.9,.25,1);
  position: relative;
}

.seg-label {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 1.6rem;
  font-weight: bold;
  color: #c2185b;
  text-align: center;
  transform-origin: 0 0;
  white-space: nowrap;
}

.seg-label small {
  display: block;
  font-size: .55rem;
}

.pointer {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 24px solid #c2185b;
  z-index: 2;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.3));
}

.spin-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 5px solid #fff;
  background: linear-gradient(135deg, #ff5c8a, #e91e63);
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(233,30,99,.5);
  z-index: 3;
}

.spin-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  box-shadow: none;
}

.message {
  margin-top: 22px;
  font-size: 1.1rem;
  color: #c2185b;
  font-weight: bold;
  text-align: center;
  min-height: 1.5em;
}

/* ---------- Modal ---------- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  justify-content: center;
  align-items: center;
  z-index: 10;
  padding: 16px;
}

.modal.open {
  display: flex;
}

.modal-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 22px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  border-top: 6px solid #e91e63;
  animation: pop .35s ease;
}

@keyframes pop {
  from { transform: scale(.8); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.modal-card h2 {
  color: #e91e63;
  font-size: 1.4rem;
}

.win-amount {
  margin: 12px 0;
  font-size: 1.2rem;
  color: #333;
}

.win-amount strong {
  color: #e91e63;
  font-size: 1.6rem;
}

.modal-text {
  font-size: .95rem;
  margin-bottom: 14px;
  color: #555;
}

.modal-card input {
  width: 100%;
  padding: 12px;
  font-size: 1.1rem;
  border: 2px solid #e91e63;
  border-radius: 10px;
  text-align: center;
  outline: none;
  margin-bottom: 14px;
}

.claim-btn {
  width: 100%;
  padding: 14px;
  background: #e91e63;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: bold;
  cursor: pointer;
}

.claim-btn:hover {
  background: #c2185b;
}

.success {
  margin-top: 12px;
  color: #2e7d32;
  font-weight: bold;
  min-height: 1.2em;
}

/* ---------- Página de teléfono ---------- */
.phone-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 22px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  border-top: 6px solid #e91e63;
  box-shadow: 0 8px 24px rgba(233,30,99,.15);
}

.phone-card h2 {
  color: #e91e63;
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.phone-card input {
  width: 100%;
  padding: 12px;
  font-size: 1.1rem;
  border: 2px solid #e91e63;
  border-radius: 10px;
  text-align: center;
  outline: none;
  margin-bottom: 14px;
}
