/* Product landing page. The shared pearl scene and liquid title sit behind these stages. */
body.resync-enabled {
  --rv-font-base: var(--rv-font-display);
  font-weight: 400;
}

.product-actions a span,
.utility-copy a span { margin-left: 6px; }

.product-home.rv-home-content {
  width: 100%;
  max-width: 1660px;
  margin-inline: auto;
  padding: clamp(36px, 5.5vw, 76px) 2.35% 0;
  align-items: stretch;
  color: #233541;
}

.product-home .rv-brandcopy { padding: 20px 0 calc(clamp(33px, 4vw, 55px) + 11.6px); }
.product-home .rv-brandcopy h1 {
  font-size: clamp(42px, 4.1vw, 64px);
  font-weight: 300;
  line-height: 1.06;
}
.product-worlds,
.product-utilities {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
}

.product-worlds {
  display: grid;
  row-gap: clamp(56px, 7vw, 104px);
  margin-block-start: clamp(124px, 8vw + 64px, 176px);
}
.product-card-slot { display: grid; position: relative; min-width: 0; }

.product-band {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 0;
  text-align: center;
}

.product-band::before {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: -9% 0 -12%;
  background: radial-gradient(ellipse at 50% 63%, var(--stage-tint), transparent 69%);
}

.product-eth {
  --chain-ink: #387e96;
  --stage-tint: #c9e2f18e;
  --floor-tint: #a4baf16b;
  --art-size: clamp(376px, 51vw, 654px);
  --art-ratio: 3 / 2;
}
.product-bsc {
  --chain-ink: #6e54ab;
  --stage-tint: #d9cbefaf;
  --floor-tint: #9480ef67;
  --art-size: clamp(420px, 64vw, 796px);
  --art-ratio: 2 / 1;
  --art-scale: .81;
}
.product-opbnb {
  --chain-ink: #926633;
  --stage-tint: #f2dfc6a3;
  --floor-tint: #dfb66e52;
  --art-size: clamp(376px, 58vw, 726px);
  --art-ratio: 1200 / 676;
}

.product-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 730px);
  padding-inline: 14px;
}

.product-copy .product-chain {
  margin: 0 0 7px;
  color: var(--chain-ink);
  font-size: clamp(12px, 1.6vw, 17px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .24em;
}

.product-copy h2 {
  font-size: clamp(26px, 4.2vw, 57px);
  line-height: 1.08;
  font-weight: 450;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.product-copy .product-description {
  color: #3b4c59;
  font-size: clamp(13px, 1.72vw, 19px);
  line-height: 1.5;
  margin-top: 8px;
  text-wrap: balance;
}

.product-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(10px, 2.1vw, 24px);
  margin-top: 14px;
}

.product-actions a,
.product-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 37px;
  min-width: 124px;
  padding: 7px 16px;
  border: 1px solid #40596b9c;
  border-radius: 30px;
  background: #ffffff28;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.3;
  transition: background-color .2s ease, box-shadow .2s ease;
}

.product-actions a:hover,
.product-button:hover,

.product-actions .product-learn {
  background: linear-gradient(132deg, #3f5e70, #263c49);
  border-color: #344c5c;
  color: #fff;
}

.product-actions .product-button:hover,
.product-button:hover { background-color: #ffffffb0; }

.product-art {
  position: relative;
  isolation: isolate;
  width: min(100% - 16px, var(--art-size));
  aspect-ratio: var(--art-ratio);
  margin: 0 auto 16px;
  scale: var(--art-scale, .9);
  pointer-events: none;
}

.product-art::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 64% -14% -14%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, var(--floor-tint), transparent 63%),
    radial-gradient(ellipse at center, transparent 41%, #ffffffb8 48%, #ffffff2e 52%, transparent 61%);
}

.product-render {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-art .product-render {
  position: absolute;
  inset: 0;
  filter: drop-shadow(0 12px 15px #56687f26);
}

.product-opbnb .product-art {
  display: grid;
  place-items: center;
  perspective: 900px;
}

.product-opbnb .res-crystal-coin {
  width: min(55%, 380px);
  --coin-half-depth: clamp(5px, .65vw, 10px);
}

.product-genesis-box { position: absolute; inset: 0; }

.product-utilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(42px, 6vw, 88px);
}

.product-utility {
  display: grid;
  position: relative;
  align-items: center;
  min-height: clamp(148px, 11vw, 185px);
  border: 1px solid #ffffffa8;
  border-radius: 17px;
  isolation: isolate;
  --tint: #c1d8ee55;
  --tint-edge: #e9e0f339;
  background:
    radial-gradient(ellipse at 79% 68%, var(--tint), transparent 75%),
    linear-gradient(112deg, #fff3, #ffffff05 46%, var(--tint-edge));
  box-shadow: inset 0 1px 1px #ffffffe6, inset 0 0 0 2px #ffffff36, 0 8px 20px -14px #42445061;
}

.utility-bridge { --tint: #cec4ed56; --tint-edge: #eee2cd34; }
.utility-copy { z-index: 1; padding: 20px 0 20px clamp(20px, 3.1vw, 48px); }
.utility-copy h2 { font-size: 24px; font-weight: 520; line-height: 1.15; }
.utility-copy p { font-size: 13px; line-height: 1.5; margin: 7px 0 13px; max-width: 58%; color: #414854; }
.utility-render { position: absolute; width: 47%; height: 99%; right: 2%; bottom: 1px; filter: drop-shadow(0 9px 13px #576b8426); pointer-events: none; }
.rv-shell[data-resync-view="home"] .rv-footer { padding-block: 28px 32px; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .product-card-slot { pointer-events: auto; }
  .product-art, .product-utility { transition: transform .42s cubic-bezier(.2, .72, .27, 1), box-shadow .35s ease; }
  .is-floating .product-art, .product-utility.is-floating {
    transform: perspective(1400px) translateY(-5px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition-duration: .18s, .28s;
  }
  .product-utility.is-floating {
    box-shadow: inset 0 1px 1px #fffffff2, inset 0 0 0 2px #ffffff45, 0 14px 30px -15px #42445055;
  }
  .product-utility::after {
    content: '';
    position: absolute;
    inset: 1px;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(ellipse at var(--light-x, 50%) var(--light-y, 50%), #ffffff82, transparent 54%);
    opacity: 0;
    transition: opacity .34s ease;
  }
  .product-utility.is-floating::after { opacity: .65; }
}

@media (max-width: 760px) {
  .product-home.rv-home-content { padding-inline: 13px; }
  .product-home .rv-brandcopy { padding: 24px 0 43px; }
  .product-home .rv-brandcopy h1 { font-size: clamp(36px, 9.2vw, 54px); }
  .product-actions a { min-width: 112px; min-height: 38px; }
  .product-art { width: min(100%, var(--art-size)); }
  .product-art::before { inset-inline: -12px; }
  .product-utilities { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .utility-copy { padding-left: 17px; }
  .utility-copy h2 { font-size: 22px; }
  .utility-render { width: 42%; right: 1%; }
}

@media (prefers-reduced-motion: reduce) {
  .product-button, .product-actions a { transition: none; }
}


.product-home img[data-near-src] { visibility: hidden; }
