:root {
  --page: #06172b;
  --header: #0c2a45;
  --nav: #183351;
  --nav-bottom: #102846;
  --white: #ffffff;
  --muted: #b9c8d8;
  --red: #bd164f;
  --pink: #dd28c7;
  --blue: #188fe9;
  --cyan: #27c3ed;
  --gold: #e2bd43;
  --green: #68bf3d;
  --radius: 7px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(6, 23, 43, 0.28), rgba(6, 23, 43, 0.86) 720px, rgba(6, 23, 43, 0.97)),
    url("public/StoreBackground.png") center top / cover fixed no-repeat,
    var(--page);
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 800;
}

body::before {
  position: fixed;
  inset: 0 0 auto;
  height: 260px;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  background:
    linear-gradient(166deg, transparent 0 13%, rgba(255, 255, 255, 0.035) 13.2% 22%, transparent 22.2%),
    linear-gradient(8deg, transparent 0 47%, rgba(255, 255, 255, 0.03) 47.2% 54%, transparent 54.2%),
    linear-gradient(352deg, transparent 0 62%, rgba(255, 255, 255, 0.035) 62.2% 74%, transparent 74.2%);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.store-page {
  position: relative;
  z-index: 1;
  width: min(1056px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 64px;
}

.hero-header {
  display: grid;
  min-height: 92px;
  place-items: center;
  padding: 14px 0 6px;
}

.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(460px, 68vw);
  min-height: 70px;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.hero-logo:focus-visible {
  outline: 3px solid rgba(255, 210, 76, 0.78);
  outline-offset: 8px;
}

.hero-logo img {
  width: min(300px, 58vw);
  height: auto;
  object-fit: contain;
}

.store-nav {
  position: relative;
  display: grid;
  grid-template-columns: 179px minmax(0, 1fr) 219px;
  gap: 18px;
  height: 85px;
  padding: 13px 32px;
  border-bottom: 6px solid rgba(2, 12, 27, 0.35);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #203b5b 0%, var(--nav) 72%, var(--nav-bottom) 100%);
}

.store-nav button {
  min-width: 0;
  border: 0;
  color: var(--white);
  font-weight: 900;
  text-shadow: 0 2px rgba(3, 13, 28, 0.18);
}

.store-nav button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  filter: saturate(0.7);
}

.realm-button,
.nav-button {
  position: relative;
  overflow: hidden;
  height: 54px;
  border-radius: 5px;
  transition:
    box-shadow 180ms ease,
    filter 180ms ease,
    transform 180ms ease;
}

.realm-button::after,
.nav-button::after,
.category-card::after,
.package-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0;
  background: linear-gradient(115deg, transparent 0 34%, rgba(255, 255, 255, 0.28) 48%, transparent 62%);
  transform: translateX(-120%);
  transition:
    opacity 180ms ease,
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.realm-button:hover,
.realm-button:focus-visible,
.nav-button:hover,
.nav-button:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 8px 20px rgba(255, 210, 76, 0.16);
}

.realm-button:hover::after,
.realm-button:focus-visible::after,
.nav-button:hover::after,
.nav-button:focus-visible::after,
.category-card:hover::after,
.category-card:focus-visible::after,
.package-card:hover::after,
.package-card:focus-within::after {
  opacity: 0.55;
  transform: translateX(120%);
}

.nav-categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  gap: 18px;
  min-width: 0;
}

.realm-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11) 0 33%, transparent 33%),
    linear-gradient(180deg, #75c947, #55ad38);
  text-transform: uppercase;
}

.switch-icon {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 5px;
  background: rgba(24, 88, 139, 0.26);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.switch-icon svg {
  width: 22px;
  height: 16px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-button--ranks {
  background: linear-gradient(180deg, #d32561, #b9174d);
}

.nav-button--crates {
  background: linear-gradient(180deg, #f04ed7, #cf20bb);
}

.nav-button--gems {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.nav-button--subs {
  overflow: visible;
  background: linear-gradient(180deg, #eacb58, #d0aa34);
  box-shadow: 0 0 20px rgba(232, 203, 86, 0.45);
}

.nav-button--subs em {
  position: absolute;
  top: 8px;
  right: -8px;
  width: 60px;
  padding: 3px 0;
  color: var(--white);
  background: #d83d4f;
  font-size: 0.45rem;
  font-style: normal;
  line-height: 1;
  rotate: 43deg;
}

.account-cluster {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 65px;
  margin: -2px -17px -10px 0;
}

.login-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 auto;
  height: 100%;
  padding: 4px 0 0 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  text-align: left;
}

.login-copy {
  display: grid;
  gap: 1px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.05;
}

.login-copy strong {
  color: var(--white);
  font-size: 1rem;
}

.skin-placeholder {
  position: absolute;
  right: 6px;
  bottom: -6px;
  width: 84px;
  height: 96px;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
  transform: rotate(-8deg);
  filter: drop-shadow(0 8px 0 rgba(0, 0, 0, 0.14)) drop-shadow(0 10px 8px rgba(0, 0, 0, 0.22));
}

.cart-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 5px;
  color: var(--white);
  background: linear-gradient(180deg, #d32561, #b9174d);
  box-shadow: 0 4px 0 rgba(80, 8, 34, 0.22);
  transition: filter 180ms ease, transform 180ms ease;
}

.cart-button:hover,
.cart-button:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.cart-button:active {
  transform: translateY(1px);
}

.cart-icon {
  width: 24px;
  height: 24px;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--gold);
  color: #2a1d00;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 19px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sale-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 260px 348px;
  align-items: center;
  height: 115px;
  margin-top: 32px;
  overflow: visible;
  border-bottom: 7px solid #d4b244;
  border-radius: var(--radius);
  background:
    linear-gradient(65deg, rgba(255, 255, 255, 0.11) 0 8%, transparent 8.2%),
    linear-gradient(180deg, #ffde61 0%, #f4d452 100%);
}

.sale-copy {
  position: relative;
  z-index: 2;
  padding-left: 47px;
  text-transform: uppercase;
}

.sale-copy h1,
.sale-copy p,
.category-card h2,
.category-card p {
  margin: 0;
}

.sale-copy h1,
.sale-copy p {
  margin: 0;
}

.sale-copy h1 {
  color: var(--white);
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow:
    0 1px 0 #ffe9a8,
    0 2px 0 #d9a82e,
    0 3px 0 #b3861f,
    0 4px 0 #8a6716,
    0 6px 10px rgba(0, 0, 0, 0.32),
    0 10px 22px rgba(0, 0, 0, 0.28);
}

.sale-copy p {
  margin-top: 4px;
  color: #fff6dc;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-shadow:
    0 1px 0 #d9a82e,
    0 2px 0 #b3861f,
    0 3px 6px rgba(0, 0, 0, 0.3);
}

.sale-copy p::before {
  content: "-> ";
}

.sale-art {
  position: relative;
  z-index: 3;
  justify-self: center;
  align-self: end;
  width: min(260px, 100%);
  height: 132px;
  margin-top: -20px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 10px 0 rgba(129, 101, 32, 0.12));
}

.countdown {
  position: relative;
  z-index: 2;
  display: grid;
  justify-content: end;
  padding-right: 47px;
}

.countdown p {
  margin: 0 0 8px;
  color: rgba(112, 96, 45, 0.84);
  font-size: 0.77rem;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 68px);
  gap: 9px;
}

.countdown-grid span {
  display: grid;
  gap: 5px;
  height: 70px;
  place-items: center;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(142, 113, 43, 0.38);
  font-size: 0.68rem;
  line-height: 1;
  text-align: center;
}

.countdown-grid strong {
  display: block;
  color: var(--white);
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 2px;
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 20px;
  margin-top: 19px;
}

.category-grid[hidden] {
  display: none;
}

.category-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 0;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.74);
}

.category-toolbar p {
  margin: 0;
}

.category-toolbar:empty {
  display: none;
}

.back-button {
  min-height: 34px;
  border: 0;
  border-radius: 5px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-weight: 900;
}

.category-card {
  position: relative;
  display: grid;
  align-items: start;
  min-height: 201px;
  overflow: hidden;
  padding: 32px 44px;
  border-radius: var(--radius);
  cursor: pointer;
  isolation: isolate;
  transition:
    box-shadow 180ms ease,
    filter 180ms ease,
    transform 180ms ease;
}

.category-card:active,
.store-nav button:active {
  transform: translateY(1px);
}

.category-card:hover {
  filter: brightness(1.07);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 14px 28px rgba(255, 210, 76, 0.14);
}

.category-card.is-loading,
.error-card {
  cursor: default;
}

.error-card {
  grid-column: 1 / -1;
}

.category-card h2 {
  position: relative;
  z-index: 2;
  font-size: 1.95rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.category-card p {
  position: relative;
  z-index: 2;
  margin-top: 12px;
  font-size: 0.92rem;
}

.category-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: linear-gradient(65deg, rgba(255, 255, 255, 0.07) 0 13%, transparent 13.2%);
}

.category-card--ranks {
  background: linear-gradient(135deg, #e0202f 0%, #b3121f 100%);
}

.category-card--crates {
  background: linear-gradient(135deg, #4b3fd8 0%, #7c4ff0 100%);
}

.category-card--subs {
  background: #e3c141;
}

.category-card--gems {
  background: linear-gradient(115deg, #1694ed, #21bce6);
}

.card-art {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  right: -2px;
  bottom: -14px;
  width: 215px;
  height: 215px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.18));
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: 55% 60%;
}

.category-card:hover .card-art,
.category-card:focus-visible .card-art {
  transform: rotate(-8deg) scale(1.06);
}

.packages-section {
  margin-top: 20px;
  padding: 0 0 2px;
  border-radius: var(--radius);
  background: rgba(9, 22, 39, 0.46);
}

.packages-section[hidden] {
  display: none;
}

.packages-heading {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 120px;
  align-items: center;
  min-height: 115px;
  margin-bottom: 13px;
  padding: 22px 39px;
  overflow: hidden;
  border-bottom: 7px solid rgba(112, 15, 56, 0.46);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 31%, transparent 31% 39%, rgba(255, 255, 255, 0.025) 39% 47%, transparent 47% 100%),
    linear-gradient(180deg, #dc2f68, #bd174f);
}

.packages-heading::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(65deg, rgba(255, 255, 255, 0.08) 0 12%, transparent 12.2%),
    radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.08), transparent 27%);
}

.packages-heading__text {
  position: relative;
  z-index: 1;
  text-align: center;
}

.packages-heading h2 {
  margin: 0;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}

.packages-breadcrumb,
.packages-desc {
  display: none;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.package-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-height: 366px;
  padding: 20px 20px 26px;
  border-radius: var(--radius);
  background: #244564;
  box-shadow: inset 0 -6px rgba(7, 20, 37, 0.22);
  transition:
    box-shadow 180ms ease,
    filter 180ms ease,
    transform 180ms ease;
}

.package-card:hover,
.package-card:focus-within {
  filter: brightness(1.07);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -6px rgba(7, 20, 37, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 12px 24px rgba(33, 188, 230, 0.16);
}

.realm-button:active,
.nav-button:active,
.category-card:active,
.package-card:active {
  transform: translateY(1px);
}

.package-card__image {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  height: 196px;
  place-items: center;
  margin: 0 0 12px;
  border: 0;
  border-radius: 5px;
  padding: 0;
  color: inherit;
  background: transparent;
}

.package-card__image img {
  max-width: 190px;
  max-height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 12px 0 rgba(0, 0, 0, 0.1)) drop-shadow(0 18px 20px rgba(0, 0, 0, 0.2));
}

.package-fallback-icon {
  display: block;
  width: 118px;
  height: 118px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 35%), #1b88d7;
}

.package-card h3,
.package-card p {
  margin: 0;
}

.package-card h3 {
  min-height: 24px;
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.package-card__footer {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 16px;
  margin-top: auto;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  min-height: 22px;
  color: #ffcd38;
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
}

.price del {
  color: #f45470;
  font-size: 0.72rem;
  text-decoration-thickness: 2px;
}

.package-add-button,
.package-remove-button,
.continue-button {
  border: 0;
  border-radius: 5px;
  padding: 10px 14px;
  color: var(--white);
  background: #d32561;
}

.package-add-button,
.package-remove-button {
  min-height: 49px;
  width: 100%;
  text-transform: uppercase;
  box-shadow: inset 0 -5px rgba(0, 0, 0, 0.13);
}

.package-remove-button {
  background: #4e7fb6 !important;
}

.package-info-button {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  min-height: 31px;
  padding: 0 10px !important;
  color: rgba(255, 255, 255, 0.82) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  font-size: 0.72rem;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.package-card:hover .package-info-button,
.package-card:focus-within .package-info-button {
  opacity: 1;
  transform: translateY(0);
}

.back-button,
.more-info-button {
  position: relative;
  z-index: 1;
  min-height: 35px;
  border: 0;
  border-radius: 5px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 -4px rgba(0, 0, 0, 0.11);
  font-weight: 900;
}

.back-button::before {
  content: "< ";
}

.package-grid:empty::before {
  grid-column: 1 / -1;
  padding: 18px;
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(16, 40, 68, 0.72);
  content: "No packages to show yet.";
}

.category-grid:empty::before {
  grid-column: 1 / -1;
  padding: 18px;
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(16, 40, 68, 0.72);
  content: "No subcategories found. Packages are shown below when available.";
}

.package-detail {
  position: relative;
  width: min(696px, calc(100vw - 32px));
  max-height: min(860px, calc(100dvh - 32px));
  border: 0;
  border-radius: var(--radius);
  padding: 38px;
  color: var(--white);
  background: #284c71;
  box-shadow: 0 28px 90px rgba(0, 8, 22, 0.58);
  overflow: auto;
}

.package-detail::backdrop {
  background: rgba(0, 8, 22, 0.76);
}

.detail-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 5px;
  color: var(--white);
  background: #d32662;
  box-shadow: 0 5px 0 rgba(80, 8, 34, 0.18);
}

.detail-close svg {
  width: 18px;
  height: 18px;
}

.detail-media {
  position: absolute;
  top: 72px;
  left: 78px;
  z-index: 2;
  display: grid;
  width: 130px;
  height: 140px;
  place-items: center;
}

.detail-media img {
  max-width: 128px;
  max-height: 136px;
  object-fit: contain;
  filter: drop-shadow(0 14px 14px rgba(0, 0, 0, 0.2));
}

.detail-body::before {
  display: block;
  min-height: 194px;
  margin-bottom: 38px;
  border-radius: var(--radius);
  background: rgba(19, 45, 75, 0.62);
  content: "";
}

.detail-badges {
  position: absolute;
  top: 72px;
  left: 224px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-badges span {
  padding: 6px 9px;
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.package-detail h2 {
  position: absolute;
  top: 110px;
  left: 224px;
  right: 74px;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.detail-price {
  position: absolute;
  top: 143px;
  left: 224px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.detail-price strong {
  color: #ffcd38;
  font-size: 0.92rem;
}

.detail-price del {
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.78rem;
  text-decoration-thickness: 2px;
}

.detail-footer {
  position: absolute;
  top: 174px;
  left: 224px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-qty {
  display: grid;
  grid-template-columns: 30px 26px 30px;
  align-items: center;
  min-height: 40px;
  border-radius: 5px;
  background: #244970;
}

.detail-qty button {
  border: 0;
  color: var(--white);
  background: transparent;
}

.detail-qty span {
  text-align: center;
}

.detail-add {
  min-width: 184px;
  min-height: 49px;
  border: 0;
  border-radius: 5px;
  color: var(--white);
  background: #df2d67;
  box-shadow: inset 0 -5px rgba(0, 0, 0, 0.12);
  text-transform: uppercase;
}

.detail-desc {
  color: var(--white);
  font-size: 0.92rem;
  line-height: 1.62;
}

.detail-desc :first-child {
  margin-top: 0;
}

.detail-desc p,
.detail-desc ul,
.detail-desc ol {
  margin: 0 0 20px;
}

.detail-desc ul,
.detail-desc ol {
  padding-left: 19px;
}

.detail-desc li {
  margin: 0 0 9px;
}

.detail-desc strong,
.detail-desc b {
  color: var(--white);
  font-weight: 900;
}

.detail-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 20px;
}

.detail-option {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-option__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
}

.detail-option__input {
  width: 100%;
  padding: 10px 14px;
  border: 0;
  border-radius: 5px;
  color: var(--white);
  background: rgba(19, 45, 75, 0.62);
  font-size: 0.9rem;
  outline: 2px solid transparent;
  transition: outline-color 160ms ease;
}

.detail-option__input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.detail-option__input:focus {
  outline-color: #ffcd38;
}

.store-dialog {
  width: min(560px, calc(100vw - 32px));
  max-width: 100%;
  padding: 28px 28px 30px;
  border: 0;
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(42, 89, 130, 0.96), rgba(29, 62, 98, 0.96));
  background-size: 58px 58px, 58px 58px, auto;
  box-shadow:
    0 28px 80px rgba(0, 8, 22, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-sizing: border-box;
  margin: auto;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 200ms ease, transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.store-dialog[open] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.store-dialog::backdrop {
  background: rgba(0, 8, 22, 0.74);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 5px;
  color: var(--white);
  background: rgba(211, 38, 98, 0.92);
  box-shadow: 0 3px 0 rgba(80, 8, 34, 0.22);
  transition: filter 150ms ease, transform 150ms ease;
  z-index: 2;
}

.dialog-close:hover,
.dialog-close:focus-visible {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.dialog-close svg {
  width: 18px;
  height: 18px;
}

.store-dialog h2 {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 4vw, 2rem);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.store-dialog > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
  text-transform: uppercase;
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 auto 22px;
  max-width: 460px;
}

.platform-grid button {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  max-width: 220px;
  margin: 0 auto;
  width: 100%;
  padding: 0 16px;
  border: 2px solid transparent;
  border-radius: 5px;
  color: var(--white);
  text-transform: uppercase;
  font-weight: 800;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.18);
  opacity: 0.72;
  transition:
    filter 160ms ease,
    opacity 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.platform-grid button:hover,
.platform-grid button:focus-visible {
  opacity: 0.92;
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.platform-grid .active {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.18),
    0 0 18px rgba(120, 200, 255, 0.35),
    0 4px 0 rgba(0, 0, 0, 0.18);
}

.platform-option--java {
  background: linear-gradient(180deg, #6fd5ef, #3fb5dc);
}

.platform-option--bedrock {
  background: linear-gradient(180deg, #d34ecb, #a63caf);
}

.platform-mark {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.16);
  font-size: 0.78rem;
  font-weight: 900;
}

.platform-label {
  text-align: left;
  line-height: 1;
}

.platform-check {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 16px;
  height: 16px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 160ms ease, transform 160ms ease;
}

.platform-grid .active .platform-check {
  opacity: 1;
  transform: scale(1);
}

.account-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  align-items: start;
  gap: 16px;
}

.account-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.account-field__label {
  font-size: 0.72rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.store-dialog input {
  min-height: 52px;
  border: 0;
  border-radius: 5px;
  padding: 0 14px;
  color: var(--white);
  background: #1b3658;
  box-shadow: inset 0 -4px rgba(0, 0, 0, 0.12);
  font-size: 0.92rem;
  font-weight: 700;
  width: 100%;
  box-sizing: border-box;
}

.store-dialog input::placeholder {
  color: rgba(214, 229, 242, 0.58);
}

.account-helper {
  font-size: 0.72rem;
  color: rgba(185, 200, 216, 0.7);
}

.continue-button {
  align-self: start;
  margin-top: calc(0.72rem + 6px);
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 5px;
  color: var(--white);
  background: linear-gradient(180deg, #4f82bd, #4576ad);
  box-shadow: inset 0 -5px rgba(0, 0, 0, 0.11);
  text-transform: uppercase;
  font-weight: 800;
  transition:
    filter 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.continue-button:hover:not(:disabled),
.continue-button:focus-visible:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.continue-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.account-error {
  min-height: 16px;
  margin: 12px 0 0;
  color: #ffcd5f;
  text-align: left;
  text-transform: none;
  font-size: 0.82rem;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 8;
  background: rgba(0, 8, 22, 0.72);
}

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 9;
  width: min(336px, 100%);
  border: 0;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(44, 83, 122, 0.98), rgba(34, 67, 103, 0.98)),
    var(--nav);
  box-shadow: -28px 0 70px rgba(0, 8, 22, 0.42);
}

.cart-drawer[hidden],
.cart-backdrop[hidden] {
  display: none;
}

.cart-close {
  position: absolute;
  top: 14px;
  left: -53px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 6px;
  color: var(--white);
  background: #d32662;
  box-shadow: 0 5px 0 rgba(80, 8, 34, 0.18);
}

.cart-shell {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  min-height: 100dvh;
  padding: 36px 24px 32px;
}

.cart-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
  margin-bottom: 19px;
}

.logout-button {
  border: 0;
  padding: 0;
  color: var(--white);
  background: transparent;
  font-size: 0.78rem;
}

.cart-topline strong {
  font-size: 0.94rem;
}

.cart-summary {
  position: relative;
  overflow: hidden;
  min-height: 102px;
  margin-bottom: 20px;
  padding: 21px 118px 20px 26px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #158df0, #31c6ec);
  box-shadow: inset 0 -6px rgba(0, 64, 120, 0.16);
}

.cart-summary h2,
.cart-summary p,
.cart-account {
  margin: 0;
}

.cart-summary h2 {
  font-size: 0.95rem;
  line-height: 1;
  text-transform: uppercase;
}

.cart-summary p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.cart-summary img {
  position: absolute;
  right: -20px;
  bottom: -10px;
  width: 126px;
  height: 138px;
  object-fit: contain;
  transform: rotate(-8deg);
  filter: drop-shadow(0 10px 0 rgba(0, 0, 0, 0.12));
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 180px;
}

.cart-empty {
  padding: 18px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.74);
  background: rgba(15, 39, 68, 0.58);
  font-size: 0.86rem;
  text-align: center;
}

.cart-item {
  overflow: hidden;
  border-radius: var(--radius);
  background: #1a3656;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.cart-item__realm {
  padding: 11px 18px 10px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(9, 27, 49, 0.23);
  font-size: 0.78rem;
}

.cart-item__realm strong {
  color: var(--white);
}

.cart-item__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 9px;
  padding: 14px 18px 16px;
}

.cart-item__name {
  display: block;
  font-size: 0.88rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.cart-item__price {
  display: block;
  margin-top: 3px;
  color: #ffcd38;
  font-size: 0.78rem;
}

.cart-item__original {
  display: inline-block;
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.72rem;
  text-decoration-thickness: 2px;
}

.qty-control {
  display: grid;
  grid-template-columns: 24px 18px 24px;
  align-items: center;
  min-height: 36px;
  border-radius: 5px;
  background: #244970;
}

.qty-control button,
.cart-remove {
  border: 0;
  color: var(--white);
  background: transparent;
}

.qty-control span {
  text-align: center;
}

.cart-remove {
  width: 34px;
  height: 36px;
  border-radius: 5px;
  background: #d32662;
  font-size: 1.3rem;
  line-height: 1;
}

.cart-account {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.88rem;
}

.cart-promos {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.cart-promos__applied {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-promos__applied:empty {
  display: none;
}

.cart-promo-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 205, 56, 0.14);
  font-size: 0.76rem;
}

.cart-promo-chip button {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 0;
  border-radius: 3px;
  color: var(--white);
  background: rgba(211, 38, 98, 0.7);
  font-size: 0.7rem;
  line-height: 1;
  cursor: pointer;
}

.cart-promo-chip button:hover {
  background: #d32662;
}

.cart-promos__fields {
  display: grid;
  gap: 8px;
}

.cart-promo-field {
  display: flex;
  gap: 8px;
}

.cart-promo-field input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 0;
  border-radius: 5px;
  color: var(--white);
  background: rgba(15, 39, 68, 0.58);
  font-size: 0.82rem;
  outline: 2px solid transparent;
  transition: outline-color 160ms ease;
}

.cart-promo-field input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.cart-promo-field input:focus {
  outline-color: #ffcd38;
}

.cart-promo-field button {
  padding: 10px 16px;
  border: 0;
  border-radius: 5px;
  color: var(--white);
  background: #284c71;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: filter 160ms ease;
}

.cart-promo-field button:hover {
  filter: brightness(1.15);
}

.cart-footer {
  align-self: end;
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.cart-breakdown {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(15, 39, 68, 0.58);
}

.cart-breakdown__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.cart-breakdown__row > span:last-child,
.cart-breakdown__row > strong {
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.cart-breakdown__row--discount span:last-child,
.cart-breakdown__row--giftcard span:last-child {
  color: #ffcd38;
}

.cart-breakdown__row--total {
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
}

.cart-breakdown__row--total strong {
  color: var(--white);
  font-size: 1.12rem;
}

.checkout-button {
  min-height: 56px;
  border: 0;
  border-radius: 5px;
  color: var(--white);
  background: linear-gradient(90deg, #168df0, #31c6ec);
  box-shadow: inset 0 -6px rgba(0, 64, 120, 0.17);
  text-transform: uppercase;
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.checkout-button:hover,
.checkout-button:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 6px solid rgba(3, 14, 28, 0.7);
  background:
    linear-gradient(180deg, #0d2138 0%, #08182c 100%);
  color: var(--white);
}

.site-footer::before,
.site-footer::after {
  position: absolute;
  pointer-events: none;
  content: "";
  opacity: 0.11;
}

.site-footer::before {
  left: -80px;
  bottom: -44px;
  width: 320px;
  height: 150px;
  border-radius: 48% 52% 0 0;
  background:
    radial-gradient(circle at 18% 84%, transparent 0 18px, #4aaebf 19px 21px, transparent 22px),
    radial-gradient(circle at 38% 70%, transparent 0 24px, #4aaebf 25px 28px, transparent 29px),
    radial-gradient(circle at 60% 82%, transparent 0 20px, #4aaebf 21px 23px, transparent 24px),
    linear-gradient(180deg, transparent 0 42%, #4aaebf 43% 100%);
}

.site-footer::after {
  right: -70px;
  top: 38px;
  width: 230px;
  height: 118px;
  background:
    radial-gradient(circle at 18% 65%, transparent 0 13px, #f07b48 14px 16px, transparent 17px),
    radial-gradient(circle at 42% 50%, transparent 0 18px, #f07b48 19px 21px, transparent 22px),
    radial-gradient(circle at 69% 62%, transparent 0 14px, #f07b48 15px 17px, transparent 18px);
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: min(1056px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 28px;
}

.footer-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(160px, 0.72fr) minmax(300px, 1.35fr);
  gap: 58px;
}

.footer-column h2,
.join-card h3 {
  margin: 0;
  color: var(--white);
  line-height: 1;
  text-transform: uppercase;
}

.footer-column h2 {
  font-size: 1.08rem;
}

.footer-column p,
.footer-bottom p,
.join-card p {
  margin: 0;
  color: #a9bdd0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer-heading-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 6px;
  color: #67d0e7;
  background: rgba(103, 208, 231, 0.1);
  box-shadow: inset 0 0 0 1px rgba(103, 208, 231, 0.14);
}

.footer-mark svg {
  width: 21px;
  height: 21px;
}

.footer-about > p + p {
  margin-top: 17px;
}

.footer-legal {
  color: #c0cedc !important;
}

.footer-copy {
  color: var(--white) !important;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 13px;
}

.footer-links h2 {
  margin-bottom: 9px;
}

.footer-links a,
.footer-bottom a {
  color: #c7d8e8;
  text-decoration: none;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.footer-links a {
  position: relative;
  width: fit-content;
  font-size: 0.92rem;
}

.footer-links a::after {
  display: inline-block;
  margin-left: 8px;
  color: #67d0e7;
  content: "->";
  opacity: 0.72;
  transform: translateX(0);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--white);
}

.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  opacity: 1;
  transform: translateX(3px);
}

.footer-support {
  display: grid;
  align-content: start;
  gap: 18px;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-button,
.copy-ip-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  padding: 0 16px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: inset 0 -4px rgba(0, 0, 0, 0.13);
  transition:
    filter 160ms ease,
    transform 160ms ease;
}

.footer-button svg {
  width: 17px;
  height: 17px;
  margin-right: 8px;
}

.footer-button--discord {
  background: #4aa9cf;
}

.footer-button--support,
.copy-ip-button {
  background: #f07b48;
}

.footer-button:hover,
.footer-button:focus-visible,
.copy-ip-button:hover,
.copy-ip-button:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.footer-button:active,
.copy-ip-button:active {
  transform: translateY(1px);
}

.join-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 13px;
  border-radius: var(--radius);
  background: rgba(34, 72, 111, 0.72);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.06),
    inset 0 -5px rgba(5, 18, 34, 0.14);
}

.join-thumb {
  display: grid;
  height: 64px;
  place-items: center;
  overflow: hidden;
  border-radius: 5px;
  background: #102946;
}

.join-thumb svg {
  width: 100%;
  height: 100%;
}

.join-card h3 {
  margin-bottom: 8px;
  font-size: 0.86rem;
}

.join-card p {
  font-size: 0.78rem;
}

.join-card strong {
  color: #dff8ff;
  font-weight: 900;
}

.copy-ip-button {
  min-height: 36px;
  padding: 0 12px;
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid rgba(178, 212, 236, 0.12);
}

.footer-bottom p {
  max-width: 570px;
  font-size: 0.78rem;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 17px;
}

.footer-bottom a {
  font-size: 0.78rem;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  padding: 12px 16px;
  border-radius: 5px;
  background: #15314d;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .store-page {
    width: min(680px, calc(100% - 24px));
  }

  .footer-inner {
    width: min(680px, calc(100% - 24px));
    padding-top: 42px;
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 34px 42px;
  }

  .footer-support {
    grid-column: 1 / -1;
  }

  .hero-header {
    min-height: 78px;
  }

  .hero-logo img {
    width: 64vw;
  }

  .store-nav {
    grid-template-columns: 1fr 1fr;
    height: auto;
    padding: 14px;
  }

  .nav-categories {
    grid-template-columns: 1fr 1fr;
    grid-column: 1 / -1;
  }

  .login-panel {
    grid-column: 1 / -1;
    margin: 0;
    min-height: 76px;
    padding-left: 18px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
  }

  .skin-placeholder {
    right: 18px;
  }

  .sale-banner {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 190px;
    padding: 22px;
  }

  .sale-copy {
    padding-left: 0;
  }

  .sale-art {
    position: absolute;
    right: 180px;
    bottom: -2px;
    opacity: 0.75;
  }

  .countdown {
    justify-content: start;
    padding: 20px 0 0;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .package-grid {
    grid-template-columns: 1fr 1fr;
  }

  .category-card {
    min-height: 190px;
  }

  .packages-heading {
    grid-template-columns: 1fr;
    gap: 14px;
    justify-items: start;
    min-height: 0;
    padding: 20px;
  }

  .packages-heading__text {
    width: 100%;
    text-align: left;
  }

  .more-info-button {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .store-page {
    width: min(420px, calc(100% - 20px));
  }

  .footer-inner {
    width: min(420px, calc(100% - 20px));
    padding: 36px 0 24px;
  }

  .footer-columns,
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-columns {
    gap: 34px;
  }

  .footer-support {
    grid-column: auto;
  }

  .footer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .footer-button {
    min-height: 44px;
  }

  .join-card {
    grid-template-columns: 78px minmax(0, 1fr);
    align-items: start;
  }

  .join-thumb {
    height: 70px;
  }

  .copy-ip-button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 42px;
  }

  .footer-bottom {
    gap: 14px;
    margin-top: 36px;
  }

  .footer-bottom nav {
    justify-content: flex-start;
    gap: 12px 16px;
  }

  .hero-header {
    min-height: 68px;
  }

  .hero-logo img {
    width: 70vw;
  }

  .store-nav {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nav-categories {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .package-grid {
    grid-template-columns: 1fr;
  }

  .sale-copy h1,
  .sale-copy p {
    font-size: 1.72rem;
  }

  .sale-art {
    display: none;
  }

  .countdown-grid {
    grid-template-columns: repeat(4, minmax(54px, 1fr));
    gap: 7px;
  }

  .countdown-grid span {
    height: 62px;
  }

  .countdown-grid strong {
    font-size: 1.35rem;
  }

  .category-card {
    padding: 26px;
  }

  .card-art {
    right: -30px;
    width: 170px;
    height: 170px;
    opacity: 0.85;
  }

  .package-card {
    min-height: 330px;
  }

  .package-card__image {
    height: 172px;
  }

  .package-card__image img {
    max-width: 166px;
    max-height: 166px;
  }

  .package-detail {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    padding: 22px;
  }

  .detail-close {
    position: absolute;
    top: 10px;
    right: 10px;
  }

  .detail-body::before {
    min-height: 0;
    margin: 0;
    background: transparent;
  }

  .detail-media,
  .detail-badges,
  .package-detail h2,
  .detail-price,
  .detail-footer {
    position: static;
  }

  .detail-media {
    width: 100%;
    height: 150px;
    margin: 28px 0 12px;
    border-radius: var(--radius);
    background: rgba(19, 45, 75, 0.62);
  }

  .detail-badges {
    margin-bottom: 10px;
  }

  .package-detail h2 {
    margin-bottom: 10px;
  }

  .detail-price {
    margin-bottom: 14px;
  }

  .detail-footer {
    margin-bottom: 24px;
  }

  .store-dialog {
    padding: 24px 18px 24px;
  }

  .platform-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 18px;
  }

  .platform-grid button {
    max-width: 100%;
  }

  .account-controls {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .continue-button {
    margin-top: 0;
  }

  .cart-close {
    top: 12px;
    right: 12px;
    left: auto;
  }

  .cart-shell {
    padding: 64px 16px 24px;
  }
}
