#proceso > #cuidados {
  padding: clamp(54px, 8vw, 108px) 0 0;
}

.mystery-gift {
  --mystery-edge: 22px;
  --mystery-size: 64px;
  --mystery-safe: 0px;
  position: fixed;
  right: var(--mystery-edge);
  bottom: calc(var(--mystery-edge) + var(--mystery-size) + 12px + var(--mystery-safe));
  z-index: 9999;
}

html.intro-pending .mystery-gift,
html.jc-gated body > .mystery-gift {
  visibility: hidden;
  pointer-events: none;
}

.mystery-toggle {
  appearance: none;
  position: relative;
  display: grid;
  place-items: center;
  width: var(--mystery-size);
  height: var(--mystery-size);
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: none;
  color: #f6d68a;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mystery-toggle:focus-visible,
.mystery-panel :is(button, input):focus-visible {
  outline: 2px solid #f6d68a;
  outline-offset: 3px;
}

.mystery-art {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 6px 9px #000b);
  animation: mystery-float 3.8s ease-in-out infinite;
}

.mystery-lid {
  transform-box: fill-box;
  transform-origin: center bottom;
}

.mystery-sheen {
  animation: mystery-sweep 8s 1.2s infinite;
}

.mystery-toggle[aria-expanded="true"] .mystery-lid {
  animation: mystery-nudge .42s ease-in-out;
}

.mystery-label {
  position: absolute;
  right: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  padding: 6px 9px;
  border: 1px solid #c89d4c57;
  border-radius: 999px;
  background: #0c0c0cec;
  color: #f4d68e;
  font: 600 10px/1.2 Arial, sans-serif;
  box-shadow: 0 6px 20px #0007;
}

.mystery-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: min(318px, calc(100vw - 2 * var(--mystery-edge)));
  max-height: calc(100vh - 184px - var(--mystery-safe));
  max-height: calc(100dvh - 184px - var(--mystery-safe));
  overflow: auto;
  padding: 18px 16px 16px;
  border: 1px solid #cfab6580;
  border-radius: 14px;
  background: #15130e;
  color: #e8deca;
  box-shadow: 0 14px 44px #0009;
}

.mystery-gift [hidden] {
  display: none !important;
}

.mystery-close {
  position: absolute;
  right: 6px;
  top: 5px;
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #efcc82;
  font: 22px/1 Arial, sans-serif;
  cursor: pointer;
}

.mystery-panel h3,
.mystery-access label {
  display: block;
  margin: 0 20px 8px 0;
  color: #f5d893;
  font: 400 21px/1.22 Georgia, "Times New Roman", serif;
}

.mystery-panel p {
  margin: 0;
  color: #ddd4c2;
  font: 13px/1.55 Arial, sans-serif;
}

.mystery-panel .mystery-next {
  margin-top: 11px;
  color: #c8ab6c;
  font-size: 11px;
}

.mystery-access input {
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px solid #8e7348;
  border-radius: 7px;
  background: #090909;
  color: #fff0d0;
  font: 16px/1.25 Arial, sans-serif;
}

.mystery-panel .mystery-error {
  margin-top: 6px;
  color: #f3b8a6;
  font-size: 12px;
}

.mystery-open {
  min-height: 44px;
  margin-top: 10px;
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #f4daa1, #b6873b);
  color: #231708;
  font: 700 12px/1.3 Arial, sans-serif;
  cursor: pointer;
}

.mystery-claim {
  position: fixed;
  inset: 0;
  width: min(648px, calc(100vw - 24px));
  height: min(710px, calc(100vh - 24px));
  height: min(710px, calc(100dvh - 24px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #cfab6580;
  border-radius: 16px;
  background: #11100c;
  color: #f5d893;
  box-shadow: 0 18px 68px #000c;
}

.mystery-claim::backdrop {
  background: #060503cc;
}

.mystery-claim [hidden] {
  display: none !important;
}

.mystery-claim-close {
  z-index: 6;
  right: 8px;
  top: 8px;
  width: 44px;
  height: 44px;
  background: #18140ff0;
  border: 1px solid #cfab6550;
}

.mystery-claim-close:focus-visible {
  outline: 2px solid #f6d68a;
  outline-offset: 2px;
}

.mystery-claim-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.mystery-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.mystery-claim[data-phase] {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  border: 0;
  border-radius: 0;
  background: #11100c;
  box-shadow: none;
}

.mystery-claim[data-phase] .mystery-claim-close {
  top: max(8px, env(safe-area-inset-top));
  right: max(8px, env(safe-area-inset-right));
}

.mystery-reveal {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  isolation: isolate;
  background: #100d0a;
}

.mystery-reveal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 48%, #30200f 0, transparent 64%);
}

.mystery-reveal-art {
  grid-area: 1 / 1;
  position: relative;
  display: grid;
  place-items: center;
  width: min(280px, 65vw);
  isolation: isolate;
  transform-origin: center;
}

.mystery-spin-model {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 6px 9px #000b);
}

.mystery-reveal .mystery-art {
  position: relative;
  z-index: 1;
  animation: none;
}

.mystery-interior { opacity: 0; }
.mystery-reveal .mystery-sheen { animation: none; }

.mystery-flash,
.mystery-rays {
  position: absolute;
  z-index: 2;
  top: 39%;
  left: 50%;
  width: 175%;
  aspect-ratio: 1;
  opacity: 0;
  pointer-events: none;
}

.mystery-seam {
  position: absolute;
  z-index: 2;
  top: 43%;
  left: 17%;
  width: 57%;
  height: 4%;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(ellipse, #fff2c8 0%, #f5c978b0 30%, #eeb05534 61%, transparent 76%);
  filter: blur(2px);
  transform: rotate(10deg);
}

.mystery-flash {
  background: radial-gradient(ellipse at center, #fff5cb 0%, #ffdf90db 11%, #eabb508a 24%, #ce8b3238 41%, transparent 66%);
}

.mystery-rays {
  background: repeating-conic-gradient(from 11deg, transparent 0deg 32deg, #ffe7ac7d 34deg 36deg, transparent 40deg 60deg);
  mask-image: radial-gradient(ellipse at center, #0000 0%, #000 12%, #0008 36%, #0000 66%);
}

.mystery-dust {
  position: absolute;
  z-index: 3;
  top: 39%;
  left: 50%;
  pointer-events: none;
}

.mystery-spark {
  position: absolute;
  inset: 0 auto auto 0;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: #ffeab8;
  box-shadow: 0 0 5px 1px #f8c56dab;
  opacity: 0;
}

.mystery-claim[data-phase="shaking"] .mystery-art {
  transform-origin: 50% 62%;
  animation: mystery-shake var(--shake-time) ease-in-out both;
}

.mystery-claim[data-phase="shaking"] .mystery-seam {
  animation: mystery-anticipation var(--shake-time) ease-in-out both;
}

.mystery-claim[data-phase="opening"] .mystery-lid { animation: mystery-lift var(--opening-time) ease-in-out both; }
.mystery-claim[data-phase="opening"] .mystery-seam { animation: mystery-seam var(--opening-time) ease-in-out both; }
.mystery-claim[data-phase="opening"] .mystery-interior { animation: mystery-interior var(--opening-time) ease-in-out both; }
.mystery-claim[data-phase="opening"] .mystery-flash { animation: mystery-flash var(--opening-time) ease-in-out both; }
.mystery-claim[data-phase="opening"] .mystery-rays { animation: mystery-rays var(--opening-time) ease-in-out both; }
.mystery-claim[data-phase="opening"] .mystery-spark {
  animation: mystery-spark var(--lifespan) cubic-bezier(.19,.56,.26,1) var(--delay) both;
}

.mystery-claim[data-phase="opening"] .mystery-reveal-art {
  animation: mystery-box-recede .72s ease-out var(--ticket-delay) both;
}

.mystery-claim[data-phase="opening"] .mystery-reveal::before {
  animation: mystery-box-recede .72s ease-out var(--ticket-delay) both;
}

.mystery-ticket-preview {
  grid-area: 1 / 1;
  position: relative;
  z-index: 4;
  animation: mystery-ticket-rise 1.9s cubic-bezier(.2,.65,.23,1) both;
}

.mystery-ticket-preview::before,
.mystery-ticket-preview::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
}

.mystery-ticket-preview::before {
  inset: -18% 5%;
  z-index: 1;
  background: radial-gradient(ellipse at center, #fffdf6 0%, #fff3c5 7%, #ffd68bb0 19%, #dd922b51 37%, transparent 68%);
  animation: mystery-ticket-light 2.45s ease-out both;
}

.mystery-ticket-preview::after {
  top: -6px;
  right: 15%;
  width: 27px;
  height: 27px;
  background: #fff3c6;
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
  animation: mystery-ticket-star .9s ease-out 2.04s both;
}

.mystery-ticket-flare {
  position: absolute;
  z-index: 2;
  inset: -20% 10%;
  pointer-events: none;
}

.mystery-ticket-flare::before,
.mystery-ticket-flare::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
}

.mystery-ticket-flare::before {
  background: conic-gradient(from 12deg, transparent 0deg 67deg, #ffe6af 77deg, transparent 85deg 149deg,
    #ffd088a6 165deg, transparent 174deg 246deg, #fff0c8 257deg, transparent 265deg 330deg,
    #ffe0a68c 341deg, transparent 350deg);
  mask-image: radial-gradient(ellipse, #000 3%, #0009 33%, transparent 68%);
  animation: mystery-ticket-rays 1.75s ease-out .1s both;
}

.mystery-ticket-flare::after {
  background: radial-gradient(ellipse, transparent 43%, #f1bd6b70 47%, #ffd590af 49%, transparent 53%);
  animation: mystery-ticket-halo 1.65s ease-out .37s both;
}

.mystery-sample-ticket {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24%;
  width: min(362px, calc(100vw - 40px));
  min-height: 176px;
  text-align: center;
  color: #41270d;
  border: 1px solid #f8d88d;
  background: repeating-linear-gradient(157deg, #fff7cb20 0 1px, transparent 1px 6px),
    linear-gradient(115deg, #c28a36 0%, #f4d891 25%, #ffe8a8 42%, #d8a649 66%, #f4d38a 86%, #b98232 100%);
  clip-path: polygon(11px 0, calc(100% - 11px) 0, 100% 11px, 100% calc(50% - 10px),
    calc(100% - 8px) 50%, 100% calc(50% + 10px), 100% calc(100% - 11px),
    calc(100% - 11px) 100%, 11px 100%, 0 calc(100% - 11px),
    0 calc(50% + 10px), 8px 50%, 0 calc(50% - 10px), 0 11px);
  animation: mystery-ticket-form 1.4s ease-out .88s both,
    mystery-ticket-hover 3.6s ease-in-out 2.28s infinite;
}

.mystery-sample-ticket::before {
  content: "";
  position: absolute;
  inset: 8px 10px;
  border: 3px double #68401eaa;
  pointer-events: none;
}

.mystery-sample-ticket::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 37%, #fff2c045 47%, #fff9e29c 50%, #fff2c052 53%, transparent 63%);
  transform: translateX(-115%);
  animation: mystery-ticket-sheen 1.25s ease-in-out 1.96s both;
}

.mystery-sample-copy,
.mystery-sample-stub {
  display: grid;
  justify-items: center;
  align-content: center;
}

.mystery-sample-copy {
  gap: 5px;
  min-width: 0;
  padding: 18px 10px;
}

.mystery-sample-stub {
  gap: 5px;
  border-left: 1px dashed #69411f91;
  background: linear-gradient(100deg, #6b421c0f, #fff1c03b);
  font-size: 15px;
}

.mystery-sample-logo {
  display: block;
  width: min(40px, 68%);
  height: 62px;
  object-fit: contain;
  object-position: center;
  transform: translate(.5px, -.5px);
  filter: brightness(0) saturate(100%) invert(19%) sepia(29%) saturate(1425%) hue-rotate(356deg) brightness(89%);
}

.mystery-sample-brand,
.mystery-sample-caption {
  font: 700 9px/1.25 Arial, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.mystery-sample-title {
  font: 700 clamp(17px, 4.3vw, 24px)/1.05 Georgia, serif;
  letter-spacing: .025em;
  text-transform: uppercase;
  text-shadow: 0 1px #fff0ac;
}

.mystery-sample-ticket strong {
  font: 700 clamp(42px, 12vw, 66px)/.95 Georgia, serif;
  letter-spacing: -.04em;
  text-shadow: 0 1px #fff0ac;
}

@keyframes mystery-ticket-rise {
  0% { opacity: 0; transform: translateY(-22px) scale(.22); }
  15% { opacity: 1; transform: translateY(-55px) scale(.44); }
  58% { opacity: 1; transform: translateY(-23px) scale(.90); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes mystery-box-recede {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes mystery-ticket-form {
  0% { opacity: 0; filter: brightness(2.1) saturate(.48); }
  38% { opacity: .82; filter: brightness(1.53) saturate(.7); }
  100% { opacity: 1; filter: brightness(1) saturate(1); }
}

@keyframes mystery-ticket-hover {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-7px); }
}

@keyframes mystery-ticket-light {
  0% { opacity: 0; transform: scale(.1, .38); }
  13% { opacity: .92; transform: scale(.32, .74); }
  32% { opacity: 1; transform: scale(.96, 1.04); }
  61% { opacity: .54; transform: scale(1.23); }
  100% { opacity: 0; transform: scale(1.54); }
}

@keyframes mystery-ticket-rays {
  0% { opacity: 0; transform: rotate(-11deg) scale(.36); }
  34% { opacity: .58; transform: rotate(-3deg) scale(.83); }
  100% { opacity: 0; transform: rotate(8deg) scale(1.29); }
}

@keyframes mystery-ticket-halo {
  0% { opacity: 0; transform: scale(.36, .25); }
  33% { opacity: .56; transform: scale(.9, .7); }
  100% { opacity: 0; transform: scale(1.44, 1.1); }
}

@keyframes mystery-ticket-star {
  0%, 100% { opacity: 0; transform: scale(.18) rotate(-22deg); }
  35% { opacity: .95; transform: scale(1) rotate(7deg); }
}

@keyframes mystery-ticket-sheen {
  from { transform: translateX(-115%); }
  to { transform: translateX(115%); }
}

  @keyframes mystery-shake {
    0%, 100% { transform: translate(0, 0) rotate(0); }
    13% { transform: translate(-2px, 0) rotate(-1.4deg); }
    25% { transform: translate(4px, -1px) rotate(2deg); }
    37% { transform: translate(-5px, 1px) rotate(-2.8deg); }
    49% { transform: translate(7px, -2px) rotate(3.6deg); }
    61% { transform: translate(-7px, 1px) rotate(-3.6deg); }
    73% { transform: translate(6px, -1px) rotate(3deg); }
    85% { transform: translate(-4px, 0) rotate(-1.7deg); }
    93% { transform: translate(2px, 0) rotate(.7deg); }
  }

  @keyframes mystery-anticipation {
    0%, 21%, 100% { opacity: 0; }
    69%, 85% { opacity: .32; }
  }

  @keyframes mystery-lift {
    0%, 15% { transform: translateY(0); opacity: 1; }
    25% { transform: translate(-1px, -7px) rotate(-1deg); }
    56% { transform: translate(-9px, -57px) rotate(-8deg); opacity: 1; }
    76% { transform: translate(-14px, -78px) rotate(-13deg); opacity: .91; }
    100% { transform: translate(-22px, -102px) rotate(-19deg); opacity: 0; }
  }

  @keyframes mystery-seam {
    0%, 6% { opacity: 0; transform: rotate(10deg) scaleX(.56); }
    21%, 28% { opacity: .9; transform: rotate(10deg) scaleX(1); }
    53%, 100% { opacity: 0; transform: rotate(10deg) scaleX(1.07); }
  }

  @keyframes mystery-interior {
    0%, 15% { opacity: 0; }
    46%, 72% { opacity: .94; }
    100% { opacity: .53; }
  }

  @keyframes mystery-flash {
    0%, 14% { opacity: 0; transform: translate(-50%, -50%) scale(.15); }
    36% { opacity: .58; transform: translate(-50%, -50%) scale(.47); }
    58% { opacity: .82; transform: translate(-50%, -50%) scale(.84); }
    79% { opacity: .45; transform: translate(-50%, -50%) scale(1.04); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.16); }
  }

  @keyframes mystery-rays {
    0%, 30% { opacity: 0; transform: translate(-50%, -50%) rotate(-8deg) scale(.32); }
    62% { opacity: .56; transform: translate(-50%, -50%) rotate(3deg) scale(.86); }
    100% { opacity: 0; transform: translate(-50%, -50%) rotate(15deg) scale(1.17); }
  }

  @keyframes mystery-spark {
    0% { opacity: 0; transform: scale(.25); }
    18% { opacity: .92; }
    59% { opacity: .72; transform: translate(calc(var(--dx) * .43 + var(--curve)), calc(var(--dy) * .63)) scale(1); }
    100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.42); }
  }

@keyframes mystery-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px) rotate(-2deg); }
}

@keyframes mystery-nudge {
  0%, 100% { transform: translateY(0); }
  42% { transform: translateY(-4px) rotate(-.8deg); }
}

@keyframes mystery-sweep {
  0%, 73% { transform: translateX(0) skewX(-18deg); }
  92%, 100% { transform: translateX(560px) skewX(-18deg); }
}

@media (max-width: 850px) {
  .mystery-gift {
    --mystery-edge: 16px;
    --mystery-size: 58px;
    --mystery-safe: env(safe-area-inset-bottom, 0px);
  }
}

@media (max-width: 600px) {
  body.jc-contact-inview > .mystery-gift { visibility: hidden; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mystery-art, .mystery-sheen, .mystery-toggle[aria-expanded="true"] .mystery-lid,
  .mystery-claim[data-phase] *,
  .mystery-reveal::before, .mystery-ticket-preview::before, .mystery-ticket-preview::after,
  .mystery-ticket-flare::before, .mystery-ticket-flare::after,
  .mystery-sample-ticket::after { animation: none !important; }
  .mystery-ticket-preview { transform: none; }
}
