@font-face {
  font-family: "Bahnschrift";
  font-display: swap;
  src: url("assets/bahnschrift.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v7/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1ZL7W0Q5nw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg-color: #1B201F;
  --bg-highlight-color: #85006c;

  --txt-color: #ffffff;
  --txt-color-secondary: #9AA495;
  --txt-color-dark: #1B201F;

  --bg-box-color: #202427;
  --bg-box-light-color: #333335;
  --bg-box-deal-color: #D8D00A;
  --bg-box-highlight-color: rgba(3, 218, 197, 0.12);

  --bg-xbox-color: #107C10;
  --bg-xbox-highlight-color: #9BF00B;
  --bg-xbox-light-color: #50AF62;
  --bg-xbox-dark-color: #072523;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
}

html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: "Bahnschrift", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  border-collapse: collapse;
  margin: 0 auto;
  background: var(--bg-xbox-dark-color) linear-gradient(var(--bg-xbox-dark-color) 5%, var(--bg-color) 15%) no-repeat;
  color: var(--txt-color);
  font-size: 16px;
  line-height: 1.1em;
}

hr {
  width: 90%;
  height: 1px;
  border: none;
  background: var(--bg-box-light-color);
}

input {
  font-size: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

svg {
  pointer-events: none;
}

main {
  overflow: auto;
  padding-top: 50px;
}

main:before {
  content: '↓ ↑';
  display: block;
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  height: 50px;
  text-align: center;
}

header,
footer {
  text-align: center;
  position: fixed;
  z-index: 3;
  width: 100%;
  box-sizing: border-box;
}

header {
  background-color: #072523D9;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  padding: 10px;
  height: 50px;
}

footer {
  background-color: var(--txt-color-dark);
  border-top: 1px solid #2f3336;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-flow: row;
  justify-content: center;

  font-size: 12px;
}

footer nav {
  padding-bottom: env(safe-area-inset-bottom);
}

footer ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

h1 {
  font-size: 22px;
  font-weight: 300;
  margin: 0;

  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

h2 {
  font-size: 20px;
  line-height: 1.2em;
  font-weight: 400;
}

h3 {
  font-size: 16px;
  margin: 0;
}

/**
 * Disable scrollbar
 */
::-webkit-scrollbar{
  display: none;
}

h1 a {
  color: var(--txt-color-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 18px;
}

section {
  margin: 25px 0;
  position: relative;
}

section h2 {
  margin-left: 20px;
}

h2 img {
  position: relative;
  top: 4px;
  margin-right: 5px;
}

.see-all {
  position: absolute;
  top: 0px;
  right: 10px;
  font-size: 12px;
  color: var(--bg-xbox-light-color);
  padding: 4px 10px;
  border-radius: 10px;
  text-decoration: none;

  font-family: Inter;
}

.carousel {
  padding: 0 15px;
  display: flex;
  /* display: inline-grid;
  grid-auto-flow: column;
  width: calc(100vw - 30px); */
  gap: 15px;
  overflow-x: auto;
  overflow-y: hidden;
  list-style: none;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.arrow {
  display: none;
}

.game-important {
  position: relative;
  background-color: var(--bg-color);
  width: 365px;
  height: 365px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  margin: 15px auto;
  border-radius: 10px;
}

.game-important:before {
  display: block;
  content: '';
  width: 90%;
  z-index: -1;
  background-image: linear-gradient(
    95deg,
    hsl(188deg 97% 28%) 0%,
    hsl(186deg 100% 27%) 10%,
    hsl(183deg 100% 26%) 20%,
    hsl(179deg 100% 25%) 30%,
    hsl(175deg 100% 26%) 40%,
    hsl(171deg 100% 26%) 50%,
    hsl(168deg 100% 26%) 60%,
    hsl(164deg 100% 26%) 70%,
    hsl(160deg 100% 26%) 80%,
    hsl(156deg 100% 26%) 90%,
    hsl(150deg 93% 27%) 100%
  );
  position: absolute;
  left: 5%;
  right: 0;
  top: 25px;
  height: 365px;
  filter: blur(30px);
}

.game-important * {
  z-index: 2;
}

.game-platform-tag,
.game-important-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--txt-color);
  padding: 5px 8px;
  border-radius: 5px;
}

.game-platform-tag {
  background-color: var(--bg-box-light-color);
  margin: 5px 5px 5px 0;
  width: max-content;
}

.game-preview-info .game-platform-tag {
  margin-top: 15px;
}

.game-important-tag {
  background-color: var(--bg-highlight-color);
  margin-left: 15px;
}

.game-important .game-title {
  margin: 10px 15px 20px;
  font-size: 32px;
  text-shadow: 1px 1px var(--bg-color);
}

.game-important .game-img {
  position: absolute;
  top: 0;
  z-index: 1;
  border-radius: 10px;
  opacity: .6;
}

.game-important .game-price-off {
  padding: 12px 14px;
  font-size: 18px;
  margin: 0;
  top: auto;
  bottom: 0;
}

.game-preview-new {
  display: flex;
  width: 330px;
  height: 270px;
  overflow: hidden;
  flex: none;
  flex-direction: row;
  position: relative;
  scroll-snap-align: center;
}

.game-preview-new .game-pass {
  left: 105px;
}

.game-preview-new .game-title {
  font-size: 22px;
  -webkit-line-clamp: 3;
}

.game-preview-new .game-price-amount {
  margin: 5px 0;
  font-size: 24px;
}

.game-preview-new > div {
  padding: 5px 10px;
  box-sizing: border-box;
  order: 2;
}

.game-preview-new > .game-img {
  border-radius: 10px;
  order: 1;
}

.game-preview-new .game-price-off {
  font-size: 16px;
  padding: 4px 8px;
  border-radius: 0 5px 0 10px;
  top: auto;
  bottom: 0;
}

.game-img,
.news-img,
.detail .game-preview-images img,
.detail .game-preview-playlist lite-youtube {
  background: var(--bg-box-light-color) url('assets/xs-logo.svg') no-repeat center center;
  background-size: 20%;
}

.game-preview-soon {
  width: 256px;
  border-radius: 10px;
  overflow: hidden;
  flex: none;
  display: flex;
  flex-direction: column;
  position: relative;
  scroll-snap-align: center;
}

.game-preview-soon > div {
  padding: 10px 5px;
  order: 2;
}

.game-preview-soon > img {
  border-radius: 10px;
  order: 1;
}

.game-preview-soon .game-price-off {
  top: 118px;
  border-radius: 0px 5px;
}

.game-preview-soon .game-price {
  margin: 15px 0;
}

.game-preview-soon .game-price-prev {
  margin-right: 5px;
}

.game-preview-soon .game-price-prev,
.game-preview-soon .game-price-amount {
  display: inline-block;
}

.game-preview {
  background: var(--bg-box-color);
  border-radius: 10px;
  width: 165px;
  height: 100%;
  overflow: hidden;
  flex: none;
  display: flex;
  flex-direction: column;
  position: relative;
}

.game-preview > div {
  order: 2;
  margin: 10px;
}

.game-title {
  margin-bottom: 5px;
  font-weight: 400;
  line-height: 1.2em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-title a {
  text-decoration: none;
  color: var(--txt-color);
}

.game-title a:before {
  content: '';
  text-decoration: none;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  box-sizing: border-box;
}

:focus:focus-visible {
  box-shadow: 0px 0px 0px 3px var(--bg-box-deal-color);
  outline: none;
}

.game-title a:focus:focus-visible {
  box-shadow: none;
}

.game-title a:focus:focus-visible:before {
  box-shadow: inset 0px 0px 0px 4px var(--bg-box-deal-color);
}

.game-by {
  font-size: 13px;
  color: var(--txt-color-secondary);
  margin: 0;

  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-pass {
  position: absolute;
  top: 5px;
  right: 5px;
  border-radius: 5px;
  padding: 4px;
  background-color: var(--txt-color);
}

.game-price {
  margin: 15px 0;
  font-weight: 300;
}

.game-price-amount {
  display: block;
  font-size: 18px;
}

.game-price-off {
  position: absolute;
  top: 140px;
  left: 0;
  display: inline-block;
  font-weight: bold;
  padding: 4px 6px;
  font-size: 14px;
  border-radius: 0 5px 0 0;
  background: var(--bg-box-deal-color);
  color: var(--txt-color-dark);
}

.game-price-prev,
.game-price-taxes {
  display: block;
  color: var(--txt-color-secondary);
}

.game-price-prev {
  margin: 8px 0;
}

.game-price-taxes {
  font-size: 11px;
  margin: 4px 0;
}

.game-buy-now {
  display: flex !important;
  justify-items: center;
  align-items: center;
  gap: 5px;
  width: 100%;
  margin: 15px 0;
}

.x-loader {
  animation: xboxloader infinite 1.5s linear;
  border: #FFF 5px solid;
  border-radius:50%;
  box-sizing: border-box;
  height: 20px;
  opacity: 0;
  width: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  z-index: 10;
}

@keyframes xboxloader {
  0% { transform: scale(0); opacity:0; }
  20% { opacity:1; }
  25% { transform: scale(1); opacity:1; }
  50% { border-width:0; opacity:0; transform: scale(1.3);  }
}

.page {
  position: fixed;
  top: 50px;
  bottom: 0;
  width: 100%;
  min-height: calc(100% - 50px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  will-change: transform;
  transform: translateX(100%);
  transition: transform 300ms ease;
  z-index: 2;
  background: var(--bg-xbox-dark-color) linear-gradient(var(--bg-xbox-dark-color) 5%, var(--bg-color) 15%) no-repeat;
}

.page-on {
  transform: translateX(0);
  z-index: 3;
}

.page-fixed {
  transition: none;
  will-change: none;
}

.page-prev-on {
  transform: translateX(-80px) !important;
  will-change: transform !important;
  transition: transform 400ms ease !important;
  z-index: 2 !important;
}

.detail .detail-content > .game-preview {
  box-shadow: none;
  width: 100%;
  height: auto;
  border-radius: 0;
  padding-bottom: 50%;

  /* background-color: transparent;
  background-image: linear-gradient(transparent, var(--bg-color)), var(--game-preview-url);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center top; */
}

.detail .detail-content > section:first-of-type {
  margin-top: 0px;
}

.detail .detail-content > section:last-child .carousel {
  padding-bottom: 15px;
}

.detail .detail-content > .game-preview > .game-img {
  width: 100vw;
  aspect-ratio: 16/9;
  position: absolute;
  z-index: 1;
}

.detail .detail-content > .game-preview > div {
  position: relative;
  z-index: 2;
  top: 232px;
  padding: 15px;
  margin: 0;
  background-color: var(--bg-color);
}

.detail h4 {
  margin: 15px 0;
}

.detail .game-preview-info {
  background: var(--bg-color);
  position: relative;
  margin-bottom: 25px;
}

.detail .game-preview-info h4 {
  display: inline-block;
}

.detail .game-preview-images,
.detail .game-preview-playlist {
  padding: 0;
  margin: 15px 0 20px;
}

.detail .game-preview-images img,
.detail .game-preview-playlist a,
.detail .game-preview-playlist lite-youtube {
  border-radius: 10px;
  aspect-ratio: 16 / 9;
}

.detail .game-preview-playlist a,
.detail .game-preview-playlist lite-youtube {
  width: calc(100vw - 75px);
}

.detail .game-preview-playlist a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-box-light-color);
}

.detail .game-preview-playlist lite-youtube,
.detail .game-preview-playlist a  {
  padding: 0;
  flex: none;
  scroll-snap-align: start;
}

.detail .game-preview-images img {
  scroll-snap-align: center;
}

.detail .game-preview-video {
  position: relative;
}

.detail .detail-content > .game-preview .game-title {
  font-size: 30px;
  line-height: 1.2em;
  margin: 5px 0;
  width: 245px;
}

.detail .detail-content > .game-preview .game-price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-flow: wrap;
  margin-bottom: 5px;
}

.detail .game-us-price {
  display: inline-flex;
  margin-bottom: 15px;
  height: 20px;
  gap: 5px;
}

.detail .game-us-price .game-price-amount {
  font-size: 16px;
  color: var(--bg-xbox-light-color);
}

.detail .detail-content > .game-preview .game-price div:nth-child(3) {
  flex: none;
  margin: 5px 0;
  font-size: 22px;
  color: var(--bg-xbox-light-color);
}

.detail .detail-content > .game-preview .game-price-off {
  position: static;
  border-radius: 5px;
}

.detail .detail-content > .game-preview .game-price-amount {
  font-size: 26px;
  line-height: 1em;
  width: 100%;
}

.detail .detail-content > .game-preview .game-pass {
  position: initial;
  display: block;
  margin: 15px 0 0;
}

.detail .supported-languages {
 gap: 5px;
 padding: 0;
}

.detail .game-description {
  white-space: pre-line;
  font-size: 16px !important;
  line-height: 1.4em;

  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 0.5px;

  overflow: auto;

  margin: 0;
  padding-bottom: 15px;
}

.detail .hero {
  width: 100vw;
  position: absolute;
  z-index: 1;
}

.reviews li {
  width: 300px;
  background: var(--bg-box-light-color);
  display: inline-block;
  flex: none;
  padding: 5px 20px;
  border-radius: 10px;
  scroll-snap-align: center;
}

.reviews a {
  color: var(--txt-color);
}

.list .game-pass {
  left: 92px;
}

.btn {
  display: inline-block;
  font-size: .9em;
  line-height: 1.5em;
  text-align: center;
  background-color: var(--bg-xbox-color);
  border: 1px solid var(--bg-xbox-color);
  padding: 0.7em 1em;
  cursor: pointer;
  border-radius: 5px;
  white-space: nowrap;
  box-sizing: border-box;
  color: var(--txt-color);
  text-decoration: none;
}

.page-content {
  height: 100%;
}

.page-content h2 {
  display: block;
  margin: 20px 15px 15px;
  grid-column: 1 / -1;
}

.header-btn {
  border-radius: 100%;
  position: absolute;
  color: var(--txt-color-secondary);
  background: none;
  border: none;
  width: 55px;
  height: 50px;
  top: 0px;
  line-height: 0;
  transform: translate3d(0,0,0);
}

.install-btn,
.page-back-btn {
  left: 0px;
}

.install-btn {
  width: 110px;
}

.install-btn span {
  border-radius: 20px;
  border: 1px solid var(--txt-color-secondary);
  padding: 7px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 10px;
}

.search-btn {
  right: 40px;
}

.fav-btn.switch-on path {
  fill: #c51b1b;
}

.cart-btn.switch-on path {
  fill: var(--bg-box-deal-color);
}

.fav-btn,
.cart-btn,
.share-btn {
  top: -5px;
}

.share-btn {
  right: -10px;
}

.cart-btn {
  right: 35px;
}

.fav-btn {
  right: 80px;
}

.sort-btn {
  right: 0;
  margin: 5px 0;
}

header .cart-btn,
header .gamer-btn {
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

header .cart-btn {
  right: 80px;
}

header .gamer-btn {
  right: 0;
}

header .gamer-btn img {
  width: 28px;
  height: 28px;
  position: absolute;
  border-radius: 100%;
  pointer-events: none;
}

.cart-quantity {
  font-size: 12px;
  color: var(--txt-color-secondary);
  text-decoration: none;
  display: inline-block;
  width: 14px;
  height: 14px;
  position: absolute;
  top: 5px;
  left: 23px;
  line-height: 14px;
}

.footer-btn {
  color: var(--txt-color-secondary);
  background: none;
  border: none;
  width: 55px;
  transform: translateZ(0);
  display: inline-block;
  padding: 3px 25px;
  text-align: center;
  text-decoration: none;
}

.footer-btn svg {
  vertical-align: middle;
}

[data-active=""] .home-btn path,
[data-active="wishlist"] .wish-btn path,
[data-active="news"] .news-btn path {
  fill: var(--bg-xbox-light-color);
}

[data-active=""] .home-btn,
[data-active="wishlist"] .wish-btn,
[data-active="news"] .news-btn {
  color: var(--bg-xbox-light-color);
}

.search label {
  visibility: hidden;
  position: absolute;
  z-index: -1;
}

.search input[type="search"] {
  background-color: var(--txt-color);
  border: 1px solid var(--txt-color);
  border-radius: 20px;
  padding: 3px 10px;
  color: var(--bg-color);
  height: 30px;
  position: relative;
  top: -3px;
}

.search input[type="search"]:focus {
  outline: none;
}

.search button {
  height: 50px;
  color: var(--txt-color);
  font-size: 16px;
  padding: 0 5px;
}

.search button svg {
  vertical-align: bottom;
}

.home {
  padding-bottom: calc(60px + env(safe-area-inset-bottom));

  will-change: transform;
  transition: transform 400ms ease;
  transform: translateX(0);
}

.empty-list {
  position: absolute;
  top: 50%;
  width: 80%;
  left: 10%;
  text-align: center;
}

.list .page-content,
.news .page-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(316px,1fr));
  align-content: start;
  padding: 0 5px;
  margin: 0 auto;
}

.list .game-preview {
  width: auto;
  height: 165px;
  flex-direction: row;
  margin: 10px;
  background: none;
}

.list .game-price {
  margin: 10px 0 0;
}

.list .game-img {
  border-radius: 10px;
}

.wish,
.news {
  z-index: 1;
  bottom: calc(50px + env(safe-area-inset-bottom));
  min-height: auto;
}

.news-preview {
  padding: 24px;
  position: relative;
  margin: 10px;
  border-radius: 8px;
  background-color: var(--bg-box-color);
  height: auto;
  width: auto;
  flex-direction: row;
}

.news-preview img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.news-preview h2 {
  font-size: 22px;
  margin: 5px 0 20px;
}

.news-preview a {
  color: var(--txt-color);
  text-decoration: none;
}

.news-preview a:before {
  content: '';
  text-decoration: none;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  box-sizing: border-box;
}

.news-preview p {
  color: var(--txt-color-secondary);
  line-height: 1.4em;
  font-family: 'Inter';
  font-size: 15px;
}

.gamepass,
.cafecito,
.catalog {
  padding: 10px 0px;
  margin: 0 15px;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, #3B844D 0%, var(--bg-xbox-dark-color) 60%, var(--bg-color) 100%);
}

.cafecito,
.catalog {
  background: linear-gradient(180deg, var(--bg-box-color) 0%, var(--bg-color) 100%);
}

.gamepass-collections ul,
.cafecito ul,
.catalog ul {
  display: flex;
  list-style: none;
  padding: 0 15px;
  flex-flow: wrap;
  gap: 15px;
}

.gamepass-collections ul li,
.cafecito li,
.catalog li {
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;

  background-color: var(--bg-xbox-light-color);
  flex: 100%;
  height: 50px;
}

.gamepass-collections ul {
  padding: 0
}

.gamepass-collections article {
  flex: 1;
  min-width: 345px;
  scroll-snap-align: center;
}
.gamepass-collections h2 {
  margin-left: 0;
}

.gamepass-collections h2 img {
  top: 0;
}

.gamepass ul:nth-of-type(3) li {
  background-color: var(--bg-box-light-color);
}

.cafecito li {
  background-color: #7c64bf;
}

.gamepass-collections ul li a,
.cafecito li a,
.catalog li a {
  color: var(--txt-color);
  text-decoration: none;
  font-size: 18px;
}

.cafecito li a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.cafecito li:nth-child(2) {
  background-color: #000000;
}

.catalog ul li {
  background-color: var(--bg-box-light-color);
  flex: calc(50% - 10px);
}

.catalog ul li:first-child,
.catalog ul li:nth-child(2) {
  flex: 100%;
}

.cafecito li a {
  font-size: 16px;
}

.gamepass-collections ul li a:before,
.cafecito li a:before,
.catalog li a:before {
  content: '';
  text-decoration: none;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  box-sizing: border-box;
}

.gamepass-plan {
  flex: 1;
  padding: 15px;
  background: var(--bg-xbox-dark-color);
  border-radius: 10px;
  position: relative;
  min-width: 290px;
  scroll-snap-align: center;
}

.gamepass-plan h3 {
  display: flex;
  align-items: center;
  gap: 5px;
}

.gamepass-plan h3 span {
  height: 19px;
}

.gamepass-plan .game-important-tag {
  font-size: 11px;
  font-weight: 500;
}

.gamepass-plan ul {
  margin: 10px 0;
  font-size: 13px;
  list-style-type: "✓";
  list-style-position: inside;
}

.gamepass-plan li {
  margin: 10px 0;
  color: var(--txt-color-secondary);
}

.gamepass-plan .btn {
  width: 100%;
  margin-top: 10px;
  border-color: var(--bg-box-light-color);
  background-color: var(--bg-box-light-color);
}

.gamepass-plan .btn:before {
  content: '';
  text-decoration: none;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  box-sizing: border-box;
}

@keyframes boom {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.8);
    opacity: 0.5;
  }

  100% {
    transform: scale(5);
    opacity: 0;
  }
}

@keyframes bye {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.splash-loading {
  background-color: var(--bg-xbox-dark-color);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 12;
  will-change: opacity;
}

.splash-loading svg {
  will-change: opacity, transform;
  position: absolute;
  top: calc(50vh - 80px);
  left: calc(50vw - 40px);
}

.bye {
  animation: bye 500ms linear;
  animation-fill-mode: forwards;
}

.bye svg {
  animation: boom 250ms linear;
  animation-fill-mode: forwards;
}

.cart h2 {
  color: var(--txt-color-secondary);
}

.cart h2 x-price {
  font-size: 25px;
  color: var(--txt-color);
  position: relative;
  left: 4px;
  top: 2px;
}

.cart .share-btn {
  right: 0;
  top: 12px;
}

.cart-disclaimer {
  margin: 0 15px 15px;
  color: var(--txt-color-secondary);
  grid-column: 1 / -1;
}

.page-scale {
  transform: scale(.96);
}

.modal {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0,0,0,.6);
  z-index: 4;
  opacity: 0;
}

.modal-on {
  opacity: 1;
}

.modal-on .modal-content {
  transform: translateY(0);
}

.modal-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 15px 15px 0 0;
  min-height: 285px;
  background-color: var(--bg-box-light-color);
  padding: 15px;
  padding-bottom: env(safe-area-inset-bottom);
  will-change: transform;
  transform: translateY(210px);
  transition: transform 300ms ease-out;
  transition-delay: 50ms;
}

.modal-content:before {
  content: '✕';
  display: inline-block;
  width: 25px;
  height: 25px;
  line-height: 25px;
  border: 1px solid var(--txt-color-secondary);
  border-radius: 100%;
  font-size: 15px;
  color: var(--txt-color-secondary);
  text-align: center;
  position: absolute;
  right: 10px;
  top: 14px;
  cursor: pointer;
}

.modal ul {
  margin-bottom: 20px;
}

.modal li {
  margin: 10px 8px 10px 0;
  display: inline-grid;
}

.modal h2,
.modal h3 {
  margin: 0 0 15px;
}

.modal a {
  color: var(--txt-color);
  text-decoration: none;
  border: 1px solid var(--txt-color);
  border-radius: 5px;
  padding: 10px 10px;
}

.modal a:active {
  background-color: var(--bg-box-color);
}

.modal select {
  font-size: .9em;
  line-height: 1.5em;
  background-color: transparent;
  border: 1px solid var(--txt-color);
  padding: 0.5em 0.7em;
  border-radius: 5px;
  box-sizing: border-box;
  color: var(--txt-color);
  width: 60%;
  margin-right: 10px;
  margin-bottom: 5px;
}

.modal .btn {
  background-color: var(--txt-color);
  border: 1px solid var(--txt-color);
  color: var(--txt-color-dark);
  padding: 0.4em 0.7em;
}

.finanzas-arg h2 {
  font-size: 14px;
}

.finanzas-arg a {
  display: inline-block;
  margin: 0 15px;
}

.skeleton {
  animation: skeleton-loading 1.5s linear infinite alternate;
  display: inline-block;
  height: 20px;
  width: 150px;
}

.section-title.skeleton {
  height: 20px;
  width: 250px;
  margin: 20px 15px 15px;
}

.game-preview-skeleton {
  height: 320px;
}

.game-title.skeleton {
  height: 20px;
}

.game-img.skeleton {
  height: 165px;
  width: 165px;
}

.game-by.skeleton {
  height: 10px;
  width: 125px;
}

.game-price.skeleton {
  height: 30px;
  width: 120px;
}

.gamer-search {
  display: grid;
  grid-column: 1;
  justify-items: center;
  margin: 10px;
}

.gamer-search input {
  height: 45px;
  padding: 10px;
  border-radius: 5px;
  display: block;
  width: 100%;
  border: none;
  background: var(--bg-box-light-color);
  color: var(--txt-color);
}

.gamer-card {
  text-align: center;
  padding: 30px 0;
  grid-column: 1 / -1;
  border-radius: 10px;
  margin: 10px;
  background-image: linear-gradient(120deg, var(--gamer-background-color) 0%, var(--gamer-foreground-color) 100%);
}

.gamer-card a {
  color: var(--txt-color);
}

.gamer-stats {
  grid-column: 1 / -1;
}

.gamer-achievements .game-preview-soon {
  width: 245px;
}

.gamer-clips {
  padding-bottom: 25px;
}

.gamer-clips .game-preview-soon {
  width: 345px;
}

.gamer-clips h3 {
  order: 2;
  margin: 5px;
}

.gamer-card .gamer-display-pic {
  border-radius: 10px;
  border: 5px solid var(--gamer-foreground-color);
}

.gamer-games .game-preview-achievements {
  margin: 0;
}

.game-preview-achievements .game-by {
  margin: 0;
}

.game-preview-achievements p {
  display: flex;
  align-items: center;
  margin: 10px 0 5px;
  gap: 5px;
}

progress {
  -webkit-appearance: none;
  appearance: none;
  height: 5px;
}

::-webkit-progress-bar {
  background: var(--txt-color-secondary);
  border-radius: 10px;
}

::-webkit-progress-value {
  background-color: var(--bg-xbox-color);
  border-radius: 10px;
}

.game-preview-clips {
  display: grid;
  margin: 15px;
  gap: 10px;
}

.carousel .game-preview-clips {
  scroll-snap-align: center;
  margin: 0;
}

.game-preview-soon.game-preview-achievements {
  overflow: visible;
  margin: 15px;
  width: 365px;
  filter: grayscale(var(--achievement-state));
}


.game-preview-soon.game-preview-achievements .game-img {
  width: 100%;
  height: auto;
}

.carousel .game-preview-soon.game-preview-achievements {
  margin: 0;
  width: 256px;
}

@keyframes skeleton-loading {
  0% {
    background-color: var(--bg-box-light-color);
  }
  100% {
    background-color: #33333570;
  }
}

@media (min-width: 54em) {

  .page {
    opacity: 0;
    transform: translateX(0);
    transition: opacity 300ms ease-out;

    bottom: 0;
    right: 0;
    left: 80px;
    width: auto;
  }

  .page-on {
    opacity: 1;
  }

  .page-prev-on {
    transform: translateX(0px) !important;
    transition: none !important;
  }

  header {
    width: auto;
    left: 80px;
    right: 0;
  }

  main {
    margin-left: 80px;
  }

  main:before {
    left: 80px;
  }

  footer {
    top: 0px;
    left: 0;
    width: 80px;
    border-right: 1px solid var(--bg-box-light-color);
    z-index: 3;
    padding-top: 50px;
  }

  footer ul {
    flex-direction: column;
    gap: 15px;
  }

  .home,
  .list .page-content,
  .news .page-content,
  .detail .detail-content > .game-preview > div,
  .detail .detail-content > section {
    max-width: 1150px;
    margin: 0 auto;
  }

  .carousel {
    scroll-snap-type: none;
  }

  .list .page-content br {
    display: none;
  }

  .game-important {
    max-width: 100%;
    width: auto;
    margin: 50px 20px;
    padding: 0 15px;
    background-color: var(--bg-box-color);
  }

  .game-important:before {
    top: 15px;
    height: 365px;
    filter: blur(50px);
  }

  .game-important .game-title {
    width: 30%;
  }

  .game-important .game-img {
    right: 0;
    width: 65%;
    opacity: 1;
    object-fit: cover;
    border-radius: 0 10px 0 0;
  }

  .game-preview-new {
    width: 35vw;
    border-radius: 10px;
    background: var(--game-preview-new) no-repeat;
    background-size: 100%;
  }

  .game-preview-new:before {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-color: #1b201fc9;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .game-preview-new > div {
    padding: 20px;
    width: 100%;
    z-index: 2;
  }

  .game-preview-new > .game-img {
    z-index: 1;
  }

  .carousel:hover .arrow {
    opacity: 1;
  }

  .arrow {
    display: block;
    position: absolute;
    z-index: 3;
    background-color: rgba(20,20,20,.5);
    color: var(--txt-color);
    top: 40px;
    bottom: 0;
    width: 55px;
    opacity: 0;
    transition: opacity 300ms ease;
    will-change: opacity;
  }

  .arrow.prev {
    left: 0;
  }

  .arrow.next {
    right: 0;
  }

  .list .game-price-off {
    top: 103px;
  }

  .list .game-pass {
    left: 55px;
  }

  .list .game-preview {
    width: 316px;
  }

  .list .game-preview > div {
    margin: 0 10px;
  }

  .list .game-img {
    width: 128px;
    height: 128px;
  }

  .news .news-preview {
    margin: 15px;
  }

  .detail .detail-content > .game-preview .game-title {
    width: 418px;
  }

  .detail .detail-content > .game-preview {
    background-size: cover;
    padding-bottom: 0;
  }

  .detail .detail-content > .game-preview:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1F1F1FE3;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    z-index: 2;
    width: 100vw;
    height: 200vh;
  }

  .detail .detail-content > .game-preview:before,
  .detail .detail-content > .game-preview > .game-img {
    width: calc(100vw - 80px);
  }

  .detail .detail-content > .game-preview > div {
    top: 0;
    background-color: transparent;
    padding: 20px 30px;
  }

  .detail .detail-content > .game-preview .game-price-taxes {
    position: static;
  }

  .detail .game-buy-now {
    width: 45%;
  }

  .detail .game-preview-info {
    background: none;
    width: 55%;
    min-width: 495px;
    min-height: 300px;
    padding: 0;
    margin-bottom: 35px;
  }

  .detail .game-preview-trailer {
    position: fixed;
    display: block !important;
    top: 80px;
    right: 10%;
    border-radius: 10px;
    z-index: 3;
    width: 420px;
  }

  .detail .game-description {
    width: 65%;
  }

  .detail .game-preview-images img,
  .detail .game-preview-playlist lite-youtube,
  .detail .game-preview-playlist a {
    width: 580px;
    height: 326px;
  }

  .gamepass-collections ul li,
  .cafecito li,
  .catalog li {
    flex: 1;
    height: 65px;
  }

  .gamepass-collections ul li a,
  .cafecito li a,
  .catalog li a {
    font-size: 16px;
  }

  .gamepass-collections ul li {
    flex: calc(25% - 10px);
  }

  .catalog ul li {
    flex: 12%;
  }

  .catalog ul li:first-child,
  .catalog ul li:nth-child(2) {
    flex: calc(50% - 10px);
  }

  .gamepass-collections {
    flex-direction: column;
  }

  .footer-btn {
    padding: 12px;
  }

  .modal-content {
    transform: translateX(280px);
    width: 25vw;
    border-radius: 15px 0px 0 0;
  }

  .modal-on .modal-content {
    transform: translateX(0);
  }

  .modal-content {
    top: 0;
    bottom: 0;
    left: auto;
    right: 0;
  }

  .gamer-achievements .game-img {
    width: 245px;
    height: 138px;
  }

  .gamer-content .game-preview-soon {
    margin: 20px;
  }
}
