:root {
  color-scheme: dark;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  color: #fff;
  background: #090e30;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, #060b24b8 0%, #080a2259 47%, #070c27d6 100%),
    url("/StreamingAssets/fill_background.png") center / cover no-repeat fixed;
}

.preview {
  width: min(100%, 674px);
  margin-inline: auto;
  padding: 22px 16px 20px;
}

.hero {
  text-align: center;
  margin-bottom: 18px;
}

.planet,
.wordmark {
  display: block;
  margin-inline: auto;
  object-fit: contain;
}

.planet {
  filter: drop-shadow(0 6px 14px #192985b0);
}

.wordmark {
  max-width: 76%;
  height: auto;
  margin-top: 3px;
}

.hero h1 {
  margin: 7px 0 4px;
  color: #e5f8ff;
  font-size: clamp(1.42rem, 4vw, 1.82rem);
  line-height: 1.1;
}

.hero p {
  margin: 8px auto 0;
  max-width: 42ch;
  color: #cddfff;
  font-size: 0.92rem;
  line-height: 1.45;
}

.shop {
  padding: 14px 16px 16px;
  border: 2px solid #a5e5ff;
  border-radius: 27px;
  background: linear-gradient(155deg, #96d8ff, #598cea 48%, #3858ba);
  box-shadow: inset 0 2px 1px #ffffff9c, inset 0 -3px 0 #a2e4ff9e,
    0 18px 46px #020824b0;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;
}

.section-heading p {
  margin: 0;
  color: #092557;
  font-size: 0.9rem;
  font-weight: 800;
}

.game-tab {
  flex: none;
  display: grid;
  place-items: center;
  min-width: 106px;
  min-height: 41px;
  margin: 0;
  padding: 5px 16px;
  border-radius: 16px;
  color: white;
  font-size: 1.14rem;
  line-height: 1;
  text-shadow: 0 2px 2px #1020619c;
}

.game-tab-gems {
  background: #c9470f url("assets/tab-orange.png") center / 100% 100% no-repeat;
}

.game-tab-bundles {
  background: #1542a9 url("assets/tab-blue.png") center / 100% 100% no-repeat;
}

.gem-packs,
.bundle-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gem-packs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pack {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 9px 4px 8px;
  border: 1px solid #8ae8ff;
  border-radius: 17px;
  background: linear-gradient(157deg, #0948a1, #0f72be 57%, #1554ab);
  box-shadow: inset 0 1px 0 #b4f9ff67, 0 2px 0 #2359ac66;
  text-align: center;
}

.pack-art {
  position: relative;
  width: min(96px, 100%);
  height: 70px;
  border-radius: 13px;
  background: #118cd9 url("assets/item-plate.webp") center / 100% 100% no-repeat;
}

.pack-art img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(58px, 66%);
  height: auto;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.pack-art-two img:first-child {
  transform: translate(-72%, -59%) rotate(-9deg);
}

.pack-art-two img:last-child {
  transform: translate(-29%, -37%) rotate(9deg) scale(0.83);
}

.pack-art-three img:first-child {
  transform: translate(-50%, -68%) scale(0.93);
}

.pack-art-three img:nth-child(2) {
  transform: translate(-83%, -36%) rotate(-9deg) scale(0.77);
}

.pack-art-three img:last-child {
  transform: translate(-18%, -36%) rotate(9deg) scale(0.77);
}

.pack strong {
  font-size: clamp(0.81rem, 3.5vw, 1.08rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.price,
.bundle-price {
  display: grid;
  place-items: center;
  min-width: 68px;
  min-height: 29px;
  padding: 5px 8px;
  border-radius: 11px;
  color: #061f49;
  background: #a0eeff url("assets/price-plate.png") center / 100% 100% no-repeat;
  font-size: clamp(0.81rem, 3.5vw, 1rem);
  font-weight: 850;
  line-height: 1.05;
  white-space: nowrap;
}

.catalog-note {
  margin: 9px 0 0;
  color: #092552;
  font-size: 0.81rem;
  font-weight: 700;
  line-height: 1.3;
}

.bundles {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #cceaff8f;
}

.bundle-list {
  display: grid;
  gap: 7px;
}

.bundle {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 7px 9px 7px 7px;
  border: 1px solid #79c7fa;
  border-radius: 16px;
  background: linear-gradient(160deg, #164da5, #243e92);
}

.bundle-art {
  position: relative;
  width: 72px;
  height: 49px;
  border-radius: 9px;
  background: #069cda url("assets/item-plate.webp") center / 100% 100% no-repeat;
  box-shadow: inset 0 1px 0 #9ce9ffbd;
}

.bundle-art img {
  position: absolute;
  object-fit: contain;
}

.bundle-art img:first-child {
  left: 0;
  top: 0;
  width: 42px;
  height: 37px;
}

.bundle-art img:last-child {
  right: 2px;
  bottom: 1px;
  width: 38px;
  height: 32px;
}

.bundle-details h3 {
  margin: 0 0 2px;
  font-size: 1.02rem;
  line-height: 1.18;
}

.bundle-details p {
  margin: 0;
  color: #eef9ff;
  font-size: 0.83rem;
  line-height: 1.32;
}

.bundle-price {
  min-width: 77px;
}

.preview-footer {
  text-align: center;
}

.preview-footer p {
  margin: 12px auto 9px;
  max-width: 55ch;
  color: #e2eaff;
  font-size: 0.85rem;
  line-height: 1.45;
}

.return-link {
  display: inline-grid;
  place-items: center;
  min-width: 148px;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 15px;
  color: #fff;
  background: #bd4707 url("assets/button-orange.png") center / 100% 100% no-repeat;
  font-weight: 800;
  text-decoration: none;
  text-shadow: 0 2px 3px #6a290a;
}

.return-link:hover {
  filter: brightness(1.12);
}

.return-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.preview-footer .publisher {
  margin: 7px auto 0;
  color: #b9c9eb;
  font-size: 0.75rem;
}

@media (max-width: 450px) {
  .preview {
    padding: 14px 9px 15px;
  }

  .planet {
    width: 72px;
    height: 72px;
  }

  .wordmark {
    width: 208px;
  }

  .shop {
    padding: 10px 9px 12px;
    border-radius: 21px;
  }

  .gem-packs {
    gap: 5px;
  }

  .pack-art {
    height: 59px;
  }

  .bundle {
    grid-template-columns: 60px 1fr auto;
    gap: 6px;
    padding-inline: 5px;
  }

  .bundle-art {
    width: 60px;
  }
}
