:root {
  --bg: #070915;
  --bg-soft: #0d1020;
  --panel: rgba(17, 21, 39, 0.72);
  --panel-strong: rgba(18, 22, 41, 0.95);
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-strong: rgba(161, 118, 255, 0.28);
  --text: #f7f8ff;
  --muted: #9298b3;
  --purple: #8f66ff;
  --purple-2: #b084ff;
  --blue: #6577ff;
  --cyan: #6be7ff;
  --success: #6df4bc;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.space-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% -20%, rgba(121, 83, 255, .18), transparent 35%),
    linear-gradient(180deg, #060812 0%, #080a17 55%, #080a14 100%);
}
.stars { position: absolute; inset: 0; opacity: .58; }
.stars::before, .stars::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: white;
  box-shadow:
    8vw 12vh #fff, 15vw 37vh #9cc8ff, 21vw 6vh #fff, 27vw 65vh #fff,
    33vw 28vh #c9b1ff, 39vw 80vh #fff, 44vw 15vh #fff, 51vw 48vh #b8d8ff,
    57vw 8vh #fff, 63vw 71vh #fff, 69vw 33vh #ddd5ff, 76vw 58vh #fff,
    83vw 19vh #fff, 91vw 43vh #a8beff, 96vw 76vh #fff, 5vw 88vh #fff,
    18vw 91vh #b5a6ff, 36vw 94vh #fff, 54vw 88vh #fff, 72vw 92vh #fff,
    88vw 86vh #9bd7ff;
}
.stars::after { transform: translate(23px, 31px) scale(.55); opacity: .7; }
.stars-b { transform: rotate(10deg) scale(1.1); opacity: .35; }
.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .16;
}
.nebula-one { width: 520px; height: 520px; background: #7c4dff; right: -180px; top: 180px; }
.nebula-two { width: 450px; height: 450px; background: #3d6fff; left: -170px; top: 700px; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.055);
  background: rgba(7, 9, 21, .72);
  backdrop-filter: blur(18px);
}
.header-inner { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
}
.planet {
  position: relative;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d3c8ff, #8065ff 68%, #5743bf);
  box-shadow: 0 0 25px rgba(129, 101, 255, .48);
}
.planet::after {
  content: "";
  position: absolute;
  width: 38px;
  height: 11px;
  border: 2px solid #a88cff;
  border-top-color: transparent;
  border-radius: 50%;
  top: 5px;
  left: -8px;
  transform: rotate(-13deg);
}
.brand-text { font-family: Unbounded, sans-serif; letter-spacing: .08em; font-size: 18px; font-weight: 800; }
.brand-text span { color: var(--purple-2); }

.desktop-nav { display: flex; align-items: center; gap: 8px; }
.desktop-nav a {
  color: #a9aec3;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 14px;
  border-radius: 11px;
  transition: .2s ease;
}
.desktop-nav a:hover, .desktop-nav a.active { color: white; background: rgba(255,255,255,.055); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.server-pill {
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.035);
  border-radius: 14px;
  padding: 8px 13px 8px 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: .2s ease;
}
.server-pill:hover { border-color: rgba(151, 114, 255, .35); background: rgba(142,102,255,.07); transform: translateY(-1px); }
.server-pill span:last-child { text-align: left; display: flex; flex-direction: column; gap: 1px; }
.server-pill b { font-size: 12px; font-weight: 700; }
.server-pill small { color: var(--muted); font-size: 10px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 14px rgba(109,244,188,.75); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--stroke); background: rgba(255,255,255,.03); border-radius: 12px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; margin: 4px auto; background: white; border-radius: 2px; }
.mobile-nav { display: none; }

.hero { min-height: 560px; padding: 76px 0 52px; display: grid; grid-template-columns: 1.02fr .98fr; gap: 40px; align-items: center; }
.hero-copy { max-width: 620px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #b8b6d2; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.eyebrow span { width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--purple-2)); }
.eyebrow.small { font-size: 10px; margin-bottom: 12px; }
.hero h1 {
  margin: 20px 0 22px;
  font-family: Unbounded, sans-serif;
  font-size: clamp(44px, 5.7vw, 78px);
  line-height: .99;
  letter-spacing: -.045em;
}
.hero h1 em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(90deg, #e6dcff, #9271ff 50%, #74cfff);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-copy > p { max-width: 570px; color: var(--muted); font-size: 17px; line-height: 1.72; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.btn {
  min-height: 48px;
  border-radius: 13px;
  padding: 0 19px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}
.btn-primary {
  color: white;
  background: linear-gradient(135deg, #7558f8, #9c70ff 62%, #6678ff);
  box-shadow: 0 12px 34px rgba(121, 88, 255, .27), inset 0 1px rgba(255,255,255,.18);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-ghost { border-color: var(--stroke); background: rgba(255,255,255,.035); color: #d1d3df; }
.btn-ghost:hover { background: rgba(255,255,255,.07); }

.hero-visual { position: relative; min-height: 440px; display: grid; place-items: center; }
.moon-core { width: 280px; height: 280px; position: relative; display: grid; place-items: center; }
.moon-glow { position: absolute; inset: -70px; border-radius: 50%; background: radial-gradient(circle, rgba(148,118,255,.36), rgba(81,64,182,.06) 55%, transparent 72%); filter: blur(8px); }
.moon-surface {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  position: relative;
  background:
    radial-gradient(circle at 36% 33%, rgba(255,255,255,.82), transparent 3%),
    radial-gradient(circle at 62% 27%, rgba(85,64,145,.25), transparent 9%),
    radial-gradient(circle at 31% 68%, rgba(66,54,114,.18), transparent 11%),
    radial-gradient(circle at 71% 67%, rgba(255,255,255,.13), transparent 8%),
    linear-gradient(145deg, #c9c2e8, #8d81c6 54%, #4d4574);
  box-shadow: inset -24px -28px 45px rgba(28,25,60,.5), inset 13px 10px 26px rgba(255,255,255,.15), 0 25px 70px rgba(97,75,195,.35);
}
.moon-ring { position: absolute; border: 1px solid rgba(159,132,255,.22); border-radius: 50%; transform: rotate(-18deg); }
.ring-one { width: 390px; height: 190px; }
.ring-two { width: 470px; height: 270px; border-color: rgba(101,119,255,.12); transform: rotate(23deg); }
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,16,32,.72);
  border: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(12px);
  padding: 11px 14px;
  border-radius: 13px;
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
  font-family: Unbounded, sans-serif;
  font-size: 11px;
  color: #b69dff;
  animation: float 4s ease-in-out infinite;
}
.floating-card span { color: white; }
.card-one { top: 18%; left: 9%; }
.card-two { right: 2%; bottom: 18%; animation-delay: -2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.security-wrap { margin-top: 8px; }
.security-slider {
  position: relative;
  min-height: 180px;
  border: 1px solid var(--stroke-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(116,83,248,.16), rgba(20,24,45,.82) 45%, rgba(79,102,234,.08)),
    rgba(13,16,31,.78);
  box-shadow: var(--shadow);
}
.security-slider::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -120px;
  top: -190px;
  border-radius: 50%;
  border: 1px solid rgba(174,151,255,.15);
  box-shadow: inset 0 0 80px rgba(121,88,255,.1);
}
.security-slide { min-height: 180px; padding: 31px 34px; display: none; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; position: relative; z-index: 2; }
.security-slide.active { display: grid; }
.security-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(145deg, rgba(145,103,255,.23), rgba(93,110,255,.1)); border: 1px solid rgba(174,151,255,.18); font-size: 25px; color: #c5b6ff; }
.slide-label { color: #a596db; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; font-weight: 800; }
.security-copy h2 { margin: 7px 0 6px; font-family: Unbounded, sans-serif; font-size: clamp(21px, 2.8vw, 30px); letter-spacing: -.03em; }
.security-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.security-btn { align-self: end; min-width: 124px; position: relative; z-index: 3; }
.slider-dots { position: absolute; left: 120px; bottom: 18px; display: flex; gap: 6px; z-index: 5; }
.slider-dots button { width: 21px; height: 4px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.14); cursor: pointer; }
.slider-dots button.active { background: var(--purple-2); }

.shop-section { padding: 92px 0 38px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 26px; }
.section-heading h2 { margin: 0; font-family: Unbounded, sans-serif; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.035em; }
.section-heading > p { color: var(--muted); max-width: 370px; text-align: right; line-height: 1.5; font-size: 13px; }
.categories { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 25px; }
.category { border: 1px solid var(--stroke); background: rgba(255,255,255,.025); color: #a7abbe; border-radius: 12px; padding: 11px 15px; font-size: 12px; font-weight: 700; cursor: pointer; transition: .18s ease; }
.category span { margin-right: 6px; color: #ad95ff; }
.category:hover, .category.active { color: white; border-color: rgba(151,114,255,.35); background: rgba(137,99,255,.11); }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.product-card {
  position: relative;
  min-width: 0;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(21,25,46,.85), rgba(12,15,29,.9));
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
  transition: .23s ease;
  overflow: hidden;
}
.product-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, rgba(126,91,255,.12), transparent 34%); opacity: 0; transition: .23s; }
.product-card:hover { transform: translateY(-5px); border-color: rgba(151,114,255,.28); box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.product-card:hover::before { opacity: 1; }
.product-card.hidden { display: none; }
.product-card.featured { border-color: rgba(155,111,255,.34); background: linear-gradient(180deg, rgba(50,38,82,.74), rgba(14,16,31,.94)); }
.featured-label { position: absolute; right: -31px; top: 18px; transform: rotate(35deg); background: linear-gradient(90deg, #8561ff, #6578ff); width: 125px; text-align: center; font-size: 8px; font-weight: 800; padding: 5px 0; letter-spacing: .08em; }
.product-top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.product-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 13px; font-family: Unbounded, sans-serif; font-size: 16px; font-weight: 800; border: 1px solid rgba(255,255,255,.1); }
.nova { background: linear-gradient(145deg, rgba(116,84,248,.24), rgba(116,84,248,.05)); color: #bba9ff; }
.starlord { background: linear-gradient(145deg, rgba(157,111,255,.29), rgba(83,101,242,.1)); color: #d8cbff; }
.galaxy { background: linear-gradient(145deg, rgba(81,165,255,.23), rgba(111,79,219,.08)); color: #b8e0ff; }
.case { background: rgba(255,190,92,.1); color: #ffdca3; }
.case-rare { background: rgba(238,103,255,.1); color: #f5c1ff; }
.coins { background: rgba(104,231,255,.1); color: #b6f3ff; }
.product-tag { font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: #8d91a7; border: 1px solid rgba(255,255,255,.07); padding: 6px 8px; border-radius: 8px; }
.product-card h3 { margin: 21px 0 9px; font-family: Unbounded, sans-serif; font-size: 19px; letter-spacing: -.02em; position: relative; z-index: 2; }
.product-card > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; min-height: 58px; position: relative; z-index: 2; }
.product-card ul { list-style: none; padding: 0; margin: 18px 0 25px; display: grid; gap: 9px; position: relative; z-index: 2; }
.product-card li { color: #c8cad7; font-size: 11px; }
.product-card li::before { content: "✓"; color: #9d86ff; font-weight: 900; margin-right: 8px; }
.commands-title { margin-top: 14px; color: #777d95; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; position: relative; z-index: 2; }
.privilege-card .command-list { display: grid; gap: 7px; margin: 11px 0 25px; min-height: 82px; }
.privilege-card .command-list li { margin: 0; display: grid; grid-template-columns: minmax(92px, auto) 1fr; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid rgba(151,114,255,.10); border-radius: 10px; background: rgba(125,91,255,.04); }
.privilege-card .command-list li::before { display: none; }
.privilege-card .command-list code { display: inline-flex; align-items: center; width: max-content; min-height: 27px; padding: 6px 9px; border: 1px solid rgba(151,114,255,.16); border-radius: 8px; background: rgba(125,91,255,.09); color: #c9bdff; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 10px; white-space: nowrap; }
.privilege-card .command-list span { color: #8f95aa; font-size: 10px; line-height: 1.45; }
.product-footer { border-top: 1px solid rgba(255,255,255,.06); padding-top: 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; position: relative; z-index: 2; }
.price { font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.price small { font-size: 9px; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-right: 3px; }
.buy-btn { border: 1px solid rgba(151,114,255,.22); background: rgba(131,94,255,.1); color: #dcd3ff; border-radius: 10px; padding: 10px 15px; font-size: 11px; font-weight: 800; cursor: pointer; transition: .18s; }
.buy-btn:hover { background: linear-gradient(135deg, #7558f8, #9c70ff); color: white; transform: translateY(-1px); }

.info-strip { margin: 46px auto 84px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--stroke); border-radius: 20px; background: rgba(13,16,30,.56); overflow: hidden; }
.info-strip > div { padding: 24px 26px; display: grid; grid-template-columns: auto 1fr; column-gap: 13px; row-gap: 3px; align-items: center; }
.info-strip > div + div { border-left: 1px solid var(--stroke); }
.info-strip span { grid-row: 1 / 3; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(143,102,255,.09); color: #b9a3ff; }
.info-strip b { font-size: 12px; }
.info-strip small { color: var(--muted); font-size: 10px; }

.site-footer { border-top: 1px solid var(--stroke); background: rgba(4,6,14,.72); }
.footer-grid { padding: 58px 0 42px; display: grid; grid-template-columns: 1.45fr .65fr .65fr 1.15fr; gap: 48px; }
.footer-brand p { margin: 20px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.footer-payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 18px;
  max-width: 280px;
}
.footer-payments img {
  display: block;
  height: 26px;
  width: auto;
  max-width: 74px;
  object-fit: contain;
  mix-blend-mode: lighten;
  opacity: .94;
}
.footer-grid h4 { margin: 0 0 17px; font-family: Unbounded, sans-serif; font-size: 11px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 9px; }
.footer-grid a, .footer-grid p { color: #8d92a8; font-size: 11px; line-height: 1.5; margin: 0; transition: .15s; }
.footer-grid a:hover { color: #d7d0ff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.055); padding: 18px 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 22px; color: #60657b; font-size: 9px; }
.footer-bottom span:last-child { text-align: right; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(3,4,10,.76); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: .2s ease; }
.modal-backdrop.open { opacity: 1; visibility: visible; }
.purchase-modal { width: min(430px, 100%); position: relative; border: 1px solid rgba(159,128,255,.25); border-radius: 22px; background: linear-gradient(180deg, #15182b, #0b0e1c); box-shadow: 0 35px 100px rgba(0,0,0,.55); padding: 28px; transform: translateY(14px) scale(.98); transition: .2s ease; }
.modal-backdrop.open .purchase-modal { transform: none; }
.modal-close { position: absolute; top: 15px; right: 15px; border: 1px solid var(--stroke); width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.03); cursor: pointer; font-size: 22px; color: #9da2b7; }
.modal-badge { color: #a691ff; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.purchase-modal h2 { font-family: Unbounded, sans-serif; margin: 10px 0 7px; font-size: 25px; }
.modal-subtitle { color: var(--muted); font-size: 12px; line-height: 1.5; }
.selected-product { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: rgba(134,96,255,.08); border: 1px solid rgba(159,128,255,.18); padding: 14px 15px; border-radius: 12px; margin: 19px 0; font-size: 12px; }
.selected-product b { font-size: 16px; }
.field-label { display: block; margin: 0 0 7px; color: #c0c3d1; font-size: 11px; font-weight: 700; }
.field { width: 100%; height: 49px; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; outline: none; background: rgba(0,0,0,.16); color: white; padding: 0 14px; transition: .18s; }
.field:focus { border-color: rgba(151,114,255,.55); box-shadow: 0 0 0 3px rgba(143,102,255,.09); }
.checkbox-row { margin: 15px 0 18px; display: flex; gap: 10px; align-items: flex-start; color: #868ca3; font-size: 10px; line-height: 1.5; }
.checkbox-row input { accent-color: #8f66ff; margin-top: 2px; }
.checkbox-row a { color: #b9a5ff; }
.modal-pay { width: 100%; }
.modal-note { display: block; text-align: center; color: #64697f; margin-top: 12px; line-height: 1.45; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 11px 15px; border: 1px solid rgba(155,123,255,.25); background: rgba(15,18,34,.92); backdrop-filter: blur(12px); color: #e6e3f4; border-radius: 11px; font-size: 11px; box-shadow: 0 18px 45px rgba(0,0,0,.38); transition: .22s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-btn { display: block; }
  .mobile-nav { position: absolute; top: 82px; left: 20px; right: 20px; border: 1px solid var(--stroke); background: rgba(12,15,29,.96); border-radius: 14px; padding: 9px; box-shadow: var(--shadow); }
  .mobile-nav.open { display: grid; }
  .mobile-nav a { padding: 12px 13px; color: #b9bdcd; font-size: 13px; border-radius: 9px; }
  .mobile-nav a:hover { background: rgba(255,255,255,.05); color: white; }
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 330px; }
  .moon-core { transform: scale(.84); }
  .ring-one { transform: rotate(-18deg) scale(.86); }
  .ring-two { transform: rotate(23deg) scale(.86); }
  .card-one { left: 16%; }
  .card-two { right: 12%; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.25fr .75fr .75fr; }
  .footer-legal { grid-column: 1 / -1; display: grid !important; grid-template-columns: repeat(2, max-content); column-gap: 26px; }
  .footer-legal h4 { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { height: 70px; }
  .mobile-nav { top: 70px; left: 14px; right: 14px; }
  .server-pill { padding: 8px 10px; }
  .server-pill span:last-child small { display: none; }
  .server-pill b { font-size: 10px; }
  .brand-text { font-size: 15px; }
  .brand-mark { width: 33px; height: 33px; transform: scale(.9); }
  .hero { min-height: auto; padding: 50px 0 31px; gap: 12px; }
  .hero h1 { font-size: clamp(38px, 13vw, 60px); margin: 16px 0 18px; }
  .hero-copy > p { font-size: 14px; }
  .hero-actions .btn { flex: 1; min-width: 145px; }
  .hero-visual { min-height: 300px; transform: scale(.91); margin-inline: -10px; }
  .moon-surface { width: 180px; height: 180px; }
  .moon-core { width: 230px; height: 230px; }
  .ring-one { width: 320px; height: 160px; }
  .ring-two { width: 370px; height: 220px; }
  .floating-card { font-size: 9px; padding: 9px 10px; }
  .card-one { left: 2%; top: 17%; }
  .card-two { right: 1%; bottom: 13%; }
  .security-slide { grid-template-columns: auto 1fr; padding: 24px 21px 62px; gap: 15px; }
  .security-icon { width: 50px; height: 50px; border-radius: 14px; }
  .security-btn { position: absolute; left: 21px; right: 21px; bottom: 15px; width: calc(100% - 42px); min-height: 40px; }
  .security-copy h2 { font-size: 18px; }
  .security-copy p { font-size: 11px; }
  .slider-dots { left: auto; right: 22px; top: 18px; bottom: auto; }
  .shop-section { padding-top: 65px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .section-heading > p { text-align: left; }
  .categories { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -14px; padding-right: 14px; }
  .categories::-webkit-scrollbar { display: none; }
  .category { white-space: nowrap; }
  .products-grid { grid-template-columns: 1fr; }
  .product-card > p { min-height: auto; }
  .info-strip { grid-template-columns: 1fr; margin-bottom: 58px; }
  .info-strip > div + div { border-left: 0; border-top: 1px solid var(--stroke); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 26px; padding-top: 42px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-payments { max-width: 100%; }
  .footer-payments img { height: 24px; max-width: 68px; }
  .footer-legal { grid-template-columns: 1fr !important; grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-bottom span:last-child { text-align: left; }
}

@media (max-width: 440px) {
  .server-pill { display: none; }
  .hero h1 { font-size: 38px; }
  .hero-visual { min-height: 270px; transform: scale(.84); }
  .security-copy { grid-column: 1 / -1; }
  .security-icon { display: none; }
  .security-slide { padding-top: 27px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .purchase-modal { padding: 23px 18px; }
}

/* ===== Inner pages: Rules / Leaderboard ===== */
.inner-page { min-height: 70vh; }
.page-hero {
  min-height: 390px;
  padding: 78px 0 62px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.055);
}
.page-hero-copy { max-width: 720px; }
.page-hero h1 {
  margin: 17px 0 20px;
  font-family: Unbounded, sans-serif;
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.page-hero h1 em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(90deg, #e7ddff, #9a77ff 48%, #76d1ff);
  -webkit-background-clip: text;
  background-clip: text;
}
.page-hero-copy > p { max-width: 640px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.page-meta-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.page-meta-row span {
  padding: 8px 10px;
  border: 1px solid var(--stroke);
  border-radius: 9px;
  color: #989eb5;
  background: rgba(255,255,255,.025);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.rules-orbit, .rank-orbit { position: relative; height: 260px; display: grid; place-items: center; }
.rules-orbit::before, .rank-orbit::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140,102,255,.18), rgba(103,116,255,.05) 52%, transparent 72%);
  filter: blur(3px);
}
.rules-orbit-ring {
  position: absolute;
  width: 250px;
  height: 110px;
  border: 1px solid rgba(172,143,255,.27);
  border-radius: 50%;
  transform: rotate(-16deg);
  box-shadow: 0 0 35px rgba(122,92,255,.08);
}
.rules-orbit-ring::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b69cff;
  left: 25px;
  top: 20px;
  box-shadow: 0 0 18px #8f66ff;
}
.rules-symbol {
  position: relative;
  z-index: 2;
  width: 122px;
  height: 122px;
  border-radius: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(174,143,255,.23);
  background: linear-gradient(145deg, rgba(139,99,255,.17), rgba(28,32,58,.72));
  box-shadow: 0 28px 80px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.07);
  color: #c9b6ff;
  font-family: Unbounded, sans-serif;
  font-size: 48px;
  font-weight: 800;
  transform: rotate(7deg);
}

.rules-layout { padding: 58px 0 90px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.rules-sidebar { position: sticky; top: 112px; display: grid; gap: 15px; }
.rules-sidebar-card, .rules-help-card {
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(17,21,39,.82), rgba(10,13,26,.82));
  border-radius: 18px;
  box-shadow: 0 20px 55px rgba(0,0,0,.18);
}
.rules-sidebar-card { padding: 17px; }
.sidebar-label { display: block; margin: 1px 3px 11px; color: #6f758d; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.rules-nav { display: grid; gap: 5px; }
.rules-nav a { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 10px; border-radius: 10px; color: #979db3; font-size: 11px; font-weight: 650; transition: .18s; }
.rules-nav a span { color: #6f7287; font-size: 9px; font-weight: 800; }
.rules-nav a:hover, .rules-nav a.active { color: white; background: rgba(139,101,255,.09); }
.rules-nav a.active span { color: #b39cff; }
.rules-help-card { padding: 20px; }
.rules-help-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: rgba(139,101,255,.12); color: #b9a7ff; font-weight: 800; }
.rules-help-card b { display: block; margin-top: 13px; font-size: 12px; }
.rules-help-card p { margin: 7px 0 12px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.rules-help-card a { color: #bcaaff; font-size: 10px; font-weight: 700; }

.rules-content { min-width: 0; }
.rules-notice, .rank-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid rgba(143,102,255,.2);
  border-radius: 15px;
  background: linear-gradient(90deg, rgba(135,97,255,.09), rgba(83,102,255,.035));
  margin-bottom: 22px;
}
.rules-notice > span, .rank-note > span { color: #b69fff; font-size: 18px; }
.rules-notice b, .rank-note b { display: block; margin-bottom: 4px; font-size: 11px; }
.rules-notice p, .rank-note p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.rule-section { scroll-margin-top: 110px; margin-bottom: 36px; }
.rule-section-head { display: flex; align-items: center; gap: 13px; margin: 0 0 13px; }
.rule-section-head > span { width: 41px; height: 41px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(151,114,255,.2); background: rgba(132,95,255,.08); color: #a891ff; font-family: Unbounded, sans-serif; font-size: 10px; font-weight: 800; }
.rule-section-head small { color: #747a91; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.rule-section-head h2 { margin: 3px 0 0; font-family: Unbounded, sans-serif; font-size: 18px; letter-spacing: -.02em; }
.rule-list { border: 1px solid var(--stroke); border-radius: 17px; overflow: hidden; background: rgba(12,15,29,.55); }
.rule-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 13px; padding: 19px 21px; position: relative; }
.rule-item + .rule-item { border-top: 1px solid rgba(255,255,255,.055); }
.rule-item:hover { background: rgba(255,255,255,.014); }
.rule-item.important::after { content: ""; position: absolute; left: 0; top: 15px; bottom: 15px; width: 2px; border-radius: 2px; background: linear-gradient(#b176ff, #696eff); }
.rule-number { color: #71778f; font-family: Unbounded, sans-serif; font-size: 10px; font-weight: 700; padding-top: 2px; }
.rule-item h3 { margin: 0 0 5px; font-size: 12px; font-weight: 750; }
.rule-item p { margin: 0; color: #969cb3; font-size: 11px; line-height: 1.7; }
.punishment { display: inline-flex; margin-top: 10px; padding: 5px 8px; border-radius: 7px; background: rgba(255,184,85,.075); color: #eec98e; border: 1px solid rgba(255,190,94,.12); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.punishment.danger { color: #f5a1ae; background: rgba(255,91,119,.065); border-color: rgba(255,104,130,.14); }

/* Leaderboard */
.rank-orbit { overflow: hidden; }
.rank-planet {
  position: relative;
  z-index: 2;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.21), transparent 7%),
    radial-gradient(circle at 68% 62%, rgba(41,37,82,.45), transparent 14%),
    linear-gradient(145deg, #a68cff, #6b5dd6 62%, #3f397c);
  box-shadow: inset -24px -22px 38px rgba(24,21,55,.42), 0 0 70px rgba(125,95,255,.25);
}
.rank-planet::after { content: ""; position: absolute; width: 220px; height: 65px; border: 2px solid rgba(176,151,255,.32); border-top-color: rgba(176,151,255,.08); border-radius: 50%; transform: rotate(-15deg); }
.rank-planet b { position: relative; z-index: 3; font-family: Unbounded, sans-serif; font-size: 34px; text-shadow: 0 3px 15px rgba(0,0,0,.3); }
.rank-star { position: absolute; color: #c4b0ff; text-shadow: 0 0 18px #8e67ff; }
.star-one { left: 18%; top: 22%; font-size: 21px; }
.star-two { right: 15%; bottom: 23%; font-size: 13px; }

.leaderboard-section { padding: 55px 0 88px; }
.leaderboard-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.rank-tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.rank-tab { min-height: 41px; border: 1px solid var(--stroke); border-radius: 11px; padding: 0 14px; background: rgba(255,255,255,.025); color: #9298ae; font-size: 10px; font-weight: 750; cursor: pointer; transition: .18s; }
.rank-tab span { margin-right: 6px; color: #a18cff; }
.rank-tab:hover, .rank-tab.active { color: white; border-color: rgba(151,114,255,.28); background: rgba(136,99,255,.1); }
.rank-update { color: #70768d; font-size: 9px; white-space: nowrap; }
.rank-update span { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px rgba(109,244,188,.55); }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; margin-bottom: 22px; }
.podium-card { position: relative; min-width: 0; text-align: center; padding: 26px 16px 23px; border: 1px solid var(--stroke); border-radius: 19px; background: linear-gradient(180deg, rgba(18,22,41,.88), rgba(10,13,27,.83)); overflow: hidden; }
.podium-card::before { content: ""; position: absolute; width: 180px; height: 90px; left: 50%; top: -45px; transform: translateX(-50%); border-radius: 50%; background: rgba(140,100,255,.08); filter: blur(20px); }
.podium-card.first { min-height: 275px; padding-top: 33px; border-color: rgba(182,146,255,.31); background: linear-gradient(180deg, rgba(52,40,83,.77), rgba(13,15,30,.92)); box-shadow: 0 24px 70px rgba(0,0,0,.24); }
.podium-card.second, .podium-card.third { min-height: 245px; }
.podium-place { position: absolute; top: 14px; left: 15px; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); color: #9ca1b5; font-family: Unbounded, sans-serif; font-size: 9px; font-weight: 800; }
.first .podium-place { color: #f3db9c; border-color: rgba(246,201,96,.16); background: rgba(242,190,72,.07); }
.crown { position: absolute; top: 14px; right: 17px; color: #f0cc83; text-shadow: 0 0 14px rgba(237,194,105,.45); }
.player-avatar { width: 71px; height: 71px; margin: 10px auto 15px; border-radius: 18px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.13); font-family: Unbounded, sans-serif; font-size: 23px; font-weight: 800; box-shadow: inset 0 1px 0 rgba(255,255,255,.09); }
.first .player-avatar { width: 82px; height: 82px; margin-top: 8px; }
.avatar-gold { color: #fff1bd; background: linear-gradient(145deg, rgba(246,194,80,.27), rgba(126,79,255,.14)); }
.avatar-purple { color: #d6c9ff; background: linear-gradient(145deg, rgba(133,98,255,.25), rgba(76,65,152,.11)); }
.avatar-cyan { color: #c7f4ff; background: linear-gradient(145deg, rgba(87,200,255,.19), rgba(93,83,219,.13)); }
.podium-card h3 { margin: 0 0 8px; font-family: Unbounded, sans-serif; font-size: 14px; letter-spacing: -.02em; }
.player-role { display: inline-flex; padding: 5px 7px; border-radius: 7px; color: #ad9aff; background: rgba(139,101,255,.08); border: 1px solid rgba(147,112,255,.13); font-size: 7px; font-weight: 800; letter-spacing: .09em; }
.galaxy-role { color: #a9ddff; background: rgba(76,162,255,.07); border-color: rgba(80,175,255,.13); }
.podium-card strong { display: block; margin-top: 14px; font-size: 15px; }
.podium-card strong small { color: #777d94; font-size: 8px; font-weight: 650; text-transform: uppercase; }
.podium-line { position: absolute; left: 24%; right: 24%; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(151,114,255,.62), transparent); }
.first .podium-line { background: linear-gradient(90deg, transparent, rgba(234,194,103,.55), transparent); }
.hidden-rank { display: none !important; }

.rank-table-wrap { border: 1px solid var(--stroke); border-radius: 18px; overflow: hidden; background: rgba(11,14,27,.66); margin-bottom: 20px; }
.rank-table-head, .rank-row { display: grid; grid-template-columns: 60px minmax(180px, 1.2fr) minmax(130px, .8fr) minmax(160px, .9fr); align-items: center; }
.rank-table-head { min-height: 43px; padding: 0 18px; color: #656b80; background: rgba(255,255,255,.015); border-bottom: 1px solid rgba(255,255,255,.055); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.rank-row { min-height: 66px; padding: 0 18px; transition: .15s; }
.rank-row + .rank-row { border-top: 1px solid rgba(255,255,255,.05); }
.rank-row:hover { background: rgba(255,255,255,.015); }
.rank-pos { color: #777c92; font-family: Unbounded, sans-serif; font-size: 10px; font-weight: 700; }
.rank-player { display: flex; align-items: center; gap: 11px; min-width: 0; }
.rank-player b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.mini-avatar { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 9px; background: linear-gradient(145deg, rgba(139,102,255,.16), rgba(80,96,180,.08)); border: 1px solid rgba(255,255,255,.08); color: #bdafff; font-family: Unbounded, sans-serif; font-size: 9px; font-style: normal; font-weight: 800; }
.role-pill { display: inline-flex; padding: 5px 7px; border-radius: 7px; color: #aa96ff; background: rgba(135,97,255,.07); border: 1px solid rgba(147,112,255,.11); font-size: 7px; font-style: normal; font-weight: 800; letter-spacing: .06em; }
.role-pill.galaxy { color: #9edaff; background: rgba(76,162,255,.06); border-color: rgba(80,175,255,.1); }
.rank-row > strong { color: #c8cbd8; font-size: 10px; font-weight: 700; text-align: right; }
.rank-note { margin: 0; }

@media (max-width: 900px) {
  .page-hero { min-height: 330px; grid-template-columns: 1fr .55fr; padding-top: 60px; }
  .rules-orbit, .rank-orbit { height: 220px; transform: scale(.86); }
  .rules-layout { grid-template-columns: 1fr; }
  .rules-sidebar { position: static; }
  .rules-sidebar-card { overflow-x: auto; scrollbar-width: none; }
  .rules-sidebar-card::-webkit-scrollbar { display: none; }
  .rules-nav { display: flex; min-width: max-content; }
  .rules-nav a { white-space: nowrap; }
  .rules-help-card { display: none; }
  .podium { gap: 10px; }
}

@media (max-width: 700px) {
  .page-hero { grid-template-columns: 1fr; min-height: auto; padding: 47px 0 40px; }
  .page-hero h1 { font-size: clamp(38px, 12vw, 54px); }
  .page-hero-copy > p { font-size: 13px; }
  .rules-orbit, .rank-orbit { display: none; }
  .rules-layout, .leaderboard-section { padding-top: 35px; padding-bottom: 60px; }
  .rule-item { grid-template-columns: 40px minmax(0, 1fr); padding: 17px 15px; gap: 9px; }
  .rule-item p { font-size: 10px; }
  .leaderboard-toolbar { align-items: flex-start; flex-direction: column; }
  .rank-tabs { flex-wrap: nowrap; width: calc(100vw - 28px); overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .rank-tabs::-webkit-scrollbar { display: none; }
  .rank-tab { white-space: nowrap; }
  .podium { grid-template-columns: 1fr; align-items: stretch; }
  .podium-card.first { order: -1; }
  .podium-card.first, .podium-card.second, .podium-card.third { min-height: 0; padding: 19px 17px; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 13px; text-align: left; align-items: center; }
  .podium-place { position: static; grid-row: 1 / 3; width: 31px; height: 31px; }
  .player-avatar, .first .player-avatar { width: 45px; height: 45px; margin: 0; grid-row: 1 / 3; display: none; }
  .podium-card h3 { margin: 0 0 4px; font-size: 12px; }
  .player-role { justify-self: start; }
  .podium-card strong { margin: 0; grid-column: 3; grid-row: 1 / 3; text-align: right; font-size: 12px; }
  .crown { display: none; }
  .rank-table-wrap { overflow-x: auto; }
  .rank-table-head, .rank-row { min-width: 650px; }
}

@media (max-width: 440px) {
  .page-hero h1 { font-size: 37px; }
  .page-meta-row span { font-size: 8px; }
  .rules-sidebar-card { margin-inline: -2px; }
  .rules-notice { padding: 15px; }
  .rule-section-head h2 { font-size: 16px; }
  .podium-card strong small { display: none; }
}

/* Purchase duration */
.selected-product-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.selected-product-info > span { font-weight: 800; }
.selected-product-info small { color: #858ba2; font-size: 9px; font-weight: 700; }
.duration-block { margin: 0 0 18px; }
.duration-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.duration-option {
  min-width: 0;
  min-height: 67px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 11px;
  background: rgba(255,255,255,.025);
  color: #9ca2b8;
  cursor: pointer;
  transition: .18s ease;
}
.duration-option span { font-size: 10px; font-weight: 800; white-space: nowrap; }
.duration-option b { color: #d6d9e6; font-size: 10px; font-weight: 800; }
.duration-option:hover { border-color: rgba(151,114,255,.25); background: rgba(132,95,255,.07); color: #fff; }
.duration-option.active {
  border-color: rgba(161,126,255,.48);
  background: linear-gradient(145deg, rgba(123,88,248,.22), rgba(153,104,255,.08));
  box-shadow: inset 0 0 0 1px rgba(170,141,255,.08), 0 10px 30px rgba(91,59,194,.10);
  color: #fff;
}
.duration-option.active b { color: #cfc1ff; }
.duration-block[hidden] { display: none !important; }

@media (max-width: 440px) {
  .duration-options { grid-template-columns: 1fr; }
  .duration-option { min-height: 52px; flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (max-width: 440px) {
  .privilege-card .command-list li { grid-template-columns: 1fr; gap: 6px; align-items: start; }
  .privilege-card .command-list span { font-size: 9px; }
}

/* ===== LunarX Store v4: compact product cards + tabbed purchase modal ===== */

/* Product grid */
.products-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
  gap: 16px;
}

.shop-card {
  --accent-rgb: 145, 112, 255;
  position: relative;
  min-height: 318px;
  padding: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 20px;
  background:
    radial-gradient(circle at 85% 13%, rgba(var(--accent-rgb), .12), transparent 28%),
    linear-gradient(180deg, rgba(18,21,39,.96), rgba(9,12,24,.985));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
  overflow: hidden;
  isolation: isolate;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.shop-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .32;
  background-image:
    radial-gradient(circle at 10% 25%, rgba(255,255,255,.8) 0 1px, transparent 1.2px),
    radial-gradient(circle at 72% 78%, rgba(255,255,255,.5) 0 1px, transparent 1.2px),
    radial-gradient(circle at 92% 42%, rgba(255,255,255,.42) 0 1px, transparent 1.2px);
}

.shop-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .72), transparent);
  opacity: .72;
}

.shop-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), .30);
  box-shadow:
    0 20px 55px rgba(0,0,0,.24),
    0 0 38px rgba(var(--accent-rgb), .055),
    inset 0 1px 0 rgba(255,255,255,.035);
}

.shop-card.featured {
  border-color: rgba(var(--accent-rgb), .23);
  background:
    radial-gradient(circle at 82% 10%, rgba(var(--accent-rgb), .17), transparent 32%),
    linear-gradient(180deg, rgba(24,23,45,.98), rgba(10,12,25,.99));
}

.nova-card { --accent-rgb: 126, 103, 255; }
.starlord-card { --accent-rgb: 166, 112, 255; }
.galaxy-card { --accent-rgb: 76, 166, 255; }
.lunar-case { --accent-rgb: 129, 107, 255; }
.singularity-case { --accent-rgb: 183, 98, 255; }
.currency-card { --accent-rgb: 64, 194, 232; }

.product-card-top {
  padding: 17px 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-kind {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0 8px;
  border: 1px solid rgba(var(--accent-rgb), .20);
  border-radius: 7px;
  background: rgba(var(--accent-rgb), .07);
  color: rgba(213,204,244,.70);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-index {
  color: rgba(193,198,218,.32);
  font-family: Unbounded, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
}

.product-card-main {
  min-height: 123px;
  padding: 13px 18px 11px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 98px;
  gap: 15px;
  align-items: center;
}

.product-card-copy {
  min-width: 0;
}

.product-card-copy h3 {
  margin: 0;
  color: #f1f0f6;
  font-family: Unbounded, sans-serif;
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.1;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}

.product-card-copy p {
  max-width: 240px;
  margin: 10px 0 0;
  color: #7d8399;
  font-size: 10px;
  line-height: 1.55;
}

.product-art {
  position: relative;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  justify-self: end;
  border: 1px solid rgba(var(--accent-rgb), .18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 40%, rgba(var(--accent-rgb), .22), transparent 65%),
    rgba(255,255,255,.018);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 18px 42px rgba(var(--accent-rgb), .09);
  overflow: hidden;
}

.product-art::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  top: 15px;
  right: 14px;
  border-radius: 50%;
  background: rgba(220,209,255,.92);
  box-shadow:
    -50px 43px 0 rgba(220,209,255,.34),
    -30px -4px 0 rgba(220,209,255,.26);
}

.product-art-ring {
  position: absolute;
  width: 112px;
  height: 44px;
  border: 1px solid rgba(var(--accent-rgb), .22);
  border-radius: 50%;
  transform: rotate(-16deg);
}

.product-art-ring::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  right: 8px;
  top: 5px;
  border-radius: 50%;
  background: rgb(var(--accent-rgb));
  box-shadow: 0 0 16px rgba(var(--accent-rgb), .55);
}

.privilege-art img {
  position: relative;
  z-index: 2;
  width: 68px;
  height: 68px;
  display: block;
  object-fit: cover;
  border-radius: 18px;
  transform: rotate(-2deg);
  filter: saturate(.92) contrast(1.02);
}

.starlord-card .privilege-art img { transform: rotate(2deg); }

.symbol-art b {
  position: relative;
  z-index: 2;
  color: #dfd6ff;
  font-family: Unbounded, sans-serif;
  font-size: 31px;
  line-height: 1;
  text-shadow: 0 0 28px rgba(var(--accent-rgb), .34);
}

.currency-art b {
  font-size: 18px;
  letter-spacing: -.05em;
  color: #c8f5ff;
}

.product-highlights {
  margin: 0 18px 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.product-highlights span {
  min-width: 0;
  min-height: 42px;
  padding: 8px 7px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 10px;
  background: rgba(255,255,255,.018);
  color: #747a90;
  font-size: 7px;
  font-weight: 700;
  line-height: 1.25;
}

.product-highlights b {
  overflow: hidden;
  color: #c8cbd8;
  font-size: 9px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-card .product-footer {
  margin-top: auto;
  padding: 14px 18px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(255,255,255,.055);
  background: rgba(0,0,0,.09);
}

.price-wrap {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  column-gap: 5px;
}

.price-wrap > span,
.price-wrap > small {
  color: #62687d;
  font-size: 8px;
  font-weight: 700;
}

.price-wrap > small {
  grid-column: 1 / -1;
  margin-top: 2px;
}

.price-wrap .price {
  color: #f4f3f8;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -.045em;
}

.shop-card .buy-btn {
  min-width: 108px;
  height: 40px;
  padding: 0 13px 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(var(--accent-rgb), .29);
  border-radius: 11px;
  background: rgba(var(--accent-rgb), .10);
  color: #ded9ee;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: .18s ease;
}

.shop-card .buy-btn i {
  color: rgba(224,215,255,.58);
  font-style: normal;
  font-size: 13px;
  transition: transform .18s ease;
}

.shop-card .buy-btn:hover {
  border-color: rgba(var(--accent-rgb), .48);
  background: rgba(var(--accent-rgb), .18);
  color: #fff;
}

.shop-card .buy-btn:hover i {
  transform: translateX(2px);
}

/* Purchase modal */
.purchase-modal-wide {
  width: min(980px, 100%);
  max-height: min(760px, calc(100vh - 34px));
  padding: 0;
  overflow: hidden;
}

.purchase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(350px, .82fr);
  min-height: 590px;
}

.purchase-product-panel {
  min-width: 0;
  padding: 27px 28px 28px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 10% 0%, rgba(128,91,255,.14), transparent 34%),
    linear-gradient(180deg, rgba(18,21,40,.99), rgba(9,12,24,.99));
  border-right: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
}

.purchase-product-head {
  min-width: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 17px;
  align-items: center;
}

.modal-product-visual {
  width: 72px;
  height: 72px;
  margin: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(159,126,255,.20);
  border-radius: 19px;
  background:
    radial-gradient(circle at 50% 35%, rgba(140,100,255,.20), transparent 66%),
    rgba(255,255,255,.02);
  color: #d9cfff;
  font-family: Unbounded, sans-serif;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 16px 40px rgba(65,41,138,.16);
  overflow: hidden;
}

.modal-product-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.purchase-product-copy {
  min-width: 0;
}

.purchase-product-copy .product-kind {
  margin-bottom: 8px;
}

.purchase-product-copy h2 {
  margin: 0;
  color: #f3f2f8;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -.04em;
}

.purchase-description {
  max-width: 510px;
  margin: 7px 0 0;
  color: #83899f;
  font-size: 10px;
  line-height: 1.55;
}

.purchase-tabs {
  margin-top: 24px;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 12px;
  background: rgba(0,0,0,.14);
}

.purchase-tabs[hidden] {
  display: none !important;
}

.purchase-tab {
  min-width: 0;
  height: 37px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #777d94;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
  transition: .17s ease;
}

.purchase-tab span {
  display: inline-grid;
  min-width: 17px;
  height: 17px;
  margin-left: 5px;
  place-items: center;
  border-radius: 99px;
  background: rgba(255,255,255,.055);
  color: #949aaf;
  font-size: 7px;
}

.purchase-tab:hover {
  color: #c5c8d5;
}

.purchase-tab.active {
  background: rgba(132,96,255,.12);
  color: #d7ccff;
  box-shadow: inset 0 0 0 1px rgba(156,123,255,.12);
}

.purchase-info-shell {
  min-height: 0;
  margin-top: 12px;
  flex: 1;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 14px;
  background: rgba(0,0,0,.09);
  overflow: hidden;
}

.purchase-info-shell.single-product {
  margin-top: 24px;
}

.purchase-tab-panel {
  height: 100%;
  max-height: 365px;
  padding: 16px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(150,117,255,.30) transparent;
}

.purchase-tab-panel[hidden] {
  display: none !important;
}

.purchase-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.purchase-stat {
  min-width: 0;
  padding: 12px;
  display: grid;
  gap: 5px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 11px;
  background: rgba(255,255,255,.018);
}

.purchase-stat span {
  color: #696f84;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.purchase-stat b {
  overflow: hidden;
  color: #d5d7e2;
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.purchase-about {
  margin-top: 13px;
  padding: 14px 15px;
  border: 1px solid rgba(147,113,255,.08);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(126,91,255,.05), rgba(255,255,255,.012));
}

.purchase-section-label {
  color: #a598ce;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.purchase-about p {
  margin: 8px 0 0;
  color: #81879c;
  font-size: 10px;
  line-height: 1.6;
}

.purchase-command-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.purchase-command-item {
  min-width: 0;
  min-height: 72px;
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(151,114,255,.085);
  border-radius: 11px;
  background: rgba(125,91,255,.035);
}

.purchase-command-item code {
  max-width: 100%;
  padding: 5px 7px;
  overflow: hidden;
  border: 1px solid rgba(151,114,255,.15);
  border-radius: 7px;
  background: rgba(125,91,255,.07);
  color: #cbbfff;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.purchase-command-item span {
  color: #7d8398;
  font-size: 8px;
  line-height: 1.4;
}

.purchase-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.purchase-feature-item {
  min-width: 0;
  min-height: 88px;
  padding: 12px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 11px;
  background: rgba(255,255,255,.017);
}

.purchase-feature-item > i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(151,114,255,.14);
  border-radius: 9px;
  background: rgba(126,91,255,.07);
  color: #cbbfff;
  font-style: normal;
  font-size: 11px;
}

.purchase-feature-item > div {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.purchase-feature-item b {
  color: #d4d6e2;
  font-size: 9px;
  font-weight: 800;
}

.purchase-feature-item span {
  color: #767c91;
  font-size: 8px;
  line-height: 1.45;
}

.purchase-form-panel {
  min-width: 0;
  padding: 28px;
  overflow-y: auto;
  background: linear-gradient(180deg, #121527, #0a0d1a);
}

.purchase-form-panel h2 {
  margin: 10px 0 6px;
  font-size: 22px;
}

.purchase-form-panel .modal-subtitle {
  margin-bottom: 19px;
  font-size: 9px;
  line-height: 1.5;
}

.selected-product {
  margin-bottom: 17px;
  padding: 12px 13px;
  border-radius: 11px;
}

.selected-product-info {
  display: grid;
  gap: 3px;
}

.selected-product-info > span {
  color: #eceaf3;
  font-weight: 800;
}

.selected-product-info small {
  color: #747a90;
  font-size: 8px;
}

.duration-block {
  margin-bottom: 17px;
}

.duration-block[hidden] {
  display: none !important;
}

.duration-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.duration-option {
  min-width: 0;
  min-height: 61px;
  padding: 9px;
  display: grid;
  gap: 5px;
  text-align: left;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  background: rgba(0,0,0,.12);
  color: #858ba0;
  cursor: pointer;
  transition: .17s ease;
}

.duration-option span {
  font-size: 8px;
  font-weight: 750;
  white-space: nowrap;
}

.duration-option b {
  color: #d0d2de;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.duration-option:hover {
  border-color: rgba(151,114,255,.25);
  background: rgba(132,96,255,.05);
}

.duration-option.active {
  border-color: rgba(160,127,255,.40);
  background: rgba(132,96,255,.115);
  box-shadow: inset 0 0 0 1px rgba(160,127,255,.05);
}

.duration-option.active span {
  color: #cdbfff;
}

.duration-option.active b {
  color: #fff;
}

.purchase-notice {
  margin: 13px 0 15px;
  padding: 10px 11px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(92,188,232,.10);
  border-radius: 10px;
  background: rgba(58,167,215,.035);
}

.purchase-notice > span {
  color: #9ee7ff;
  font-size: 11px;
  text-align: center;
}

.purchase-notice p {
  margin: 0;
  color: #747e94;
  font-size: 8px;
  line-height: 1.45;
}

.modal-pay {
  margin-top: 14px;
}

@media (max-width: 1100px) {
  .product-card-main {
    grid-template-columns: minmax(0, 1fr) 86px;
  }

  .product-art {
    width: 82px;
    height: 82px;
    border-radius: 21px;
  }

  .privilege-art img {
    width: 62px;
    height: 62px;
    border-radius: 16px;
  }

  .product-highlights span {
    padding-inline: 6px;
  }
}

@media (max-width: 980px) {
  .shop-card {
    min-height: 305px;
  }

  .product-card-main {
    grid-template-columns: minmax(0, 1fr) 92px;
  }

  .purchase-layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  }

  .purchase-product-panel,
  .purchase-form-panel {
    padding: 24px;
  }
}

@media (max-width: 760px) {
  .purchase-modal-wide {
    max-height: calc(100vh - 16px);
    overflow-y: auto;
  }

  .purchase-layout {
    display: block;
    min-height: 0;
  }

  .purchase-product-panel {
    padding: 22px 18px 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
    overflow: visible;
  }

  .purchase-product-head {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 13px;
  }

  .modal-product-visual {
    width: 58px;
    height: 58px;
    border-radius: 15px;
  }

  .purchase-product-copy h2 {
    font-size: 21px;
  }

  .purchase-tabs {
    margin-top: 18px;
  }

  .purchase-info-shell,
  .purchase-info-shell.single-product {
    margin-top: 10px;
  }

  .purchase-tab-panel {
    max-height: 280px;
    padding: 13px;
  }

  .purchase-form-panel {
    padding: 22px 18px 24px;
    overflow: visible;
  }

  .modal-close {
    position: fixed;
    top: max(14px, env(safe-area-inset-top));
    right: 14px;
    z-index: 5;
    background: rgba(9,11,22,.90);
    backdrop-filter: blur(8px);
  }
}

@media (max-width: 700px) {
  .shop-card {
    min-height: 292px;
  }

  .product-card-main {
    min-height: 112px;
    padding-top: 10px;
  }

  .product-card-copy h3 {
    font-size: 19px;
  }

  .product-card-copy p {
    max-width: 310px;
  }

  .product-highlights {
    margin-bottom: 12px;
  }
}

@media (max-width: 520px) {
  .product-card-main {
    grid-template-columns: minmax(0, 1fr) 82px;
    gap: 12px;
  }

  .product-art {
    width: 78px;
    height: 78px;
    border-radius: 19px;
  }

  .privilege-art img {
    width: 58px;
    height: 58px;
    border-radius: 15px;
  }

  .product-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .product-highlights span {
    min-height: 39px;
    font-size: 6.5px;
  }

  .shop-card .product-footer {
    padding: 13px 16px 15px;
  }

  .purchase-tabs {
    grid-template-columns: 1fr 1fr 1fr;
    overflow-x: auto;
  }

  .purchase-tab {
    padding-inline: 7px;
    font-size: 8px;
  }

  .purchase-stat-grid {
    grid-template-columns: 1fr;
  }

  .purchase-stat {
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: center;
  }

  .purchase-command-list,
  .purchase-feature-list {
    grid-template-columns: 1fr;
  }

  .duration-options {
    grid-template-columns: 1fr;
  }

  .duration-option {
    min-height: 48px;
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (max-width: 390px) {
  .product-card-top {
    padding-inline: 15px;
  }

  .product-card-main {
    padding-inline: 15px;
    grid-template-columns: minmax(0, 1fr) 72px;
  }

  .product-art {
    width: 70px;
    height: 70px;
  }

  .privilege-art img {
    width: 52px;
    height: 52px;
  }

  .product-highlights {
    margin-inline: 15px;
  }

  .product-highlights b {
    font-size: 8px;
  }

  .shop-card .buy-btn {
    min-width: 98px;
  }
}

/* ===== Store v6: minimal product cards ===== */
.products-grid {
  align-items: stretch;
  gap: 18px;
}

.shop-card {
  --accent-rgb: 145, 112, 255;
  position: relative;
  min-height: 302px;
  padding: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--accent-rgb), .09), transparent 42%),
    linear-gradient(180deg, rgba(17,20,37,.98), rgba(9,12,24,.99));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  overflow: hidden;
  isolation: isolate;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.shop-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .24;
  background-image:
    radial-gradient(circle at 13% 20%, rgba(255,255,255,.75) 0 1px, transparent 1.2px),
    radial-gradient(circle at 84% 18%, rgba(255,255,255,.48) 0 1px, transparent 1.2px),
    radial-gradient(circle at 72% 72%, rgba(255,255,255,.40) 0 1px, transparent 1.2px);
}

.shop-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .66), transparent);
  opacity: .7;
}

.shop-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), .30);
  box-shadow:
    0 20px 50px rgba(0,0,0,.25),
    0 0 34px rgba(var(--accent-rgb), .055),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.shop-card.featured {
  border-color: rgba(var(--accent-rgb), .25);
}

.nova-card { --accent-rgb: 126, 103, 255; }
.starlord-card { --accent-rgb: 166, 112, 255; }
.galaxy-card { --accent-rgb: 76, 166, 255; }
.lunar-case { --accent-rgb: 129, 107, 255; }
.singularity-case { --accent-rgb: 183, 98, 255; }
.currency-card { --accent-rgb: 64, 194, 232; }

.discount-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  min-width: 52px;
  height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--accent-rgb), .34);
  border-radius: 9px;
  background: rgba(var(--accent-rgb), .14);
  color: #eee9ff;
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), .10);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .03em;
}

.product-visual-stage {
  position: relative;
  min-height: 188px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.055);
}

.product-visual-stage::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .15), transparent 68%);
  filter: blur(2px);
  pointer-events: none;
}

.product-art {
  position: relative;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--accent-rgb), .20);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 40%, rgba(var(--accent-rgb), .20), transparent 66%),
    rgba(255,255,255,.018);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 18px 42px rgba(var(--accent-rgb), .09);
  overflow: hidden;
}

.product-art::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  top: 18px;
  right: 17px;
  border-radius: 50%;
  background: rgba(225,216,255,.92);
  box-shadow:
    -62px 53px 0 rgba(225,216,255,.30),
    -34px -5px 0 rgba(225,216,255,.22);
}

.product-art-ring {
  position: absolute;
  width: 140px;
  height: 54px;
  border: 1px solid rgba(var(--accent-rgb), .22);
  border-radius: 50%;
  transform: rotate(-16deg);
}

.product-art-ring::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  right: 9px;
  top: 7px;
  border-radius: 50%;
  background: rgb(var(--accent-rgb));
  box-shadow: 0 0 16px rgba(var(--accent-rgb), .55);
}

.privilege-art img {
  position: relative;
  z-index: 2;
  width: 86px;
  height: 86px;
  display: block;
  object-fit: cover;
  border-radius: 21px;
  transform: rotate(-2deg);
  filter: saturate(.94) contrast(1.02);
}

.starlord-card .privilege-art img { transform: rotate(2deg); }

.symbol-art b {
  position: relative;
  z-index: 2;
  color: #e3dcff;
  font-family: Unbounded, sans-serif;
  font-size: 38px;
  line-height: 1;
  text-shadow: 0 0 30px rgba(var(--accent-rgb), .36);
}

.currency-art b {
  color: #caf7ff;
  font-size: 23px;
  letter-spacing: -.05em;
}

.product-card-content {
  flex: 1;
  padding: 17px 18px 18px;
  display: flex;
  flex-direction: column;
}

.product-card-content h3 {
  min-height: 46px;
  margin: 0;
  display: flex;
  align-items: flex-start;
  color: #f3f2f8;
  font-family: Unbounded, sans-serif;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.15;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}

.product-buy-row {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.shop-card .price-wrap {
  min-width: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 7px;
}

.shop-card .price-prefix {
  color: #697086;
  font-size: 8px;
  font-weight: 750;
  text-transform: lowercase;
}

.shop-card .price {
  color: #f6f4fa;
  font-size: 21px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.old-price {
  color: #656b7f;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration-thickness: 1px;
}

.shop-card .buy-btn {
  flex: 0 0 auto;
  min-width: 108px;
  height: 40px;
  padding: 0 13px 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(var(--accent-rgb), .30);
  border-radius: 11px;
  background: rgba(var(--accent-rgb), .10);
  color: #e3deef;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: .18s ease;
}

.shop-card .buy-btn i {
  color: rgba(229,221,255,.62);
  font-style: normal;
  font-size: 13px;
  transition: transform .18s ease;
}

.shop-card .buy-btn:hover {
  border-color: rgba(var(--accent-rgb), .50);
  background: rgba(var(--accent-rgb), .18);
  color: #fff;
}

.shop-card .buy-btn:hover i {
  transform: translateX(2px);
}

/* Privilege modal starts directly from commands/features. */
#purchaseTabs:not([hidden]) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.purchase-description[hidden] {
  display: none;
}

@media (max-width: 980px) {
  .shop-card {
    min-height: 290px;
  }

  .product-visual-stage {
    min-height: 174px;
  }

  .product-art {
    width: 104px;
    height: 104px;
    border-radius: 27px;
  }

  .privilege-art img {
    width: 78px;
    height: 78px;
    border-radius: 19px;
  }
}

@media (max-width: 700px) {
  .products-grid {
    gap: 14px;
  }

  .shop-card {
    min-height: 278px;
  }

  .product-visual-stage {
    min-height: 164px;
  }

  .product-card-content {
    padding: 16px;
  }

  .product-card-content h3 {
    min-height: 42px;
    font-size: 18px;
  }
}

@media (max-width: 520px) {
  .shop-card {
    min-height: 258px;
    border-radius: 18px;
  }

  .product-visual-stage {
    min-height: 146px;
  }

  .product-art {
    width: 92px;
    height: 92px;
    border-radius: 24px;
  }

  .product-art-ring {
    width: 116px;
    height: 46px;
  }

  .privilege-art img {
    width: 69px;
    height: 69px;
    border-radius: 17px;
  }

  .symbol-art b {
    font-size: 32px;
  }

  .currency-art b {
    font-size: 20px;
  }

  .discount-badge {
    top: 13px;
    right: 13px;
    height: 26px;
  }

  .product-card-content h3 {
    min-height: 40px;
    font-size: 17px;
  }

  .shop-card .price {
    font-size: 19px;
  }

  .shop-card .buy-btn {
    min-width: 102px;
    height: 39px;
  }

  #purchaseTabs:not([hidden]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 390px) {
  .product-card-content {
    padding-inline: 14px;
  }

  .product-buy-row {
    gap: 10px;
  }

  .shop-card .buy-btn {
    min-width: 96px;
    padding-inline: 12px;
  }
}

/* ===== Store v7: centered product artwork ===== */
.shop-card .product-visual-stage {
  position: relative;
  display: block;
}

.shop-card .product-art {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
}

.shop-card .product-visual-stage::before {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.shop-card .privilege-art img,
.shop-card .starlord-card .privilege-art img {
  transform: none;
}

/* ===== LunarX shop v8 overrides ===== */
.shop-section .products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.shop-section .product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(115, 132, 255, .18);
  background:
    radial-gradient(circle at 50% 18%, rgba(125, 91, 255, .18), transparent 28%),
    linear-gradient(180deg, rgba(15, 19, 39, .95), rgba(8, 11, 23, .98));
  box-shadow: 0 26px 70px rgba(0, 0, 0, .34);
}

.shop-section .product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(109, 128, 255, .12), transparent 36%);
  opacity: .85;
  pointer-events: none;
}

.shop-section .product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(132, 157, 255, .28);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .42);
}

.shop-section .product-card.hidden {
  display: none;
}

.discount-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 72px;
  padding: 8px 12px 9px;
  border-radius: 14px;
  border: 1px solid rgba(196, 180, 255, .22);
  background: linear-gradient(180deg, rgba(127, 90, 255, .35), rgba(60, 33, 136, .52));
  box-shadow: 0 12px 30px rgba(57, 31, 138, .28), inset 0 1px 0 rgba(255,255,255,.08);
  color: #fff;
  text-align: center;
}

.discount-badge small {
  display: block;
  font-size: 9px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(236, 232, 255, .74);
}

.discount-badge b {
  display: block;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
}

.shop-section .product-visual-stage {
  position: relative;
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  min-height: 196px;
  padding: 30px 22px 8px;
}

.shop-section .product-visual-stage::before {
  content: "";
  position: absolute;
  inset: 24px 34px auto;
  height: 1px;
  background: rgba(255,255,255,.08);
  opacity: .3;
}

.shop-section .product-art {
  position: relative;
  width: 138px;
  height: 138px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 28px;
  border: 1px solid rgba(133, 156, 255, .2);
  background: linear-gradient(180deg, rgba(24, 32, 61, .82), rgba(11, 16, 32, .84));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 30px rgba(0,0,0,.28);
  overflow: hidden;
}

.shop-section .product-art::after {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 1px solid rgba(132, 109, 255, .15);
  transform: rotate(-12deg);
}

.shop-section .product-art-ring,
.shop-section .product-art-ring::after {
  position: absolute;
  display: block;
  border-radius: 999px;
  border: 1px solid rgba(128, 150, 255, .18);
}

.shop-section .product-art-ring {
  inset: 24px -18px auto;
  height: 52px;
  transform: rotate(15deg);
}

.shop-section .product-art-ring::after {
  content: "";
  inset: -12px 14px;
  opacity: .6;
}

.shop-section .product-art img {
  position: relative;
  z-index: 1;
  width: 84px;
  height: 84px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.34));
}

.shop-section .product-card-content {
  position: relative;
  z-index: 1;
  padding: 22px 18px 18px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, rgba(8, 11, 22, .18), rgba(8, 11, 22, .62));
}

.shop-section .product-card-content h3 {
  margin: 0 0 18px;
  font-family: Unbounded, sans-serif;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.12;
  letter-spacing: -.03em;
}

.shop-section .product-buy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.price-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
}

.price-wrap .price {
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}

.price-prefix {
  font-size: 11px;
  color: #7c839c;
  transform: translateY(-2px);
}

.old-price {
  font-size: 12px;
  color: #727990;
  text-decoration-thickness: 1.5px;
}

.price-note {
  display: block;
  width: 100%;
  margin-top: 4px;
  font-size: 11px;
  color: #97a0bc;
}

.price-wrap-rate {
  align-items: center;
}

.shop-section .buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 126px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(115, 145, 255, .34);
  background: linear-gradient(180deg, rgba(41, 55, 105, .74), rgba(13, 18, 42, .92));
  color: #eef1ff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.shop-section .buy-btn i {
  font-style: normal;
  opacity: .74;
  transition: transform .18s ease;
}

.shop-section .buy-btn:hover i {
  transform: translateX(3px);
}

/* Modal */
.purchase-modal {
  width: min(1160px, 96vw);
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(140, 127, 255, .24);
  background: linear-gradient(180deg, rgba(17, 20, 38, .98), rgba(8, 10, 22, .985));
  box-shadow: 0 45px 120px rgba(0, 0, 0, .6);
}

.purchase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, .82fr);
  gap: 24px;
  align-items: stretch;
}

.purchase-product-panel,
.purchase-form-panel {
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, rgba(19, 23, 45, .82), rgba(11, 14, 29, .84));
}

.purchase-product-panel {
  padding: 26px;
}

.purchase-form-panel {
  padding: 26px;
}

.purchase-modal.mode-simple,
.purchase-modal.mode-currency {
  width: min(560px, 96vw);
}

.purchase-modal.mode-simple .purchase-layout,
.purchase-modal.mode-currency .purchase-layout {
  grid-template-columns: 1fr;
}

.purchase-modal.mode-simple .purchase-product-panel,
.purchase-modal.mode-currency .purchase-product-panel {
  display: none;
}

.purchase-product-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.modal-product-visual {
  flex: 0 0 86px;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  border: 1px solid rgba(125, 145, 255, .22);
  background: linear-gradient(180deg, rgba(24, 30, 58, .9), rgba(13, 18, 38, .92));
}

.modal-product-visual img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.purchase-product-copy h2,
.purchase-form-panel h2 {
  margin: 8px 0 0;
  font-family: Unbounded, sans-serif;
  letter-spacing: -.03em;
}

.product-kind,
.modal-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(144, 128, 255, .18);
  background: rgba(122, 93, 255, .08);
  color: #c9c2ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.purchase-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px;
  margin-bottom: 20px;
}

.purchase-tab {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.03);
  color: #9fa6be;
  font-size: 12px;
  font-weight: 700;
}

.purchase-tab span {
  margin-left: 6px;
  color: #fff;
}

.purchase-tab.active {
  color: #fff;
  border-color: rgba(143, 125, 255, .34);
  background: rgba(129, 96, 255, .14);
}

.purchase-info-shell {
  min-height: 510px;
}

.purchase-tab-panel.active {
  display: block;
}

.purchase-command-list {
  display: grid;
  gap: 11px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.purchase-command-item,
.purchase-feature-item {
  min-width: 0;
  padding: 14px 15px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
}

.purchase-command-item code {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 10px;
  border: 1px solid rgba(143, 125, 255, .18);
  background: rgba(123, 92, 255, .08);
  color: #d8d3ff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
}

.purchase-command-item span,
.purchase-feature-item span {
  display: block;
  margin-top: 10px;
  color: #8e96ae;
  font-size: 12px;
  line-height: 1.5;
}

.purchase-feature-list {
  display: grid;
  gap: 12px;
}

.purchase-feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: flex-start;
}

.purchase-feature-item i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(120, 90, 255, .12);
  color: #d7d0ff;
  font-style: normal;
}

.purchase-feature-item b {
  display: block;
  font-size: 14px;
}

.purchase-form-panel .modal-subtitle {
  margin: 12px 0 0;
  color: #98a0bb;
  font-size: 13px;
  line-height: 1.55;
}

.selected-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  margin: 20px 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(143, 125, 255, .18);
  background: rgba(126, 95, 255, .08);
}

.selected-product-info span {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.selected-product-info small {
  display: block;
  margin-top: 6px;
  color: #9ca5be;
  font-size: 12px;
}

.selected-product b {
  font-size: 24px;
  line-height: 1;
  letter-spacing: -.03em;
}

.duration-block {
  margin-bottom: 16px;
}

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

.duration-option {
  min-height: 74px;
  padding: 12px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: #fff;
  text-align: left;
}

.duration-option span {
  display: block;
  font-size: 12px;
  color: #bfc6dc;
}

.duration-option b {
  display: block;
  margin-top: 8px;
  font-size: 16px;
}

.duration-option.active {
  border-color: rgba(143, 125, 255, .34);
  background: rgba(129, 96, 255, .13);
}

.currency-calc {
  margin-bottom: 16px;
}

.currency-rate,
.currency-summary,
.purchase-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
}

.currency-rate {
  margin-top: 12px;
}

.currency-rate span,
.currency-summary span {
  color: #96a0ba;
  font-size: 12px;
}

.currency-rate b,
.currency-summary b {
  font-size: 15px;
}

.currency-summary {
  margin-top: 10px;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: #d3d8e5;
  font-size: 12px;
  font-weight: 700;
}

.field {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
  color: #fff;
  padding: 0 14px;
}

.field:focus {
  border-color: rgba(145, 128, 255, .42);
  box-shadow: 0 0 0 3px rgba(145, 128, 255, .08);
  outline: none;
}

.purchase-notice {
  margin-top: 14px;
  justify-content: flex-start;
}

.purchase-notice span {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(129, 96, 255, .12);
}

.purchase-notice p {
  margin: 0;
  color: #9da5bc;
  font-size: 12px;
  line-height: 1.5;
}

.checkbox-row {
  margin: 16px 0 18px;
}

.modal-pay {
  width: 100%;
}

@media (max-width: 1180px) {
  .shop-section .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .purchase-modal.mode-privilege {
    width: min(96vw, 920px);
  }

  .purchase-modal.mode-privilege .purchase-layout {
    grid-template-columns: 1fr;
  }

  .purchase-command-list {
    grid-template-columns: 1fr;
  }

  .purchase-info-shell {
    min-height: auto;
  }
}

@media (max-width: 700px) {
  .shop-section .products-grid {
    grid-template-columns: 1fr;
  }

  .shop-section .product-card {
    min-height: 308px;
  }

  .shop-section .product-visual-stage {
    min-height: 178px;
  }

  .shop-section .product-art {
    width: 124px;
    height: 124px;
  }

  .shop-section .product-art img {
    width: 76px;
    height: 76px;
  }

  .purchase-modal,
  .purchase-modal.mode-simple,
  .purchase-modal.mode-currency,
  .purchase-modal.mode-privilege {
    width: min(96vw, 96vw);
    padding: 18px;
    border-radius: 20px;
  }

  .purchase-product-panel,
  .purchase-form-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .purchase-product-head {
    align-items: flex-start;
  }

  .purchase-tabs {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .duration-options {
    grid-template-columns: 1fr;
  }

  .selected-product {
    flex-direction: column;
    align-items: flex-start;
  }

  .selected-product b {
    font-size: 20px;
  }
}

/* ===== LunarX shop v9 refinements ===== */
.shop-section .product-card {
  min-height: 300px;
}

.shop-section .product-visual-stage {
  min-height: 156px;
  padding: 26px 18px 10px;
}

.shop-section .product-visual-stage::before {
  display: none;
}

.shop-section .product-art {
  width: 150px;
  height: 118px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18, 25, 49, .86), rgba(10, 15, 29, .92));
  margin-top: 8px;
}

.shop-section .product-art::after {
  inset: -16px -10px;
  transform: rotate(-8deg);
}

.shop-section .product-art-ring {
  inset: 30px -12px auto;
  height: 42px;
}

.shop-section .product-art img {
  width: 92px;
  height: 92px;
}

.shop-section .product-card-content {
  padding: 18px 18px 18px;
}

.shop-section .product-card-content h3 {
  margin: 0 0 14px;
  font-family: Inter, sans-serif;
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
  max-width: 95%;
  text-wrap: balance;
}

.shop-section .product-buy-row {
  gap: 12px;
}

.price-wrap .price {
  font-size: 18px;
}

.shop-section .buy-btn {
  min-width: 118px;
  min-height: 46px;
  font-size: 12px;
}

.discount-badge {
  min-width: auto;
  padding: 8px 12px;
  border-radius: 13px;
}

.discount-badge b {
  font-size: 16px;
  line-height: 1;
}

.discount-badge small {
  display: none;
}

@media (max-width: 700px) {
  .shop-section .product-card {
    min-height: 284px;
  }

  .shop-section .product-visual-stage {
    min-height: 146px;
    padding-top: 20px;
  }

  .shop-section .product-art {
    width: 136px;
    height: 108px;
  }

  .shop-section .product-art img {
    width: 82px;
    height: 82px;
  }

  .shop-section .product-card-content h3 {
    font-size: 15px;
  }
}

/* ===== LunarX shop v10 card template ===== */
.shop-section .product-card {
  min-height: 292px;
  padding: 0;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 14%, rgba(120, 92, 255, .16), transparent 30%),
    linear-gradient(180deg, rgba(12, 17, 34, .98), rgba(5, 8, 19, .98));
  border: 1px solid rgba(102, 119, 222, .18);
}

.shop-section .product-card::before {
  background: radial-gradient(circle at 50% 0%, rgba(115, 96, 255, .10), transparent 38%);
  opacity: 1;
}

.shop-section .product-visual-stage {
  min-height: 156px;
  padding: 18px 18px 4px;
  display: grid;
  place-items: center;
}

.shop-section .product-art {
  width: 100%;
  max-width: 170px;
  height: 118px;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.shop-section .product-art::before {
  content: "";
  position: absolute;
  width: 122px;
  height: 122px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 135, 255, .22), rgba(115, 92, 255, .12) 45%, transparent 72%);
  filter: blur(8px);
}

.shop-section .product-art::after {
  inset: 10px 12px;
  border-radius: 22px;
  border: 1px solid rgba(107, 126, 255, .20);
  transform: none;
}

.shop-section .product-art-ring {
  inset: 38px 4px auto;
  height: 34px;
  border-color: rgba(112, 132, 255, .14);
}

.shop-section .product-art-ring::after {
  inset: -8px 18px;
  border-color: rgba(129, 104, 255, .12);
}

.shop-section .product-art img {
  width: 88px;
  height: 88px;
  border-radius: 18px;
}

.shop-section .product-card-content {
  display: grid;
  gap: 12px;
  padding: 0 18px 18px;
  border-top: 0;
  background: transparent;
}

.shop-section .product-card-content h3 {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.02em;
  text-align: center;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}

.shop-section .product-buy-row {
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: initial;
}

.price-wrap {
  justify-content: center;
  text-align: center;
}

.price-wrap .price {
  font-size: 19px;
}

.price-prefix {
  margin-right: -2px;
}

.price-note {
  text-align: center;
}

.shop-section .buy-btn {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border-radius: 14px;
}

.discount-badge {
  top: 14px;
  left: 14px;
  right: auto;
  padding: 7px 12px;
  min-width: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(128, 95, 255, .40), rgba(58, 33, 129, .56));
}

.discount-badge b {
  font-size: 14px;
}

@media (max-width: 700px) {
  .shop-section .product-card {
    min-height: 276px;
  }

  .shop-section .product-visual-stage {
    min-height: 145px;
    padding-top: 14px;
  }

  .shop-section .product-art {
    max-width: 154px;
    height: 110px;
  }

  .shop-section .product-art::before {
    width: 112px;
    height: 112px;
  }

  .shop-section .product-art img {
    width: 82px;
    height: 82px;
  }

  .shop-section .product-card-content h3 {
    min-height: 38px;
    font-size: 15px;
  }
}

/* ===== LunarX shop v11 card template (inspired by reference) ===== */
.shop-section .products-grid {
  gap: 18px;
}

.shop-section .product-card {
  min-height: 376px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.05);
  background: linear-gradient(180deg, rgba(10,10,14,.98), rgba(4,4,7,.98));
  box-shadow: 0 18px 40px rgba(0,0,0,.24);
}

.shop-section .product-card::before {
  display: none;
}

.shop-section .product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(115, 150, 255, .18);
  box-shadow: 0 24px 50px rgba(0,0,0,.3);
}

.shop-section .product-visual-stage {
  min-height: 226px;
  padding: 0;
  margin-bottom: 16px;
}

.shop-section .product-art {
  width: 100%;
  max-width: none;
  height: 224px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(134, 151, 210, .95), rgba(124, 143, 204, .95));
  border: none;
  box-shadow: none;
  overflow: hidden;
}

.shop-section .product-art::before,
.shop-section .product-art::after,
.shop-section .product-art-ring,
.shop-section .product-art-ring::after {
  display: none;
}

.shop-section .product-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  filter: none;
}

.shop-section .product-card-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: transparent;
}

.shop-section .product-card-content h3 {
  margin: 0 0 18px;
  min-height: 72px;
  text-align: left;
  font-family: Inter, sans-serif;
  font-size: clamp(18px, 1.5vw, 20px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.02em;
  color: #f4f6ff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-section .product-buy-row {
  margin-top: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.price-wrap {
  justify-content: flex-start;
  align-items: flex-end;
  text-align: left;
  gap: 6px 8px;
}

.price-prefix {
  width: 100%;
  margin: 0 0 2px;
  transform: none;
  font-size: 12px;
  line-height: 1;
  color: #c0c9e9;
}

.price-wrap .price {
  font-size: 20px;
  line-height: 1;
  color: #ffffff;
}

.old-price {
  font-size: 12px;
  color: rgba(255,255,255,.35);
}

.price-note {
  width: 100%;
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.3;
  color: rgba(220,230,255,.62);
  text-align: left;
}

.shop-section .buy-btn {
  width: 108px;
  min-height: 46px;
  padding: 0 16px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, #57a9ff, #3490f5);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: none;
}

.shop-section .buy-btn:hover {
  background: linear-gradient(180deg, #68b4ff, #3e98fa);
  color: #fff;
}

.shop-section .buy-btn i {
  display: none;
}

.discount-badge {
  top: 24px;
  left: auto;
  right: 24px;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(14, 15, 20, .58);
  backdrop-filter: blur(8px);
  box-shadow: none;
}

.discount-badge b {
  font-size: 13px;
  color: #ffffff;
}

@media (max-width: 1180px) {
  .shop-section .product-card {
    min-height: 360px;
  }

  .shop-section .product-visual-stage {
    min-height: 210px;
  }

  .shop-section .product-art {
    height: 208px;
  }
}

@media (max-width: 700px) {
  .shop-section .products-grid {
    gap: 14px;
  }

  .shop-section .product-card {
    min-height: 334px;
    padding: 12px;
    border-radius: 18px;
  }

  .shop-section .product-visual-stage {
    min-height: 182px;
    margin-bottom: 14px;
  }

  .shop-section .product-art {
    height: 180px;
    border-radius: 15px;
  }

  .shop-section .product-art img {
    border-radius: 15px;
  }

  .shop-section .product-card-content h3 {
    min-height: 48px;
    margin-bottom: 14px;
    font-size: 16px;
  }

  .shop-section .buy-btn {
    width: 102px;
    min-height: 42px;
    font-size: 12px;
  }

  .price-wrap .price {
    font-size: 18px;
  }

  .discount-badge {
    top: 18px;
    right: 18px;
  }
}

/* ===== LunarX shop v12 tighten card spacing ===== */
.shop-section .product-card {
  min-height: 320px;
}

.shop-section .product-visual-stage {
  min-height: 194px;
  margin-bottom: 10px;
}

.shop-section .product-art {
  height: 192px;
  background: linear-gradient(180deg, rgba(17, 20, 35, .92), rgba(13, 16, 28, .96));
}

.shop-section .product-art img {
  object-fit: contain;
  object-position: center center;
  padding: 0;
}

.shop-section .product-card-content {
  padding: 0 0 0;
}

.shop-section .product-card-content h3 {
  min-height: auto;
  margin: 0 0 10px;
}

.shop-section .product-buy-row {
  margin-top: 0;
  gap: 10px;
}

.price-wrap {
  padding-bottom: 2px;
}

.price-prefix {
  margin: 0 0 1px;
}

@media (max-width: 1180px) {
  .shop-section .product-card {
    min-height: 306px;
  }

  .shop-section .product-visual-stage {
    min-height: 182px;
  }

  .shop-section .product-art {
    height: 180px;
  }
}

@media (max-width: 700px) {
  .shop-section .product-card {
    min-height: 294px;
  }

  .shop-section .product-visual-stage {
    min-height: 168px;
    margin-bottom: 10px;
  }

  .shop-section .product-art {
    height: 166px;
  }

  .shop-section .product-card-content h3 {
    margin-bottom: 8px;
  }
}

/* ===== LunarX shop v13 full image visibility fix ===== */
.shop-section .product-visual-stage {
  min-height: 210px;
}

.shop-section .product-art {
  height: 208px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  overflow: hidden;
}

.shop-section .product-art img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

@media (max-width: 1180px) {
  .shop-section .product-visual-stage {
    min-height: 198px;
  }

  .shop-section .product-art {
    height: 196px;
  }
}

@media (max-width: 700px) {
  .shop-section .product-visual-stage {
    min-height: 176px;
  }

  .shop-section .product-art {
    height: 174px;
    padding: 8px;
  }
}

/* ===== LunarX shop v14 centered icon cards ===== */
.shop-section .product-card {
  min-height: 322px;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(8, 11, 24, .98), rgba(3, 5, 14, .985));
  border: 1px solid rgba(94, 109, 206, .18);
}

.shop-section .product-card::before {
  display: block;
  background: radial-gradient(circle at 50% 16%, rgba(112, 87, 255, .15), transparent 34%);
  opacity: 1;
}

.shop-section .product-visual-stage {
  min-height: 182px;
  margin-bottom: 10px;
  padding: 10px 0 0;
  display: grid;
  place-items: center;
}

.shop-section .product-art {
  width: 176px;
  height: 176px;
  margin: 0 auto;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  border: 1px solid rgba(86, 103, 214, .24);
  background: linear-gradient(180deg, rgba(14, 18, 37, .92), rgba(8, 11, 24, .94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  overflow: hidden;
}

.shop-section .product-art::before,
.shop-section .product-art::after,
.shop-section .product-art-ring,
.shop-section .product-art-ring::after {
  display: none;
}

.shop-section .product-art img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  border-radius: 16px;
}

.shop-section .product-card-content {
  padding: 0;
  background: transparent;
}

.shop-section .product-card-content h3 {
  min-height: auto;
  margin: 0 0 12px;
  text-align: left;
  font-family: Inter, sans-serif;
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-section .product-buy-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.price-wrap {
  justify-content: flex-start;
  text-align: left;
}

.shop-section .buy-btn {
  width: 110px;
  min-width: 110px;
  min-height: 42px;
  border-radius: 11px;
}

.discount-badge {
  top: 20px;
  right: 20px;
  left: auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(12, 14, 24, .82);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
}

.discount-badge b {
  font-size: 13px;
}

@media (max-width: 1180px) {
  .shop-section .product-card {
    min-height: 312px;
  }

  .shop-section .product-visual-stage {
    min-height: 172px;
  }

  .shop-section .product-art {
    width: 164px;
    height: 164px;
  }
}

@media (max-width: 700px) {
  .shop-section .product-card {
    min-height: 298px;
    padding: 12px;
    border-radius: 18px;
  }

  .shop-section .product-visual-stage {
    min-height: 162px;
    margin-bottom: 10px;
    padding-top: 6px;
  }

  .shop-section .product-art {
    width: 150px;
    height: 150px;
    border-radius: 18px;
    padding: 8px;
  }

  .shop-section .product-art img {
    border-radius: 14px;
  }

  .shop-section .product-card-content h3 {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .shop-section .buy-btn {
    width: 102px;
    min-width: 102px;
    min-height: 40px;
    font-size: 12px;
  }

  .discount-badge {
    top: 16px;
    right: 16px;
  }
}

/* ===== LunarX shop v15 full product image in visual stage ===== */
.shop-section .product-card {
  min-height: 318px;
}

.shop-section .product-visual-stage {
  min-height: 188px;
  margin-bottom: 10px;
  padding: 0;
  display: block;
}

.shop-section .product-art {
  width: 100%;
  height: 188px;
  margin: 0;
  padding: 0;
  display: block;
  border: none;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.shop-section .product-art::before,
.shop-section .product-art::after,
.shop-section .product-art-ring,
.shop-section .product-art-ring::after {
  display: none;
}

.shop-section .product-art img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  display: block;
  border-radius: 18px;
  background: rgba(10, 14, 28, .92);
}

.shop-section .product-card-content {
  padding: 0;
}

.shop-section .product-card-content h3 {
  margin: 0 0 12px;
}

.shop-section .product-buy-row {
  gap: 12px;
}

@media (max-width: 1180px) {
  .shop-section .product-card {
    min-height: 306px;
  }

  .shop-section .product-visual-stage {
    min-height: 178px;
  }

  .shop-section .product-art {
    height: 178px;
  }
}

@media (max-width: 700px) {
  .shop-section .product-card {
    min-height: 290px;
  }

  .shop-section .product-visual-stage {
    min-height: 164px;
  }

  .shop-section .product-art {
    height: 164px;
    border-radius: 15px;
  }

  .shop-section .product-art img {
    border-radius: 15px;
  }
}

/* ===== LunarX shop v16 wider product image ===== */
.shop-section .product-art.image-art img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: fill;
  object-position: center;
}

/* ===== LunarX shop v17 safe padding for product images ===== */
.shop-section .product-visual-stage {
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-section .product-art {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(10, 14, 28, .92);
}

.shop-section .product-art img {
  width: auto;
  height: auto;
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
  object-position: center center;
  margin: auto;
  background: transparent;
}

@media (max-width: 700px) {
  .shop-section .product-art {
    padding: 14px;
  }

  .shop-section .product-art img {
    max-width: 84%;
    max-height: 84%;
  }
}

/* ===== LunarX shop v18 image padding = 10px ===== */
.shop-section .product-art {
  padding: 10px;
}

.shop-section .product-art img {
  max-width: calc(100% - 20px);
  max-height: calc(100% - 20px);
}

@media (max-width: 700px) {
  .shop-section .product-art {
    padding: 10px;
  }

  .shop-section .product-art img {
    max-width: calc(100% - 20px);
    max-height: calc(100% - 20px);
  }
}

/* ===== LunarX shop v19 purchase modal cleanup ===== */
.purchase-modal.mode-privilege {
  width: min(1100px, 96vw);
}

.purchase-modal.mode-privilege .purchase-layout {
  grid-template-columns: minmax(0, .94fr) minmax(440px, 1.06fr);
  gap: 20px;
}

.purchase-modal.mode-privilege .purchase-product-panel {
  padding: 22px;
}

.purchase-modal.mode-privilege .purchase-form-panel {
  padding: 28px;
}

.purchase-modal.mode-privilege .purchase-info-shell {
  min-height: 430px;
}

.purchase-form-panel > h2 {
  margin-bottom: 0;
}

.purchase-form-panel .selected-product {
  margin-top: 16px;
}

.promo-field {
  margin-top: 16px;
}

.promo-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.promo-control .field {
  min-width: 0;
}

.promo-apply {
  min-width: 116px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(143, 125, 255, .24);
  background: rgba(126, 95, 255, .10);
  color: #d9d3ff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: .18s ease;
}

.promo-apply:hover {
  border-color: rgba(143, 125, 255, .42);
  background: rgba(126, 95, 255, .17);
  color: #fff;
}

.purchase-modal.mode-currency .currency-calc {
  margin-bottom: 16px;
}

.purchase-modal.mode-currency .currency-rate {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .purchase-modal.mode-privilege .purchase-layout {
    grid-template-columns: 1fr;
  }

  .purchase-modal.mode-privilege .purchase-info-shell {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .promo-control {
    grid-template-columns: 1fr;
  }

  .promo-apply {
    width: 100%;
  }
}

/* ===== LunarX shop v20 compact privilege lists + amethyst bonus ===== */
.purchase-command-list,
.purchase-feature-list {
  display: block;
}

.privilege-list-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 11px 4px;
  border-bottom: 1px solid rgba(255,255,255,.055);
  color: #aeb6cb;
  font-size: 12px;
  line-height: 1.5;
}

.privilege-list-row:first-child {
  padding-top: 4px;
}

.privilege-list-row:last-child {
  border-bottom: 0;
}

.privilege-list-number {
  color: #7f89a7;
  font-weight: 700;
  text-align: right;
}

.privilege-list-row > div {
  min-width: 0;
}

.privilege-list-row code {
  color: #d7d3ff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.privilege-list-row b {
  color: #eef0fa;
  font-size: 12px;
  font-weight: 700;
}

.privilege-list-separator {
  margin: 0 7px;
  color: #626b86;
}

.purchase-modal.mode-privilege .purchase-info-shell {
  min-height: 360px;
}

.purchase-bonus {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(128, 111, 255, .14);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(91, 73, 196, .08), rgba(42, 58, 112, .06));
  transition: .2s ease;
}

.purchase-bonus-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(126, 96, 255, .10);
  color: #a99aff;
  font-size: 17px;
}

.purchase-bonus-copy span,
.purchase-bonus-copy small {
  display: block;
}

.purchase-bonus-copy span {
  margin-bottom: 2px;
  color: #818aa3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.purchase-bonus-copy b {
  display: block;
  color: #e5e1ff;
  font-size: 14px;
  line-height: 1.2;
}

.purchase-bonus-copy small {
  margin-top: 4px;
  color: #7f879e;
  font-size: 10px;
}

.purchase-bonus-state {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: #7c849c;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.purchase-bonus.active {
  border-color: rgba(103, 227, 181, .22);
  background: linear-gradient(135deg, rgba(51, 184, 134, .10), rgba(73, 103, 206, .08));
}

.purchase-bonus.active .purchase-bonus-icon {
  background: rgba(72, 201, 153, .12);
  color: #77e3bb;
}

.purchase-bonus.active .purchase-bonus-copy b {
  color: #aaf0d4;
}

.purchase-bonus.active .purchase-bonus-state {
  background: rgba(66, 193, 144, .10);
  color: #8ce2c1;
}

@media (max-width: 520px) {
  .privilege-list-row {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 7px;
    padding: 10px 0;
    font-size: 11px;
  }

  .privilege-list-row code,
  .privilege-list-row b {
    font-size: 11px;
  }

  .purchase-bonus {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .purchase-bonus-icon {
    width: 38px;
    height: 38px;
  }

  .purchase-bonus-state {
    grid-column: 2;
    justify-self: start;
    margin-top: -4px;
  }
}

/* ===== LunarX shop v21 privilege modal mobile UX ===== */
.purchase-mobile-info-actions {
  display: none;
}

@media (max-width: 700px) {
  .purchase-modal.mode-privilege .purchase-layout {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .purchase-modal.mode-privilege .purchase-form-panel {
    order: 1;
  }

  .purchase-modal.mode-privilege .purchase-product-panel {
    order: 2;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .purchase-modal.mode-privilege .purchase-product-head,
  .purchase-modal.mode-privilege .purchase-tabs {
    display: none;
  }

  .purchase-mobile-info-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .purchase-mobile-info-btn {
    min-height: 44px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.035);
    color: #aeb6cb;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
    transition: .18s ease;
  }

  .purchase-mobile-info-btn.active {
    color: #fff;
    border-color: rgba(143,125,255,.32);
    background: rgba(126,95,255,.13);
  }

  .purchase-modal.mode-privilege .purchase-info-shell {
    display: none;
    min-height: 0;
    margin-top: 8px;
    padding: 12px 14px 6px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 15px;
    background: rgba(12,15,29,.72);
  }

  .purchase-modal.mode-privilege.mobile-info-open .purchase-info-shell {
    display: block;
  }

  .purchase-modal.mode-privilege .privilege-list-row:first-child {
    padding-top: 4px;
  }

  .purchase-modal.mode-privilege .privilege-list-row:last-child {
    padding-bottom: 4px;
  }
}


/* ===== LunarX shop v22 conditional amethyst bonus ===== */
.purchase-bonus-result {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(93, 221, 170, .20);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(48, 174, 127, .10), rgba(91, 77, 201, .08));
}

.purchase-bonus-result[hidden] {
  display: none !important;
}

.purchase-bonus-result-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(75, 207, 155, .12);
  color: #82e8c1;
  font-size: 16px;
}

.purchase-bonus-result-copy span,
.purchase-bonus-result-copy strong {
  display: block;
}

.purchase-bonus-result-copy span {
  color: #c7cedf;
  font-size: 12px;
  line-height: 1.35;
}

.purchase-bonus-result-copy span b {
  color: #f1f3ff;
  font-weight: 800;
}

.purchase-bonus-result-copy strong {
  margin-top: 4px;
  color: #83e7c0;
  font-size: 13px;
  line-height: 1.35;
}

/* ===== LunarX shop v23 scalable amethyst bonus + compact mobile durations ===== */
@media (max-width: 700px) {
  .purchase-modal.mode-privilege .duration-block {
    margin-bottom: 12px;
  }

  .purchase-modal.mode-privilege .duration-block > .field-label {
    margin-bottom: 6px;
    font-size: 11px;
  }

  .purchase-modal.mode-privilege .duration-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .purchase-modal.mode-privilege .duration-option {
    min-width: 0;
    min-height: 52px;
    padding: 7px 5px;
    border-radius: 10px;
    text-align: center;
  }

  .purchase-modal.mode-privilege .duration-option span {
    font-size: 10px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .purchase-modal.mode-privilege .duration-option b {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
  }
}


/* ===== LunarX shop v24 bonus line fix ===== */
.purchase-bonus-result-copy > span,
.purchase-bonus-result-copy > strong {
  display: block;
}

.purchase-bonus-result-copy > strong {
  white-space: nowrap;
}

.purchase-bonus-result-copy > strong b {
  display: inline;
  color: inherit;
  font: inherit;
  font-weight: 800;
}

/* ===== LunarX shop v25 mobile privilege duration layout ===== */
@media (max-width: 700px) {
  .purchase-modal.mode-privilege .duration-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .purchase-modal.mode-privilege .duration-option {
    min-height: 44px;
    padding: 8px 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    text-align: left;
  }

  .purchase-modal.mode-privilege .duration-option span,
  .purchase-modal.mode-privilege .duration-option b {
    margin: 0;
    white-space: nowrap;
  }

  .purchase-modal.mode-privilege .duration-option span {
    font-size: 10px;
  }

  .purchase-modal.mode-privilege .duration-option b {
    font-size: 11px;
  }

  .purchase-modal.mode-privilege .duration-option:nth-child(3) {
    grid-column: 1 / -1;
    width: calc(50% - 4px);
    justify-self: center;
  }
}

/* ===== LunarX shop v26 mobile modal centering fix ===== */
@media (max-width: 700px) {
  .modal-backdrop {
    padding: 12px;
    place-items: center;
  }

  .purchase-modal,
  .purchase-modal.mode-simple,
  .purchase-modal.mode-currency,
  .purchase-modal.mode-privilege {
    width: min(420px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    margin: 0 auto;
    box-sizing: border-box;
  }

  .purchase-modal.mode-privilege .purchase-layout,
  .purchase-modal.mode-simple .purchase-layout,
  .purchase-modal.mode-currency .purchase-layout {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .purchase-product-panel,
  .purchase-form-panel,
  .purchase-mobile-info-actions,
  .purchase-info-shell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  .purchase-modal.mode-privilege .duration-option:nth-child(3) {
    width: min(180px, calc(100% - 8px));
  }

  .modal-close {
    right: 12px;
    top: 12px;
  }
}

/* ===== LunarX rules v27 sanctions ===== */
.rules-content .punishment {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 6px;
  margin-top: 11px;
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(255, 184, 85, .07);
  border: 1px solid rgba(255, 190, 94, .13);
  color: #e7c992;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
}

.rules-content .punishment b {
  color: #f2d8a7;
  font-weight: 800;
}

.rules-content .punishment.danger {
  background: rgba(255, 87, 112, .07);
  border-color: rgba(255, 103, 128, .14);
  color: #efb0bb;
}

.rules-content .punishment.danger b {
  color: #f5bdc6;
}

@media (max-width: 700px) {
  .rules-content .punishment {
    width: 100%;
    padding: 8px 10px;
    font-size: 10px;
  }
}

/* ===== LunarX top players redesign v28 ===== */
.top-page-redesign .top-hero-redesign {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.top-hero-note {
  max-width: 360px;
  margin: 0;
}

.cosmic-leaderboard {
  display: grid;
  gap: 22px;
}

.cosmic-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cosmic-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: end;
}

.cosmic-leader {
  position: relative;
  padding: 26px 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.06);
  background:
    radial-gradient(circle at 50% 18%, rgba(119, 98, 255, .16), transparent 30%),
    linear-gradient(180deg, rgba(16, 20, 40, .96), rgba(8, 10, 21, .98));
  display: grid;
  justify-items: center;
  text-align: center;
  overflow: hidden;
}

.cosmic-leader::before {
  content: "";
  position: absolute;
  inset: auto -10% -50px;
  height: 120px;
  background: radial-gradient(circle, rgba(94, 78, 182, .22), transparent 70%);
  filter: blur(18px);
}

.cosmic-leader.first-place {
  min-height: 360px;
  border-color: rgba(222, 194, 112, .2);
  box-shadow: 0 26px 80px rgba(0,0,0,.28);
}

.cosmic-leader.second-place,
.cosmic-leader.third-place {
  min-height: 320px;
}

.leader-crown {
  position: absolute;
  top: 16px;
  right: 18px;
  color: #f5d382;
  font-size: 18px;
  text-shadow: 0 0 14px rgba(245, 211, 130, .4);
}

.leader-planet {
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.first-place .leader-planet {
  width: 170px;
  height: 170px;
}

.second-place .leader-planet,
.third-place .leader-planet {
  width: 144px;
  height: 144px;
}

.planet-core {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: inset -18px -24px 34px rgba(0,0,0,.22), inset 12px 10px 24px rgba(255,255,255,.10), 0 0 34px rgba(115,95,255,.18);
}

.planet-core span {
  font-family: Unbounded, sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 3px 14px rgba(0,0,0,.3);
}

.planet-gold .planet-core {
  background: radial-gradient(circle at 32% 30%, #fff6cb, #efca78 42%, #8b6133 75%, #3d2b1a 100%);
}

.planet-silver .planet-core {
  background: radial-gradient(circle at 32% 30%, #f0f6ff, #aab8d8 40%, #58637f 72%, #262d40 100%);
}

.planet-cyan .planet-core {
  background: radial-gradient(circle at 32% 30%, #ddfbff, #77d8ff 42%, #2c6f92 76%, #142536 100%);
}

.planet-orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 122%;
  height: 48px;
  transform: translate(-50%, -50%) rotate(-14deg);
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.2);
  z-index: 3;
}

.orbit-gold { border-color: rgba(248, 215, 130, .38); }
.orbit-silver { border-color: rgba(198, 212, 255, .34); }
.orbit-cyan { border-color: rgba(112, 224, 255, .36); }

.leader-meta {
  position: relative;
  z-index: 2;
}

.leader-meta h3 {
  margin: 0 0 8px;
  font-family: Unbounded, sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.15;
}

.leader-meta p {
  margin: 0;
  color: #cfd4e6;
  font-size: 14px;
  font-weight: 700;
}

.cosmic-leader.is-empty .leader-meta h3,
.cosmic-leader.is-empty .leader-meta p {
  color: #6d748c;
  font-weight: 600;
}

.cosmic-ranking {
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(12, 16, 31, .88), rgba(7, 10, 20, .92));
}

.cosmic-ranking-head,
.cosmic-ranking-row {
  display: grid;
  grid-template-columns: 90px minmax(180px, 1fr) minmax(170px, .8fr);
  align-items: center;
  gap: 16px;
  padding: 0 22px;
}

.cosmic-ranking-head {
  min-height: 52px;
  color: #747b91;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  border-bottom: 1px solid rgba(255,255,255,.055);
  background: rgba(255,255,255,.018);
}

.cosmic-ranking-row {
  min-height: 72px;
}

.cosmic-ranking-row + .cosmic-ranking-row {
  border-top: 1px solid rgba(255,255,255,.05);
}

.cosmic-ranking-row:hover {
  background: rgba(255,255,255,.018);
}

.cosmic-position {
  font-family: Unbounded, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #9aa2bf;
}

.cosmic-player {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cosmic-player b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
}

.mini-planet {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(255,255,255,.1);
}

.mini-planet.purple { background: radial-gradient(circle at 30% 30%, #ecdfff, #8d6cff 55%, #312154 100%); }
.mini-planet.blue { background: radial-gradient(circle at 30% 30%, #d9f8ff, #47a0ff 55%, #18365c 100%); }
.mini-planet.gold { background: radial-gradient(circle at 30% 30%, #fff1cb, #daa95a 55%, #4c3420 100%); }
.mini-planet.cyan { background: radial-gradient(circle at 30% 30%, #e2ffff, #5edfff 55%, #17435a 100%); }

.cosmic-ranking-row strong {
  text-align: right;
  font-size: 14px;
  font-weight: 700;
  color: #eef1ff;
}

@media (max-width: 980px) {
  .top-page-redesign .top-hero-redesign {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .top-hero-note {
    max-width: none;
  }

  .cosmic-podium {
    grid-template-columns: 1fr;
  }

  .cosmic-leader.first-place,
  .cosmic-leader.second-place,
  .cosmic-leader.third-place {
    min-height: auto;
  }

  .cosmic-ranking {
    overflow-x: auto;
  }

  .cosmic-ranking-head,
  .cosmic-ranking-row {
    min-width: 620px;
  }
}

@media (max-width: 700px) {
  .cosmic-toolbar {
    align-items: stretch;
  }

  .top-hero-note {
    margin-top: 4px;
  }

  .cosmic-podium {
    gap: 14px;
  }

  .cosmic-leader {
    padding: 20px 16px 18px;
    border-radius: 18px;
  }

  .first-place .leader-planet {
    width: 138px;
    height: 138px;
  }

  .second-place .leader-planet,
  .third-place .leader-planet {
    width: 122px;
    height: 122px;
  }

  .planet-core span {
    font-size: 24px;
  }

  .leader-meta h3 {
    font-size: 18px;
  }

  .leader-meta p {
    font-size: 13px;
  }

  .cosmic-ranking-head,
  .cosmic-ranking-row {
    min-width: 540px;
    padding: 0 16px;
    grid-template-columns: 70px minmax(180px, 1fr) minmax(150px, .8fr);
  }

  .cosmic-ranking-row {
    min-height: 64px;
  }

  .cosmic-position {
    font-size: 16px;
  }

  .cosmic-player b,
  .cosmic-ranking-row strong {
    font-size: 14px;
  }
}

/* ===== LunarX top players v29 simple places 4-10 ===== */
.cosmic-toolbar {
  justify-content: flex-start;
}

.simple-ranking {
  width: 100%;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(8, 11, 22, .72);
}

.simple-ranking-head,
.simple-ranking-row {
  display: grid;
  grid-template-columns: 100px minmax(180px, 1fr) minmax(190px, auto);
  align-items: center;
  gap: 18px;
  padding: 0 22px;
}

.simple-ranking-head {
  min-height: 46px;
  color: #70778e;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  border-bottom: 1px solid rgba(255,255,255,.055);
}

.simple-ranking-row {
  min-height: 60px;
}

.simple-ranking-row + .simple-ranking-row {
  border-top: 1px solid rgba(255,255,255,.05);
}

.simple-ranking-row:hover {
  background: rgba(255,255,255,.016);
}

.simple-ranking-row > span {
  font-family: Unbounded, sans-serif;
  color: #858ca4;
  font-size: 13px;
  font-weight: 700;
}

.simple-ranking-row > b {
  color: #eef1ff;
  font-size: 14px;
  font-weight: 700;
}

.simple-ranking-row > strong {
  color: #cfd4e4;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.simple-ranking-row.is-empty > b,
.simple-ranking-row.is-empty > strong {
  color: #6d748c;
  font-weight: 600;
}

@media (max-width: 700px) {
  .simple-ranking {
    border-radius: 15px;
  }

  .simple-ranking-head,
  .simple-ranking-row {
    grid-template-columns: 52px minmax(105px, 1fr) minmax(120px, auto);
    gap: 8px;
    padding: 0 12px;
  }

  .simple-ranking-head {
    min-height: 40px;
    font-size: 8px;
  }

  .simple-ranking-row {
    min-height: 54px;
  }

  .simple-ranking-row > span {
    font-size: 11px;
  }

  .simple-ranking-row > b,
  .simple-ranking-row > strong {
    font-size: 11px;
  }

  .simple-ranking-row > strong {
    white-space: nowrap;
  }
}


/* ===== LunarX top players v30 statistics alignment ===== */
.simple-ranking-head,
.simple-ranking-row {
  grid-template-columns: 100px minmax(180px, 1fr) 220px;
}

.simple-ranking-head > span:nth-child(3),
.simple-ranking-row > strong {
  text-align: left;
  justify-self: start;
}

@media (max-width: 700px) {
  .simple-ranking-head,
  .simple-ranking-row {
    grid-template-columns: 52px minmax(105px, 1fr) minmax(125px, 150px);
  }

  .simple-ranking-head > span:nth-child(3),
  .simple-ranking-row > strong {
    text-align: left;
    justify-self: start;
  }
}


/* ===== LunarX v31 mobile top order ===== */
@media (max-width: 980px) {
  .cosmic-podium .first-place { order: 1; }
  .cosmic-podium .second-place { order: 2; }
  .cosmic-podium .third-place { order: 3; }
}

/* ===== LunarX v32 compact page starts ===== */
.hero {
  min-height: 500px;
  padding: 38px 0 44px;
}

.page-hero {
  min-height: 320px;
  padding: 38px 0 46px;
}

.top-page-redesign .top-hero-redesign {
  align-items: center;
}

.top-donator-note {
  min-width: 310px;
  padding: 16px 18px;
}

.top-donator-note p {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-top: 7px;
}

.top-donator-note p strong {
  color: #e9ecf8;
  font-size: 12px;
  font-weight: 750;
}

.top-donator-note p em {
  color: #c9b7ff;
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}


.top-donator-copy {
  min-width: 0;
  flex: 1;
}

.top-donator-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.top-donator-title-row > b {
  margin: 0;
  display: inline;
}

.top-donator-help {
  position: relative;
  z-index: 2;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(173, 151, 255, .24);
  background: rgba(137, 105, 255, .08);
  color: #cfc5ff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  transition: .18s ease;
}

.top-donator-help:hover,
.top-donator-help:focus-visible {
  border-color: rgba(173, 151, 255, .46);
  background: rgba(137, 105, 255, .16);
  color: #fff;
  outline: none;
}

.donator-info-backdrop {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(3, 5, 12, .72);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .2s ease;
}

.donator-info-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.donator-info-modal {
  position: relative;
  width: min(430px, 100%);
  padding: 26px;
  border-radius: 22px;
  border: 1px solid rgba(151, 132, 255, .22);
  background: linear-gradient(180deg, rgba(20, 23, 43, .99), rgba(9, 12, 25, .99));
  box-shadow: 0 30px 90px rgba(0,0,0,.52);
  transform: translateY(10px) scale(.985);
  transition: .2s ease;
}

.donator-info-backdrop.open .donator-info-modal {
  transform: none;
}

.donator-info-close {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: #9da5bb;
  font-size: 21px;
  cursor: pointer;
}

.donator-info-kicker {
  display: inline-block;
  color: #aa98ff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.donator-info-modal h2 {
  margin: 10px 36px 10px 0;
  font-family: Unbounded, sans-serif;
  font-size: 20px;
  letter-spacing: -.03em;
}

.donator-info-modal p {
  margin: 0;
  color: #9da5bc;
  font-size: 12px;
  line-height: 1.7;
}

.donator-info-action {
  width: 100%;
  margin-top: 20px;
}


@media (max-width: 980px) {
  .hero {
    padding-top: 34px;
  }

  .page-hero {
    min-height: 280px;
    padding-top: 34px;
  }

  .top-donator-note {
    min-width: 0;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: auto;
    padding: 26px 0 30px;
  }

  .page-hero {
    min-height: auto;
    padding: 28px 0 32px;
  }

  .top-donator-note p {
    gap: 12px;
  }

  .top-donator-help {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .donator-info-backdrop {
    padding: 12px;
  }

  .donator-info-modal {
    width: min(420px, calc(100vw - 24px));
    padding: 22px 18px 18px;
    border-radius: 18px;
  }

  .donator-info-modal h2 {
    font-size: 17px;
  }
}

.empty-shop {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(255,255,255,.62);
  padding: 48px 16px;
}

.inner-body .content,
.inner-body .news-page,
.inner-body .offer-page {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  color: #e8ecff;
}