body {
  font-family: Arial, sans-serif;
  background: linear-gradient(291deg, #000000, #510000);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}

.container {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px 30px;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

/* Inputs e placeholders centralizados */
input, button {
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
}

input {
  background: #fff;
  color: #000;
  text-align: center;          /* centraliza texto digitado */
  padding: 12px 0;             /* centraliza verticalmente */
  font-size: 16px;
  border-radius: 8px;
  border: 2px solid #ccc;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input::placeholder {
  text-align: center;          /* centraliza placeholder */
  color: #999;                 /* cor clara */
}

input:focus {
  border-color: #ff69b4;       /* destaque ao focar */
  box-shadow: 0 0 5px rgba(255,105,180,0.5);
}

button {
  background: black;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #370013;
}

.hidden { display: none; }

/* Confete */
#cartasConfete {
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  pointer-events:none;
  overflow:hidden;
  z-index:1000;
}

.confete {
  position: absolute;
  width: 40px;
  opacity:0.8;
  animation: flutuarConfete linear infinite;
}

@keyframes flutuarConfete { 
  0%{transform: translateY(-50px) rotate(0deg);} 
  100%{transform: translateY(110vh) rotate(360deg);} 
}

/* Resultado */
.resultado { margin-top: 25px; text-align: center; }
#destino-texto {
  font-size: 22px;
  animation: brilho 1.5s infinite alternate;
}

@keyframes brilho {
  from { text-shadow: 0 0 5px #fff; }
  to { text-shadow: 0 0 20px #ff69b4; }
}

/* Arcano individual */
.arcano {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 15px;
  perspective: 1000px;
  display: flex;
  margin: 10px;
}

.arcano img {
  margin-top: 5px;
  width: 120px;
  border-radius: 8px;
}

.flip-card {
  width: 120px;
  height: 180px;
  cursor: pointer;
  position: relative;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
}

.flip-front {
  transform: rotateY(180deg);
}

.flip-back img, .flip-front img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

h1 {
 font-size: 1.8em;
}
