:root {
  --bg: #05070b;
  --bg-deep: #090e15;
  --panel: #111926;
  --panel-strong: #172334;
  --panel-soft: rgba(17, 25, 38, 0.76);
  --border: rgba(128, 162, 234, 0.18);
  --border-strong: rgba(128, 162, 234, 0.28);
  --text: #f5f8ff;
  --muted: #a4afc2;
  --accent: #70a8ff;
  --accent-strong: #356dff;
  --accent-soft: rgba(112, 168, 255, 0.16);
  --gold: #f5be58;
  --gold-soft: rgba(245, 190, 88, 0.18);
  --green: #7ee08e;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.mc-site {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(53, 109, 255, 0.17), transparent 28%),
    radial-gradient(circle at top right, rgba(245, 190, 88, 0.12), transparent 24%),
    linear-gradient(180deg, #05070b 0%, #08101a 34%, #05070b 100%);
  overflow-x: hidden;
}

body.mc-site::before,
body.mc-site::after {
  content: "";
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

body.mc-site::before {
  top: -140px;
  left: -120px;
  background: rgba(53, 109, 255, 0.2);
}

body.mc-site::after {
  right: -160px;
  bottom: -180px;
  background: rgba(245, 190, 88, 0.12);
}

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

img {
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
.nav-links a,
.brand-copy strong,
.eyebrow,
.stat-card strong,
.feature-card h3,
.card-tag,
.news-badge,
.price-badge,
.footer-column h4 {
  font-family: "Space Grotesk", sans-serif;
}

.site-noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image:
    linear-gradient(transparent 0, rgba(255, 255, 255, 0.03) 50%, transparent 100%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.022) 0,
      rgba(255, 255, 255, 0.022) 1px,
      transparent 1px,
      transparent 4px
    );
}

.top-nav,
main,
.site-footer,
.site-toast {
  position: relative;
  z-index: 2;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 14px 0 0;
}

.nav-wrap {
  position: relative;
  width: min(1280px, calc(100% - 24px));
  min-height: 82px;
  margin: 0 auto;
  padding: 12px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(7, 11, 17, 0.8);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.top-nav.is-scrolled .nav-wrap {
  background: rgba(7, 11, 17, 0.94);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(112, 168, 255, 0.18), rgba(112, 168, 255, 0.04)),
    linear-gradient(135deg, #0f1724 0%, #16263e 100%);
  border: 1px solid rgba(130, 166, 246, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.05;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.back-link {
  min-height: 46px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: #dce6fb;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  min-height: 48px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #d6e2f8;
  font-size: 0.94rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  background: linear-gradient(135deg, #427dff 0%, #2f5fe9 100%);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(53, 109, 255, 0.26);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.nav-copy-button,
.nav-ghost-link,
.primary-button,
.secondary-button {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
}

.nav-copy-button,
.primary-button {
  background: linear-gradient(135deg, #f5be58 0%, #ef9d28 100%);
  color: #251700;
  box-shadow: 0 16px 34px rgba(245, 190, 88, 0.28);
}

.nav-ghost-link,
.secondary-button {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: #f0f4ff;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.content-shell {
  width: min(1280px, calc(100% - 24px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  align-items: center;
  border-radius: 999px;
  background: rgba(112, 168, 255, 0.12);
  border: 1px solid rgba(112, 168, 255, 0.18);
  color: #d8e6ff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.home-hero {
  min-height: calc(100vh - 110px);
}

.hero-ambient {
  position: absolute;
  inset: 0;
}

.hero-ambient img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.19;
  filter: saturate(1.08) brightness(0.72) blur(8px);
  transform: scale(1.07);
}

.hero-ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(112, 168, 255, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.48) 0%, rgba(5, 7, 11, 0.3) 22%, rgba(5, 7, 11, 0.82) 84%, rgba(5, 7, 11, 0.98) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 24px));
  margin: 0 auto;
  padding: 56px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  gap: 28px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: clamp(3rem, 6vw, 5.3rem);
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-copy p {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.stat-card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(14, 21, 31, 0.72);
  box-shadow: var(--shadow);
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.72rem;
  font-weight: 700;
}

.stat-card span {
  color: var(--muted);
  line-height: 1.65;
}

.hero-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-template-rows: 190px 190px;
  gap: 16px;
}

.showcase-card,
.feature-card,
.story-card,
.community-visual,
.community-copy,
.page-hero-copy,
.mini-spotlight,
.store-card,
.info-card,
.process-card,
.support-side-card,
.wiki-card,
.footer-inner {
  border: 1px solid var(--border);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(18, 27, 40, 0.96) 0%, rgba(10, 15, 23, 0.98) 100%);
  box-shadow: var(--shadow);
}

.showcase-card,
.mini-spotlight,
.community-visual,
.story-card-media {
  overflow: hidden;
}

.showcase-card {
  position: relative;
  min-height: 190px;
}

.showcase-card-large {
  grid-row: 1 / span 2;
}

.showcase-card::before,
.mini-spotlight::before,
.community-visual::before,
.story-card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 7, 11, 0.06) 0%, rgba(4, 7, 11, 0.12) 36%, rgba(4, 7, 11, 0.92) 100%),
    linear-gradient(135deg, rgba(112, 168, 255, 0.1), transparent 48%);
  z-index: 1;
}

.showcase-card img,
.mini-spotlight img,
.community-visual img,
.story-card-media img,
.store-card img,
.wiki-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.showcase-card img,
.mini-spotlight img,
.community-visual img,
.story-card-media img {
  position: absolute;
  inset: 0;
}

.showcase-card-body,
.mini-spotlight-copy,
.community-badge-box {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
}

.showcase-card-label,
.card-tag,
.news-badge,
.price-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  padding: 0 10px;
  align-items: center;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.showcase-card-label,
.card-tag {
  background: rgba(112, 168, 255, 0.14);
  border: 1px solid rgba(112, 168, 255, 0.16);
  color: #dbe8ff;
}

.news-badge,
.price-badge {
  background: rgba(245, 190, 88, 0.14);
  border: 1px solid rgba(245, 190, 88, 0.18);
  color: #ffd889;
}

.showcase-card-body h3,
.mini-spotlight-copy h3 {
  margin: 10px 0 0;
  font-size: 1.5rem;
  line-height: 1.04;
  font-weight: 700;
}

.showcase-card-body p,
.mini-spotlight-copy p {
  margin: 10px 0 0;
  color: #d7e1f3;
  line-height: 1.7;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 10px;
}

.feature-card {
  padding: 24px;
}

.feature-card h3 {
  margin: 16px 0 12px;
  font-size: 1.5rem;
  line-height: 1.1;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.feature-link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #ecf3ff;
  font-weight: 700;
}

.section-shell,
.news-section,
.community-shell {
  padding-top: 34px;
}

.section-header {
  margin-bottom: 22px;
}

.section-header.center {
  text-align: center;
}

.section-header.left {
  text-align: left;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  font-weight: 700;
}

.section-header p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.84;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.story-card {
  overflow: hidden;
}

.story-card-media {
  position: relative;
  height: 280px;
}

.story-card-body {
  padding: 24px;
}

.story-card-body h3 {
  margin: 14px 0 10px;
  font-size: 1.72rem;
  line-height: 1.08;
  font-weight: 700;
}

.story-card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.84;
}

.community-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 18px;
  padding: 36px 0 8px;
}

.community-visual {
  position: relative;
  min-height: 390px;
}

.community-badge-box strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1;
}

.community-badge-box span {
  display: inline-flex;
  min-height: 30px;
  padding: 0 10px;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #eef4ff;
  font-size: 0.78rem;
  font-weight: 700;
}

.community-copy {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.community-copy h2,
.page-hero-copy h1 {
  margin: 16px 0 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.98;
  font-weight: 700;
}

.community-copy p,
.page-hero-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.9;
}

.community-actions,
.support-side-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-hero,
.store-shell,
.internal-shell {
  padding-top: 34px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 18px;
  align-items: stretch;
}

.page-hero-copy {
  padding: 28px;
}

.breadcrumb-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--muted);
}

.breadcrumb-box a,
.breadcrumb-box strong {
  color: #ffffff;
}

.page-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.page-hero-stats span {
  min-height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: #d8e4fb;
  font-weight: 700;
}

.page-hero-stack {
  display: grid;
  gap: 18px;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.mini-spotlight {
  position: relative;
  min-height: 230px;
}

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

.store-card,
.wiki-card {
  overflow: hidden;
}

.store-card img,
.wiki-card img {
  aspect-ratio: 16 / 10;
}

.store-card-body,
.wiki-card-body {
  padding: 22px;
  display: grid;
  gap: 12px;
}

.store-card-body h3,
.wiki-card-body h3,
.info-card h3,
.process-card h3,
.support-side-card h3 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.08;
  font-weight: 700;
}

.store-card-body p,
.wiki-card-body p,
.info-card p,
.process-card p,
.support-side-card p,
.support-side-card li {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.store-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.info-card,
.process-card,
.support-side-card {
  padding: 24px;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
  gap: 18px;
  margin-top: 20px;
}

.support-steps {
  display: grid;
  gap: 18px;
}

.process-card span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(112, 168, 255, 0.14);
  color: #d6e5ff;
  font-weight: 800;
}

.process-card h3 {
  margin-top: 16px;
}

.support-side-card ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.wiki-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.site-footer {
  padding: 56px 0 30px;
}

.footer-inner {
  width: min(1280px, calc(100% - 24px));
  margin: 0 auto;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
}

.footer-brand-block {
  display: grid;
  gap: 16px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-mark {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 190, 88, 0.18), rgba(53, 109, 255, 0.14));
  border: 1px solid rgba(245, 190, 88, 0.18);
  font-size: 1.15rem;
  font-weight: 800;
}

.footer-brand-copy strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
}

.footer-brand-copy span,
.footer-note {
  color: var(--muted);
  line-height: 1.8;
}

.payment-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.payment-logos img {
  height: 24px;
  width: auto;
  opacity: 0.92;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
}

.footer-column h4 {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
}

.footer-column a {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
}

.site-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(10, 15, 23, 0.95);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

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

.store-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  padding-top: 34px;
}

.store-intro-shell {
  padding-top: 34px;
}

.store-intro-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(18, 27, 40, 0.96) 0%, rgba(10, 15, 23, 0.98) 100%);
  box-shadow: var(--shadow);
}

.store-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.86fr);
  gap: 18px;
  align-items: stretch;
  padding-top: 34px;
}

.store-detail-copy,
.store-detail-visual {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(18, 27, 40, 0.96) 0%, rgba(10, 15, 23, 0.98) 100%);
  box-shadow: var(--shadow);
}

.store-detail-copy h1 {
  margin: 18px 0 0;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 0.97;
  font-weight: 700;
}

.store-detail-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.9;
}

.store-detail-visual {
  display: flex;
  align-items: stretch;
}

.store-detail-visual .store-category-media {
  width: 100%;
}

.store-hero-copy,
.store-admin-preview,
.store-category-card,
.store-product-card,
.admin-ready-card {
  border: 1px solid var(--border);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(18, 27, 40, 0.96) 0%, rgba(10, 15, 23, 0.98) 100%);
  box-shadow: var(--shadow);
}

.store-hero-copy,
.store-admin-preview {
  padding: 28px;
}

.store-admin-preview h3,
.store-product-card h3,
.admin-ready-card h3 {
  margin: 16px 0 10px;
  font-size: 1.6rem;
  line-height: 1.08;
  font-weight: 700;
}

.store-admin-preview p,
.admin-ready-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.84;
}

.admin-preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.admin-preview-metrics div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.admin-preview-metrics strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
}

.admin-preview-metrics span {
  color: var(--muted);
  line-height: 1.6;
}

.store-category-shell,
.store-products-shell,
.admin-ready-shell {
  padding-top: 34px;
}

.store-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.store-category-card {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 26px;
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.store-category-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.store-category-card.is-active {
  border-color: rgba(112, 168, 255, 0.42);
  box-shadow: 0 28px 80px rgba(37, 79, 188, 0.28);
}

.store-category-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.24;
  pointer-events: none;
}

.store-category-card[data-accent="blue"]::after {
  background: rgba(98, 161, 255, 0.55);
}

.store-category-card[data-accent="gold"]::after {
  background: rgba(245, 190, 88, 0.48);
}

.store-category-media {
  position: relative;
  min-height: 260px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(112, 168, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.store-category-media::before,
.store-category-media::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(36px);
  opacity: 0.42;
}

.store-category-media::before {
  width: 150px;
  height: 150px;
  left: 18px;
  bottom: 14px;
  background: rgba(112, 168, 255, 0.34);
}

.store-category-media::after {
  width: 160px;
  height: 160px;
  right: 34px;
  top: 20px;
  background: rgba(245, 190, 88, 0.2);
}

.store-category-card[data-accent="gold"] .store-category-media::before {
  background: rgba(245, 190, 88, 0.26);
}

.store-category-card[data-accent="gold"] .store-category-media::after {
  background: rgba(255, 217, 111, 0.32);
}

.store-asset-stage {
  position: relative;
  min-height: 260px;
}

.store-asset-stage img {
  position: absolute;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.36));
}

.store-asset-stage img.is-main {
  inset: 44px 96px 34px 88px;
  width: auto;
  height: calc(100% - 78px);
}

.store-asset-stage img.is-top {
  top: 14px;
  right: 42px;
  width: 92px;
  height: 92px;
}

.store-asset-stage img.is-bottom {
  left: 28px;
  bottom: 14px;
  width: 88px;
  height: 88px;
}

.store-category-card[data-accent="gold"] .store-asset-stage img.is-main {
  inset: 36px 82px 30px 98px;
}

.store-category-card[data-accent="gold"] .store-asset-stage img.is-top {
  top: 34px;
  right: 66px;
}

.store-category-card[data-accent="gold"] .store-asset-stage img.is-bottom {
  left: 48px;
  bottom: 18px;
}

.store-category-copy {
  padding-top: 22px;
}

.store-category-copy h3 {
  margin: 12px 0 10px;
  font-size: 2rem;
  line-height: 1.02;
  font-weight: 700;
}

.store-category-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.84;
}

.store-category-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.store-category-note {
  color: #e6efff;
  font-weight: 700;
}

.store-category-arrow {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-size: 1.2rem;
}

.store-products-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.store-products-head h2 {
  margin: 16px 0 0;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 0.98;
  font-weight: 700;
}

.store-products-head p {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.82;
}

.store-category-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.store-category-tab {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: #edf3ff;
  font-weight: 700;
}

.store-category-tab.is-active {
  background: linear-gradient(135deg, #427dff 0%, #2f5fe9 100%);
  border-color: transparent;
}

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

.store-product-card {
  padding: 24px;
}

.store-product-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.store-product-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  padding: 0 10px;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: #e8f0ff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.store-product-price {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff0bd;
}

.store-product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.store-feature-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.store-feature-list li {
  position: relative;
  padding-left: 18px;
  color: #e8f0ff;
  line-height: 1.72;
}

.store-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5be58 0%, #ef9d28 100%);
}

.store-product-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.store-product-actions .primary-button,
.store-product-actions .secondary-button {
  min-height: 44px;
  padding: 0 16px;
}

.store-empty {
  padding: 28px;
  border-radius: 24px;
  border: 1px dashed var(--border);
  color: var(--muted);
  text-align: center;
}

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

.admin-ready-card {
  padding: 24px;
}

@media (max-width: 1180px) {
  .hero-grid,
  .page-hero,
  .community-panel,
  .store-hero-shell,
  .store-detail-hero {
    grid-template-columns: 1fr;
  }

  .hero-showcase,
  .page-hero-stack {
    max-width: 760px;
  }
}

@media (max-width: 1100px) {
  .feature-strip,
  .info-grid,
  .store-grid,
  .store-product-grid,
  .admin-ready-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-grid,
  .support-layout,
  .wiki-grid,
  .footer-inner,
  .store-products-head {
    grid-template-columns: 1fr;
  }

  .store-products-head {
    display: grid;
  }

  .store-category-tabs {
    justify-content: flex-start;
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-wrap {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 12px;
    display: grid;
    gap: 8px;
    justify-content: stretch;
    background: rgba(7, 11, 17, 0.98);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links a {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-actions {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero-stats,
  .feature-strip,
  .store-grid,
  .info-grid,
  .wiki-grid,
  .store-category-grid,
  .store-product-grid,
  .admin-ready-grid,
  .admin-preview-metrics {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 220px);
  }

  .showcase-card-large {
    grid-row: auto;
  }

  .store-category-meta,
  .store-product-head,
  .store-product-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .store-asset-stage img.is-main {
    inset: 48px 48px 34px 48px;
  }
}

@media (max-width: 640px) {
  .nav-wrap,
  .content-shell,
  .footer-inner {
    width: min(100% - 16px, 1280px);
  }

  .top-nav {
    padding-top: 10px;
  }

  .nav-wrap {
    padding: 12px;
  }

  .brand-copy small,
  .back-link {
    display: none;
  }

  .hero-grid {
    padding: 40px 0 50px;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

  .community-copy,
  .page-hero-copy,
  .info-card,
  .process-card,
  .support-side-card,
  .store-card-body,
  .wiki-card-body,
  .footer-inner {
    padding: 20px;
  }
}
