
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif, Courier, monospace
}

body {
  background-image: linear-gradient(180deg,rgb(255, 0, 0),rgb(80, 0, 0),rgb(2, 0, 0));
  text-align: center;
  padding-top: 20px;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  padding-bottom:20%;
  overscroll-behavior: none;
  overflow-x: hidden;
}

h1 {
  padding-bottom: 20px;
  color: rgba(255, 255, 255, 1);
  margin: 0 10%;
  font-size: 1.5rem;
}
.options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 5%;
}

/* CARTA */
.option {
  position: relative;
  height: 200px;
  border-radius: 14px;
  cursor: pointer;

  background:
    radial-gradient(circle at top, rgba(255,0,0,0.35), transparent 60%),
    linear-gradient(160deg, #120000, #3a0000 40%, #090000);

  border: 2px solid rgba(255, 0, 0, 0.4);

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 2px;

  box-shadow:
    inset 0 0 25px rgba(255,0,0,0.25),
    0 10px 25px rgba(0,0,0,0.8);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  overflow: hidden;
}

/* EFEITO DE CARTA FLUTUANDO */
.option:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow:
    inset 0 0 35px rgba(255,0,0,0.4),
    0 18px 40px rgba(255,0,0,0.4);
}

/* BRILHO MISTERIOSO PASSANDO */
.option::before {
  content: "";
  position: absolute;
  width: 150%;
  height: 150%;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255,255,255,0.15),
    transparent 70%
  );
  top: -100%;
  left: -100%;
  transform: rotate(25deg);
  transition: all 0.6s ease;
}

.option:hover::before {
  top: 100%;
  left: 100%;
}

/* SÍMBOLO ARCANO (DESENHO DA CARTA) */
.option::after {
  content: "✦";
  position: absolute;
  bottom: 14px;
  right: 16px;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.619);
}

/* NÚMERO CENTRAL COM GLOW */
.option span,
.option {
  text-shadow:
    0 0 6px rgba(255,0,0,0.8),
    0 0 12px rgba(255,0,0,0.5);
}

.option:active {
  transform: scale(.96);
}

/* carta que vem para frente */
.card-expanded {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: fixed;
  inset: 50%;
  transform: translate(-50%, -50%) scale(.6);
  width: 60%;
  height: 40%;
  background: #111;
  color: #fff;
  border-radius: 18px;
  padding: 30px 10px;
  opacity: 0;
  pointer-events: none;
  transition: all .45s cubic-bezier(.4,0,.2,1);
  z-index: 100;
}
.card-expanded p{
  padding-top: 20px;
}

.card-expanded.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

/* Escurece fundo */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  z-index: 50;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

footer{
  margin-top: 5%;
  color: #fff;
  justify-content: center;
  font-weight:800;
}

.btn-ver-resposta {
  margin-top: 15px;
  padding: 12px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  background: #600000;
  color: #fff;
}

.resposta {
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity .4s ease, max-height .4s ease;
  padding-bottom: 40px;
}

.resposta.show {
  opacity: 1;
  max-height: 200px;
}