@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/inter-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

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

:root {
  --shop-ink: #050914;
  --shop-panel: #090f20;
  --shop-panel-soft: #0d1630;
  --shop-paper: #ffffff;
  --shop-muted: #9ba9c2;
  --shop-line: rgba(125, 178, 255, .18);
  --shop-blue: #2563eb;
  --shop-blue-bright: #3b82f6;
  --shop-violet: #a855f7;
  --shop-magenta: #ec4899;
  --shop-header: 84px;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--shop-ink);
}

body.hm-shop-next {
  min-width: 320px;
  margin: 0;
  color: var(--shop-paper);
  background:
    radial-gradient(circle at 85% 8%, rgba(59, 130, 246, .16), transparent 28%),
    radial-gradient(circle at 12% 48%, rgba(168, 85, 247, .10), transparent 30%),
    radial-gradient(circle at 82% 82%, rgba(236, 72, 153, .06), transparent 26%),
    var(--shop-ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.hm-shop-next.admin-bar .hm-shop-header { top: 32px; }
body.hm-shop-next button,
body.hm-shop-next input { font: inherit; }
body.hm-shop-next button { color: inherit; }
body.hm-shop-next a { color: inherit; text-decoration: none; }
body.hm-shop-next [hidden] { display: none !important; }
body.hm-shop-next ::selection { color: #061020; background: #67ddff; }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.hm-shop-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--shop-header);
  display: grid;
  grid-template-columns: minmax(170px, .8fr) auto minmax(220px, .8fr);
  align-items: center;
  gap: 34px;
  padding: 0 clamp(24px, 4vw, 72px);
  border-bottom: 1px solid rgba(125, 178, 255, .12);
  background: rgba(5, 9, 20, .9);
  backdrop-filter: blur(14px);
}

.hm-shop-brand {
  display: flex;
  align-items: center;
  width: 156px;
  height: 50px;
  overflow: hidden;
}

.hm-shop-brand img {
  display: block;
  width: 156px;
  height: auto;
  filter: drop-shadow(0 5px 14px rgba(0, 0, 0, .35));
}

.hm-shop-header nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.7vw, 32px);
}

.hm-shop-header nav a {
  position: relative;
  padding: 32px 0 28px;
  color: rgba(255, 255, 255, .68);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.hm-shop-header nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--shop-blue-bright);
  transition: right .24s ease;
}

.hm-shop-header nav a:hover,
.hm-shop-header nav a.is-current { color: #fff; }
.hm-shop-header nav a:hover::after,
.hm-shop-header nav a.is-current::after { right: 0; }

.hm-shop-header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}

.hm-shop-online {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.hm-shop-online i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #61f5a4;
  box-shadow: 0 0 16px rgba(97, 245, 164, .8);
}

.hm-shop-online b { color: #fff; }

.hm-shop-play,
.hm-product-action,
.hm-status-card button,
.hm-product-card > button,
.hm-shop-help a,
.hm-buy-submit {
  border: 1px solid rgba(103, 148, 255, .42);
  border-radius: 13px;
  background: linear-gradient(135deg, var(--shop-blue), var(--shop-blue-bright) 62%, var(--shop-violet));
  color: #fff !important;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 15px 42px rgba(37, 99, 235, .22);
  transition: transform .25s cubic-bezier(.2, .9, .2, 1), border-color .25s ease, box-shadow .25s ease, filter .25s ease;
}

.hm-shop-play {
  min-width: 142px;
  padding: 14px 20px;
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hm-shop-play:hover,
.hm-product-action:hover,
.hm-status-card button:hover,
.hm-product-card > button:hover,
.hm-shop-help a:hover,
.hm-buy-submit:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 178, 255, .78);
  box-shadow: 0 22px 60px rgba(37, 99, 235, .34), 0 0 28px rgba(168, 85, 247, .12);
  filter: brightness(1.08);
}

.hm-shop-menu { display: none; }

.hm-payment-notice {
  width: min(1500px, calc(100% - 48px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: calc(var(--shop-header) + 24px) auto 24px;
  padding: 22px 28px;
  border: 1px solid rgba(125, 178, 255, .38);
  border-left: 4px solid var(--shop-blue-bright);
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(13, 22, 48, .98), rgba(28, 24, 62, .94));
  box-shadow: 0 16px 46px rgba(0, 0, 0, .2);
}
.hm-payment-notice-label { color: #93c5fd; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hm-payment-notice h2 { margin: 5px 0 6px; font-size: clamp(20px, 2.2vw, 27px); line-height: 1.2; }
.hm-payment-notice p { margin: 0; color: var(--shop-muted); line-height: 1.5; }
.hm-payment-notice a { flex: 0 0 auto; padding: 13px 18px; border: 1px solid rgba(125, 178, 255, .6); border-radius: 11px; color: #fff; font-size: 12px; font-weight: 800; text-align: center; }
.hm-payment-notice a:hover { background: rgba(59, 130, 246, .18); }
.hm-payment-notice + .hm-shop-hero { margin-top: 0; }
body.hm-shop-next [data-product]:disabled { cursor: not-allowed; opacity: .48; box-shadow: none; filter: saturate(.45); }
body.hm-shop-next [data-product]:disabled:hover { transform: none; box-shadow: none; filter: saturate(.45); }
@media (max-width: 760px) {
  .hm-payment-notice { width: calc(100% - 32px); flex-direction: column; align-items: stretch; gap: 18px; margin-top: calc(var(--shop-header) + 16px); padding: 20px; }
}

/* Hero */
.hm-shop-hero {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  grid-template-rows: auto 1fr auto;
  gap: 44px 70px;
  margin: var(--shop-header) auto 0;
  padding: 64px max(42px, calc((100vw - 1500px) / 2)) 0;
  border: 0;
  border-radius: 0;
  background-image:
    linear-gradient(90deg, rgba(3, 7, 18, .98) 0%, rgba(3, 7, 18, .9) 42%, rgba(3, 7, 18, .28) 78%, rgba(3, 7, 18, .44) 100%),
    linear-gradient(0deg, rgba(3, 7, 18, .88), transparent 48%),
    url("main-city.webp");
  background-position: center;
  background-size: cover;
  box-shadow: 0 34px 100px rgba(0, 0, 0, .42), 0 0 90px rgba(59, 130, 246, .12);
}

.hm-shop-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 72% 30%, rgba(59, 130, 246, .26), transparent 30%),
    radial-gradient(circle at 82% 72%, rgba(168, 85, 247, .16), transparent 28%),
    radial-gradient(circle at 55% 90%, rgba(236, 72, 153, .08), transparent 22%);
}

.hm-shop-hero-index {
  grid-column: 1 / -1;
  color: #7db2ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hm-shop-hero-copy {
  align-self: center;
  padding-bottom: 38px;
}

.hm-shop-kicker,
.hm-shop-section-head > div > p {
  margin: 0 0 18px;
  color: #7db2ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hm-shop-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(68px, 5.9vw, 112px);
  font-weight: 780;
  letter-spacing: -.07em;
  line-height: .82;
  text-transform: uppercase;
  text-shadow: 0 16px 48px rgba(0, 0, 0, .38);
}

.hm-shop-hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, #3b82f6, #7c6cf2 58%, #a855f7);
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 0 34px rgba(59, 130, 246, .2);
}

.hm-shop-hero-note {
  align-self: end;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 38px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(59, 130, 246, .2), rgba(8, 13, 29, .84) 62%, rgba(168, 85, 247, .12));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3), inset 0 1px rgba(255, 255, 255, .07);
  backdrop-filter: blur(16px);
}

.hm-shop-hero-note p {
  max-width: 420px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .65);
  font-size: 15px;
  line-height: 1.58;
}

.hm-shop-hero-note p:first-child {
  color: #fff;
  font-size: 22px;
  font-weight: 750;
  line-height: 1.33;
}

.hm-shop-categories {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 min(-42px, calc((100vw - 1500px) / -2));
  border-top: 1px solid rgba(255, 255, 255, .14);
  background: rgba(4, 8, 20, .68);
  backdrop-filter: blur(16px);
}

.hm-shop-categories a {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 26px;
  border-right: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
  transition: color .2s ease, background .2s ease;
}

.hm-shop-categories a:last-child { border-right: 0; }
.hm-shop-categories a span { color: #60a5fa; font-size: 10px; }
.hm-shop-categories a:hover { color: #fff; background: rgba(59, 130, 246, .14); }

/* Section system */
.hm-shop-section {
  position: relative;
  z-index: 1;
  width: min(1500px, calc(100% - 80px));
  margin: 0 auto;
  padding: 118px 0 24px;
}

.hm-shop-section-head {
  display: grid;
  grid-template-columns: 56px minmax(280px, 1fr) minmax(280px, 460px);
  gap: 30px;
  align-items: end;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--shop-line);
}

.hm-shop-section-head > span {
  align-self: start;
  padding-top: 5px;
  color: #60a5fa;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.hm-shop-section-head > div > p { margin-bottom: 12px; }

.hm-shop-section-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 5.4vw, 88px);
  font-weight: 760;
  letter-spacing: -.06em;
  line-height: .92;
  text-transform: uppercase;
}

.hm-shop-section-head > p {
  margin: 0 0 3px;
  color: var(--shop-muted);
  font-size: 16px;
  line-height: 1.62;
}

/* Runes */
.hm-runes-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(360px, 1fr) minmax(250px, .56fr);
  border: 1px solid rgba(125, 178, 255, .24);
  border-radius: 26px;
  background:
    radial-gradient(circle at 14% 48%, rgba(59, 130, 246, .26), transparent 26%),
    linear-gradient(135deg, rgba(13, 25, 57, .96), rgba(7, 12, 27, .96) 58%, rgba(40, 18, 67, .88));
  box-shadow: 0 26px 80px rgba(0, 0, 0, .34), 0 0 70px rgba(59, 130, 246, .08);
}

.hm-runes-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 82% 16%, rgba(168, 85, 247, .16), transparent 26%);
}

.hm-runes-image {
  display: grid;
  place-items: center;
  border-right: 1px solid var(--shop-line);
  background: rgba(4, 11, 29, .42);
}

.hm-runes-image img {
  width: min(195px, 64%);
  height: auto;
  filter: drop-shadow(0 0 32px rgba(96, 165, 250, .55));
  animation: hm-shop-float 5s ease-in-out infinite;
}

.hm-runes-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px;
}

.hm-runes-copy > p,
.hm-product-copy > p {
  margin: 0 0 14px;
  color: #7db2ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hm-runes-copy h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 3.9vw, 64px);
  letter-spacing: -.055em;
  line-height: .97;
}

.hm-runes-copy dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 42px 0 0;
  border-top: 1px solid var(--shop-line);
}

.hm-runes-copy dl div { padding-top: 16px; }
.hm-runes-copy dt { color: var(--shop-muted); font-size: 11px; text-transform: uppercase; }
.hm-runes-copy dd { margin: 7px 0 0; color: #fff; font-weight: 750; }

.hm-product-action {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 9px;
  margin: 24px;
  padding: 32px;
  text-align: left;
}

.hm-product-action span { font-size: 18px; }
.hm-product-action small { font-size: 42px; font-weight: 800; letter-spacing: -.04em; }

/* Statuses and products */
.hm-status-grid,
.hm-product-grid { display: grid; gap: 22px; }
.hm-status-grid { grid-template-columns: repeat(3, 1fr); }
.hm-product-grid-three { grid-template-columns: repeat(3, 1fr); }
.hm-product-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }

.hm-status-card,
.hm-product-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(125, 178, 255, .16);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(16, 27, 56, .9), rgba(7, 12, 27, .96) 62%, rgba(32, 17, 54, .72));
  box-shadow: 0 22px 70px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .045);
  transition: transform .45s cubic-bezier(.2, .9, .2, 1), border-color .35s ease, box-shadow .45s ease;
}

.hm-status-card::before,
.hm-product-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -40%;
  background: radial-gradient(circle, rgba(59, 130, 246, .14), transparent 46%);
  opacity: .42;
  transform: translate(35%, -35%);
  transition: opacity .4s ease, transform .7s ease;
}

.hm-status-card:hover,
.hm-product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(96, 165, 250, .42);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .38), 0 0 50px rgba(59, 130, 246, .1);
}

.hm-status-card:hover::before,
.hm-product-card:hover::before { opacity: .75; transform: translate(20%, -22%); }

.hm-status-card {
  min-height: 625px;
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.hm-status-card.is-featured {
  border-color: rgba(125, 178, 255, .42);
  background: linear-gradient(145deg, rgba(37, 99, 235, .38), rgba(9, 15, 35, .96) 52%, rgba(104, 58, 183, .34));
  box-shadow: 0 28px 86px rgba(37, 99, 235, .2), inset 0 1px rgba(255, 255, 255, .08);
}

.hm-card-number {
  align-self: flex-end;
  color: rgba(125, 178, 255, .32);
  max-width: 100%;
  font-size: clamp(46px, 4vw, 70px);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: .86;
  text-transform: uppercase;
}

.hm-status-card.is-featured .hm-card-number { color: rgba(255, 255, 255, .44); }

.hm-status-card h3 {
  margin: 48px 0 30px;
  color: #fff;
  font-size: 42px;
  letter-spacing: -.05em;
}

.hm-status-card h3 small {
  color: var(--shop-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.hm-status-card ul {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  border-top: 1px solid var(--shop-line);
}

.hm-status-card li {
  padding: 12px 0;
  border-bottom: 1px solid var(--shop-line);
  color: rgba(255, 255, 255, .7);
  font-size: 12.5px;
  line-height: 1.4;
}

.hm-status-card button,
.hm-product-card > button {
  width: 100%;
  margin-top: auto;
  padding: 16px 18px;
  text-align: left;
}

.hm-product-card {
  min-height: 610px;
  display: grid;
  grid-template-rows: 325px 1fr auto;
}

.hm-product-media {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--shop-line);
  background:
    radial-gradient(circle at 50% 48%, rgba(59, 130, 246, .18), transparent 42%),
    rgba(4, 9, 23, .54);
}

.hm-product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 48%, rgba(168, 85, 247, .1), transparent 54%);
  pointer-events: none;
}

.hm-product-media > span {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 22px;
  color: #7db2ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.hm-product-media > img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 67%;
  max-height: 225px;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .35));
  transition: transform .55s cubic-bezier(.2, .9, .2, 1), filter .45s ease;
}

#chests .hm-product-media > img {
  width: min(76%, 280px);
  height: auto;
  aspect-ratio: 1;
  max-width: none;
  max-height: none;
  image-rendering: auto;
  transform: none;
  object-fit: contain;
  filter: drop-shadow(0 22px 32px rgba(0, 0, 0, .4));
}

#chests .hm-product-card:hover .hm-product-media > img {
  transform: translateY(-4px) scale(1.06);
}

#boosts .hm-product-media > img {
  width: 140px;
  height: 140px;
  max-width: none;
  max-height: none;
  image-rendering: auto;
  transform: none;
}

#boosts .hm-product-card:hover .hm-product-media > img {
  transform: translateY(-4px) scale(1.06);
}

.hm-boost-card:first-child {
  border-color: rgba(59, 130, 246, .34);
  background: linear-gradient(150deg, rgba(37, 99, 235, .25), rgba(7, 12, 27, .97) 55%, rgba(20, 32, 68, .8));
}

.hm-boost-card:last-child {
  border-color: rgba(168, 85, 247, .32);
  background: linear-gradient(150deg, rgba(88, 80, 210, .22), rgba(7, 12, 27, .97) 55%, rgba(66, 27, 101, .72));
}

.hm-product-card:hover .hm-product-media > img {
  transform: translateY(-6px) scale(1.07);
  filter: drop-shadow(0 24px 38px rgba(0, 0, 0, .45)) brightness(1.08);
}

.hm-product-copy { padding: 28px 28px 24px; }
.hm-product-copy > p { min-height: 30px; margin-bottom: 8px; color: var(--shop-muted); letter-spacing: .04em; }
.hm-product-copy h3 { margin: 0 0 22px; color: #fff; font-size: 27px; letter-spacing: -.035em; }
.hm-product-copy strong { display: block; color: #fff; font-size: 31px; letter-spacing: -.04em; }
.hm-product-copy strong small { color: var(--shop-muted); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.hm-bundle-note { display: block; margin-top: 10px; color: #60a5fa; font-weight: 750; }
.hm-product-card > button { margin: 0 24px 24px; width: calc(100% - 48px); }

.hm-pack-card .hm-product-media > div {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.hm-pack-card .hm-product-media img {
  width: 38%;
  max-height: 185px;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .38));
}

/* Help and footer */
.hm-shop-help {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
  width: min(1500px, calc(100% - 80px));
  min-height: 370px;
  display: grid;
  grid-template-columns: minmax(420px, 1.15fr) minmax(280px, .7fr) auto;
  gap: 52px;
  align-items: end;
  margin: 118px auto 90px;
  padding: 64px;
  border: 1px solid rgba(125, 178, 255, .24);
  border-radius: 28px;
  background-image:
    linear-gradient(90deg, rgba(5, 9, 20, .98), rgba(5, 9, 20, .78) 52%, rgba(37, 99, 235, .34)),
    url("gallery-shots/shot-12.webp");
  background-position: center;
  background-size: cover;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .36), 0 0 70px rgba(59, 130, 246, .1);
}

.hm-shop-help::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 78% 46%, rgba(168, 85, 247, .18), transparent 30%);
}

.hm-shop-help > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
}

.hm-shop-help span { color: #60a5fa; font-size: 11px; font-weight: 800; }
.hm-shop-help h2 { margin: 0; color: #fff; font-size: clamp(46px, 5vw, 78px); letter-spacing: -.06em; line-height: .94; text-transform: uppercase; }
.hm-shop-help p { margin: 0; color: rgba(255, 255, 255, .7); font-size: 16px; line-height: 1.62; }
.hm-shop-help a { justify-self: end; padding: 17px 22px; white-space: nowrap; }

.hm-shop-footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 1fr .7fr 1fr;
  gap: 58px;
  padding: 62px clamp(28px, 6vw, 112px);
  border-top: 1px solid rgba(125, 178, 255, .16);
  background: #05070c;
}

.hm-shop-footer-brand img { width: 156px; height: auto; }
.hm-shop-footer-brand p { max-width: 340px; margin: 20px 0 0; color: rgba(255, 255, 255, .42); font-size: 12px; line-height: 1.6; }
.hm-shop-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.hm-shop-footer nav a,
.hm-shop-footer-server { color: rgba(255, 255, 255, .55); font-size: 12px; }
.hm-shop-footer nav a:hover { color: #60a5fa; }
.hm-shop-footer-server { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hm-shop-footer-server span,
.hm-shop-footer-server small { color: rgba(255, 255, 255, .4); }
.hm-shop-footer-server button { padding: 13px 15px; border: 1px solid var(--shop-line); border-radius: 10px; background: #0a1020; color: #fff; font-weight: 750; cursor: pointer; }
.hm-donate-section { position: relative; isolation: isolate; overflow: hidden; width: min(1500px, calc(100% - 48px)); margin: 24px auto 72px; padding: 34px 42px; border: 1px solid rgba(125, 178, 255, .32); border-radius: 18px; background: linear-gradient(110deg, rgba(13, 22, 48, .98), rgba(42, 29, 78, .94)); box-shadow: 0 18px 55px rgba(0, 0, 0, .22), 0 0 48px rgba(92, 82, 220, .12); }
.hm-donate-section::after { content: ""; position: absolute; z-index: -1; width: 270px; height: 270px; right: 7%; top: -145px; border-radius: 50%; background: rgba(96, 165, 250, .2); filter: blur(55px); pointer-events: none; }
.hm-donate-section-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.hm-donate-section-index { color: #60a5fa; font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.hm-donate-section h2 { margin: 8px 0 6px; color: #fff; font-size: clamp(24px, 3vw, 38px); line-height: 1.05; letter-spacing: -.035em; text-shadow: 0 2px 20px rgba(0, 0, 0, .28); }
.hm-donate-section p { margin: 0; color: #b9c7df; line-height: 1.5; }
.hm-donate-section a { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-width: 180px; padding: 14px 20px; border: 1px solid rgba(103, 148, 255, .55); border-radius: 11px; background: linear-gradient(135deg, var(--shop-blue), var(--shop-blue-bright) 62%, var(--shop-violet)); color: #fff !important; font-size: 12px; font-weight: 800; box-shadow: 0 12px 32px rgba(37, 99, 235, .2); transition: transform .2s ease, filter .2s ease, box-shadow .2s ease; }
.hm-donate-section a:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 18px 42px rgba(37, 99, 235, .32); }
@media (max-width: 760px) { .hm-donate-section { width: calc(100% - 32px); margin-bottom: 52px; padding: 26px 22px; } .hm-donate-section-inner { align-items: stretch; flex-direction: column; } .hm-donate-section a { width: 100%; } }

/* Dialogs */
.hm-buy-dialog,
.hm-connect-dialog {
  width: min(620px, calc(100% - 28px));
  max-height: min(92vh, 860px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(125, 178, 255, .3);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 0%, rgba(59, 130, 246, .2), transparent 28%),
    linear-gradient(155deg, #0d1730, #070b18 58%, #1a0e2e);
  box-shadow: 0 40px 130px rgba(0, 0, 0, .7), 0 0 70px rgba(59, 130, 246, .15);
}

.hm-buy-dialog::backdrop,
.hm-connect-dialog::backdrop {
  background: rgba(2, 5, 13, .8);
  backdrop-filter: blur(9px);
}

.hm-buy-shell { position: relative; padding: 38px; }

.hm-dialog-close,
.hm-connect-dialog > div > button {
  float: right;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .45);
  background: none;
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
}

.hm-dialog-close { position: absolute; top: 25px; right: 38px; float: none; }

.hm-buy-head { clear: both; padding: 30px 0 28px; border-bottom: 1px solid var(--shop-line); }
.hm-buy-head p { margin: 0 0 8px; color: #60a5fa; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hm-buy-head h2 { margin: 0; color: #fff; font-size: 42px; letter-spacing: -.055em; }
.hm-buy-head span { display: block; margin-top: 12px; color: var(--shop-muted); font-size: 13px; line-height: 1.52; }

.hm-field { display: block; margin-top: 24px; }
.hm-field > span { display: block; margin-bottom: 9px; color: rgba(255, 255, 255, .74); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.hm-field > input {
  width: 100%;
  height: 54px;
  padding: 0 15px;
  border: 1px solid rgba(125, 178, 255, .28);
  border-radius: 12px;
  outline: none;
  background: rgba(4, 9, 22, .72);
  color: #fff;
}
.hm-field > input::placeholder { color: rgba(255, 255, 255, .34); }
.hm-field > input:focus { border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(59, 130, 246, .12); }
.hm-field > small { display: block; margin-top: 7px; color: rgba(255, 255, 255, .4); font-size: 10px; }

.hm-segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid rgba(125, 178, 255, .24);
  border-radius: 12px;
}

.hm-segmented button {
  padding: 15px;
  border: 0;
  border-right: 1px solid rgba(125, 178, 255, .22);
  background: rgba(4, 9, 22, .66);
  color: rgba(255, 255, 255, .7);
  cursor: pointer;
}
.hm-segmented button:last-child { border-right: 0; }
.hm-segmented button.is-selected { background: linear-gradient(135deg, var(--shop-blue), var(--shop-violet)); color: #fff; }

.hm-quantity {
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  overflow: hidden;
  border: 1px solid rgba(125, 178, 255, .24);
  border-radius: 12px;
}

.hm-quantity button { border: 0; background: rgba(17, 32, 67, .72); color: #fff; font-size: 20px; cursor: pointer; }
.hm-quantity input {
  width: 100%;
  height: 54px;
  border: 0;
  border-right: 1px solid rgba(125, 178, 255, .22);
  border-left: 1px solid rgba(125, 178, 255, .22);
  outline: none;
  background: rgba(4, 9, 22, .72);
  color: #fff;
  text-align: center;
  font-size: 19px;
  font-weight: 800;
  -moz-appearance: textfield;
}
.hm-quantity input::-webkit-outer-spin-button,
.hm-quantity input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }

.hm-presets { display: flex; gap: 8px; margin-top: 10px; }
.hm-presets button { padding: 7px 12px; border: 1px solid var(--shop-line); border-radius: 9px; background: rgba(12, 22, 47, .74); color: #7db2ff; font-size: 11px; cursor: pointer; }
.hm-presets button:hover { border-color: #60a5fa; color: #fff; }

.hm-buy-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px;
  margin-top: 28px;
  padding: 20px 0;
  border-top: 1px solid var(--shop-line);
  border-bottom: 1px solid var(--shop-line);
}
.hm-buy-summary span { align-self: center; color: rgba(255, 255, 255, .7); font-size: 12px; font-weight: 750; }
.hm-buy-summary strong { color: #fff; font-size: 34px; letter-spacing: -.04em; }
.hm-buy-summary small { grid-column: 1 / -1; color: #60a5fa; font-size: 11px; }
.hm-buy-error { margin: 14px 0 0; padding: 12px; border: 1px solid rgba(248, 113, 113, .45); border-radius: 10px; background: rgba(127, 29, 29, .18); color: #fda4af; font-size: 12px; }
.hm-buy-submit { width: 100%; margin-top: 20px; padding: 17px; }
.hm-buy-submit:disabled { cursor: wait; opacity: .65; }
.hm-buy-terms { margin: 14px 0 0; color: rgba(255, 255, 255, .38); font-size: 10px; line-height: 1.5; }
.hm-buy-terms a { color: #7db2ff; text-decoration: underline; }

.hm-connect-dialog > div { padding: 38px; }
.hm-connect-dialog > div > p { clear: both; padding-top: 30px; color: #60a5fa; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hm-connect-dialog h2 { margin: 0 0 25px; color: #fff; font-size: 44px; letter-spacing: -.055em; }
.hm-connect-dialog ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--shop-line); }
.hm-connect-dialog li { display: grid; grid-template-columns: 46px 1fr; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--shop-line); }
.hm-connect-dialog li > span { color: #60a5fa; font-size: 10px; }
.hm-connect-dialog li p { display: flex; flex-direction: column; gap: 6px; margin: 0; color: var(--shop-muted); font-size: 12px; }
.hm-connect-dialog li b { color: #fff; font-size: 15px; }
.hm-connect-dialog li button { align-self: flex-start; padding: 0 0 3px; border: 0; border-bottom: 1px solid #60a5fa; background: none; color: #7db2ff; font-weight: 750; cursor: pointer; }

@keyframes hm-shop-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Tablet */
@media (max-width: 1180px) {
  .hm-shop-header { grid-template-columns: auto 1fr auto; gap: 22px; padding-right: 24px; padding-left: 24px; }
  .hm-shop-header nav { justify-self: center; gap: 13px; }
  .hm-shop-header nav a { font-size: 10px; }
  .hm-shop-online { display: none; }
  .hm-shop-hero { grid-template-columns: 1fr; min-height: 900px; }
  .hm-shop-hero-note { max-width: 600px; min-height: 260px; }
  .hm-shop-section-head { grid-template-columns: 48px 1fr; }
  .hm-shop-section-head > p { grid-column: 2; }
  .hm-runes-card { grid-template-columns: 260px 1fr; }
  .hm-product-action { grid-column: 1 / -1; min-height: 120px; }
  .hm-product-grid-three { grid-template-columns: repeat(2, 1fr); }
  .hm-shop-help { grid-template-columns: 1fr 1fr; }
  .hm-shop-help > a { grid-column: 2; justify-self: start; }
  .hm-shop-footer { grid-template-columns: 1.2fr 1fr 1fr; }
  .hm-shop-footer-server { grid-column: 2 / -1; }
}

/* Mobile */
@media (max-width: 900px) {
  :root { --shop-header: 68px; }
  .hm-shop-header { grid-template-columns: 1fr auto; padding: 0 18px; }
  .hm-shop-brand,
  .hm-shop-brand img { width: 137px; }
  .hm-shop-menu {
    justify-self: end;
    display: grid;
    gap: 4px;
    width: 43px;
    height: 43px;
    padding: 12px;
    border: 1px solid var(--shop-line);
    border-radius: 11px;
    background: #0a1020;
  }
  .hm-shop-menu > span:not(.screen-reader-text) { display: block; width: 100%; height: 2px; background: #fff; }
  .hm-shop-header nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--shop-line);
    background: rgba(5, 9, 20, .98);
    backdrop-filter: blur(18px);
  }
  .hm-shop-header nav.is-open { display: flex; }
  .hm-shop-header nav a { padding: 17px 20px; border-top: 1px solid var(--shop-line); font-size: 11px; }
  .hm-shop-header-actions { display: none; }

  .hm-shop-hero {
    width: 100%;
    min-height: 820px;
    gap: 20px;
    margin-top: var(--shop-header);
    padding: 34px 22px 0;
    border-radius: 0;
    background-image:
      linear-gradient(90deg, rgba(3, 7, 18, .97), rgba(3, 7, 18, .72)),
      linear-gradient(0deg, rgba(3, 7, 18, .9), transparent 48%),
      url("main-city.webp");
    background-position: 64% center;
  }
  .hm-shop-hero h1 { font-size: clamp(52px, 15.4vw, 78px); line-height: .84; }
  .hm-shop-hero-copy { padding: 26px 0 8px; }
  .hm-shop-hero-note { min-height: 250px; margin: 10px 0 26px; padding: 25px; border-radius: 18px; }
  .hm-shop-hero-note p:first-child { font-size: 18px; }
  .hm-shop-categories { grid-template-columns: 1fr 1fr; margin: 0 -22px; }
  .hm-shop-categories a { min-height: 62px; padding: 0 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 11px; }
  .hm-shop-categories a:nth-child(even) { border-right: 0; }
  .hm-shop-categories a:last-child { grid-column: 1 / -1; }

  .hm-shop-section { width: calc(100% - 32px); padding-top: 82px; }
  .hm-shop-section-head { grid-template-columns: 34px 1fr; gap: 16px; margin-bottom: 34px; padding-bottom: 24px; }
  .hm-shop-section-head h2 { font-size: 46px; }
  .hm-shop-section-head > p { font-size: 14px; }
  .hm-runes-card { grid-template-columns: 1fr; }
  .hm-runes-image { min-height: 225px; border-right: 0; border-bottom: 1px solid var(--shop-line); }
  .hm-runes-copy { padding: 28px; }
  .hm-runes-copy h3 { font-size: 37px; }
  .hm-runes-copy dl { margin-top: 28px; }
  .hm-product-action { min-height: 120px; }
  .hm-status-grid,
  .hm-product-grid-three,
  .hm-product-grid-two { grid-template-columns: 1fr; }
  .hm-status-card { min-height: 530px; }
  .hm-product-card { min-height: 560px; grid-template-rows: 280px 1fr auto; }

  .hm-shop-help {
    width: calc(100% - 32px);
    min-height: 560px;
    grid-template-columns: 1fr;
    margin: 82px auto 62px;
    padding: 34px 26px;
    border-radius: 22px;
    background-image:
      linear-gradient(0deg, rgba(5, 9, 20, .98), rgba(5, 9, 20, .54)),
      url("gallery-shots/shot-12.webp");
  }
  .hm-shop-help > div { grid-template-columns: 34px 1fr; }
  .hm-shop-help > a { grid-column: auto; justify-self: start; }
  .hm-shop-footer { grid-template-columns: 1fr; gap: 34px; padding: 52px 20px; }
  .hm-shop-footer-server { grid-column: auto; }

  .hm-buy-shell { padding: 24px; }
  .hm-dialog-close { top: 22px; right: 24px; }
  .hm-buy-head h2 { font-size: 34px; }
}

@media (max-width: 430px) {
  .hm-shop-hero h1 { font-size: 50px; }
  .hm-shop-section-head h2 { font-size: 39px; }
  .hm-runes-copy { padding: 23px; }
  .hm-runes-copy dl { grid-template-columns: 1fr; gap: 15px; }
  .hm-card-number { font-size: 68px; }
  .hm-status-card h3 { font-size: 36px; }
  .hm-product-copy { padding: 23px; }
  .hm-buy-dialog { width: calc(100% - 16px); }
  .hm-buy-shell { padding: 20px; }
  .hm-dialog-close { right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
