.page-preview .preview-main {
  position: relative;
  isolation: isolate;
  padding: clamp(104px, 10vw, 144px) 0 clamp(52px, 8vw, 104px);
  background: #0a0909;
}
.page-preview .preview-main::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: min(100%, 1080px);
  background:
    radial-gradient(ellipse at 73% 48%, #ff450022, transparent 42%),
    linear-gradient(90deg, #0a0909 5%, #0a0909e8 47%, #0a0909a1 100%),
    linear-gradient(0deg, #0a0909 0%, transparent 38%),
    url('../img/premium/plasma-city-dusk.webp') center / cover;
}

body.page-preview .explore-intro { max-width: 1110px; margin-bottom: clamp(42px, 6vw, 82px); }
.explore-intro h1 {
  margin: 0;
  color: #fff;
  font: 900 clamp(39px, 6.2vw, 80px)/1.02 var(--pc-display);
  letter-spacing: -.064em;
  text-transform: uppercase;
}
.explore-intro h1 strong { color: #ff4500; }
.page-preview .explore-intro > p {
  max-width: 660px;
  margin-top: 18px;
  color: #ece2dd;
  font-size: clamp(14px, 1.4vw, 17px);
}
.explore-jump {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(145px, 100%), 1fr));
  gap: 10px;
  margin-top: 24px;
}
.explore-jump a {
  position: relative;
  display: grid;
  align-content: center;
  gap: 5px;
  min-height: 75px;
  padding: 11px 31px 11px 13px;
  border: 1px solid #ffffff28;
  border-radius: 11px;
  background: #161211eb;
  color: #fff;
}
.explore-jump a::after {
  content: '↓' / '';
  position: absolute;
  top: 12px;
  right: 13px;
  color: #ff9e78;
  font: 700 14px/1 var(--pc-body);
}
.explore-jump a:hover { border-color: #ff7643; background: #261710; }
.explore-jump a:focus-visible { outline: 2px solid #ffb896; outline-offset: 3px; }
.explore-jump strong { font-size: 12px; line-height: 1.35; }
.explore-jump span { color: #cec3bd; font-size: 10px; line-height: 1.45; }

.page-preview :is(#phoneDemo, #phone-shop, .explore-game) {
  scroll-margin-top: 105px;
}
.page-preview .explore-game { margin-top: clamp(58px, 8vw, 104px); }
.explore-game-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.explore-game-heading h2 {
  margin: 0 0 12px;
  color: #fff;
  font: 800 clamp(29px, 4.8vw, 54px)/1.08 var(--pc-display);
  letter-spacing: -.05em;
}
.page-preview .explore-game-heading p,
.page-preview .explore-game .explore-game-mobile {
  margin: 0;
  color: #d1c7c2;
  font-size: 13px;
  line-height: 1.6;
}
.explore-game-restart:focus-visible,
.explore-game-viewport:focus-visible { outline: 2px solid #ffb896; outline-offset: 4px; }
.explore-game-restart { cursor: pointer; }
.explore-game-viewport {
  overflow: auto;
  border: 1px solid #ffffff2a;
  border-radius: 14px;
  background: #0b0b0c;
}
.explore-game-viewport iframe {
  display: block;
  width: 100%;
  height: clamp(670px, 68vw, 795px);
  border: 0;
}
.explore-game-scroll iframe { min-width: 800px; }
.explore-medical iframe { min-width: 720px; height: clamp(610px, 63vw, 715px); }
.explore-demo-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.explore-demo-choices button {
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid #ffffff32;
  border-radius: 8px;
  color: #fff;
  background: #171211;
  font-size: 12px;
  cursor: pointer;
}
.explore-demo-choices button[aria-pressed="true"] { border-color: #ff4500; background: #632407; }
.explore-demo-choices button:focus-visible { outline: 2px solid #ffb896; outline-offset: 3px; }
.explore-game-mobile { display: none; }
@media (max-width: 860px) {
  .page-preview .explore-game .explore-game-mobile { display: block; margin-bottom: 12px; }
}
body.page-preview .phone-showcase {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: clamp(35px, 8vw, 122px);
  max-width: 1110px;
}

.phone-intro { min-width: 0; }
.phone-intro h2 {
  margin: 0;
  color: white;
  font: 900 clamp(42px, 5.4vw, 72px)/.98 var(--pc-display);
  letter-spacing: -.065em;
  text-transform: uppercase;
}
.page-preview .phone-lead {
  max-width: 420px;
  margin-top: 23px;
  color: #e9e0dc;
  font-size: clamp(14px, 1.4vw, 17px);
}
.phone-guide {
  display: grid;
  gap: 15px;
  max-width: 435px;
  margin: 29px 0;
  padding: 18px 0;
  border-block: 1px solid #ffffff2b;
}
.phone-guide dt { color: white; font-size: 13px; font-weight: 800; }
.phone-guide dd { margin: 5px 0 0; color: #d1c7c2; font-size: 13px; line-height: 1.6; }
.page-preview .phone-demo-note { margin: 0 0 14px; color: #bcb0aa; font-size: 12px; }
.page-preview .phone-play { min-height: 44px; color: white; }
.phone-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.page-preview .phone-shop-link {
  min-height: 44px;
  color: white;
  border: 1px solid #ffffff3a;
  background: #171211;
}
.phone-theme-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: #c9bbb4;
  font-size: 11px;
}
.phone-theme-control > span { margin-right: 4px; }
.phone-theme-control button {
  min-height: 38px;
  padding: 6px 11px;
  border: 1px solid #ffffff35;
  border-radius: 7px;
  color: #eee5e1;
  background: #171211;
}
.phone-theme-control button[aria-pressed="true"] {
  border-color: #ff4500;
  color: #fff;
  background: #3b1b10;
}
.phone-theme-control button:focus-visible,
.phone-shop-link:focus-visible { outline: 2px solid #ffb896; outline-offset: 3px; }

.phone-hardware {
  --phone-accent: #ff4500;
  --phone-finish: #ff4500;
  --phone-icon-size: clamp(40px, 14vw, 54px);
  --phone-app-surface: #1b1b1f;
  --phone-app-border: #36363d;
  width: 100%;
  max-width: 348px;
  justify-self: end;
  border: 2px solid var(--phone-finish);
  border-radius: 45px;
  padding: 4px;
  background: #080809;
  box-shadow: 0 0 0 1px #c9b5aa78, 0 28px 86px #000a, 0 0 70px #ff450022;
}
.phone-hardware[data-finish="ossidiana"] { --phone-finish: #24262c; }
.phone-hardware[data-finish="perla"] { --phone-finish: #e9e5dd; }
.phone-hardware[data-finish="notte"] { --phone-finish: #253c68; }
.phone-hardware[data-finish="cipria"] { --phone-finish: #cb8799; }
.phone-hardware[data-finish="salvia"] { --phone-finish: #6e8e77; }
.phone-glass {
  position: relative;
  display: grid;
  grid-template-rows: 46px minmax(0, 1fr) 35px;
  aspect-ratio: 582 / 1268;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #000;
  border-radius: 39px;
  color: #f8f7f6;
  background: #121214;
}
.phone-hardware[data-screen="home"] .phone-glass {
  grid-template-rows: 46px minmax(0, 1fr);
  background: linear-gradient(#00000019, #00000019), #332419 url('../img/phone/wallpaper-dark.jpg') center / cover;
}
.phone-hardware[data-screen="home"][data-theme="light"] .phone-glass {
  color: #1a1517;
  background-image: linear-gradient(#00000019, #00000019), url('../img/phone/wallpaper-light.jpg');
}
.phone-hardware[data-screen="wazel"] .phone-status-bar { background: #990e1e; }
.phone-hardware[data-screen="wazel"] .phone-navigation { background: #8d0c1a; }
.phone-hardware [hidden],
.phone-hardware[data-screen="home"] .phone-navigation { display: none !important; }
.phone-hardware:not([data-screen="home"]) .phone-content { overflow: hidden; }
.phone-hardware :where(button) { appearance: none; border: 0; padding: 0; background: transparent; }

.phone-status-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  grid-row: 1;
  padding-inline: 20px;
  font: 750 11px/1 var(--pc-display);
}
.phone-camera { position: relative; width: clamp(68px, 24vw, 98px); height: 24px; border-radius: 24px; background: #030303; }
.phone-camera::after { content: ''; position: absolute; top: 8px; right: 11px; width: 7px; height: 7px; border-radius: 50%; background: #131828; }
.phone-status-right { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.phone-signal { display: flex; align-items: flex-end; gap: 1px; }
.phone-signal b { width: 2px; border-radius: 1px; background: currentColor; }
.phone-signal b:nth-child(1) { height: 3px; }
.phone-signal b:nth-child(2) { height: 5px; }
.phone-signal b:nth-child(3) { height: 7px; }
.phone-signal b:nth-child(4) { height: 9px; }
.phone-battery {
  position: relative;
  padding: 1px 2px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-size: 7px;
}
.phone-battery::after { content: ''; position: absolute; top: 3px; right: -3px; width: 2px; height: 4px; background: currentColor; }

.phone-content { grid-row: 2; min-width: 0; overflow: auto; scrollbar-width: thin; scrollbar-color: #767678 #121214; }
.phone-screen { min-width: 0; padding: 17px 17px 22px; }
.phone-content > .phone-wazel { height: 100%; padding: 0; background: #44050d; }
.phone-wazel iframe { display: block; width: 100%; height: 100%; border: 0; }
.phone-screen h2 { margin: 0; font: 850 18px/1.24 var(--pc-display); letter-spacing: -.035em; color: white; }
.phone-hardware :focus-visible { outline: 2px solid #ffbb9f; outline-offset: 3px; }
.phone-screen h2[tabindex]:focus { outline: none; }

.phone-launcher { min-height: 100%; padding: 7px 14px 20px; }
.phone-launcher-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 15px) 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.phone-launcher-grid > li { min-width: 0; }
.phone-launcher-app {
  display: grid;
  justify-items: center;
  align-content: start;
  width: 100%;
  gap: 5px;
  border-radius: 9px;
  text-align: center;
  color: inherit;
  font-size: clamp(8px, 2.25vw, 10px);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 1px 5px #000;
}
.phone-hardware[data-theme="light"] .phone-launcher-app { text-shadow: 0 1px 4px #fff9; }
.phone-launcher-app:hover { background: #ffffff18; }
.phone-app-icon {
  display: grid;
  place-items: center;
  width: var(--phone-icon-size);
  height: var(--phone-icon-size);
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 3px 8px #0005;
}
.phone-icon-wazel { background: #22191b; }
.phone-icon-mining { background: #ff4500; }
.phone-launcher-app img { display: block; width: 100%; height: 100%; object-fit: contain; }

.phone-navigation { display: flex; grid-row: 3; justify-content: center; }
.phone-navigation button { display: grid; place-items: center; width: 132px; padding: 0 12px; border-radius: 12px; }
.phone-navigation button span { width: 100%; height: 4px; border-radius: 8px; background: #fffb; }
.phone-navigation button:disabled { cursor: default; }
.phone-navigation button:hover:not(:disabled) span { background: white; }

@media (max-width: 790px) {
  .explore-jump { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.page-preview .phone-showcase { grid-template-columns: minmax(0, 1fr); gap: 30px; max-width: 530px; }
  .phone-hardware { justify-self: center; }
  .phone-intro h2 { font-size: clamp(36px, 10vw, 60px); }
  .phone-guide { margin: 20px 0; }
  .page-preview .preview-main::before { background-position: center, center, center, 63% top; }
}

@media (max-width: 390px) {
  .explore-jump a { padding-right: 22px; }
  .explore-jump a::after { right: 8px; }
  .phone-hardware { --phone-icon-size: clamp(38px, 13.6vw, 47px); border-radius: 37px; }
  .phone-glass { border-radius: 31px; }
  .phone-screen { padding-inline: 13px; }
}
