:root {
  --bg: #090604;
  --text: #efe3cf;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top, rgba(255, 128, 48, 0.16), transparent 34%),
    linear-gradient(180deg, #110c0a 0%, #070403 54%, #040202 100%);
  color: var(--text);
  font-family: "Cormorant Garamond", Georgia, serif;
  cursor: url("assets/cursor-small.png") 4 4, auto;
}

body.modal-open {
  overflow: hidden;
}

a,
button {
  cursor: url("assets/cursor-small.png") 4 4, auto;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.shop-page {
  position: relative;
  min-height: 100svh;
  overflow: clip;
}

.shop-page__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 4, 3, 0.46), rgba(6, 3, 3, 0.84)),
    url("assets/background.png") center top / cover no-repeat;
  filter: saturate(0.95) brightness(0.78);
}

.shop-page::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 156, 73, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.54));
  pointer-events: none;
}

.shop-page__header,
.shop-page__main {
  position: relative;
  z-index: 1;
}

.shop-page__header {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 1.35rem 1.25rem 0;
  display: grid;
  justify-items: center;
  gap: 0.8rem;
}

.shop-page__backlink {
  justify-self: start;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(212, 160, 103, 0.26);
  border-radius: 999px;
  background: rgba(21, 12, 9, 0.56);
  color: #e2c698;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 206, 0.06),
    0 14px 24px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.shop-page__backlink:hover,
.shop-page__backlink:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(244, 188, 122, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 206, 0.08),
    0 18px 30px rgba(0, 0, 0, 0.24),
    0 0 16px rgba(255, 114, 37, 0.16);
}

.shop-page__logo {
  width: min(100%, 360px);
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 18px 28px rgba(0, 0, 0, 0.56))
    drop-shadow(0 0 26px rgba(255, 124, 39, 0.14));
}

.shop-page__main {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 0.4rem 1.25rem 4rem;
  display: grid;
  justify-items: center;
  gap: 1.2rem;
}

.shop-intro {
  display: grid;
  justify-items: center;
  gap: 0.18rem;
  text-align: center;
}

.shop-intro__kicker,
.coins-modal__kicker {
  margin: 0;
  color: #cca474;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.shop-intro__title,
.coins-modal__title {
  margin: 0;
  color: #f4e6cb;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.2vw, 2.85rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(0, 0, 0, 0.42);
}

.shop-intro__subtitle,
.coins-modal__description {
  max-width: 58ch;
  margin: 0;
  color: rgba(232, 215, 191, 0.88);
  font-size: 0.96rem;
  line-height: 1.28;
}

.shop-board {
  position: relative;
  width: min(100%, 1000px);
  padding-top: 0.2rem;
}

.ac-packages-panel {
  width: min(100%, 1000px);
}

.shop-board__panel,
.shop-disclaimer,
.coins-modal__panel {
  border: 1px solid rgba(213, 168, 118, 0.24);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(28, 20, 16, 0.88), rgba(10, 8, 7, 0.96));
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 241, 219, 0.08);
}

.shop-board__panel {
  position: relative;
  padding: 1rem 1rem 1.05rem;
}

.ac-packages-panel__inner {
  border: 1px solid rgba(213, 168, 118, 0.24);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(28, 20, 16, 0.88), rgba(10, 8, 7, 0.96));
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 241, 219, 0.08);
  padding: 1rem 1rem 1.05rem;
}

.shop-board__header {
  display: grid;
  gap: 0.18rem;
  min-height: clamp(4.9rem, 7vw, 5.8rem);
  padding: 0.08rem clamp(240px, 27vw, 280px) 0 0.18rem;
  margin-bottom: 0.95rem;
  text-align: left;
}

.shop-board__chest {
  position: absolute;
  right: 1rem;
  top: 0;
  width: min(29vw, 255px);
  max-width: 100%;
  transform: translateY(-55%);
  object-fit: contain;
  filter:
    drop-shadow(0 28px 28px rgba(0, 0, 0, 0.48))
    drop-shadow(0 0 18px rgba(255, 127, 35, 0.14));
  pointer-events: none;
  z-index: 3;
}

.shop-board__title {
  margin: 0;
  color: #f1dfc0;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-board__meta {
  margin: 0;
  color: rgba(227, 210, 184, 0.75);
  font-size: 0.94rem;
}

.shop-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.55fr) minmax(200px, 0.72fr);
  gap: 0.72rem;
}

.shop-grid__column {
  min-width: 0;
  border: 1px solid rgba(189, 139, 86, 0.22);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(21, 15, 12, 0.92), rgba(10, 8, 7, 0.98));
  overflow: hidden;
}

.shop-grid__label {
  margin: 0;
  padding: 0.78rem 0.88rem 0.7rem;
  border-bottom: 1px solid rgba(189, 139, 86, 0.18);
  color: #efd9b1;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  background: linear-gradient(180deg, rgba(64, 37, 22, 0.56), rgba(24, 16, 12, 0.62));
}

.shop-grid__body {
  padding: 0.86rem;
}

.shop-grid__body--list {
  display: grid;
  gap: 0.58rem;
  max-height: 500px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(188, 130, 70, 0.9) rgba(17, 11, 8, 0.92);
}

.shop-grid__body--list::-webkit-scrollbar,
.coins-modal__grid::-webkit-scrollbar {
  width: 10px;
}

.shop-grid__body--list::-webkit-scrollbar-track,
.coins-modal__grid::-webkit-scrollbar-track {
  background: rgba(17, 11, 8, 0.92);
}

.shop-grid__body--list::-webkit-scrollbar-thumb,
.coins-modal__grid::-webkit-scrollbar-thumb {
  border: 2px solid rgba(17, 11, 8, 0.92);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(225, 184, 125, 0.94), rgba(168, 98, 43, 0.94));
}

.shop-list-group {
  display: grid;
  gap: 0.38rem;
}

.shop-list-group__title {
  margin: 0 0 0.12rem;
  color: #ce9c67;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.shop-list-item {
  width: 100%;
  padding: 0.64rem 0.76rem;
  border: 1px solid rgba(172, 121, 71, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(37, 24, 18, 0.9), rgba(13, 10, 8, 0.96));
  color: #ead7b7;
  text-align: left;
  font: inherit;
  font-size: 0.88rem;
  line-height: 1.18;
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 208, 0.03),
    0 10px 16px rgba(0, 0, 0, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.shop-list-item:hover,
.shop-list-item:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(224, 160, 93, 0.34);
  box-shadow:
    0 16px 24px rgba(0, 0, 0, 0.2),
    0 0 14px rgba(255, 115, 31, 0.1);
  outline: none;
}

.shop-list-item__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
}

.shop-list-item__title {
  display: block;
  min-width: 0;
}

.shop-list-item__price {
  flex: 0 0 auto;
  color: #f3cd84;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-list-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin-top: 0.44rem;
}

.shop-list-item.is-active {
  border-color: rgba(255, 126, 54, 0.52);
  background:
    linear-gradient(180deg, rgba(76, 30, 15, 0.92), rgba(26, 12, 9, 0.96));
  box-shadow:
    0 18px 30px rgba(0, 0, 0, 0.28),
    0 0 22px rgba(255, 102, 28, 0.14),
    inset 0 0 0 1px rgba(255, 198, 139, 0.08);
}

.shop-grid__category {
  margin: 0 0 0.28rem;
  color: #c79968;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.shop-grid__item-title {
  margin: 0;
  color: #f0dfc0;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.65vw, 1.42rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.shop-grid__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.46rem;
}

.shop-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: 0.18rem 0.42rem;
  border: 1px solid rgba(198, 152, 98, 0.22);
  border-radius: 999px;
  background: rgba(36, 24, 18, 0.72);
  color: #ddb98c;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shop-grid__item-description {
  margin: 0.6rem 0 0;
  color: rgba(231, 216, 194, 0.86);
  font-size: 0.92rem;
  line-height: 1.34;
}

.shop-grid__body--cost {
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.55rem;
  text-align: center;
}

.shop-grid__cost-value {
  margin: 0;
  color: #f5d28a;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: clamp(1.34rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow:
    0 0 18px rgba(255, 149, 60, 0.18),
    0 0 28px rgba(0, 0, 0, 0.32);
}

.shop-grid__cost-note {
  margin: 0;
  color: rgba(221, 203, 176, 0.72);
  font-size: 0.82rem;
  line-height: 1.22;
}

.shop-board__actions {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.shop-board__account {
  display: grid;
  gap: 0.16rem;
  justify-items: center;
  text-align: center;
}

.shop-board__account-label {
  margin: 0;
  color: #ce9c67;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.shop-board__balance {
  margin: 0;
  color: #f5d28a;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
}

.shop-board__action-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.shop-board__cta {
  min-width: 250px;
  padding: 0.86rem 1.18rem;
  border: 1px solid rgba(220, 163, 103, 0.36);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(121, 43, 13, 0.92), rgba(58, 18, 7, 0.96));
  color: #f7e2bf;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 180, 0.16),
    0 18px 28px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.shop-board__cta[disabled] {
  opacity: 0.72;
  transform: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 180, 0.1),
    0 10px 18px rgba(0, 0, 0, 0.22);
}

.shop-board__cta:hover,
.shop-board__cta:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(245, 188, 122, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 180, 0.18),
    0 22px 34px rgba(0, 0, 0, 0.34),
    0 0 18px rgba(255, 113, 38, 0.18);
}

.shop-board__secondary {
  min-width: 220px;
  padding: 0.86rem 1.18rem;
  border: 1px solid rgba(220, 163, 103, 0.24);
  border-radius: 999px;
  background: rgba(20, 13, 10, 0.56);
  color: #f0d7ac;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.shop-board__secondary:hover,
.shop-board__secondary:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(245, 188, 122, 0.42);
  box-shadow:
    0 16px 26px rgba(0, 0, 0, 0.26),
    0 0 16px rgba(255, 113, 38, 0.12);
}

.shop-board__status,
.shop-disclaimer,
.coins-modal__note {
  color: rgba(226, 208, 179, 0.8);
  font-size: 0.9rem;
  line-height: 1.34;
}

.shop-board__status {
  margin: 0;
  text-align: center;
}

.shop-board__status.is-success {
  color: #cfe6ad;
}

.shop-board__status.is-error {
  color: #efaf96;
}

.shop-disclaimer {
  width: min(100%, 1120px);
  padding: 0.9rem 1.05rem;
  text-align: center;
}

.ac-packages-panel__kicker {
  margin: 0;
  color: #cca474;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
}

.ac-packages-panel__title {
  margin: 0.12rem 0 0;
  color: #f4e6cb;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: clamp(1.34rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.ac-packages-panel__description {
  max-width: 72ch;
  margin: 0.42rem auto 0;
  color: rgba(232, 215, 191, 0.88);
  font-size: 0.92rem;
  line-height: 1.32;
  text-align: center;
}

.ac-packages-panel__description--secondary {
  margin-top: 0.7rem;
}

.ac-packages-panel__instructions {
  max-width: 44rem;
  margin: 0.7rem auto 0;
  padding-left: 1.25rem;
  color: rgba(232, 215, 191, 0.9);
  font-size: 0.92rem;
  line-height: 1.4;
}

.ac-packages-panel__instructions li + li {
  margin-top: 0.2rem;
}

.ac-packages-panel__grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.ac-packages-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.95rem;
}

.ac-packages-panel__paypal,
.ac-packages-panel__discord {
  min-width: 320px;
}

.ac-packages-panel__note {
  max-width: 68ch;
  margin: 0.9rem auto 0;
  color: rgba(226, 208, 179, 0.82);
  font-size: 0.9rem;
  line-height: 1.34;
  text-align: center;
}

.coins-modal[hidden] {
  display: none;
}

.coins-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.coins-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(36, 18, 9, 0.24), rgba(4, 2, 2, 0.84)),
    rgba(4, 2, 2, 0.62);
  backdrop-filter: blur(12px) saturate(1.08);
}

.coins-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 880px);
  max-height: min(90svh, 780px);
  padding: 1.05rem 1.05rem 1rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(188, 130, 70, 0.9) rgba(17, 11, 8, 0.92);
}

.coins-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(216, 180, 134, 0.24);
  border-radius: 999px;
  background: rgba(20, 13, 10, 0.58);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.coins-modal__close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 1px;
  background: #dcb88b;
}

.coins-modal__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.coins-modal__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.coins-modal__close:hover,
.coins-modal__close:focus-visible {
  border-color: rgba(255, 169, 84, 0.42);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.34),
    0 0 18px rgba(255, 127, 52, 0.18);
}

.coins-modal__kicker,
.coins-modal__title,
.coins-modal__description,
.coins-modal__note {
  text-align: center;
}

.coins-modal__description {
  margin-top: 0.28rem;
}

.coins-modal__grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.ac-package-card {
  padding: 0.88rem 0.82rem;
  border: 1px solid rgba(188, 142, 92, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(34, 23, 17, 0.88), rgba(13, 9, 8, 0.94));
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 208, 0.04),
    0 14px 22px rgba(0, 0, 0, 0.18);
}

.ac-package-card__coins {
  margin: 0;
  color: #efdfc2;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ac-package-card__price {
  margin: 0.32rem 0 0;
  color: #d8ac79;
  font-size: 0.96rem;
  font-weight: 600;
}

.ac-package-card__note {
  margin: 0.5rem 0 0;
  color: rgba(228, 214, 193, 0.78);
  font-size: 0.8rem;
  line-height: 1.32;
}

.coins-modal__note {
  margin: 1rem 0 0;
}

.purchase-modal__summary {
  margin-top: 1rem;
  display: grid;
  gap: 0.46rem;
}

.purchase-modal__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.72rem 0.82rem;
  border: 1px solid rgba(188, 142, 92, 0.2);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(34, 23, 17, 0.88), rgba(13, 9, 8, 0.94));
}

.purchase-modal__label {
  color: rgba(227, 210, 184, 0.8);
  font-size: 0.84rem;
}

.purchase-modal__value {
  color: #f1dfc0;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: right;
}

.purchase-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.72rem;
  margin-top: 1rem;
}

.purchase-modal__button {
  min-width: 250px;
}

.purchase-modal__status {
  margin-top: 0.8rem;
}

@media (min-width: 981px) and (max-height: 820px) {
  .shop-page__header {
    padding-top: 1rem;
    gap: 0.55rem;
  }

  .shop-page__logo {
    width: min(100%, 300px);
  }

  .shop-page__main {
    gap: 0.95rem;
    padding-top: 0.1rem;
  }

  .shop-intro__kicker {
    font-size: 0.68rem;
  }

  .shop-intro__title {
    font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  }

  .shop-intro__subtitle {
    font-size: 0.88rem;
  }

  .shop-board {
    width: min(100%, 940px);
  }

  .shop-board__panel {
    padding: 0.92rem 0.92rem 0.95rem;
  }

  .shop-board__header {
    min-height: 4.2rem;
    padding-right: clamp(190px, 22vw, 230px);
    margin-bottom: 0.7rem;
  }

  .shop-board__chest {
    right: 0.85rem;
    width: min(23vw, 210px);
    transform: translateY(-52%);
  }

  .shop-board__title {
    font-size: 1.25rem;
  }

  .shop-board__meta {
    font-size: 0.84rem;
  }

  .shop-grid {
    gap: 0.62rem;
  }

  .shop-grid__label {
    font-size: 0.76rem;
    padding: 0.68rem 0.8rem 0.62rem;
  }

  .shop-grid__body {
    padding: 0.72rem;
  }

  .shop-grid__body--list {
    max-height: 430px;
  }

  .shop-list-group__title {
    font-size: 0.68rem;
  }

  .shop-list-item {
    padding: 0.55rem 0.68rem;
    font-size: 0.82rem;
  }

  .shop-list-item__price {
    font-size: 0.68rem;
  }

  .shop-badge {
    font-size: 0.52rem;
  }

  .shop-grid__category {
    font-size: 0.7rem;
  }

  .shop-grid__item-title {
    font-size: 1rem;
  }

  .shop-grid__item-description {
    font-size: 0.86rem;
    line-height: 1.28;
  }

  .shop-grid__cost-value {
    font-size: 1.58rem;
  }

  .shop-grid__cost-note,
  .shop-board__status,
  .shop-disclaimer,
  .coins-modal__description,
  .coins-modal__note {
    font-size: 0.8rem;
  }

  .shop-board__cta {
    min-width: 220px;
    padding: 0.74rem 1rem;
    font-size: 0.84rem;
  }

  .ac-packages-panel__description {
    font-size: 0.8rem;
  }

  .ac-packages-panel__description {
    font-size: 0.8rem;
  }

  .ac-packages-panel__discord {
    min-width: 280px;
  }

  .coins-modal__panel {
    width: min(100%, 780px);
    max-height: min(90svh, 680px);
    padding: 0.92rem 0.92rem 0.88rem;
  }

  .coins-modal__title {
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  }

  .coins-modal__grid {
    gap: 0.55rem;
  }

  .ac-packages-panel__grid {
    gap: 0.55rem;
  }

  .ac-packages-panel__grid {
    gap: 0.55rem;
  }

  .ac-package-card {
    padding: 0.74rem 0.7rem;
  }

  .ac-package-card__coins {
    font-size: 0.9rem;
  }

  .ac-package-card__price {
    font-size: 0.84rem;
  }
}

@media (max-width: 760px) {
  .shop-board {
    width: min(100%, 960px);
    padding-top: 8.6rem;
  }

  .shop-board__chest {
    left: 50%;
    right: auto;
    width: min(100%, 320px);
    transform: translate(-50%, -54%);
  }

  .shop-board__panel {
    padding-top: 6.9rem;
  }

  .shop-board__header {
    min-height: 0;
    padding-right: 0;
    text-align: center;
  }

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

  .shop-grid__body--list {
    max-height: 320px;
  }

  .shop-grid__body--cost {
    align-content: start;
  }

  .ac-packages-panel__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .shop-page__header {
    padding-top: 1rem;
    gap: 0.58rem;
  }

  .shop-page__logo {
    width: min(100%, 300px);
  }

  .shop-page__main {
    gap: 1rem;
    padding-top: 0.15rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .shop-intro__kicker {
    font-size: 0.68rem;
  }

  .shop-intro__title {
    font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  }

  .shop-intro__subtitle {
    font-size: 0.88rem;
  }

  .shop-board {
    width: min(100%, 940px);
  }

  .shop-board__panel {
    padding: 0.94rem 0.94rem 0.98rem;
  }

  .shop-board__header {
    min-height: 4.25rem;
    padding-right: clamp(190px, 22vw, 235px);
    margin-bottom: 0.72rem;
  }

  .shop-board__title {
    font-size: 1.26rem;
  }

  .shop-board__meta {
    font-size: 0.84rem;
  }

  .shop-board__chest {
    right: 0.85rem;
    width: min(24vw, 215px);
    transform: translateY(-54%);
  }

  .shop-grid {
    gap: 0.62rem;
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.48fr) minmax(170px, 0.66fr);
  }

  .shop-grid__label {
    font-size: 0.76rem;
    padding: 0.68rem 0.8rem 0.62rem;
  }

  .shop-grid__body {
    padding: 0.72rem;
  }

  .shop-grid__body--list {
    max-height: 430px;
  }

  .shop-list-group__title {
    font-size: 0.68rem;
  }

  .shop-list-item {
    padding: 0.55rem 0.68rem;
    font-size: 0.82rem;
  }

  .shop-grid__category {
    font-size: 0.7rem;
  }

  .shop-grid__item-title {
    font-size: 1rem;
  }

  .shop-grid__item-description {
    font-size: 0.86rem;
    line-height: 1.28;
  }

  .shop-grid__cost-value {
    font-size: 1.58rem;
  }

  .shop-grid__cost-note,
  .shop-board__status,
  .shop-disclaimer,
  .coins-modal__description,
  .coins-modal__note {
    font-size: 0.8rem;
  }

  .shop-board__cta {
    min-width: 220px;
    padding: 0.74rem 1rem;
    font-size: 0.84rem;
  }

  .coins-modal__panel {
    width: min(100%, 780px);
    max-height: min(90svh, 680px);
    padding: 0.92rem 0.92rem 0.88rem;
  }

  .coins-modal__title {
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  }

  .coins-modal__grid {
    gap: 0.55rem;
  }

  .ac-package-card {
    padding: 0.74rem 0.7rem;
  }

  .ac-package-card__coins {
    font-size: 0.9rem;
  }

  .ac-package-card__price {
    font-size: 0.84rem;
  }
}

@media (max-width: 720px) {
  .shop-page__header {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .shop-page__main {
    padding: 0.2rem 0.85rem 3rem;
  }

  .shop-page__backlink {
    font-size: 0.68rem;
  }

  .shop-page__logo {
    width: min(100%, 320px);
  }

  .shop-intro__subtitle {
    font-size: 0.94rem;
  }

  .shop-board {
    padding-top: 8.2rem;
  }

  .shop-board__chest {
    width: min(100%, 280px);
  }

  .shop-board__panel {
    padding: 6.45rem 0.92rem 1rem;
    border-radius: 24px;
  }

  .shop-grid__label {
    font-size: 0.82rem;
    padding: 0.76rem 0.85rem 0.68rem;
  }

  .shop-grid__body {
    padding: 0.82rem;
  }

  .shop-grid__item-title {
    font-size: 1.1rem;
  }

  .shop-grid__item-description,
  .shop-grid__cost-note,
  .shop-board__status,
  .shop-disclaimer,
  .coins-modal__description,
  .coins-modal__note {
    font-size: 0.9rem;
  }

  .ac-packages-panel__description {
    font-size: 0.88rem;
  }

  .shop-board__cta {
    width: 100%;
    min-width: 0;
  }

  .coins-modal {
    padding: 0.8rem;
  }

  .coins-modal__panel {
    padding: 1rem 0.95rem 0.95rem;
    border-radius: 24px;
  }

  .coins-modal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ac-packages-panel__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .shop-intro__kicker,
  .coins-modal__kicker {
    font-size: 0.66rem;
  }

  .shop-intro__title,
  .coins-modal__title {
    letter-spacing: 0.05em;
  }

  .shop-board {
    padding-top: 7.5rem;
  }

  .shop-board__chest {
    width: min(100%, 228px);
  }

  .shop-board__panel {
    padding-top: 5.6rem;
  }

  .shop-grid__body--list {
    max-height: none;
  }

  .shop-list-item {
    font-size: 0.88rem;
  }

  .shop-list-item__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.18rem;
  }

  .shop-grid__cost-value {
    font-size: 1.5rem;
  }

  .coins-modal__grid {
    grid-template-columns: 1fr;
  }

  .ac-packages-panel__grid {
    grid-template-columns: 1fr;
  }

  .ac-packages-panel__discord {
    min-width: 0;
    width: 100%;
  }

  .purchase-modal__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.28rem;
  }

  .purchase-modal__value {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
