@charset "UTF-8";
/*main de  ingreso a la pagina*/
@import url("https://fonts.googleapis.com/css2?family=Italianno&family=Zalando+Sans+Expanded:ital,wght@0,200..900;1,200..900&display=swap");
/* ----------------------------------------------
 * Generated by Animista on 2026-1-7 20:25:19
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */
/**
 * ----------------------------------------
 * animation text-pop-up-top
 * ----------------------------------------
 */
@-webkit-keyframes text-pop-up-top {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    text-shadow: none;
  }
  100% {
    -webkit-transform: translateY(-50px);
    transform: translateY(-50px);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    text-shadow: 0 1px 0 #000000, 0 2px 0 #000000, 0 3px 0 #000000, 0 4px 0 #000000, 0 5px 0 #000000, 0 6px 0 #000000, 0 7px 0 #000000, 0 8px 0 #000000, 0 9px 0 #000000, 0 50px 30px rgba(0, 0, 0, 0.3);
  }
}
@keyframes text-pop-up-top {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    text-shadow: none;
  }
  100% {
    -webkit-transform: translateY(-50px);
    transform: translateY(-50px);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
  }
}
/*boton*/
/* ----------------------------------------------
 * Generated by Animista on 2026-1-7 20:38:39
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */
/**
 * ----------------------------------------
 * animation heartbeat
 * ----------------------------------------
 */
@-webkit-keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
    transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
    transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  45% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
}
@keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
    transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
    transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  45% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
}
/*main de  ingreso a la pagina*/
:root {
  --card-w: 150px; /* ajustá a gusto */
  --card-h: 250px;
  --step: 40px; /* esto define cuánto se pisan (más chico = más pisadas) */
}
@media screen and (max-width: 768px) {
  :root {
    --step:20px;
  }
}

.selecciontarot {
  background-image: url("../assets/img/imgfondo2.png");
  background-size: cover; /* Cubre todo el elemento */
  background-position: center; /* Centra la imagen */
  background-repeat: no-repeat; /* Evita que la imagen se repita */
  background-attachment: fixed;
  height: 100%;
}

.hero__title {
  margin-top: 8rem;
  text-align: center;
  font-size: 4rem;
  font-family: "Tagesschrift", system-ui;
  font-weight: 400;
  font-style: normal;
  -webkit-animation: text-pop-up-top 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: text-pop-up-top 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  background: linear-gradient(90deg, #ffffff 0%, #ffffd7 16.667%, #ffff9c 33.333%, #ffff64 50%, #ffd233 66.667%, #ff9f0c 83.333%, #ff7300 100%);
  /* “recorta” el fondo para que solo se vea en el texto */
  -webkit-background-clip: text;
  background-clip: text;
  /* hace el texto transparente para que se vea el fondo */
  -webkit-text-fill-color: transparent;
  color: transparent; /* fallback */
}
@media screen and (max-width: 1280px) {
  .hero__title {
    margin-top: 5rem;
  }
}

/* contenedor */
.tarot-fan {
  position: relative;
  width: min(1100px, 95vw);
  height: var(--card-h);
  margin: 0 auto;
}
/* cada carta (botón) */
.tarot-card {
  position: absolute;
  top: 0;
  left: 50%;
  margin-top: 5rem;
  width: var(--card-w);
  height: var(--card-h);
  /* tu imagen de dorso */
  background-image: url("../assets/img/cartadeTarot2.png"); /* poné la ruta real */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  /* clave: esto las desplaza y hace que se pisen */
  transform: translateX(calc(-50% + var(--i) * var(--step))) rotate(calc(var(--i) * 1.2deg));
  /* para que la de la derecha quede arriba como en tu foto */
  z-index: calc(100 + var(--i));
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
@media screen and (max-width: 1280px) {
  .tarot-card {
    margin-top: 3rem;
  }
}

/* efecto hover simple (levanta y corre un poquito) */
.tarot-card:hover {
  transform: translateX(calc(-50% + var(--i) * var(--step) + 12px)) translateY(-10px) rotate(calc(var(--i) * 1.2deg));
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.6);
  z-index: 999;
}

.result__placeholder {
  margin-top: 15rem;
  font-family: "Tagesschrift", system-ui;
  font-weight: 400;
  font-style: normal;
  -webkit-animation: text-pop-up-top 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: text-pop-up-top 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  background: linear-gradient(90deg, #ffffff 0%, #ffffd7 16.667%, #ffff9c 33.333%, #ffff64 50%, #ffd233 66.667%, #ff9f0c 83.333%, #ff7300 100%);
  /* “recorta” el fondo para que solo se vea en el texto */
  -webkit-background-clip: text;
  background-clip: text;
  /* hace el texto transparente para que se vea el fondo */
  -webkit-text-fill-color: transparent;
  color: transparent; /* fallback */
}
@media screen and (max-width: 1280px) {
  .result__placeholder {
    margin-top: 5rem;
  }
}

/* oculto hasta que haya selección */
.result {
  display: none !important;
}

/* overlay centrado */
.result__card {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: transparent;
}

/* ✅ NO mostrar el texto de abajo */
.result__placeholder {
  display: none !important;
}

.result__title {
  margin-top: 13rem;
  font-family: "Tagesschrift", system-ui;
  font-weight: 400;
  font-style: normal;
  font-size: 1.5rem;
  color: #ffdb0c;
} /* opcional */
/* contenedor */
.result__picked {
  display: grid;
  justify-items: center;
  gap: 5px;
}

/* carta elegida */
#pickedImg {
  width: min(260px, 52vw);
  height: auto;
  display: block;
  border-radius: 14px;
  border: 2px solid rgba(255, 214, 140, 0.45);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
  opacity: 0; /* arranca invisible */
  transform: scale(0.85); /* arranca más chica */
}

/* ✅ cuando se activa: animación pop + glow */
.result.is-active #pickedImg {
  animation: tarotPop 520ms cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

/* pop (zoom + glow) */
@keyframes tarotPop {
  0% {
    opacity: 0;
    transform: scale(0.78);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    filter: drop-shadow(0 0 0 rgba(255, 208, 120, 0));
  }
  60% {
    opacity: 1;
    transform: scale(1.06);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
    filter: drop-shadow(0 0 18px rgba(255, 208, 120, 0.35));
  }
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
    filter: drop-shadow(0 0 12px rgba(255, 208, 120, 0.25));
  }
}
/* si estás ocultando nombre/meta */
#pickedName, #pickedMeta {
  font-family: "Tagesschrift", system-ui;
  font-weight: 400;
  font-style: normal;
  padding: 0.5rem;
  color: rgb(236, 221, 11);
  background-color: rgba(255, 255, 255, 0.2196078431);
}

/* ===== ALERTA PRINCIPAL ===== */
.swal2-popup.tarot-swal {
  border-radius: 22px;
  border: 1px solid rgba(255, 225, 160, 0.2);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
}

.tarot-main {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 6px 6px 2px;
}

.tarot-main__img {
  width: min(320px, 70vw);
  border-radius: 16px;
  border: 2px solid rgba(255, 214, 140, 0.45);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
}

/* h3 clickeable */
.tarot-main__name {
  margin: 0;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 900;
  letter-spacing: 0.5px;
  text-shadow: 0 12px 35px rgba(0, 0, 0, 0.85);
}

/* botón dentro del h3 */
.tarot-name-btn {
  background: transparent;
  border: 0;
  padding: 0;
  color: rgba(255, 220, 140, 0.98);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.tarot-name-btn:hover {
  filter: drop-shadow(0 0 12px rgba(255, 210, 120, 0.35));
}

.tarot-main__hint {
  margin: 0;
  opacity: 0.8;
  font-weight: 600;
  font-size: 13px;
}

/* botón cerrar estilo "mágico" */
.tarot-swal__btn,
.swal2-confirm.tarot-swal__btn {
  border-radius: 999px !important;
  padding: 10px 18px !important;
  font-weight: 900 !important;
  letter-spacing: 0.3px !important;
  background: linear-gradient(90deg, #ffffff 0%, #ffffd7 16.667%, #ffff9c 33.333%, #ffff64 50%, #ffd233 66.667%, #ff9f0c 83.333%, #ff7300 100%) !important;
  color: #1a140a !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45) !important;
  font-family: "Tagesschrift", system-ui;
  font-weight: 400;
  font-style: normal;
}

/* ===== DESTELLOS EN BACKDROP ===== */
/* .swal2-container.swal2-backdrop-show{
  backdrop-filter: blur(1rem);
}
 */
.swal2-container.swal2-backdrop-show::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.9;
  background: radial-gradient(circle at 15% 20%, rgba(255, 224, 140, 0.4) 0 2px, transparent 3px), radial-gradient(circle at 35% 70%, rgba(180, 140, 255, 0.35) 0 2px, transparent 3px), radial-gradient(circle at 70% 35%, rgba(120, 220, 255, 0.3) 0 2px, transparent 3px), radial-gradient(circle at 85% 65%, rgba(255, 180, 90, 0.25) 0 2px, transparent 3px), radial-gradient(circle at 55% 15%, rgba(255, 255, 255, 0.22) 0 2px, transparent 3px);
  animation: sparklesMove 2.8s ease-in-out infinite;
}

.swal2-container.swal2-backdrop-show::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 45%, rgba(160, 120, 255, 0.22), transparent 60%), radial-gradient(circle at 50% 65%, rgba(255, 214, 140, 0.18), transparent 55%);
  animation: auraPulse 2.2s ease-in-out infinite;
}

@keyframes sparklesMove {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translateY(-6px) scale(1.02);
    opacity: 0.85;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.55;
  }
}
@keyframes auraPulse {
  0%, 100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.85;
  }
}
/* ===== ALERTA DESCRIPCIÓN "PERGAMINO" ===== */
.swal2-popup.tarot-desc-swal {
  width: min(840px, 92vw) !important;
  border-radius: 22px;
  padding: 26px 26px 18px !important;
  /* “pergamino” sin imagen externa */
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.15), transparent 40%), linear-gradient(180deg, #e7d2aa 0%, #d8b98a 35%, #caa16e 100%);
  border: 2px solid rgba(70, 40, 20, 0.55);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
  color: rgba(20, 14, 8, 0.92);
}

/* título tipo pergamino */
.tarot-desc-swal__title {
  font-weight: 900;
  letter-spacing: 0.6px;
  color: #e4bd0e;
  font-family: "Tagesschrift", system-ui;
  font-weight: 400;
  font-style: normal;
}

/* texto */
.tarot-desc__text {
  font-size: clamp(14px, 1.7vw, 18px);
  line-height: 1.55;
  text-align: center;
  padding: 6px 6px 0;
  color: #e4bd0e;
  font-family: "Tagesschrift", system-ui;
  font-weight: 400;
  font-style: normal;
  background: rgba(0, 0, 0, 0.3294117647);
  border-radius: 1rem;
}
@media screen and (max-width: 768px) {
  .tarot-desc__text {
    font-size: 1.3rem;
    padding: 0px;
    background-color: rgba(0, 0, 0, 0.6705882353);
  }
}

/* botón cerrar pergamino */
.tarot-desc-swal__btn {
  border-radius: 999px !important;
  padding: 10px 18px !important;
  font-weight: 900 !important;
  background: rgba(10, 10, 12, 0.85) !important;
  color: rgba(255, 220, 140, 0.95) !important;
  border: 1px solid rgba(255, 220, 140, 0.25) !important;
  font-family: "Tagesschrift", system-ui;
  font-weight: 400;
  font-style: normal;
}

body {
  background-image: url("../assets/img/imgfondo.png");
  background-size: cover; /* Cubre todo el elemento */
  background-position: center; /* Centra la imagen */
  background-repeat: no-repeat; /* Evita que la imagen se repita */
  background-attachment: fixed;
}
body header h1 {
  margin-top: 7rem;
  text-align: center;
  font-size: 3rem;
  font-family: "Tagesschrift", system-ui;
  font-weight: 400;
  font-style: normal;
  -webkit-animation: text-pop-up-top 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: text-pop-up-top 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  background: linear-gradient(90deg, #ffffff 0%, #ffffd7 16.667%, #ffff9c 33.333%, #ffff64 50%, #ffd233 66.667%, #ff9f0c 83.333%, #ff7300 100%);
  /* “recorta” el fondo para que solo se vea en el texto */
  -webkit-background-clip: text;
  background-clip: text;
  /* hace el texto transparente para que se vea el fondo */
  -webkit-text-fill-color: transparent;
  color: transparent; /* fallback */
}
body main {
  text-align: center;
}
body main .btn-eclipse {
  margin-top: 24rem;
  position: relative;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: radial-gradient(140% 140% at 20% 0%, rgba(255, 255, 255, 0.08), rgba(10, 10, 12, 0.95) 55%, rgb(0, 0, 0));
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}
@media screen and (max-width: 1280px) {
  body main .btn-eclipse {
    margin-top: 10rem;
  }
}
body main .btn-eclipse a {
  color: #ffffff;
  text-decoration: none;
  font-family: "Yuji Boku", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.4rem;
  background: linear-gradient(90deg, #ffffff 0%, #ffffd7 16.667%, #ffff9c 33.333%, #ffff64 50%, #ffd233 66.667%, #ff9f0c 83.333%, #ff7300 100%);
  /* “recorta” el fondo para que solo se vea en el texto */
  -webkit-background-clip: text;
  background-clip: text;
  /* hace el texto transparente para que se vea el fondo */
  -webkit-text-fill-color: transparent;
  color: transparent; /* fallback */
}
body main .btn-eclipse::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(56, 189, 248, 0.55), rgba(244, 114, 182, 0.45), rgba(255, 255, 255, 0));
  opacity: 0.55;
  filter: blur(8px);
  z-index: -1;
  animation: eclipsePulse 2.2s ease-in-out infinite;
}
@keyframes eclipsePulse {
  0%, 100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.02);
  }
}
body main .btn-eclipse:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6);
}
body main .btn-eclipse:active {
  transform: translateY(0);
}
body main .btn-eclipse:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.35);
  outline-offset: 4px;
}

/*# sourceMappingURL=style.css.map */
