/* The public rewards collection. Existing dashboard reward styles stay separate. */
.reward-collection {
  position: relative;
  isolation: isolate;
  padding-block: 88px;
}
.reward-intro {
  display: flex;
  justify-content: space-between;
  gap: 44px;
  align-items: flex-end;
  margin-bottom: 42px;
}
.reward-intro h2 {
  font-size: clamp(34px, 4vw, 52px);
  margin-top: 17px;
}
.reward-intro > p {
  max-width: 330px;
  font-size: 13px;
  line-height: 1.9;
  padding-bottom: 6px;
}
.reward-vault {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid #edd6e2;
  border-radius: 34px;
  background: linear-gradient(135deg, #ffffffed, #fff8fce8 60%, #ffeff7e8);
  box-shadow:
    0 32px 80px -44px #a02b6055,
    inset 0 1px 0 white;
}
.reward-vault-heading {
  order: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 27px 34px 0;
  color: #946178;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}
.reward-vault-heading > span:first-child {
  display: flex;
  gap: 9px;
  align-items: center;
}
.reward-vault-heading i {
  width: 5px;
  height: 5px;
  background: #f1336b;
  border-radius: 50%;
  box-shadow:
    0 0 0 4px #f1336b12,
    0 0 18px #f1336b55;
}
.reward-vault-heading > span:last-child {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.3em;
  opacity: 0.65;
}
.reward-panels {
  order: 1;
}
.reward-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 420px;
  position: relative;
  outline-offset: -7px;
}
.reward-visual {
  min-height: 410px;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
}
.reward-visual::before {
  content: "";
  width: 82%;
  aspect-ratio: 1;
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, #ffcce3b8, #ffdeed66 48%, #ffebf600 70%);
  animation: reward-glow 7s ease-in-out infinite alternate;
  z-index: -1;
}
.reward-visual::after {
  content: "";
  width: 56%;
  height: 17px;
  border-radius: 50%;
  position: absolute;
  bottom: 43px;
  background: #86305d22;
  filter: blur(12px);
  animation: reward-shadow 5.5s ease-in-out infinite;
}
.reward-orbit {
  width: 71%;
  aspect-ratio: 1;
  position: absolute;
  border: 1px solid #efb6d137;
  border-radius: 50%;
  box-shadow:
    0 0 0 26px #fff8fc3b,
    0 0 0 27px #efb6d11c;
  transform: rotate(-22deg) scaleY(0.85);
  z-index: -1;
}
.reward-object {
  width: min(78%, 330px);
  animation: reward-arrive 0.7s cubic-bezier(0.2, 0.8, 0.25, 1.12) both;
}
.reward-object img {
  width: 100%;
  height: 330px;
  object-fit: contain;
  filter: drop-shadow(0 22px 18px #8c3a5f1a);
  animation: reward-float 5.5s ease-in-out infinite;
}
.reward-edition {
  position: absolute;
  bottom: 29px;
  left: 36px;
  font-size: 11px;
  color: #ae758f;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.reward-edition span {
  opacity: 0.55;
  font-size: 9px;
}
.reward-spark {
  position: absolute;
  width: 15px;
  height: 15px;
  color: #e889ae;
  animation: reward-sparkle 5s ease-in-out infinite;
}
.reward-spark::before,
.reward-spark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: currentColor;
  transform: scaleX(0.15);
}
.reward-spark::after {
  transform: scaleY(0.15);
}
.reward-spark-one {
  left: 19%;
  top: 23%;
}
.reward-spark-two {
  right: 15%;
  bottom: 25%;
  width: 10px;
  height: 10px;
  animation-delay: -2s;
}
.reward-information {
  padding: 35px 40px 35px 28px;
  animation: reward-copy-arrive 0.6s cubic-bezier(0.2, 0.8, 0.25, 1) both;
}
.reward-kicker {
  color: #ad6887;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.reward-information h3 {
  margin: 13px 0 12px;
  font-size: clamp(35px, 4vw, 48px);
  letter-spacing: -0.065em;
}
.reward-description {
  font-size: 12px;
  min-height: 24px;
  line-height: 1.7;
}
.reward-description strong {
  color: #985270;
  font-weight: 600;
}
.reward-target {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.reward-target > span:first-child {
  font-size: 10px;
  color: #98798b;
}
.reward-target strong {
  color: #ee2e69;
  font-size: clamp(37px, 4.5vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.065em;
  font-weight: 800;
  text-shadow: 0 4px 25px #ee2e6914;
}
.reward-target > span:last-child {
  font-size: 11px;
  color: #98798b;
  margin-top: 3px;
}
.reward-extra {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  color: #8b7482;
  font-size: 9px;
  line-height: 1.6;
}
.reward-extra img {
  width: 17px;
  height: 17px;
  object-fit: contain;
  flex: 0 0 auto;
}
.reward-trip-tag {
  position: absolute;
  right: 22px;
  bottom: 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffffcf;
  border: 1px solid white;
  box-shadow: 0 9px 28px #92466c17;
  border-radius: 13px;
  padding: 11px 15px;
  font-size: 7px;
  letter-spacing: 0.1em;
  color: #a14e78;
  transform: rotate(7deg);
  backdrop-filter: blur(8px);
}
.reward-trip-tag strong {
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: -0.05em;
}
.reward-select-label {
  order: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 34px 13px;
  border-top: 1px solid #f0dce7;
  color: #a16a85;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.11em;
}
.reward-select-label > span:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.75;
}
.reward-select-label svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.reward-selector {
  order: 3;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 0 22px 22px;
}
.reward-selector button {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff9fc69;
  border: 1px solid transparent;
  border-radius: 19px;
  padding: 12px 5px 14px;
  color: #9e8191;
  box-shadow: inset 0 1px 0 #ffffff00;
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s,
    box-shadow 0.25s,
    transform 0.25s;
}
.reward-selector button:hover {
  background: #fff;
  transform: translateY(-4px);
}
.reward-selector button[aria-selected="true"] {
  background: #fff;
  border-color: #f2bfd5;
  color: #ce366f;
  box-shadow:
    0 10px 24px -9px #c6558f2b,
    inset 0 1px 0 white;
}
.reward-selector button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f1336b;
  box-shadow: 0 0 9px #f1336b44;
}
.reward-selector-icon {
  display: grid;
  place-items: center;
  width: 80px;
  max-width: 100%;
  height: 72px;
  margin-bottom: 6px;
}
.reward-selector-icon img {
  width: 70px;
  max-width: 100%;
  height: 70px;
  object-fit: contain;
  transition: transform 0.45s var(--spring);
  filter: drop-shadow(0 4px 4px #83325413);
}
.reward-selector button:hover img,
.reward-selector button[aria-selected="true"] img {
  transform: translateY(-3px) rotate(-4deg);
}
.reward-selector-name {
  font-size: 10px;
  color: #857282;
  font-weight: 600;
}
.reward-selector strong {
  margin-top: 3px;
  font-size: 14px;
  letter-spacing: -0.025em;
}
.reward-rules {
  max-width: 790px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 10px;
  line-height: 1.9;
  color: #98818e;
}
.reward-referral {
  display: grid;
  grid-template-columns: 125px 1fr auto;
  gap: 25px;
  align-items: center;
  margin-top: 40px;
  border: 1px solid #f0d6e4;
  border-radius: 25px;
  background: linear-gradient(100deg, #fff1f8, #fffcfe);
  padding: 25px 32px;
  position: relative;
  overflow: hidden;
}
.reward-referral-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 115px;
  isolation: isolate;
}
.reward-referral-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse, #f7bad78c, transparent 70%);
  z-index: -1;
}
.reward-referral-art img {
  width: 95px;
  height: 95px;
  object-fit: contain;
  transform: rotate(-9deg);
  animation: reward-float 6.5s ease-in-out infinite;
}
.reward-referral-art > span {
  position: absolute;
  right: -2px;
  bottom: 0;
  padding: 2px 11px;
  color: #ee2f6c;
  background: #fff;
  box-shadow: 0 5px 15px #d451821c;
  border-radius: 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.06em;
  transform: rotate(6deg);
}
.reward-referral-copy h3 {
  margin: 7px 0 10px;
  font-size: 25px;
}
.reward-referral-copy p {
  max-width: 575px;
  font-size: 11px;
  line-height: 1.8;
}
.reward-referral-note {
  color: #b4839a;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.8;
  padding-left: 22px;
  border-left: 1px solid #edd3e0;
  text-align: right;
}
@keyframes reward-arrive {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.86) rotate(-8deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes reward-copy-arrive {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes reward-float {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-13px) rotate(2deg);
  }
}
@keyframes reward-shadow {
  0%,
  100% {
    transform: scaleX(1);
    opacity: 0.8;
  }
  50% {
    transform: scaleX(0.83);
    opacity: 0.45;
  }
}
@keyframes reward-glow {
  from {
    opacity: 0.65;
    transform: scale(0.93);
  }
  to {
    opacity: 1;
    transform: scale(1.07);
  }
}
@keyframes reward-sparkle {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.7) rotate(0);
  }
  50% {
    opacity: 0.8;
    transform: scale(1) rotate(45deg);
  }
}
.motion-paused .reward-object,
.motion-paused .reward-information,
.page-hidden .reward-object,
.page-hidden .reward-information {
  animation: none;
}
.motion-paused .reward-visual::before,
.motion-paused .reward-visual::after,
.page-hidden .reward-visual::before,
.page-hidden .reward-visual::after {
  animation-play-state: paused;
}
@media (max-width: 760px) {
  .reward-collection {
    padding-block: 60px;
  }
  .reward-intro {
    display: block;
    margin-bottom: 30px;
  }
  .reward-intro h2 {
    font-size: 35px;
  }
  .reward-intro > p {
    max-width: 460px;
    margin-top: 19px;
    font-size: 12px;
  }
  .reward-vault {
    border-radius: 25px;
  }
  .reward-vault-heading {
    padding: 21px 22px 0;
    font-size: 7px;
  }
  .reward-vault-heading > span:last-child {
    font-size: 12px;
  }
  .reward-panel {
    min-height: 350px;
  }
  .reward-visual {
    min-height: 330px;
  }
  .reward-object img {
    height: 240px;
  }
  .reward-information {
    padding: 25px 25px 25px 12px;
  }
  .reward-information h3 {
    font-size: 32px;
  }
  .reward-description {
    font-size: 10px;
  }
  .reward-target strong {
    font-size: 38px;
  }
  .reward-target > span:last-child {
    font-size: 9px;
  }
  .reward-extra {
    font-size: 8px;
    gap: 4px;
  }
  .reward-edition {
    left: 23px;
    bottom: 24px;
  }
  .reward-selector {
    padding: 0 15px 15px;
    gap: 7px;
  }
  .reward-selector-icon {
    width: 65px;
    height: 60px;
  }
  .reward-selector-icon img {
    width: 60px;
    height: 60px;
  }
  .reward-select-label {
    padding-inline: 23px;
  }
  .reward-referral {
    grid-template-columns: 90px 1fr;
    padding: 23px;
    gap: 20px;
  }
  .reward-referral-note {
    display: none;
  }
  .reward-referral-copy h3 {
    font-size: 23px;
  }
  .reward-referral-art img {
    width: 85px;
    height: 85px;
  }
}
@media (max-width: 520px) {
  .reward-select-label {
    order: 1;
    border-top: 0;
    margin-top: 12px;
  }
  .reward-selector {
    order: 2;
    border-bottom: 1px solid #efdce7;
  }
  .reward-panels {
    order: 3;
  }
  .reward-panel {
    grid-template-columns: 1fr;
  }
  .reward-visual {
    min-height: 255px;
  }
  .reward-visual::before {
    width: 76%;
  }
  .reward-visual::after {
    bottom: 19px;
    width: 45%;
  }
  .reward-orbit {
    width: 62%;
  }
  .reward-object {
    width: min(65%, 235px);
  }
  .reward-object img {
    height: 225px;
  }
  .reward-edition {
    bottom: 11px;
  }
  .reward-information {
    padding: 13px 24px 26px;
  }
  .reward-information h3 {
    font-size: 34px;
    margin-block: 7px 6px;
  }
  .reward-information h3 br {
    display: none;
  }
  .reward-information h3 br::after {
    content: " ";
  }
  .reward-kicker {
    font-size: 8px;
  }
  .reward-description {
    font-size: 11px;
  }
  .reward-target {
    margin-top: 19px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 12px;
    align-items: end;
  }
  .reward-target > span:first-child {
    grid-column: 1 / -1;
  }
  .reward-target strong {
    font-size: 38px;
  }
  .reward-target > span:last-child {
    font-size: 9px;
    max-width: 90px;
    line-height: 1.6;
    margin-bottom: 6px;
  }
  .reward-extra {
    margin-top: 15px;
    font-size: 8px;
  }
  .reward-spark-one {
    top: 14%;
    left: 21%;
  }
  .reward-spark-two {
    right: 20%;
    bottom: 21%;
  }
  .reward-trip-tag {
    right: 35px;
    bottom: 22px;
  }
  .reward-select-label {
    padding: 14px 18px 12px;
    font-size: 7px;
  }
  .reward-select-label > span:last-child {
    display: none;
  }
  .reward-selector {
    gap: 4px;
    padding: 0 10px 12px;
  }
  .reward-selector button {
    border-radius: 13px;
    padding: 8px 2px 9px;
  }
  .reward-selector-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 4px;
  }
  .reward-selector-icon img {
    width: 46px;
    height: 46px;
  }
  .reward-selector-name {
    font-size: 8px;
  }
  .reward-selector strong {
    font-size: 10px;
  }
  .reward-selector button[aria-selected="true"]::after {
    right: 6px;
    top: 6px;
    width: 4px;
    height: 4px;
  }
  .reward-rules {
    font-size: 9px;
    text-align: left;
    margin-top: 16px;
  }
  .reward-referral {
    grid-template-columns: 66px 1fr;
    margin-top: 28px;
    padding: 22px 18px;
    gap: 16px;
    align-items: start;
    border-radius: 22px;
  }
  .reward-referral-art {
    height: 88px;
  }
  .reward-referral-art img {
    width: 70px;
    height: 70px;
  }
  .reward-referral-art > span {
    font-size: 20px;
    right: -3px;
  }
  .reward-referral-copy .eyebrow {
    font-size: 7px;
    letter-spacing: 0.08em;
  }
  .reward-referral-copy h3 {
    font-size: 21px;
    line-height: 1.2;
  }
  .reward-referral-copy p {
    font-size: 10px;
  }
}
/* Keep continuous effects dormant outside the viewport. */
.reward-target > span,
.reward-rules,
.reward-extra {
  color: #806574;
}
.reward-collection:not(.scene-active) .reward-object img,
.reward-collection:not(.scene-active) .reward-spark,
.reward-collection:not(.scene-active) .reward-referral-art img,
.reward-collection:not(.scene-active) .reward-visual::before,
.reward-collection:not(.scene-active) .reward-visual::after {
  animation-play-state: paused;
}
.scene-motion-static .reward-object,
.scene-motion-static .reward-information,
.scene-motion-static .reward-object img,
.scene-motion-static .reward-spark,
.scene-motion-static .reward-referral-art img,
.scene-motion-static .reward-visual::before,
.scene-motion-static .reward-visual::after {
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .reward-collection *,
  .reward-collection *::before,
  .reward-collection *::after {
    animation: none !important;
    transition: none !important;
  }
}
