body {
  background: radial-gradient(circle, #c44040, #3f0000);
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  overflow-x: hidden;
}

/* --- PLAYER DE MÚSICA --- */

.player-musica {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 9999;
  text-align: center;
  cursor: pointer;
}

.player-icone-bg {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}

.player-icone {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
  /* deixa o ícone branco */
}

.player-texto {
  font-size: 10px;
  color: white;
  font-weight: 600;
  margin-top: 3px;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.7);
}

.logo-download-fix {
  transform: scale(0.40);
  /* 40px proporcional */
  transform-origin: top left;
}



h1 {
  font-family: 'Great Vibes', cursive;
}

.logo {
  width: 220px;
  margin: 10px auto;
  display: block;
}

.btn:hover {
 color: #fff;
}

.btn-natal {
  background-color: #7a1d16;
  border: none;
  color: #fff;
  font-weight: bold;
  width: 100%;
}

.btn-natal:hover {
  background-color: #a52828;
}

.card-natal {
  background: #fff;
  color: #4d0202;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.img-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: auto;
}

.img-container img {
  width: 100%;
  display: block;
}

/* -----------------------------------------------------------
   TEXTOS SOBRE O CARTÃO (DESKTOP + MOBILE)
------------------------------------------------------------*/
#textoDe,
#textoPara,
#textoFinalDe,
#textoFinalPara {
  position: absolute;
  font-family: 'Great Vibes', cursive;
  color: #fff;
  font-size: 1.8rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  white-space: nowrap;
}

/* De: (primeira linha à esquerda) */
#textoDe,
#textoFinalDe {
  top: 7%;
  left: 7%;
}

/* Para: (abaixo do De:) */
#textoPara,
#textoFinalPara {
  top: 15%;
  left: 7%;
}

/* -----------------------------------------------------------
   LOGO NO TOPO DIREITO (20x20)
------------------------------------------------------------*/
.logo-topo {
  position: absolute;
  top: 7%;
  right: 7%;
  width: 60px;
  height: auto;
  z-index: 10;
  pointer-events: none;
}

.logo-topo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* -----------------------------------------------------------*/

.orbs-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.orb {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 250, 160, 0.4);
  width: var(--size, 80px);
  height: var(--size, 80px);
  animation: float var(--dur, 45s) linear infinite;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(calc(60vw * var(--dirx, 1)), calc(-50vh * var(--diry, 1)));
  }

  50% {
    transform: translate(calc(-50vw * var(--dirx, 1)), calc(40vh * var(--diry, 1)));
  }

  75% {
    transform: translate(calc(40vw * var(--dirx, 1)), calc(-30vh * var(--diry, 1)));
  }

  100% {
    transform: translate(0, 0);
  }
}

footer {
  color: #ddd;
  font-size: 0.85rem;
}

/* -----------------------------------------------------------
   ÁREA FINAL DO CARTÃO
------------------------------------------------------------*/
#finalArea {
  /* display: none; */
  text-align: center;
}

.final-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: 'Montserrat';
}

.btn-download {
  background-color: #0031a3;
  color: #fff;
  font-weight: bold;
  border: 0;
  width: 200px;
}

.btn-whats {
  background-color: #089b3e;
  color: #fff;
  font-weight: bold;
  border: 0;
  width: 200px;
}

.final-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
  position: relative;
  margin: 0 auto;
  width: fit-content;
  max-width: 800px;
}

.final-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 15px;
}

#cartaoFinal {
  display: flex;
  justify-content: center;
  align-items: center;
}

#cartaoFinal, 
#cartaoFinal img {
    width: 100% !important;
    max-width: 100% !important;
}



/* -----------------------------------------------------------
   MOBILE (RESPONSIVO)
------------------------------------------------------------*/
@media (max-width: 768px) {


 .img-container {
        width: 350px; 
        height: auto;
        margin: 0 auto;
    }

  #textoDe,
  #textoFinalDe,
  #textoPara,
  #textoFinalPara {
    font-size: 1.2rem !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  }

  /* De: */
  #textoDe,
  #textoFinalDe {
    top: 6%;
    left: 6%;
  }

  /* Para: (abaixo do De:) */
  #textoPara,
  #textoFinalPara {
    top: 13%;
    left: 6%;
  }

  .logo-topo {
    top: 7%;
  right: 7%;
  width: 40px;
  height: auto;
  }

  .final-buttons {
    flex-direction: column !important;
    align-items: center !important;
  }

  .final-layout {
    flex-direction: column;
    align-items: center;
  }

  .final-buttons {
    margin-left: 0;
    margin-top: 15px;
    align-items: center;
  }
}