/* =========================================================
   AJUSTE DEL ÍCONO CENTRAL — HUMANÓMETRO PAREJAS
   ========================================================= */

.logo-parejas {
  display: block !important;
  width: clamp(25px, 6.5vw, 31px) !important;
  height: clamp(25px, 6.5vw, 31px) !important;

  object-fit: contain;
  object-position: center;

  margin: 0 auto -7px;
  padding: 0;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  visibility: visible;
  opacity: 1;

  mix-blend-mode: screen;

  filter:
    brightness(1.08)
    contrast(1.05)
    drop-shadow(0 0 2px rgba(255,255,255,.88))
    drop-shadow(0 0 5px rgba(76,226,255,.78))
    drop-shadow(0 0 11px rgba(0,178,255,.60))
    drop-shadow(0 0 18px rgba(255,55,194,.32))
    drop-shadow(0 0 27px rgba(80,220,255,.18));
}

.brand-header {
  text-align: center;
  position: relative;
  z-index: 5;
  background: transparent !important;
}

/* =========================================================
   RESTO DEL CSS
   ========================================================= */

* {
  box-sizing: border-box;
}

:root {
  --blue: #25b8ff;
  --electric: #62edff;
  --violet: #8e63ff;
  --pink: #ff2c9c;
  --hot-pink: #ff176d;
  --green: #52ffb1;
  --ice: #9beaff;
  --yellow: #ffe35b;
  --white: #f8fcff;
  --deep: #02091c;
  --deep-2: #06163b;

  --couple-red: #ff0055;
  --couple-yellow: #fff200;
  --couple-ice: #00eaff;
}

html {
  height: 100%;
  scroll-behavior: smooth;
  overflow: hidden;
}

body {
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background: #02091c;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
}

button {
  font: inherit;
}

/* =========================================================
   FONDO
   ========================================================= */

.space-bg {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(1, 7, 23, .18) 0%,
      rgba(3, 19, 49, .12) 50%,
      rgba(2, 9, 28, .18) 100%
    ),
    url("fondo_constelaciones.png") center center / cover no-repeat;
}

.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  opacity: .16;
  mix-blend-mode: screen;
}

.nebula-a {
  width: 48vw;
  height: 28vw;
  top: 2%;
  left: -12%;
  background: rgba(20, 105, 255, .24);
  transform: rotate(-25deg);
}

.nebula-b {
  width: 42vw;
  height: 30vw;
  right: -12%;
  top: 32%;
  background: rgba(177, 26, 255, .18);
  transform: rotate(25deg);
}

.nebula-c {
  width: 50vw;
  height: 25vw;
  left: -15%;
  bottom: 5%;
  background: rgba(0, 163, 255, .16);
  transform: rotate(20deg);
}

.stars {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  opacity: .08;
}

.stars-a {
  background-image:
    radial-gradient(circle, rgba(255,255,255,.95) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(92,215,255,.9) 0 1px, transparent 1.8px);
  background-size: 83px 91px, 127px 139px;
  background-position: 13px 21px, 48px 72px;
}

.stars-b {
  background-image:
    radial-gradient(circle, rgba(255,255,255,.8) 0 1.4px, transparent 2px),
    radial-gradient(circle, rgba(170,106,255,.8) 0 1px, transparent 1.7px);
  background-size: 173px 157px, 211px 197px;
  background-position: 71px 31px, 101px 87px;
  opacity: .05;
}

.stars-c {
  background-image:
    radial-gradient(circle, rgba(255,255,255,.95) 0 1.5px, transparent 2px);
  background-size: 271px 233px;
  background-position: 42px 17px;
  opacity: .06;
}

/* =========================================================
   APP / CABECERA
   ========================================================= */

.app {
  position: relative;
  width: min(100%, 720px);
  height: 100vh;
  min-height: 100vh;
  margin: 0 auto;
  padding: 1px 10px 12px;
  overflow: hidden;
}

.registered {
  font-size: .27em;
  vertical-align: top;
  margin-left: 3px;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 6.3vw, 50px);
  line-height: .86;
  font-weight: 700;
  color: #f4fbff;
  text-shadow:
    0 0 5px #fff,
    0 0 12px #46d9ff,
    0 0 27px rgba(0, 164, 255, .95);
}

.brand-couple {
  margin-top: 4px;
  font-size: clamp(21px, 4.6vw, 33px);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-style: italic;
  font-weight: 500;
  color: #ffb7ef;
  letter-spacing: .6px;
  text-shadow:
    0 0 5px #ff8ee5,
    0 0 15px #ff19c8,
    0 0 28px rgba(255, 0, 187, .7);
}

.heart-small {
  margin-left: 4px;
}

.brand-tagline {
  margin: 2px auto 1px;
  font-size: clamp(10px, 2.25vw, 14px);
  line-height: 1.15;
  font-weight: 600;
  color: #f4f9ff;
  text-shadow:
    0 0 4px #fff,
    0 0 9px rgba(88,220,255,.72),
    0 0 17px rgba(0,166,255,.42);
}

/* =========================================================
   RECORRIDO
   ========================================================= */

.journey {
  position: relative;
  height: calc(100vh - 1px);
  overflow: hidden;
}

.journey-guide {
  max-width: 560px;
  margin: 1px auto 7px;
  padding: 1px 10px;
  text-align: center;
  color: rgba(225,245,255,.88);
  font-size: 9px;
  line-height: 1.18;
  opacity: .92;
  transition: .35s ease;
  text-shadow:
    0 0 5px rgba(75,210,255,.32);
}

.journey-guide.completed {
  color: #72ffc6;
}

/* =========================================================
   RUEDA PRINCIPAL
   ========================================================= */

.wheel-shell {
  position: relative;
  width: min(72vw, 410px);
  aspect-ratio: 1;
  margin: 2px auto 7px;
}

.outer-ring,
.inner-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* =========================================================
   ANILLO EXTERIOR
   ========================================================= */

.outer-ring {
  inset: 2.8%;
  z-index: 2;

  border: 1px solid rgba(37,234,255,.24);

  background: transparent;

  box-shadow:
    0 0 2px rgba(37,234,255,.32),
    0 0 5px rgba(37,234,255,.22),
    0 0 9px rgba(37,234,255,.12);

  filter: none;
  opacity: .72;
}

.inner-ring {
  display: none;
}

/* =========================================================
   RUEDA DE SEGMENTOS
   ========================================================= */

.segment-wheel {
  position: absolute;
  inset: 5%;
  border-radius: 0;
  overflow: visible;

  --seg1-color: transparent;
  --seg2-color: transparent;
  --seg3-color: transparent;
  --seg4-color: transparent;
  --seg5-color: transparent;
  --seg6-color: transparent;
  --seg7-color: transparent;
  --seg8-color: transparent;
  --seg9-color: transparent;

  --seg1-line: #00eaff;
  --seg2-line: #00eaff;
  --seg3-line: #00eaff;
  --seg4-line: #00eaff;
  --seg5-line: #00eaff;
  --seg6-line: #00eaff;
  --seg7-line: #00eaff;
  --seg8-line: #00eaff;
  --seg9-line: #00eaff;

  filter:
    drop-shadow(0 0 2px rgba(0,234,255,.35))
    drop-shadow(0 0 6px rgba(0,234,255,.18));
}

/* =========================================================
   CORAZÓN — REEMPLAZA VISUALMENTE AL ANILLO CIRCULAR
   ========================================================= */

.segment-wheel::before {
  display: none;
  content: none;
}

.segment-wheel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  clip-path: polygon(
    50% 92%,
    44% 87%,
    36% 80%,
    27% 72%,
    19% 63%,
    13% 54%,
    10% 44%,
    11% 35%,
    16% 27%,
    23% 22%,
    31% 21%,
    38% 24%,
    44% 30%,
    50% 37%,
    56% 30%,
    62% 24%,
    69% 21%,
    77% 22%,
    84% 27%,
    89% 35%,
    90% 44%,
    87% 54%,
    81% 63%,
    73% 72%,
    64% 80%,
    56% 87%
  );

  background:
    radial-gradient(
      circle at 50% 48%,
      rgba(255,255,255,.012) 0%,
      rgba(255,255,255,.025) 30%,
      rgba(255,255,255,.055) 58%,
      rgba(255,255,255,.10) 78%,
      rgba(255,255,255,.16) 100%
    ),
    conic-gradient(
      from 300deg,
      var(--seg1-color) 0deg 40deg,
      var(--seg2-color) 40deg 80deg,
      var(--seg3-color) 80deg 120deg,
      var(--seg4-color) 120deg 160deg,
      var(--seg5-color) 160deg 200deg,
      var(--seg6-color) 200deg 240deg,
      var(--seg7-color) 240deg 280deg,
      var(--seg8-color) 280deg 320deg,
      var(--seg9-color) 320deg 360deg
    );

  -webkit-mask:
    radial-gradient(
      circle at 50% 48%,
      transparent 0%,
      rgba(0,0,0,.12) 22%,
      rgba(0,0,0,.32) 42%,
      rgba(0,0,0,.58) 68%,
      #000 100%
    );

  mask:
    radial-gradient(
      circle at 50% 48%,
      transparent 0%,
      rgba(0,0,0,.12) 22%,
      rgba(0,0,0,.32) 42%,
      rgba(0,0,0,.58) 68%,
      #000 100%
    );

  mix-blend-mode: screen;
  opacity: 1;

  filter:
    saturate(1.35)
    brightness(1.04)
    drop-shadow(0 0 4px rgba(0,234,255,.25));
}

/* =========================================================
   SEGMENTOS
   ========================================================= */

.segment {
  position: absolute;
  width: 18%;
  height: 18%;
  border: 0 !important;
  outline: none;
  background: transparent !important;
  box-shadow: none !important;
  color: #f5fbff;
  cursor: pointer;
  z-index: 3;
  padding: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;

  transition:
    opacity .35s ease,
    filter .35s ease,
    transform .35s ease,
    text-shadow .35s ease;

  text-align: center;
  transform: translate(-50%, -50%);
}

.segment::after {
  display: none !important;
  content: none !important;
}

.segment:hover {
  transform: translate(-50%, -50%) scale(1.03);
}

.segment.locked {
  opacity: .88;
  filter: saturate(.9);
  cursor: not-allowed;
}

.segment.available {
  opacity: 1;
  animation: availablePulse 2.4s infinite;
}

.segment.active {
  opacity: 1;
  filter: brightness(1.2);
  text-shadow:
    0 0 4px #fff,
    0 0 10px #4beaff,
    0 0 17px #138dff;
}

.segment.completed {
  opacity: 1;
}

.segment.completed .segment-state::after {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  color: #02131f;
  background: #67ffd0;
  box-shadow: 0 0 7px #67ffd0;
  font-size: 9px;
  font-weight: 900;
}

.segment.red {
  filter:
    saturate(1.4)
    drop-shadow(0 0 5px rgba(255,0,85,.72))
    drop-shadow(0 0 11px rgba(255,0,85,.34));
}

.segment.yellow {
  filter:
    saturate(1.35)
    drop-shadow(0 0 5px rgba(255,242,0,.72))
    drop-shadow(0 0 11px rgba(255,242,0,.34));
}

.segment.ice {
  filter:
    saturate(1.35)
    drop-shadow(0 0 5px rgba(0,234,255,.72))
    drop-shadow(0 0 11px rgba(0,234,255,.34));
}

.segment.yellow-blink {
  animation: yellowSegmentBlink 1.15s ease-in-out infinite;
}

@keyframes yellowSegmentBlink {
  0%, 100% {
    opacity: 1;
    filter:
      saturate(1.35)
      drop-shadow(0 0 5px rgba(255,242,0,.72))
      drop-shadow(0 0 11px rgba(255,242,0,.34));
  }

  50% {
    opacity: .30;
    filter:
      saturate(.85)
      drop-shadow(0 0 1px rgba(255,242,0,.25));
  }
}

/* =========================================================
   POSICIONES
   ========================================================= */

.segment-1 {
  left: 28.8%;
  top: 24.7%;
}

.segment-2 {
  left: 50%;
  top: 17%;
}

.segment-3 {
  left: 71.2%;
  top: 24.7%;
}

.segment-4 {
  left: 82.5%;
  top: 44.3%;
}

.segment-5 {
  left: 78.6%;
  top: 66.5%;
}

.segment-6 {
  left: 61.3%;
  top: 81%;
}

.segment-7 {
  left: 38.7%;
  top: 81%;
}

.segment-8 {
  left: 21.4%;
  top: 66.5%;
}

.segment-9 {
  left: 17.5%;
  top: 44.3%;
}

/* =========================================================
   TEXTOS E ICONOS
   ========================================================= */

.segment-number {
  font-size: clamp(12px, 2.35vw, 16px);
  font-weight: 500;
  line-height: 1;
  width: 100%;
  text-align: center;
  color: #f8fdff;
  text-shadow:
    0 0 2px #fff,
    0 0 5px #5cecff,
    0 0 9px rgba(0,179,255,.52);
}

.segment-name {
  margin-top: 1px;
  font-size: clamp(6px, 1.08vw, 8px);
  font-weight: 500;
  line-height: 1.02;
  width: 100%;
  text-align: center;
  color: #f5fbff;
  text-shadow:
    0 0 2px #fff,
    0 0 4px #5cecff,
    0 0 8px rgba(0,179,255,.48);
}

.segment-icon-svg {
  display: block;
  width: clamp(23px, 5vw, 34px);
  height: clamp(19px, 4.25vw, 29px);
  margin: 1px auto 0;
  overflow: visible;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;

  filter:
    drop-shadow(0 0 2px #ffffff)
    drop-shadow(0 0 4px #55eaff)
    drop-shadow(0 0 8px rgba(0,174,255,.52));
}

.segment-icon-svg .icon-heart,
.segment-icon-svg .icon-bolt,
.segment-icon-svg .icon-eye {
  fill: none;
  stroke: #ffffff;
}

.segment-icon-svg .icon-eye-dot {
  fill: #ffffff;
  stroke: #ffffff;
}

/* =========================================================
   ZODIACALES
   ========================================================= */

.zodiac {
  position: absolute;
  z-index: 3;
  color: #0057b8;
  -webkit-text-fill-color: #0057b8;
  font-size: clamp(12px, 2.3vw, 17px);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
  font-weight: 600;
  opacity: 1;
  pointer-events: none;

  text-shadow:
    0 0 2px rgba(0,64,150,1),
    0 0 5px rgba(0,87,184,1),
    0 0 10px rgba(0,110,235,.95),
    0 0 17px rgba(0,87,184,.78);
}

.zodiac-1 {
  left: -1%;
  top: 10%;
}

.zodiac-2 {
  right: -1%;
  top: 12%;
}

.zodiac-3 {
  right: -1%;
  top: 51%;
}

.zodiac-4 {
  right: 11%;
  bottom: -1%;
}

.zodiac-5 {
  left: 45%;
  bottom: -1%;
}

.zodiac-6 {
  left: -1%;
  bottom: 11%;
}

.zodiac-7 {
  left: -1%;
  top: 51%;
}

.zodiac-8 {
  right: 45%;
  top: -1%;
}

/* =========================================================
   ÍCONO CENTRAL DE LA RUEDA
   ========================================================= */

.heart-core {
  position: absolute;
  width: 31%;
  aspect-ratio: 1;
  left: 34.5%;
  top: 34.5%;
  z-index: 4;

  display: flex;
  align-items: center;
  justify-content: center;
}

.center-interface-icon {
  display: block;
  width: 96%;
  height: 96%;
  object-fit: contain;
  object-position: center;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  mix-blend-mode: screen;

  filter:
    brightness(1.08)
    contrast(1.05)
    drop-shadow(0 0 2px rgba(255,255,255,.88))
    drop-shadow(0 0 5px rgba(76,226,255,.78))
    drop-shadow(0 0 11px rgba(0,178,255,.60))
    drop-shadow(0 0 18px rgba(255,55,194,.32))
    drop-shadow(0 0 27px rgba(80,220,255,.18));
}

/* =========================================================
   BOTÓN
   ========================================================= */

.heart-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: min(72vw, 410px);
  min-height: 37px;
  margin: 3px auto 6px;
  border: 2px solid #62eaff;
  border-radius: 38px;
  background:
    linear-gradient(
      90deg,
      rgba(4,26,69,.68),
      rgba(10,32,73,.54)
    );
  color: #f9fdff;
  font-size: clamp(11px, 2.45vw, 15px);
  font-weight: 800;
  letter-spacing: .3px;

  box-shadow:
    0 0 6px #5beaff,
    0 0 13px rgba(0,179,255,.46),
    inset 0 0 11px rgba(53,210,255,.12);

  cursor: pointer;
  transition: .3s ease;
}

.heart-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 9px #fff,
    0 0 20px #26dfff,
    0 0 32px rgba(0,155,255,.5);
}

.heart-button-icon {
  font-size: 21px;
  line-height: 1;
}

.heart-button.enabled {
  border-color: #62ffc5;
  box-shadow:
    0 0 8px #62ffc5,
    0 0 20px rgba(43,255,180,.45);
}

/* =========================================================
   MEDIOS DE PAGO
   ========================================================= */

.payment-panel {
  width: min(72vw, 410px);
  margin: 0 auto;
}

.payment-title {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
  margin-bottom: 2px;
  color: rgba(244,250,255,.9);
  font-size: 7px;
  letter-spacing: 1.2px;
  white-space: nowrap;
  text-shadow:
    0 0 4px rgba(80,220,255,.3);
}

.payment-title span {
  flex: 1;
  max-width: 50px;
  height: 1px;
  background: rgba(79,212,255,.7);
  box-shadow: 0 0 6px #1acaff;
}

.payment-options {
  display: grid;
  gap: 2px;
}

.payment-option {
  width: 100%;
  height: 30px;
  border: 0;
  border-radius: 31px;
  background: linear-gradient(90deg, #f2f8ff, #dfeeff);
  color: #0b315f;

  display: grid;
  grid-template-columns: 29px 1fr 19px;
  align-items: center;
  text-align: center;
  padding: 0 8px;

  box-shadow:
    0 0 7px rgba(116,218,255,.21),
    inset 0 0 6px rgba(255,255,255,.8);

  cursor: pointer;
}

.payment-option strong {
  font-size: 10px;
  text-align: center;
}

.payment-logo {
  width: 23px;
  height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  overflow: hidden;
}

.payment-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.payment-logo.mercado img,
.payment-logo.paypal img,
.payment-logo.payoneer img {
  width: 23px;
  height: 23px;
}

.mercado {
  border-radius: 50%;
  background: #e6f4ff;
  color: #2363b6;
}

.paypal {
  color: #1251a4;
  font-size: 20px;
}

.payoneer {
  color: #ff7846;
  font-size: 21px;
}

.payment-arrow {
  font-size: 20px;
  text-align: center;
}

/* =========================================================
   FRASE INFERIOR
   ========================================================= */

.bottom-motto {
  width: min(72vw, 410px);
  margin: 2px auto 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 5px;
  align-items: center;
  text-align: center;
}

.bottom-motto span {
  height: 1px;
  background: rgba(68,213,255,.7);
  box-shadow: 0 0 6px #16caff;
}

.bottom-motto div {
  font-size: 17px;
  color: #eaffff;
  text-shadow:
    0 0 5px #fff,
    0 0 8px #4cecff;
}

.bottom-motto p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(234,248,255,.82);
  letter-spacing: 2px;
  font-size: 7px;
}

/* =========================================================
   QUESTION PANEL
   ========================================================= */

.question-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  background:
    radial-gradient(circle at 50% 15%, rgba(0,125,255,.22), transparent 35%),
    rgba(1,7,23,.96);
  overflow: hidden;
  padding: 12px 10px 14px;
  backdrop-filter: blur(15px);
}

.question-panel-inner {
  width: min(100%, 650px);
  height: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
}

.close-question {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 4;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(82,221,255,.7);
  border-radius: 50%;
  background: rgba(4,19,50,.85);
  color: white;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(25,204,255,.4);
}

.question-kicker {
  padding-top: 2px;
  padding-right: 45px;
  color: #5cecff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-shadow: 0 0 7px #1bdfff;
}

#questionTitle {
  margin: 3px 0 1px;
  padding-right: 45px;
  font-size: clamp(20px, 5.5vw, 32px);
  line-height: 1;
  color: white;
  text-shadow:
    0 0 7px #4aeaff,
    0 0 18px rgba(0,159,255,.7);
}

.question-subtitle {
  margin: 0 0 7px;
  color: rgba(234,248,255,.76);
  font-size: 9px;
  line-height: 1.1;
}

.question-progress {
  margin-bottom: 7px;
}

#questionProgressText {
  display: block;
  margin-bottom: 3px;
  color: #bfefff;
  font-size: 8px;
}

.question-progress-track {
  height: 4px;
  border-radius: 10px;
  background: rgba(91,207,255,.13);
  overflow: hidden;
}

#questionProgressBar {
  height: 100%;
  width: 33.33%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1edcff, #ff3bb7);
  box-shadow: 0 0 9px #20dfff;
  transition: width .35s ease;
}

.questions-container {
  display: grid;
  gap: 5px;
  flex: 1;
  min-height: 0;
}

.question-card {
  padding: 7px 9px;
  border: 1px solid rgba(78,217,255,.35);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(8,30,68,.86), rgba(3,14,36,.92));
  box-shadow:
    0 0 10px rgba(0,137,255,.15),
    inset 0 0 12px rgba(38,176,255,.05);
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.question-number {
  color: #62eaff;
  font-size: 7px;
  font-weight: 800;
  margin-bottom: 3px;
}

.question-text {
  margin: 0;
  color: #f7fbff;
  font-size: 11.5px;
  line-height: 1.2;
}

.answer-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 6px;
}

.answer {
  min-height: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid rgba(100,220,255,.42);
  background: rgba(10,34,71,.72);
  color: white;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  transition: .25s ease;
  padding: 0 3px;
}

.answer:hover {
  transform: translateY(-1px);
  border-color: #64eaff;
  box-shadow: 0 0 9px rgba(40,211,255,.4);
}

.answer.selected.yes {
  background: rgba(255,26,112,.23);
  border-color: #ff397f;
  box-shadow: 0 0 12px rgba(255,26,112,.42);
}

.answer.selected.maybe {
  background: rgba(255,222,54,.18);
  border-color: #ffe34f;
  color: #fff6a8;
  box-shadow: 0 0 12px rgba(255,224,65,.35);
}

.answer.selected.no {
  background: rgba(88,219,255,.19);
  border-color: #83eaff;
  color: #d9f9ff;
  box-shadow: 0 0 12px rgba(75,222,255,.4);
}

.continue-question {
  width: 100%;
  min-height: 34px;
  height: 34px;
  margin-top: 2px;
  border: 1px solid #54eaff;
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(8,67,112,.9), rgba(92,12,101,.85));
  color: white;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  box-shadow:
    0 0 9px rgba(40,224,255,.55),
    inset 0 0 9px rgba(255,255,255,.08);
}

.continue-question:disabled {
  opacity: .3;
  cursor: not-allowed;
  box-shadow: none;
}

/* =========================================================
   RESULTS — CONTENEDOR CON SCROLL INTERNO
   ========================================================= */

.results-panel {
  position: relative;
  inset: auto;
  width: 100%;
  max-height: 68vh;
  overflow-y: auto;
  overflow-x: hidden;
  margin: 12px auto 0;
  padding: 13px 9px 32px;
  border: 1px solid rgba(73,213,255,.30);
  border-radius: 17px;
  background:
    radial-gradient(circle at 50% 8%, rgba(0,121,255,.24), transparent 35%),
    linear-gradient(180deg, rgba(2,10,32,.97), rgba(2,7,24,.98));
  box-shadow:
    0 0 20px rgba(0,148,255,.13),
    inset 0 0 18px rgba(49,204,255,.04);

  scrollbar-width: thin;
  scrollbar-color: rgba(89,225,255,.9) rgba(55,145,190,.16);
}

.results-panel::-webkit-scrollbar {
  width: 6px;
}

.results-panel::-webkit-scrollbar-track {
  background: rgba(55,145,190,.16);
  border-radius: 10px;
}

.results-panel::-webkit-scrollbar-thumb {
  background: rgba(89,225,255,.9);
  border-radius: 10px;
  box-shadow: 0 0 7px rgba(89,225,255,.7);
}

.results-inner {
  position: relative;
  width: 100%;
  height: auto;
  max-height: none;
  overflow: visible;
  padding: 0 7px 100px;
}

/* =========================================================
   SEÑALIZACIÓN DE SCROLL
   ========================================================= */

.results-scroll-indicator {
  position: sticky;
  top: 7px;
  right: 3px;
  z-index: 5;
  display: block;
  width: max-content;
  margin: 0 3px 4px auto;
  padding: 3px 7px;
  border: 1px solid rgba(94,224,255,.45);
  border-radius: 12px;
  background: rgba(2,13,35,.86);
  color: rgba(181,244,255,.9);
  font-size: 7px;
  letter-spacing: .7px;
  text-shadow: 0 0 5px rgba(67,221,255,.8);
  box-shadow: 0 0 8px rgba(0,180,255,.22);
  pointer-events: none;
}

/* =========================================================
   CORAZÓN DE LA DEVOLUCIÓN — ELIMINADO
   ========================================================= */

.results-symbol {
  display: none !important;
}

.results-kicker {
  text-align: center;
  color: #65eaff;
  letter-spacing: 2px;
  font-size: 9px;
}

#resultTitle {
  margin: 6px 0 4px;
  text-align: center;
  font-size: clamp(21px, 5vw, 34px);
  line-height: 1.05;
  text-shadow:
    0 0 9px #fff,
    0 0 20px #1cdcff;
}

.result-score {
  text-align: center;
  color: rgba(220,245,255,.75);
  font-size: 10px;
  margin-bottom: 13px;
}

/* =========================================================
   NUEVO — LEYENDA LUMINOSA DE COLORES
   ========================================================= */

.color-legend {
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid rgba(73,213,255,.32);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(8,31,70,.76), rgba(3,13,34,.90));
  box-shadow:
    0 0 14px rgba(0,148,255,.12),
    inset 0 0 12px rgba(49,204,255,.035);
}

.color-legend-title {
  margin: 0 0 11px;
  text-align: center;
  color: #a9efff;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 1px;
  text-shadow:
    0 0 6px rgba(65,220,255,.55);
}

.color-legend-items {
  display: grid;
  gap: 10px;
}

.color-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.legend-heart {
  flex: 0 0 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25px;
  line-height: 1;
  -webkit-text-stroke: .3px currentColor;
}

.legend-heart-red {
  color: #ff174f;
  text-shadow:
    0 0 3px #ff174f,
    0 0 7px rgba(255,23,79,.95),
    0 0 15px rgba(255,23,79,.65);
}

.legend-heart-yellow {
  color: #ffe13d;
  text-shadow:
    0 0 3px #ffe13d,
    0 0 7px rgba(255,225,61,.95),
    0 0 15px rgba(255,225,61,.60);
}

.legend-heart-ice {
  color: #8deaff;
  text-shadow:
    0 0 3px #8deaff,
    0 0 7px rgba(141,234,255,.95),
    0 0 15px rgba(0,234,255,.65);
}

.legend-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.legend-label strong {
  color: #f8fcff;
  font-size: 11px;
  line-height: 1.25;
}

.legend-label small {
  color: rgba(225,243,255,.76);
  font-size: 10px;
  line-height: 1.35;
}

/* =========================================================
   TARJETAS DE RESULTADOS
   ========================================================= */

.result-general-card,
.comparison-card,
.final-invitation,
.humanometro-promo {
  border: 1px solid rgba(73,213,255,.38);
  border-radius: 14px;
  padding: 13px;
  background:
    linear-gradient(145deg, rgba(8,31,70,.84), rgba(3,13,34,.94));
  box-shadow:
    0 0 16px rgba(0,148,255,.13),
    inset 0 0 14px rgba(49,204,255,.04);
  margin-bottom: 12px;
}

.result-general-card h2,
.segments-results > h2,
.comparison-card h2 {
  margin: 0 0 8px;
  color: #66eaff;
  font-size: 14px;
}

.result-general-card p,
.result-general-card div,
.comparison-card p,
.final-invitation p {
  color: rgba(242,249,255,.88);
  font-size: 12px;
  line-height: 1.45;
}

.result-general-card p,
.comparison-card p,
.final-invitation p {
  margin-top: 0;
  margin-bottom: 8px;
}

.result-general-card p:last-child,
.comparison-card p:last-child,
.final-invitation p:last-child {
  margin-bottom: 0;
}

.segments-results {
  margin-bottom: 12px;
}

.segment-result {
  position: relative;
  margin-bottom: 7px;
  padding: 10px 11px;
  border-radius: 11px;
  border: 1px solid rgba(90,214,255,.25);
  background: rgba(5,22,50,.75);
  overflow: hidden;
}

.segment-result::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: #65eaff;
  box-shadow: 0 0 13px currentColor;
}

.segment-result.red::before {
  background: #ff277e;
}

.segment-result.yellow::before {
  background: #ffe14d;
}

.segment-result.ice::before {
  background: #8deaff;
}

.segment-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
}

.segment-result-title {
  font-weight: 900;
  color: white;
  font-size: 11px;
}

.segment-result-mark {
  font-size: 16px;
}

.segment-result p {
  margin: 5px 0 0;
  color: rgba(235,248,255,.77);
  font-size: 10px;
  line-height: 1.4;
}

.final-invitation {
  border-color: rgba(255,54,171,.55);
  box-shadow:
    0 0 18px rgba(255,0,166,.13),
    inset 0 0 20px rgba(255,0,166,.05);
  max-height: none;
  overflow: visible;
}

.final-invitation h2 {
  margin: 0 0 9px;
  color: #ffb7ed;
  font-size: 16px;
  line-height: 1.15;
  text-shadow:
    0 0 8px #ff3ac3,
    0 0 18px rgba(255,0,179,.6);
}

/* =========================================================
   PROMOCIÓN HUMANÓMETRO
   ========================================================= */

.humanometro-promo {
  border-color: rgba(94,224,255,.38);
  text-align: center;
  margin-bottom: 12px;
  box-shadow:
    0 0 16px rgba(0,148,255,.12),
    inset 0 0 14px rgba(49,204,255,.04);
}

.humanometro-promo h2 {
  margin: 0 0 8px;
  color: #9fefff;
  font-size: 16px;
  line-height: 1.2;
  text-shadow:
    0 0 8px rgba(60,218,255,.55);
}

.humanometro-promo p {
  margin: 0 0 9px;
  color: rgba(242,249,255,.88);
  font-size: 12px;
  line-height: 1.45;
}

.humanometro-promo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #66eaff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .7px;
  text-shadow:
    0 0 7px rgba(44,216,255,.65);
}

.humanometro-promo-link a {
  color: #66eaff;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(102,234,255,.8);
  text-underline-offset: 3px;
  text-shadow:
    0 0 7px rgba(44,216,255,.65);
  cursor: pointer;
  transition:
    color .25s ease,
    text-shadow .25s ease;
}

.humanometro-promo-link a:hover,
.humanometro-promo-link a:focus-visible {
  color: #ffffff;
  text-shadow:
    0 0 5px #ffffff,
    0 0 12px #66eaff,
    0 0 20px rgba(44,216,255,.85);
}

.promo-click-hint {
  color: rgba(205,244,255,.78);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow:
    0 0 5px rgba(44,216,255,.35);
}

/* =========================================================
   CERRAR — AL FINAL DE TODA LA DEVOLUCIÓN
   ========================================================= */

.restart-button {
  display: block;
  position: static;
  width: 100%;
  min-height: 42px;
  height: 42px;
  margin: 16px 0 20px;
  flex-shrink: 0;
  border: 1px solid #5ceaff;
  border-radius: 30px;
  background: rgba(7,34,70,.78);
  color: white;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(43,213,255,.3);
}

/* =========================================================
   UTILIDADES
   ========================================================= */

.hidden {
  display: none !important;
}

@keyframes availablePulse {
  0%, 100% {
    filter: drop-shadow(0 0 2px rgba(65,222,255,.16));
  }

  50% {
    filter:
      drop-shadow(0 0 7px rgba(65,222,255,.58))
      brightness(1.15);
  }
}

/* =========================================================
   TELÉFONOS
   ========================================================= */

@media (max-width: 520px) {

  .app {
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 1px;
    padding-bottom: 10px;
  }

  .logo-parejas {
    display: block !important;
    width: clamp(24px, 7vw, 30px) !important;
    height: clamp(24px, 7vw, 30px) !important;
    margin-top: 0;
    margin-bottom: -5px;
  }

  .brand-name {
    font-size: clamp(29px, 7.3vw, 43px);
  }

  .brand-couple {
    font-size: clamp(21px, 5.3vw, 32px);
    margin-top: 2px;
  }

  .brand-tagline {
    font-size: 11px;
    margin-top: 2px;
    margin-bottom: 3px;
  }

  .journey-guide {
    font-size: 8px;
    margin-bottom: 5px;
    padding-top: 1px;
    padding-bottom: 1px;
  }

  .wheel-shell {
    width: 72vw;
    max-width: 410px;
    margin-left: 50%;
    transform: translateX(-50%);
    margin-top: 2px;
    margin-bottom: 7px;
  }

  .segment {
    width: 18%;
    height: 18%;
  }

  .segment-name {
    font-size: 6px;
    margin-top: 1px;
  }

  .segment-number {
    font-size: 12px;
  }

  .segment-icon-svg {
    width: 27px;
    height: 22px;
    margin-top: 1px;
  }

  .zodiac {
    font-size: 12px;
  }

  .heart-core {
    width: 33%;
    left: 33.5%;
    top: 33.5%;
  }

  .center-interface-icon {
    width: 94%;
    height: 94%;
  }

  .heart-button {
    width: 72vw;
    min-height: 36px;
    height: 36px;
    margin-top: 3px;
    margin-bottom: 6px;
    font-size: 11px;
  }

  .heart-button-icon {
    font-size: 21px;
  }

  .payment-panel {
    width: 72vw;
  }

  .payment-option {
    height: 29px;
  }

  .payment-logo {
    width: 23px;
    height: 23px;
  }

  .payment-option strong {
    font-size: 10px;
  }

  .payment-arrow {
    font-size: 19px;
  }

  .bottom-motto {
    width: 72vw;
    margin-top: 2px;
  }

  .bottom-motto p {
    font-size: 7px;
  }

  .question-panel {
    padding: 8px 8px 10px;
  }

  .question-panel-inner {
    height: 100%;
  }

  .close-question {
    width: 32px;
    height: 32px;
    font-size: 21px;
  }

  .question-kicker {
    font-size: 8px;
    padding-top: 1px;
  }

  #questionTitle {
    font-size: clamp(20px, 5.7vw, 29px);
    margin-top: 2px;
  }

  .question-subtitle {
    font-size: 8px;
    margin-bottom: 5px;
  }

  .question-progress {
    margin-bottom: 5px;
  }

  #questionProgressText {
    font-size: 8px;
    margin-bottom: 2px;
  }

  .question-progress-track {
    height: 3px;
  }

  .questions-container {
    gap: 4px;
  }

  .question-card {
    padding: 6px 8px;
    border-radius: 9px;
  }

  .question-number {
    font-size: 7px;
    margin-bottom: 2px;
  }

  .question-text {
    font-size: 11px;
    line-height: 1.18;
  }

  .answer-options {
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    margin-top: 5px;
  }

  .answer {
    min-height: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 9px;
  }

  .continue-question {
    min-height: 32px;
    height: 32px;
    margin-top: 1px;
    font-size: 10px;
  }

  .results-panel {
    width: 100%;
    max-height: 67vh;
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 10px;
    padding: 11px 7px 30px;
  }

  .results-inner {
    height: auto;
    max-height: none;
    overflow: visible;
    padding-left: 6px;
    padding-right: 6px;
    padding-bottom: 100px;
  }

  .results-scroll-indicator {
    position: sticky;
    top: 5px;
    right: auto;
    bottom: auto;
    margin-right: 2px;
    font-size: 6.5px;
  }

  .result-general-card,
  .comparison-card,
  .final-invitation,
  .humanometro-promo {
    padding: 11px;
    border-radius: 12px;
  }

  .result-general-card h2,
  .segments-results > h2,
  .comparison-card h2 {
    font-size: 13px;
  }

  .result-general-card p,
  .result-general-card div,
  .comparison-card p,
  .final-invitation p,
  .humanometro-promo p {
    font-size: 11px;
    line-height: 1.4;
  }

  .segment-result {
    padding: 9px 10px;
  }

  .segment-result-title {
    font-size: 10px;
  }

  .segment-result p {
    font-size: 9px;
  }

  .final-invitation h2,
  .humanometro-promo h2 {
    font-size: 15px;
  }

  .humanometro-promo-link {
    font-size: 10px;
  }

  .promo-click-hint {
    font-size: 7px;
  }

  .color-legend {
    padding: 10px;
  }

  .color-legend-title {
    font-size: 9px;
  }

  .legend-heart {
    flex-basis: 25px;
    width: 25px;
    height: 25px;
    font-size: 23px;
  }

  .legend-label strong {
    font-size: 10px;
  }

  .legend-label small {
    font-size: 9px;
  }

  .restart-button {
    min-height: 40px;
    height: 40px;
    margin-top: 16px;
    margin-bottom: 20px;
    font-size: 9px;
  }
}

/* =========================================================
   PANTALLAS ALTAS / ESCRITORIO
   ========================================================= */

@media (min-width: 521px) and (max-height: 850px) {

  .app {
    padding-top: 2px;
    padding-bottom: 10px;
  }

  .logo-parejas {
    display: block !important;
    width: 29px !important;
    height: 29px !important;
    margin-bottom: -6px;
  }

  .brand-name {
    font-size: 40px;
  }

  .brand-couple {
    font-size: 32px;
  }

  .brand-tagline {
    font-size: 12px;
  }

  .journey-guide {
    font-size: 8px;
    margin-bottom: 5px;
  }

  .wheel-shell {
    width: 400px;
    margin-bottom: 7px;
    margin-top: 2px;
  }

  .heart-core {
    width: 33%;
    left: 33.5%;
    top: 33.5%;
  }

  .center-interface-icon {
    width: 94%;
    height: 94%;
  }

  .heart-button {
    min-height: 36px;
    height: 36px;
    margin-top: 3px;
    margin-bottom: 6px;
  }

  .payment-option {
    height: 30px;
  }
}

@media (min-width: 721px) {

  .app {
    padding-top: 4px;
  }

  .wheel-shell {
    width: 410px;
  }
}

/* =========================================================
   AJUSTE FINAL DE PROPORCIONES — HUMANÓMETRO PAREJAS
   ========================================================= */

/* 1. ÍCONO SUPERIOR REDUCIDO Y EN ARMONÍA CON LA INTERFAZ */
.logo-parejas {
  display: block !important;
  width: clamp(25px, 6.5vw, 31px) !important;
  height: clamp(25px, 6.5vw, 31px) !important;
  max-height: 31px !important;
  object-fit: contain;
  object-position: center;
  margin: 0 auto -7px;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  visibility: visible;
  opacity: 1;
  mix-blend-mode: screen;
}

/* 2. CABECERA */
.brand-header {
  margin: 0 auto;
  padding: 0;
}

.brand-tagline {
  margin-top: 2px;
  margin-bottom: 3px;
}

/* 3. DARLE AIRE AL TEXTO ANTES DE LA RUEDA */
.journey-guide {
  margin-top: 2px;
  margin-bottom: 3px;
  padding-top: 1px;
  padding-bottom: 1px;
}

/* 4. RUEDA UN POCO MÁS GRANDE Y CON MEJOR SEPARACIÓN */
.wheel-shell {
  width: min(76vw, 430px);
  margin-top: 1px;
  margin-bottom: 3px;
}

/* 5. LOGO CENTRAL MÁS GRANDE */
.heart-core {
  width: 31%;
  left: 34.5%;
  top: 34.5%;
}

.center-interface-icon {
  width: 96%;
  height: 96%;
}

/* 6. TEXTOS DE LA RUEDA */
.segment-number {
  font-size: clamp(12px, 2.35vw, 16px);
}

.segment-name {
  font-size: clamp(6px, 1.08vw, 8px);
}

/* 7. ICONOS DE LOS SEGMENTOS */
.segment-icon-svg {
  width: clamp(23px, 5vw, 34px);
  height: clamp(19px, 4.25vw, 29px);
}

/* 8. BLOQUE INFERIOR */
.heart-button {
  margin-top: 3px;
  margin-bottom: 3px;
}

.payment-panel {
  margin-top: 1px;
}

.bottom-motto {
  margin-top: 4px;
}

/* =========================================================
   AJUSTE ESPECÍFICO PARA TELÉFONOS
   ========================================================= */

@media (max-width: 520px) {

  .logo-parejas {
    display: block !important;
    width: clamp(24px, 7vw, 30px) !important;
    height: clamp(24px, 7vw, 30px) !important;
    max-height: 30px !important;
    margin-top: 0;
    margin-bottom: -5px;
  }

  .brand-header {
    margin: 0 auto;
    padding: 0;
  }

  .brand-tagline {
    margin-top: 2px;
    margin-bottom: 3px;
  }

  .journey-guide {
    margin-top: 2px;
    margin-bottom: 3px;
    padding-top: 1px;
    padding-bottom: 1px;
  }

  .wheel-shell {
    width: 76vw;
    max-width: 430px;
    margin-top: 1px;
    margin-bottom: 3px;
  }

  .heart-core {
    width: 31%;
    left: 34.5%;
    top: 34.5%;
  }

  .center-interface-icon {
    width: 96%;
    height: 96%;
  }

  .segment-number {
    font-size: 12px;
  }

  .segment-name {
    font-size: 6px;
  }

  .segment-icon-svg {
    width: 27px;
    height: 22px;
  }

  .heart-button {
    width: 76vw;
    margin-top: 3px;
    margin-bottom: 3px;
  }

  .payment-panel {
    width: 76vw;
    margin-top: 1px;
  }

  .bottom-motto {
    width: 76vw;
    margin-top: 4px;
  }

  /* ÚNICO AJUSTE: el panel completo de resultados es ahora
     el contenedor del scroll, incluido el botón final. */
  .results-panel {
    max-height: 67vh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .results-inner {
    height: auto;
    max-height: none;
    overflow: visible;
    padding-bottom: 100px;
  }
}

/* =========================================================
   PANTALLAS ALTAS / ESCRITORIO
   ========================================================= */

@media (min-width: 521px) and (max-height: 850px) {

  .logo-parejas {
    display: block !important;
    width: 29px !important;
    height: 29px !important;
    max-height: 29px !important;
    margin-bottom: -6px;
  }

  .wheel-shell {
    width: 420px;
    margin-top: 1px;
    margin-bottom: 3px;
  }

  .heart-core {
    width: 31%;
    left: 34.5%;
    top: 34.5%;
  }

  .center-interface-icon {
    width: 96%;
    height: 96%;
  }

  .heart-button {
    margin-top: 3px;
  }

  .payment-panel {
    margin-top: 1px;
  }

  .bottom-motto {
    margin-top: 4px;
  }

  /* ÚNICO AJUSTE: el scroll pertenece al panel completo. */
  .results-panel {
    max-height: 68vh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .results-inner {
    height: auto;
    max-height: none;
    overflow: visible;
    padding-bottom: 100px;
  }
}

/* =========================================================
   ESCRITORIO GRANDE
   ========================================================= */

@media (min-width: 721px) {

  .wheel-shell {
    width: 430px;
  }
}
