/* Cuestionario "¿Cuál es tu K-Side by Samsung?" — HTML + CSS puros */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-text-size-adjust: 100%;
  background: #d8cde3;
  font-family: "Outfit", "Samsung Sharp Sans", system-ui, sans-serif;
  color: #fff;
}

button {
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* ---------- Lienzo fijo 1024 x 2430, ancho de salida 1752 ---------- */

.stage {
  position: fixed;
  inset: 0;
  overflow: auto;
}

.stage-clip {
  overflow: hidden;
}

.board {
  position: relative;
  width: 1024px;
  height: 2430px;
  transform-origin: top left;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.logo {
  position: absolute;
  left: 41px;
  width: 177px;
  height: auto;
}

/* ---------- Botón tipo píldora ---------- */

.pill {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  font-size: 36px;
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.08);
  transition:
    opacity 0.2s,
    background 0.2s;
}

.pill[disabled] {
  opacity: 0.4;
}

.pill svg {
  width: 30px;
  height: 30px;
}

/* ---------- Intro ---------- */

.intro-title {
  position: absolute;
  left: 24px;
  top: 78px;
  width: 976px;
  margin: 0;
  text-align: right;
  font-size: 114px;
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.intro-text {
  position: absolute;
  left: 92px;
  top: 522px;
  width: 500px;
  margin: 0;
  font-size: 21px;
  line-height: 1.5;
}

.intro-claim {
  position: absolute;
  left: 396px;
  top: 646px;
  width: 430px;
  margin: 0;
  font-size: 46px;
  line-height: 1.3;
}

.intro-btn {
  left: 400px;
  top: 906px;
  width: 250px;
  height: 62px;
}

/* ---------- Preguntas ---------- */

.q-number {
  position: absolute;
  left: 96px;
  top: 110px;
  font-size: 300px;
  line-height: 1;
  font-weight: 200;
}

.q-title {
  position: absolute;
  left: 200px;
  top: 430px;
  width: 717px;
  margin: 0;
  text-align: right;
  font-size: 58px;
  line-height: 1.3;
  font-weight: 500;
  white-space: pre-line;
}

.q-line {
  position: absolute;
  left: 94px;
  width: 823px;
  height: 2px;
  background: rgba(255, 255, 255, 0.75);
}

.answer {
  position: absolute;
  left: 120px;
  width: 812px;
  height: 320px;
  padding: 0;
  border: none;
  background: transparent;
  text-align: left;
}

.answer .link {
  position: absolute;
  left: 124px;
  top: 54px;
  width: 64px;
  height: 2px;
  background: rgba(255, 255, 255, 0.95);
  transform: rotate(45deg);
  transform-origin: left center;
  pointer-events: none;
}

.answer .letter {
  position: absolute;
  left: 15px;
  top: 20px;
  width: 110px;
  height: 71px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  background: rgba(70, 48, 100, 0.42);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  transition:
    background 0.2s,
    color 0.2s;
}

.answer .text {
  position: absolute;
  left: 133px;
  top: 63px;
  width: 662px;
  min-height: 256px;
  display: flex;
  align-items: center;
  border-radius: 120px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  background: rgba(70, 48, 100, 0.42);
  color: #fff;
  font-size: 34px;
  line-height: 1.45;
  padding: 0 56px;
  transition:
    background 0.2s,
    color 0.2s;
}

.answer.selected .letter {
  background: #fff;
  color: #6b5b8a;
}

.answer.selected .text {
  background: rgba(255, 255, 255, 0.92);
  color: #5c4d7a;
}

.q-next {
  left: 362px;
  top: 2099px;
  width: 300px;
  height: 70px;
}

/* ---------- Resultado ---------- */

.r-kicker {
  position: absolute;
  left: 99px;
  top: 250px;
  width: 850px;
  font-size: 96px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.r-kicker span {
  opacity: 0.85;
}

.r-title {
  position: absolute;
  left: 99px;
  top: 430px;
  width: 500px;
  margin: 0;
  color: #6b4f8f;
  font-size: 62px;
  line-height: 1.12;
  font-weight: 600;
  white-space: pre-line;
}

.r-body {
  position: absolute;
  left: 99px;
  top: 580px;
  color: #4b3d63;
  font-size: 27px;
  line-height: 1.5;
}

.r-body p {
  margin: 0 0 20px;
}

.r-pill {
  position: absolute;
  left: 99px;
  top: 1055px;
  width: 375px;
  height: 65px;
  border-radius: 999px;
  background: #6b4f8f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.r-super {
  position: absolute;
  left: 99px;
  top: 1148px;
  margin: 0;
  color: #4b3d63;
  font-size: 30px;
  line-height: 1.4;
}

.r-phone-intro {
  position: absolute;
  left: 600px;
  top: 660px;
  width: 330px;
  color: #4b3d63;
  font-size: 28px;
  line-height: 1.35;
}

.r-phone-intro strong {
  color: #6b4f8f;
}

.r-phone-text {
  position: absolute;
  left: 222px;
  margin: 0;
  color: #4b3d63;
  font-size: 27px;
  line-height: 1.5;
}

.r-restart {
  position: absolute;
  left: 362px;
  top: 1780px;
  width: 300px;
  height: 70px;
  border-radius: 999px;
  border: 2px solid #6b4f8f;
  color: #6b4f8f;
  background: transparent;
  font-size: 32px;
}

/* ---------- Pantalla de acceso ---------- */

.gate {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  background: linear-gradient(160deg, #d8cde3 0%, #e7d8e2 45%, #fbddd5 100%);
}

.gate img {
  position: absolute;
  top: 40px;
  left: 40px;
  width: 160px;
}

.gate form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 28rem;
}

.gate h1 {
  margin: 0;
  text-align: center;
  font-size: 30px;
  font-weight: 500;
}

.gate input {
  width: 100%;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.25);
  padding: 16px 28px;
  text-align: center;
  font-size: 20px;
  color: #fff;
  outline: none;
  font-family: inherit;
}

.gate input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.gate button {
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.2);
  padding: 16px 48px;
  font-size: 20px;
  color: #fff;
}

.gate .error {
  margin: 0;
  font-size: 14px;
}
