.guest-check-visual{
  position:relative;
  width:164px;
  height:164px;
  margin:0 auto 22px;
  padding:7px;
  border-radius:34px;
  background:linear-gradient(145deg,rgba(61,90,254,.18),rgba(237,76,145,.2));
  box-shadow:0 22px 50px rgba(61,90,254,.18);
  overflow:visible;
}

.guest-check-visual video{
  display:block;
  width:100%;
  height:100%;
  border-radius:28px;
  background:#f5f3ff;
  object-fit:cover;
}

.guest-check-visual span{
  position:absolute;
  left:50%;
  bottom:-13px;
  display:flex;
  width:max-content;
  align-items:center;
  gap:7px;
  padding:8px 12px;
  border:1px solid rgba(61,90,254,.14);
  border-radius:999px;
  background:rgba(255,255,255,.95);
  color:#3447bd;
  font-size:11px;
  font-weight:900;
  box-shadow:0 10px 24px rgba(22,32,51,.1);
  transform:translateX(-50%);
}

.guest-check-visual span i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#23aa72;
  box-shadow:0 0 0 5px rgba(35,170,114,.12);
  animation:guestStatusPulse 1.3s ease-in-out infinite;
}

.guest-demo-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
}

.guest-type{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 10px;
  border-radius:999px;
  background:#eef0ff;
  color:#4054d6;
  font-size:11px;
  font-weight:950;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.guest-demo-note{
  color:#8b93a6;
  font-size:12px;
  font-weight:750;
}

.guest-question{
  margin:0;
  font-size:clamp(25px,4.2vw,34px);
  line-height:1.15;
  letter-spacing:-.045em;
}

.guest-question-help{
  margin:9px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

.guest-choices{
  gap:12px;
  margin-top:24px;
}

.guest-choice{
  display:grid;
  grid-template-columns:38px 1fr;
  align-items:center;
  gap:13px;
  min-height:62px;
  padding:11px 15px;
  border-color:rgba(61,90,254,.13);
  border-radius:18px;
  box-shadow:0 8px 22px rgba(36,48,88,.04);
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}

.guest-choice:hover{
  transform:translateY(-2px);
  box-shadow:0 13px 28px rgba(61,90,254,.09);
}

.guest-choice__letter{
  display:grid;
  width:36px;
  height:36px;
  place-items:center;
  border-radius:11px;
  background:#eef0ff;
  color:#4054d6;
  font-size:13px;
  font-weight:950;
}

.guest-choice__text{
  line-height:1.35;
}

.guest-choice.is-selected .guest-choice__letter{
  background:linear-gradient(135deg,var(--blue),var(--pink));
  color:#fff;
}

.guest-flip-wrap{
  margin-top:22px;
  perspective:1200px;
}

.guest-flip-card{
  display:block;
  width:100%;
  min-height:280px;
  padding:0;
  border:0;
  border-radius:24px;
  background:transparent;
  color:inherit;
  font:inherit;
  text-align:left;
  cursor:pointer;
}

.guest-flip-card__inner{
  position:relative;
  display:block;
  width:100%;
  min-height:280px;
  transform-style:preserve-3d;
  transition:transform .62s cubic-bezier(.2,.8,.2,1);
}

.guest-flip-card.is-flipped .guest-flip-card__inner{
  transform:rotateY(180deg);
}

.guest-flip-card__face{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:28px;
  border:1px solid rgba(61,90,254,.13);
  border-radius:24px;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  overflow:hidden;
  box-shadow:0 20px 45px rgba(36,48,88,.11);
}

.guest-flip-card__face:after{
  content:"";
  position:absolute;
  right:-45px;
  bottom:-65px;
  width:190px;
  height:190px;
  border-radius:50%;
  background:linear-gradient(135deg,rgba(61,90,254,.12),rgba(237,76,145,.14));
  pointer-events:none;
}

.guest-flip-card__front{
  background:linear-gradient(145deg,#fff 0%,#f4f5ff 100%);
}

.guest-flip-card__back{
  background:linear-gradient(145deg,#353fbd 0%,#8a4af3 52%,#e64a92 100%);
  color:#fff;
  transform:rotateY(180deg);
}

.guest-flip-card__label{
  position:relative;
  z-index:1;
  width:max-content;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(61,90,254,.1);
  color:#4054d6;
  font-size:11px;
  font-weight:950;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.guest-flip-card__back .guest-flip-card__label{
  background:rgba(255,255,255,.16);
  color:#fff;
}

.guest-flip-card__text{
  position:relative;
  z-index:1;
  margin:auto 0;
  font-size:clamp(26px,5vw,38px);
  font-weight:950;
  line-height:1.08;
  letter-spacing:-.045em;
}

.guest-flip-card__hint{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:8px;
  color:#737d94;
  font-size:13px;
  font-weight:800;
}

.guest-flip-card__back .guest-flip-card__hint{
  color:rgba(255,255,255,.82);
}

.guest-flash-actions{
  grid-template-columns:1fr 1fr;
  margin-top:16px;
}

.guest-match-board{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:22px;
}

.guest-match-col{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.guest-match-col__label{
  padding:0 4px;
  color:#8b93a6;
  font-size:11px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.guest-match-btn{
  position:relative;
  display:flex;
  width:100%;
  min-height:58px;
  align-items:center;
  padding:12px 42px 12px 14px;
  border:1px solid rgba(61,90,254,.14);
  border-radius:16px;
  background:#fff;
  color:var(--ink);
  font:inherit;
  font-size:13px;
  font-weight:850;
  line-height:1.3;
  text-align:left;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(36,48,88,.04);
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}

.guest-match-btn:hover:not(:disabled){
  transform:translateY(-1px);
  border-color:#98a4ef;
}

.guest-match-btn.is-active{
  border-color:#8a4af3;
  background:#f4efff;
  box-shadow:0 0 0 3px rgba(138,74,243,.1);
}

.guest-match-btn.is-correct{
  border-color:#55bf8d;
  background:#eaf8f1;
  color:#087443;
}

.guest-match-btn.is-correct:after{
  content:"✓";
  position:absolute;
  right:14px;
  display:grid;
  width:23px;
  height:23px;
  place-items:center;
  border-radius:50%;
  background:#20a66d;
  color:#fff;
  font-size:12px;
}

.guest-match-btn.is-wrong{
  border-color:#ef6b80;
  background:#fff0f2;
  color:#a52d47;
  animation:guestShake .36s ease;
}

.guest-match-status{
  min-height:22px;
  margin:14px 0 0;
  color:#697389;
  font-size:13px;
  font-weight:800;
  text-align:center;
}

.guest-feedback{
  display:grid;
  grid-template-columns:54px 1fr;
  align-items:center;
  gap:13px;
  text-align:left;
}

.guest-feedback img{
  width:54px;
  height:54px;
  object-fit:contain;
}

.guest-feedback strong,
.guest-feedback span{
  display:block;
}

.guest-feedback strong{
  margin-bottom:3px;
  font-size:16px;
}

.guest-feedback span{
  font-size:13px;
  font-weight:700;
  line-height:1.4;
}

@keyframes guestStatusPulse{
  50%{transform:scale(.72);opacity:.65}
}

@keyframes guestShake{
  25%{transform:translateX(-4px)}
  50%{transform:translateX(4px)}
  75%{transform:translateX(-2px)}
}

@media(max-width:600px){
  .guest-check-visual{width:142px;height:142px;border-radius:30px}
  .guest-check-visual video{border-radius:24px}
  .guest-demo-head{align-items:flex-start;flex-direction:column;gap:8px}
  .guest-demo-note{display:none}
  .guest-question{font-size:26px}
  .guest-choice{grid-template-columns:34px 1fr;min-height:58px;padding:10px 12px}
  .guest-choice__letter{width:33px;height:33px}
  .guest-flip-card,.guest-flip-card__inner{min-height:250px}
  .guest-flip-card__face{padding:22px}
  .guest-flip-card__text{font-size:28px}
  .guest-match-board{gap:9px}
  .guest-match-btn{min-height:56px;padding:10px 34px 10px 11px;font-size:12px}
  .guest-match-btn.is-correct:after{right:9px;width:21px;height:21px}
}

@media(prefers-reduced-motion:reduce){
  .guest-check-visual span i,
  .guest-match-btn.is-wrong{animation:none}
  .guest-flip-card__inner{transition:none}
}
