* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial Black', 'Impact', 'Segoe UI Black', sans-serif;
  background: #ffffff;
  color: #333;
  text-align: center;
}

.top-bar {
  background: #612066;
  height: 71px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-header img {
  height: 44px;
}

.ruleta-container {
  margin-top: 40px;
}

/* ===== TÍTULO LINEAL BLANCO ===== */
.titulo-wrapper {
  text-align: center;
  margin: 20px 0 30px 0;
}

.titulo-lineal {
  font-size: 42px;
  font-weight: 900;
  color: #FFFFFF;
  text-align: center;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 6px;
  text-shadow: 2px 2px 0px #612066;
  font-family: 'Arial Black', sans-serif;
}

.subtitulo-publicidad {
  font-size: 22px;
  font-weight: bold;
  color: #FFFFFF;
  text-align: center;
  margin: 15px 0 0 0;
  letter-spacing: 2px;
  text-shadow: 1px 1px 0px #612066;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(97, 32, 102, 0.4);
  padding: 8px 20px;
  border-radius: 50px;
  display: inline-flex;
  margin-left: auto;
  margin-right: auto;
  backdrop-filter: blur(4px);
}

.icono-regalo {
  font-size: 28px;
  display: inline-block;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
  animation: rebote 1s ease infinite;
}

@keyframes rebote {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.ruleta-wrapper {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto 30px auto;
}

.pointer {
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 30px solid #FFFFFF;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.3));
}

.ruleta {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 8px solid #FFFFFF;
  position: relative;
  overflow: hidden;
  transition: transform 4s cubic-bezier(0.17, 0.67, 0.3, 1);
  background: conic-gradient(
    #612066 0deg 36deg,
    #7a2c80 36deg 72deg,
    #8a2fa0 72deg 108deg,
    #9c44b5 108deg 144deg,
    #612066 144deg 180deg,
    #7a2c80 180deg 216deg,
    #8a2fa0 216deg 252deg,
    #9c44b5 252deg 288deg,
    #612066 288deg 324deg,
    #7a2c80 324deg 360deg
  );
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.segment-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: 0% 0%;
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  white-space: nowrap;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.centro {
  position: absolute;
  width: 80px;
  height: 85px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.centro img {
  height: 100%;
  object-fit: cover;
}

.luces {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 6px dotted #FFFFFF;
  animation: girar 6s linear infinite;
  opacity: 0.4;
}

@keyframes girar {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin-btn {
  padding: 15px 35px;
  background: linear-gradient(135deg, #612066 0%, #8a2fa0 50%, #9c44b5 100%);
  border: none;
  border-radius: 50px;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 6px 0 #3a1240;
  transition: all 0.2s ease;
  font-family: 'Arial Black', sans-serif;
  letter-spacing: 2px;
  text-shadow: 1px 1px 0px #3a1240;
}

.spin-btn:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #3a1240;
}

/* ===== MODAL BONITO PARA 50% DESCUENTO ===== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 1000;
}

.modal-box-premio {
  background: linear-gradient(145deg, #ffffff, #fff8f0);
  padding: 30px 25px;
  border-radius: 40px;
  text-align: center;
  width: 100%;
  max-width: 380px;
  box-sizing: border-box;
  animation: modalPop 0.4s ease;
  border: 2px solid #FFD700;
  box-shadow: 0 25px 50px rgba(97, 32, 102, 0.4);
  position: relative;
  overflow: hidden;
}

.modal-box-premio::before {
  content: "✨";
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 40px;
  opacity: 0.2;
}

.modal-box-premio::after {
  content: "✨";
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 40px;
  opacity: 0.2;
}

.modal-icon-premio {
  font-size: 60px;
  margin-bottom: 10px;
  animation: zoom 0.5s ease;
}

.modal-title-premio {
  font-size: 28px;
  color: #612066;
  margin-bottom: 15px;
  font-family: 'Arial Black', sans-serif;
  text-shadow: 1px 1px 0px #FFD700;
}

.premio-destacado {
  margin: 15px 0;
}

.descuento-grande {
  font-size: 56px;
  font-weight: 900;
  background: linear-gradient(135deg, #FFD700, #FF8C00, #FF6B6B);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 10px rgba(255, 215, 0, 0.3);
  display: inline-block;
  letter-spacing: 4px;
}

.modal-text-premio {
  font-size: 18px;
  color: #333;
  margin: 15px 0;
  font-family: 'Segoe UI', sans-serif;
}

.modal-text-premio strong {
  color: #FF8C00;
  font-size: 20px;
}

.tiendas-logos {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 20px 0;
  padding: 15px;
  background: linear-gradient(135deg, #f5f0ff, #fff5e6);
  border-radius: 60px;
}

.tienda {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  color: #612066;
  font-size: 14px;
}

.tienda-icono {
  font-size: 40px;
  background: #612066;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #FFD700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.modal-sub-premio {
  font-size: 13px;
  color: #777;
  margin: 15px 0 20px;
  font-family: 'Segoe UI', sans-serif;
}

.modal-btn-premio {
  padding: 16px 25px;
  background: linear-gradient(135deg, #612066, #8a2fa0);
  border: none;
  border-radius: 50px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-family: 'Arial Black', sans-serif;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(97, 32, 102, 0.4);
}

.modal-btn-premio:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(97, 32, 102, 0.5);
  background: linear-gradient(135deg, #8a2fa0, #612066);
}

.modal-btn-premio:active {
  transform: translateY(2px);
}

@keyframes modalPop {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes zoom {
  0% { transform: scale(0); opacity: 0; }
  80% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

/* ===== PREVENIR DESBORDAMIENTO ===== */
html, body {
  overflow-x: hidden;
}

body {
  background: radial-gradient(circle at top, #ffccd9 0%, #f8b3c7 30%, #e48bb0 60%, #612066 100%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}


@keyframes corazones {
  from { transform: translateY(0); }
  to { transform: translateY(120vh); }
}

.frase-sanvalentin {
  margin-top: 40px;
  font-size: 16px;
  color: #ffffff;
  opacity: 0.9;
  letter-spacing: 1px;
  font-family: Arial, sans-serif;
  text-shadow: 1px 1px 2px #612066;
}

.decoracion-love {
  margin-top: 50px;
  font-size: 22px;
  color: #FFFFFF;
  opacity: 0.6;
}
/* ===== LOGO EN EL MODAL ===== */
.logo-modal {
  width: 80px;
  height: auto;
  max-height: 70px;
  object-fit: contain;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
  animation: zoom 0.5s ease;
}

.modal-icon-premio {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}