body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.75) 100%), url('../imgs/model_background.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #000;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Container de Layout Mobile */
.presell-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 50px 20px 40px 20px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.modelName {
  color: white;
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.6rem, 9vw, 3.8rem);
  text-align: center;
  margin: 0;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  letter-spacing: 2px;
  line-height: 1.2;
}

/* Container Inferior: Timer + Slider */
.bottom-container {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 10;
  margin-top: auto;
}

/* Estilos do Temporizador */
.timer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.timer-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.timer-clock {
  color: #ff4b72;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(255, 75, 114, 0.5);
  min-width: 50px;
  display: inline-block;
  text-align: center;
}

.timer-clock.expired {
  animation: blink 1s infinite alternate;
}

@keyframes blink {
  0% {
    opacity: 1;
    text-shadow: 0 0 15px rgba(255, 75, 114, 0.8);
  }
  100% {
    opacity: 0.3;
    text-shadow: 0 0 2px rgba(255, 75, 114, 0.1);
  }
}

/* Botão de Desbloqueio (Click) */
.button {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 60px;
  background: linear-gradient(135deg, #ff4b72 0%, #ff758c 100%);
  border: none;
  border-radius: 40px;
  cursor: pointer;
  outline: none;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(255, 75, 114, 0.3);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  user-select: none;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(255, 75, 114, 0.5);
  filter: brightness(1.05);
}

.button:active {
  transform: translateY(1px);
  box-shadow: 0 5px 15px rgba(255, 75, 114, 0.3);
}

/* Conteúdo interno do botão */
.unlock-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 2;
  width: 100%;
  height: 100%;
  color: white;
}

/* Texto do botão com Shimmer */
.unlock-text {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(90deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0.6) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 2.5s infinite linear;
}

@keyframes shimmer {
  0% {
    background-position: -150% 0;
  }
  100% {
    background-position: 150% 0;
  }
}

/* Ícone */
.unlock-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.unlock-icon svg {
  width: 20px;
  height: 20px;
  stroke: white;
}

/* Pulse Glow Effect */
.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 40px;
  box-shadow: 0 0 0 0 rgba(255, 75, 114, 0.7);
  animation: pulse-glow 2s infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 75, 114, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 75, 114, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 75, 114, 0);
  }
}

/* Fundo verde de Sucesso */
.unlock-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2ed573 0%, #7bed9f 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  border-radius: 40px;
}

/* Estado de Sucesso */
.button.success {
  box-shadow: 0 10px 30px rgba(46, 213, 115, 0.4);
  pointer-events: none;
}

.button.success .unlock-bg {
  opacity: 1;
}

.button.success .unlock-text {
  color: white;
  -webkit-text-fill-color: white;
  animation: none;
}

.button.success .unlock-icon {
  transform: rotate(360deg) scale(1.1);
}

.button.success::before {
  animation: none;
}

/* Animação para o Spinner no Estado de Carregamento (Loading) */
.button.loading {
  pointer-events: none;
}

.button.loading .unlock-icon svg {
  animation: spin 1s infinite linear;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Loja Oculta para Compliance */
.shop-hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  z-index: -9999 !important;
}

/* Media Queries para Telas Pequenas / Viewports Curtos */
@media (max-height: 600px) {
  .presell-container {
    padding: 25px 16px 20px 16px;
  }
  .modelName {
    font-size: clamp(2rem, 7vh, 2.8rem);
  }
  .bottom-container {
    gap: 8px;
  }
  .button {
    height: 52px;
  }
  .unlock-text {
    font-size: 0.78rem;
    letter-spacing: 2px;
  }
}
