.elementor-3986 .elementor-element.elementor-element-cdec123{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS for container, class: .elementor-element-cdec123 *//*
  Hoja de estilos para la experiencia EXPERS de creación de trajes.
  Este CSS aplica una estética de videojuego de alta gama: paneles
  translúcidos con brillo, colores oscuros y acentos luminosos. La
  página ocupa toda la pantalla y se adapta a distintos tamaños de
  dispositivo mediante media queries. Las variables CSS permiten
  personalizar los colores principales con facilidad.
*/

/* Variables de color principales */
:root {
  --color-primary: #ff4500;    /* naranja energía creativa */
  --color-secondary: #ff6b35;  /* naranja rojizo para degradados */º
  --color-accent: #FF3408;     /* dorado para elementos destacados */
  --color-bg-panel: rgba(20, 22, 30, 0.55); /* fondo semitransparente para paneles */
  --color-border-panel: rgba(255, 120, 40, 0.35); /* borde tenue para paneles */
  --color-text-primary: #eaeaea; /* texto principal claro */
  --color-text-secondary: #c2c2c2; /* texto secundario */
  --transition-duration: 0.3s;  º
}

/* Reset y fuentes */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: 'Oswald', sans-serif;
  background: #010208; /* fondo negro profundo */
  color: var(--color-text-primary);
  overflow: hidden;
}
a {
  color:#ff4500;
}

/* Fondo principal. Este contenedor se sitúa detrás de toda la
   experiencia y cambia de clase (bg-step-1..5) en función de la
   pregunta. Los gradientes se definen más abajo. */
#background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  transition: background 4s ease;
  pointer-events: none;
}

/* Canvas de partículas que recubre el fondo con estrellas leves */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

/* Contenedor principal del test */
#expers-creator {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

/* Cabecera */
.creator-header {
  padding-top: 2rem;
  text-align: center;
  color: var(--color-accent);
  text-shadow: 0 0 8px rgba(255, 200, 0, 0.4);
  pointer-events: none;
}
.creator-header h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  letter-spacing: 4px;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}
.creator-header p {
 font-family: "Montserrat", sans-serif;
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  color: var(--color-text-secondary);
}

/* Contenedor de contenido principal: figura y panel */
.creator-content {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 0 2rem;
}

/* Área visual (anillo y figura) */
.visual-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 600px;
  position: relative;
}

.ring-wrapper {
  position: relative;
  width: 360px;
  height: 360px;
}

/* La figura flota suavemente con animación de bobbing */
.figure {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 280px;
  opacity: 0.92;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(10px); }
}

/* Ojos y puntos energéticos por defecto ocultos */
#figure .f-eye,
#figure .f-dot-left,
#figure .f-dot-right,
#figure .f-line-left,
#figure .f-line-right,
#figure #f-core {
  opacity: 0;
  transition: opacity var(--transition-duration) ease;
}

/* Texto de ensamblaje bajo el anillo */
.status {
  position: absolute;
  bottom: -44px;
  width: 100%;
  text-align: center;
  color: var(--color-accent);
  font-size: 0.85rem;
  letter-spacing: 1px;
  pointer-events: none;
}

/* Panel de decisiones */
.decision-area {
  flex: 1;
  max-width: 520px;
  background: var(--color-bg-panel);
  border: 1px solid var(--color-border-panel);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  /* Angled corners for a more futuristic HUD */
  clip-path: polygon(6% 0%, 94% 0%, 100% 6%, 100% 94%, 94% 100%, 6% 100%, 0 94%, 0 6%);
  padding: 1.8rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  color: var(--color-text-primary);
  box-shadow: 0 0 25px rgba(0,0,0,0.75);
  animation: fadeInPanel 0.8s ease;
}

/* Illuminate the border of the decision panel with a glowing frame */
.decision-area::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(255, 90, 40, 0.3) 0%, transparent 70%)
              , linear-gradient(130deg, rgba(255, 90, 40, 0.4), rgba(255, 90, 40, 0.1));
  mix-blend-mode: screen;
  opacity: 0.6;
  border-radius: inherit;
}
@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Indicador de paso */
.step-indicator span {
  font-size: 0.9rem;
  color: var(--color-accent);
  letter-spacing: 1px;
}

/* Narrativa de la pregunta */
.narrative {
 font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

/* Opciones: botones estilizados tipo HUD */
.options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.options button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(145deg, rgba(30, 12, 10, 0.7), rgba(50, 20, 15, 0.6));
  border: 1px solid rgba(255, 90, 40, 0.4);
  padding: 0.9rem 1.1rem;
  font-size: 0.94rem;
  color: var(--color-text-primary);
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-duration) ease;
  overflow: hidden;
  /* subtle elevated look */
  box-shadow: 0 3px 6px rgba(0,0,0,0.35), inset 0 1px 2px rgba(255,90,40,0.25);
}
.options button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: opacity var(--transition-duration) ease;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}
.options button:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 20px rgba(255, 90, 40, 0.5), inset 0 1px 2px rgba(255,90,40,0.5);
  border-color: rgba(255, 90, 40, 0.7);
}
.options button:hover::before {
  opacity: 1;
}

/* Estilo para íconos dentro de los botones de opciones */
.options button svg {
  flex-shrink: 0;
  width: 1.3em;
  height: 1.3em;
  fill: var(--color-accent);
  transition: fill var(--transition-duration) ease;
}
.options button:hover svg {
  fill: #ff7a3d;
}

/* Energía del traje */
.energy-wrap {
  margin-top: auto;
}
.energy-label {
  font-size: 0.85rem;
  color: var(--color-accent);
  margin-bottom: 0.3rem;
  display: block;
}
.energy-bar {
  width: 100%;
  height: 16px;
  background: rgba(20,20,25,0.85);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.energy-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #00c49a, #00ff84, #b6ff3f);
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(0,255,150,0.6), 0 0 20px rgba(0,255,150,0.3);
  transition: width 0.4s ease;
}

/* Pantalla de finalización */
.completion {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}
.completion.hidden {
  display: none;
}
.completion-card {
  background: rgba(15,15,20,0.9);
  border: 1px solid rgba(255,90,40,0.4);

  border-radius: 12px;
  padding: 2.2rem 2.4rem;
  width: 90%;
  max-width: 520px;
  text-align: center;
  color: var(--color-text-primary);
  box-shadow: 0 0 25px rgba(0,0,0,0.7);
  animation: popIn 0.6s ease;
}
@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.completion-card h2 {
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}
.completion-card p {
font-family: 'momo trust sans', sans-serif;
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: 1.2rem;
}
.profile-heading {
  font-size: 0.85rem;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.profile-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.4rem;
}
.profile-traits span {
  padding: 0.45rem 0.8rem;
  background: rgba(255, 90, 40, 0.25);
  border: 1px solid rgba(255, 90, 40, 0.45);
  border-radius: 5px;
  color: #ffddb3;
  font-size: 0.8rem;
  white-space: nowrap;
}
.result-image img {
  max-width: 440px;
  width: 100%;
  height: auto;
  
  
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}
.btn-restart {
  margin-top: 1.4rem;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  background: #000000;
  color: #fff;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-duration) ease;
}
.btn-restart:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(255,90,40,0.4);
  background: linear-gradient(90deg, var(--color-primary), #ff2d0a);
}

/* Estilos de fondo para cada paso del test. Modifica los gradientes
   para personalizar la atmósfera de cada pregunta. Se utilizan
   combinaciones de gradientes lineales y radiales para dar
   profundidad. */
.bg-step-1 {
  background: radial-gradient(circle at 50% 50%, #111113 0%, #000000 100%), linear-gradient(130deg, #000000, #000000);
}
.bg-step-2 {
  background: radial-gradient(circle at 30% 70%, #1D0500, #000000), linear-gradient(130deg, #000000, #000000);
}
.bg-step-3 {
  background: radial-gradient(circle at 60% 40%, #40241E, #000000), linear-gradient(130deg, #000000, #000000);
}
.bg-step-4 {
  background: radial-gradient(circle at 50% 60%, #221410, #000000), linear-gradient(130deg, #000000, #000000);
}
.bg-step-5 {
  background: radial-gradient(circle at 40% 40%, #1B0500, #000000), linear-gradient(130deg, #000000, #000000);
}

/* Media queries para adaptar el layout en pantallas estrechas */
@media (max-width: 960px) {
  .creator-content {
    flex-direction: column;
    gap: 2rem;
  }
  .visual-area,
  .decision-area {
    max-width: 100%;
    width: 100%;
  }
  .ring-wrapper {
    width: 300px;
    height: 300px;
  }
  .figure {
    width: 180px;
    height: 240px;
    top: 50px;
  }
  .decision-area {
    padding: 1.5rem;
  }
  .narrative {
    font-size: 0.95rem;
  }
  .options button {
    font-size: 0.88rem;
    padding: 0.8rem 0.9rem;
  }
}

@media (max-width: 600px) {
  .ring-wrapper {
    width: 250px;
    height: 250px;
  }
  .figure {
    width: 150px;
    height: 200px;
    top: 45px;
  }
  .creator-header h1 {
    font-size: 1.5rem;
  }
  .creator-header p {
    font-size: 0.75rem;
  }
  .narrative {
    font-size: 0.88rem;
  }
  .options button {
    font-size: 0.8rem;
    padding: 0.7rem 0.8rem;
  }
  .decision-area {
    padding: 1rem 1.2rem;
  }
  .completion-card {
    padding: 1.8rem 2rem;
  }
  .completion-card h2 {
    font-size: 1.7rem;
  }
  .result-image img {
    max-width: 300px;
  }
}

/* Estilos extra para el formulario de captura de email en el resultado del quiz personalizado */
.cta {
  margin-top: 1.4rem;
  text-align: center;
}
.cta input[type="email"] {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(255, 90, 40, 0.4);
  border-radius: 6px;
  background: rgba(20,20,25,0.85);
  color: var(--color-text-primary);
  font-size: 0.9rem;
}
.cta button {
  margin-top: 0.8rem;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  color: #fff;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-duration) ease;
}
.cta button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(255,90,40,0.4);
  background: linear-gradient(90deg, var(--color-primary), #ff2d0a);
}
#success-message {
  margin-top: 0.6rem;
  color: #00ff84;
  font-size: 0.9rem;
}

/* Panel de captura de email en la pantalla de resultado.
   Hereda la misma estética futurista del resto del HUD. */
.cta-panel h3{
padding-bottom: 12px;}
.cta-panel {
  position: relative;
  margin-top: 1.4rem;
  padding: 1.8rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  clip-path: polygon(6% 0%, 94% 0%, 100% 6%, 100% 94%, 94% 100%, 6% 100%, 0 94%, 0 6%);
  background: radial-gradient(circle at 30% 30%, rgba(40, 4, 2, 0.9), rgba(0, 0, 0, 0.9));
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow:
    0 0 25px rgba(40, 4, 2, 0.6),
    inset 0 0 20px rgba(255, 69, 0, 0.1);
  text-align: center;
  overflow: hidden;
  z-index: 2;
  animation: panelPulse 8s ease-in-out infinite alternate;
}



/* 🌟 Borde energético animado */
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 2px;
  background: linear-gradient(130deg, #ff4500, #280402, #000, #ff4500);
  background-size: 300% 300%;
  animation: borderFlow 6s linear infinite;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  z-index: -1;
}

@keyframes borderFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.cta-panel input[type="email"] {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  background: rgba(20,20,25,0.85);
  border: 1px solid rgba(255, 90, 40, 0.4);
  border-radius: 6px;
  color: var(--color-text-primary);
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
}
.btn-cta {
  display: block;
  width: 100%;
  padding: 0.9rem 1rem;
  margin-top: 1rem;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(90deg, #ff4500, #ff6b35);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.25s ease;
  box-shadow: 0 0 12px rgba(255, 69, 0, 0.3);
}
.btn-cta:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(255,90,40,0.4);
  background: linear-gradient(90deg, var(--color-primary), #ff2d0a);
}

.result-title{
  font-size:50px;
color:#ff2d0a;
}
/* Ajuste de la imagen del resultado dentro de la tarjeta final */
.result-image {
  margin-top: 1rem;
  text-align: center;
}
.result-image img {
  max-width: 440px;
  width: 100%;
  height: auto;

  
  animation: breathe 5s ease-in-out infinite;
}

/*
  Transiciones de cambio de pregunta.
  Estas clases se añaden y eliminan dinámicamente desde el script
  para crear un efecto de desvanecimiento al pasar de una pregunta
  a otra. La clase `fade-out` oculta gradualmente el contenedor
  desplazándolo ligeramente hacia abajo. La clase `fade-in` hace
  lo opuesto, mostrando el nuevo contenido con un suave movimiento
  ascendente. Ajusta las duraciones si quieres transiciones más
  rápidas o lentas.
*/
/* Duraciones de las animaciones. Ajusta ambos si quieres transiciones más marcadas */
.fade-out {
  animation: fadeOut 0.5s forwards ease;
}
.fade-in {
  animation: fadeIn 0.5s forwards ease;
}

@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(16px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}/* End custom CSS */