* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: linear-gradient(180deg, #1a001f, #000000, #000000);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.container {
  width: 100%;
  max-width: 420px;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* IMAGEM BASE */
.image-area {
  position: relative;
  width: 100%;
  height: 85vh;
  display: flex;
  margin-top: -10%;
  justify-content: center;
  align-items: flex-end;
}

.main-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* DEGRADÊ */
.image-area::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, #000000, transparent);
}

.content-overlay {
  position: relative;
  margin-top: -20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.loader-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* LOADER */
.loader {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 6px solid rgba(255,255,255,0.2);
  border-top: 6px solid #3bff14;
  border-right: 6px solid #3bff14;
  border-bottom: 6px solid #2bff00;
  border-left: 6px solid #ffffff;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* TEXTO */
.message-box {
  text-align: center;
}

#status-title {
  font-size: 1.4rem;
  margin-bottom: 5px;
}

#status-text {
  font-size: 1rem;
  color: #ffd8f5;
}

/* BOTÃO */
.pulse-button {
  margin-top: 10px;
  background: linear-gradient(90deg, #33ff00, #33ff00);
  color: #000000;
  border: none;
  border-radius: 10px;
  padding: 14px 80px;
  font-weight: bold;
  cursor: pointer;
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* CONTAGEM */
.countdown-box {
  margin-top: 10px;
  text-align: center;
}

#countdownNumber {
  font-size: 2rem;
  font-weight: bold;
}

.hidden {
  display: none;
}