/* ===== UX revision v3: reference Sun Point cards, stronger reveal, form + mobile prize alignment ===== */

/* Benefits cards recreated from the supplied reference compositions. */
.benefits-section .experience-grid{align-items:stretch!important}
.benefits-section .experience-card.benefit-card-redesign{
  min-height:570px!important;
  height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  border:1px solid rgba(244,218,153,.42)!important;
  border-radius:27px!important;
  background:#0d4388!important;
  box-shadow:0 24px 48px rgba(0,22,57,.34)!important;
  color:#fff!important;
}
.benefits-section .benefit-card-copyzone{
  position:relative;
  z-index:2;
  min-height:295px;
  padding:30px 27px 18px;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  background:linear-gradient(180deg,#104788 0%,#0f4282 68%,#164f91 100%);
  text-align:center;
}
.benefits-section .benefit-card-copyzone::after{
  content:"";
  position:absolute;
  z-index:-1;
  left:-8%;right:-8%;bottom:-44px;
  height:96px;
  background:radial-gradient(ellipse at 50% 0,rgba(58,135,201,.74) 0%,rgba(40,105,170,.58) 42%,rgba(20,75,137,0) 74%);
  pointer-events:none;
}
.benefits-section .benefit-deposit-title{
  margin:0!important;
  min-height:48px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  color:#ffe19a!important;
  font-size:clamp(28px,2.7vw,39px)!important;
  font-weight:850!important;
  line-height:1.08!important;
  letter-spacing:-.035em!important;
  text-transform:uppercase;
}
.benefits-section .benefit-deposit-title>span{font-size:.65em;line-height:1;filter:drop-shadow(0 2px 5px rgba(255,226,154,.2))}
.benefits-section .benefit-reward{
  margin:22px 0 0!important;
  color:#f5f7fb!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.55!important;
}
.benefits-section .benefit-reward strong{color:#ffe5a2!important;font-weight:850!important;white-space:nowrap}
.benefits-section .benefit-divider{
  width:38%;height:1px;margin:17px auto 14px;
  background:linear-gradient(90deg,transparent,rgba(255,228,164,.55),transparent);
}
.benefits-section .benefit-equivalent{
  display:grid;
  grid-template-columns:86px minmax(0,1fr);
  align-items:center;
  gap:16px;
  text-align:left;
}
.benefits-section .benefit-equivalent>strong{
  color:#ffe19a!important;
  font-size:clamp(56px,5.1vw,76px)!important;
  font-weight:850!important;
  line-height:.9!important;
  letter-spacing:-.075em!important;
  font-variant-numeric:lining-nums tabular-nums;
}
.benefits-section .benefit-equivalent>p{
  margin:0!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:650!important;
  line-height:1.48!important;
  text-wrap:pretty;
}
.benefits-section .benefit-card-redesign .experience-image{
  position:relative!important;
  z-index:1;
  flex:1 1 auto!important;
  height:275px!important;
  min-height:275px!important;
  margin:0!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,#2d75b3,#dceefa)!important;
}
.benefits-section .benefit-card-redesign .experience-image::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:linear-gradient(180deg,rgba(12,65,129,.52) 0%,rgba(12,65,129,.08) 26%,transparent 54%)!important;
  pointer-events:none!important;
}
.benefits-section .benefit-card-redesign .experience-image img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center center!important;
  transform:none!important;
  filter:none!important;
}
/* The plane artwork sits slightly too low in the source image: lift the crop. */
.benefits-section .benefit-card-flight .experience-image img{object-position:center 35%!important;transform:scale(1.035)!important}
.benefits-section .benefit-card-danang .experience-image img{object-position:center 56%!important}
.benefits-section .benefit-card-phuquoc .experience-image img{object-position:center 56%!important}
@media(hover:hover) and (pointer:fine){
  .benefits-section .experience-card.benefit-card-redesign:hover{transform:translateY(-5px)!important;border-color:rgba(255,226,160,.75)!important;box-shadow:0 30px 60px rgba(0,22,57,.44)!important}
  .benefits-section .experience-card.benefit-card-redesign:hover .experience-image img{transform:scale(1.045)!important}
  .benefits-section .benefit-card-flight:hover .experience-image img{transform:scale(1.075)!important}
}

/* Simulator: Sun Point appears before the secondary interest estimate. */
.simulator-result .result-points{margin-bottom:20px!important}
.simulator-result .result-main{margin-top:0!important;padding:15px 17px 2px!important;border-top:1px solid rgba(255,255,255,.13)}
.simulator-result .result-main>span{font-size:9px!important;color:#abc7dd!important}
.simulator-result .result-main>p{margin:5px 0 4px!important}
.simulator-result .result-main strong{font-size:26px!important;color:#d3e4f0!important;font-weight:650!important}
.simulator-result .result-main>p>span{font-size:14px!important;color:#d3e4f0!important}

/* Give the suggestion CTA a deliberate pressed/activation state. */
.simulator-result .result-suggestion.is-activating{
  transform:translateY(-1px) scale(.985)!important;
  box-shadow:0 0 0 4px rgba(255,224,144,.22),0 14px 36px rgba(0,20,49,.38)!important;
  background-position:100% 0!important;
}

/* More theatrical reveal: scroll first, then open from a gold-blue portal. */
.usage-section.usage-gated:not(.is-open):not(.is-opening){display:none!important}
.usage-section.usage-gated.is-opening{
  display:block!important;
  min-height:min(780px,88vh)!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
.usage-section.usage-gated.is-open{
  display:block!important;
  position:relative!important;
  overflow:hidden!important;
  transform-origin:50% 0;
  animation:ncb-usage-portal 1.08s cubic-bezier(.16,.8,.2,1) both!important;
}
.usage-section.usage-gated.is-open::before{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  left:50%!important;
  top:-34%!important;
  width:min(1120px,128vw)!important;
  aspect-ratio:1!important;
  border-radius:50%!important;
  background:
    radial-gradient(circle at center,rgba(255,226,145,.72) 0 2%,rgba(255,226,145,.2) 12%,rgba(44,163,224,.25) 32%,rgba(20,92,167,.08) 52%,transparent 70%)!important;
  transform:translateX(-50%) scale(.18)!important;
  opacity:0;
  pointer-events:none!important;
  animation:ncb-usage-portal-bloom 1.42s .06s cubic-bezier(.16,.8,.2,1) both!important;
}
.usage-section.usage-gated.is-open::after{
  content:"✦  GỢI Ý SUN POINT DÀNH CHO BẠN";
  position:absolute;
  z-index:8;
  top:22px;
  left:50%;
  transform:translate(-50%,-18px) scale(.9);
  padding:10px 17px;
  border:1px solid rgba(236,202,116,.65);
  border-radius:999px;
  background:linear-gradient(120deg,rgba(8,57,111,.96),rgba(9,99,162,.96));
  color:#ffe5a2;
  box-shadow:0 12px 30px rgba(4,38,79,.28),inset 0 1px rgba(255,255,255,.1);
  font-size:10px;
  font-weight:850;
  letter-spacing:.11em;
  white-space:nowrap;
  pointer-events:none;
  opacity:0;
  animation:ncb-usage-reveal-badge 1.8s .12s ease both;
}
.usage-section.usage-gated.is-open>.container{position:relative!important;z-index:1!important}
.usage-section.usage-gated.is-open .usage-heading,
.usage-section.usage-gated.is-open .destination-discovery,
.usage-section.usage-gated.is-open .usage-method-heading,
.usage-section.usage-gated.is-open .usage-grid,
.usage-section.usage-gated.is-open .partner-strip{
  animation:ncb-usage-content-rise .78s .35s cubic-bezier(.2,.75,.2,1) both;
}
.usage-section.usage-gated.is-open .destination-discovery{animation-delay:.45s!important}
.usage-section.usage-gated.is-open .usage-method-heading{animation-delay:.54s!important}
.usage-section.usage-gated.is-open .usage-grid{animation-delay:.62s!important}
.usage-section.usage-gated.is-open .partner-strip{animation-delay:.7s!important}
@keyframes ncb-usage-portal{
  0%{opacity:0;transform:translateY(30px) scale(.985);clip-path:circle(2% at 50% 0%);filter:saturate(.7) brightness(1.15)}
  42%{opacity:1;filter:saturate(1.18) brightness(1.04)}
  100%{opacity:1;transform:none;clip-path:circle(155% at 50% 0%);filter:none}
}
@keyframes ncb-usage-portal-bloom{
  0%{opacity:0;transform:translateX(-50%) scale(.18)}
  36%{opacity:1}
  100%{opacity:0;transform:translateX(-50%) scale(1.42)}
}
@keyframes ncb-usage-reveal-badge{
  0%{opacity:0;transform:translate(-50%,-18px) scale(.9)}
  18%,68%{opacity:1;transform:translate(-50%,0) scale(1)}
  100%{opacity:0;transform:translate(-50%,-8px) scale(.98)}
}
@keyframes ncb-usage-content-rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}

/* Free-text consultation request. */
.consultation-topic-field textarea{
  width:100%;
  min-height:92px;
  resize:vertical;
  padding:13px 15px;
  border:1px solid #dbe6ee;
  border-radius:12px;
  background:#f8fafc;
  color:var(--ink);
  font:inherit;
  font-size:14px;
  line-height:1.6;
  outline-offset:2px;
  transition:border-color .2s,box-shadow .2s,background .2s;
}
.consultation-topic-field textarea::placeholder{color:#91a0ad}
.consultation-topic-field textarea:focus{border-color:#3786bd;box-shadow:0 0 0 3px #2980b81a;background:#fff}
.consultation-topic-field textarea[aria-invalid=true]{border-color:#bd4141}

@media(max-width:700px){
  /* Reference cards remain swipeable but keep a compact, readable composition. */
  .benefits-section .experience-card.benefit-card-redesign{min-height:535px!important;flex-basis:88%!important}
  .benefits-section .benefit-card-copyzone{min-height:286px;padding:26px 20px 16px}
  .benefits-section .benefit-deposit-title{font-size:31px!important}
  .benefits-section .benefit-reward{margin-top:18px!important;font-size:12px!important}
  .benefits-section .benefit-equivalent{grid-template-columns:74px minmax(0,1fr);gap:13px}
  .benefits-section .benefit-equivalent>strong{font-size:61px!important}
  .benefits-section .benefit-equivalent>p{font-size:11.5px!important;line-height:1.45!important}
  .benefits-section .benefit-card-redesign .experience-image{height:245px!important;min-height:245px!important}
  .benefits-section .benefit-card-flight .experience-image img{object-position:center 30%!important;transform:scale(1.04)!important}

  /* Center the decorative ring on prize cards 1 and 2. */
  .daily-prize:nth-child(-n+2)::before{
    top:50%!important;
    left:50%!important;
    right:auto!important;
    width:64%!important;
    transform:translate(-50%,-47%)!important;
    opacity:.72!important;
  }
  .daily-prize:nth-child(-n+2)::after{right:26px!important;top:30px!important}

  .usage-section.usage-gated.is-opening{min-height:86vh!important}
  .usage-section.usage-gated.is-open::after{top:14px;font-size:8.5px;letter-spacing:.08em;padding:8px 12px;max-width:calc(100% - 28px)}
  .consultation-topic-field textarea{min-height:104px;font-size:13px}
}

@media(prefers-reduced-motion:reduce){
  .usage-section.usage-gated.is-open,
  .usage-section.usage-gated.is-open::before,
  .usage-section.usage-gated.is-open::after,
  .usage-section.usage-gated.is-open .usage-heading,
  .usage-section.usage-gated.is-open .destination-discovery,
  .usage-section.usage-gated.is-open .usage-method-heading,
  .usage-section.usage-gated.is-open .usage-grid,
  .usage-section.usage-gated.is-open .partner-strip{animation:none!important}
}
