@import url("https://fonts.googleapis.com/css2?family=Lilita+One&family=Orbitron:wght@500;700;800&family=Space+Grotesk:wght@400;500;700&display=swap");

:root {
  --bg-0: #040715;
  --bg-1: #081127;
  --bg-2: #0d1635;
  --panel: rgba(10, 18, 40, 0.72);
  --panel-soft: rgba(255, 255, 255, 0.045);
  --line: rgba(173, 204, 255, 0.14);
  --line-strong: rgba(173, 204, 255, 0.28);
  --text: #f5f8ff;
  --muted: #a7b5d8;
  --blue: #62c2ff;
  --blue-strong: #2f6dff;
  --cyan: #8feaff;
  --gold: #ffe39f;
  --gold-strong: #ffc957;
  --success: #62ffb4;
  --danger: #ff7a96;
  --shadow-lg: 0 28px 70px rgba(1, 7, 24, 0.52);
  --shadow-md: 0 18px 42px rgba(1, 7, 24, 0.34);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --max-width: min(1340px, calc(100% - 72px));
  --display-accent: "Lilita One", "Space Grotesk", sans-serif;
  --hero-shift: 0;
  --hero-glow: 0;
  --hero-dim: 0;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background: #041026;
  overflow-x: hidden;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
  image-rendering: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

.celestial-body {
  min-height: 100vh;
}

.store-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  background: #041026;
}

.page-zoom-shell {
  width: 100%;
  margin: 0 auto;
}

.store-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: min(720px, 58vw);
  min-height: 360px;
  z-index: -5;
  background:
    linear-gradient(180deg, rgba(7, 16, 27, 0.04) 0%, rgba(7, 16, 27, 0.1) 20%, rgba(7, 16, 27, 0.26) 42%, rgba(8, 20, 40, 0.64) 70%, #041026 100%),
    var(--site-banner-image, none) center top / cover no-repeat;
  filter: saturate(1.02) contrast(1.02) brightness(1);
  pointer-events: none;
}

body.page-home .store-shell::before {
  height: 640px;
  min-height: 640px;
  background:
    linear-gradient(180deg, rgba(7, 16, 27, 0.04) 0%, rgba(7, 16, 27, 0.08) 16%, rgba(7, 20, 42, 0.1) 34%, rgba(8, 24, 54, 0.24) 52%, rgba(4, 16, 38, 0.74) 76%, #041026 88%, #041026 100%),
    linear-gradient(90deg, rgba(4, 14, 34, 0.46) 0%, rgba(5, 18, 44, 0.12) 52%, rgba(4, 14, 34, 0.28) 100%),
    var(--lobby-hero-image, var(--site-banner-image, none)) center top / cover no-repeat;
  filter: saturate(.98) contrast(1.02) brightness(.9);
}

body.page-category .store-shell::before,
body.page-category-tiered .store-shell::before,
body.page-package .store-shell::before {
  height: 900px;
  min-height: 760px;
  background:
    linear-gradient(180deg, rgba(7, 16, 27, 0.04) 0%, rgba(7, 16, 27, 0.08) 16%, rgba(7, 20, 42, 0.1) 34%, rgba(8, 24, 54, 0.24) 52%, rgba(4, 16, 38, 0.56) 74%, rgba(4, 16, 38, 0.82) 90%, #041026 100%),
    linear-gradient(90deg, rgba(4, 14, 34, 0.46) 0%, rgba(5, 18, 44, 0.12) 52%, rgba(4, 14, 34, 0.28) 100%),
    var(--lobby-hero-image, var(--site-banner-image, none)) center top / cover no-repeat;
  filter: saturate(.98) contrast(1.02) brightness(.9);
}

.store-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  display: none;
  background: none;
  pointer-events: none;
}

@media (max-width: 1200px) {
  .store-shell::before {
    height: min(620px, 66vw);
    background:
      linear-gradient(180deg, rgba(7, 16, 27, 0.08) 0%, rgba(7, 16, 27, 0.14) 20%, rgba(7, 16, 27, 0.28) 42%, rgba(8, 20, 40, 0.72) 70%, #041026 100%),
      var(--site-banner-image, none) center top / cover no-repeat;
  }
}

@media (max-width: 760px) {
  .store-shell::before {
    height: min(480px, 84vw);
    min-height: 280px;
    background:
      linear-gradient(180deg, rgba(7, 16, 27, 0.1) 0%, rgba(7, 16, 27, 0.18) 18%, rgba(7, 16, 27, 0.38) 40%, rgba(8, 20, 40, 0.78) 68%, #041026 100%),
      var(--site-banner-image, none) center top / cover no-repeat;
  }
}

.container {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
}

.glass {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(9, 14, 28, 0.9);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 24%),
    linear-gradient(90deg, transparent 0 12px, rgba(143, 234, 255, 0.04) 12px 13px, transparent 13px 100%);
  pointer-events: none;
}

.section {
  padding: 54px 0;
}

.section-header {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.section-header h2,
.section-header h1 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.02;
  letter-spacing: 0.03em;
}

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

.page-home #categories .section-header h2,
.page-home .home-activity-section .section-header h2,
.page-home .home-modules-grid .module-shell h3,
.page-home .home-modules-grid .side-summary h3,
.page-home .category-showcase-copy strong {
  font-family: var(--display-accent);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.page-home #categories .section-header h2,
.page-home .home-activity-section .section-header h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: .94;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.page-home .home-modules-grid .module-shell h3,
.page-home .home-modules-grid .side-summary h3 {
  font-size: clamp(1.26rem, 2vw, 1.72rem);
  line-height: .92;
}

.page-home .category-showcase-copy strong {
  letter-spacing: 0.03em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(173, 204, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #dce7ff;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 16px rgba(120, 146, 255, 0.75);
  animation: pulse 2.6s ease-in-out infinite;
}

.site-nav-wrap {
  position: sticky;
  top: 18px;
  z-index: 40;
  padding-top: 18px;
}

.site-nav {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 22px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(7, 12, 24, 0.58);
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}

.site-nav::before,
.site-nav::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.site-nav::before {
  background:
    radial-gradient(circle at 12% 24%, rgba(111, 184, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 34%),
    linear-gradient(90deg, transparent 0 24px, rgba(143, 234, 255, 0.04) 24px 25px, transparent 25px 100%);
  opacity: .96;
  filter: none;
  transition: opacity .35s ease, transform .55s ease;
}

.site-nav::after {
  background: linear-gradient(135deg, rgba(17, 90, 255, 0.94), rgba(98, 198, 255, 0.94));
  opacity: 0;
  transition: opacity .35s ease;
}

.site-nav > * {
  position: relative;
  z-index: 1;
}

.site-nav .brand-copy strong,
.site-nav .brand-copy span,
.site-nav .nav-links a,
.site-nav .nav-pill {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.store-shell.has-scrolled .site-nav {
  border-color: var(--line);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
}

.store-shell.has-scrolled .site-nav::before {
  opacity: .96;
  transform: none;
}

.store-shell.has-scrolled .site-nav::after {
  opacity: 0;
}

.store-shell.has-scrolled .site-nav .brand-copy span,
.store-shell.has-scrolled .site-nav .nav-pill small {
  color: var(--muted);
}

.store-shell.has-scrolled .site-nav .nav-links a,
.store-shell.has-scrolled .site-nav .nav-pill {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(173, 204, 255, 0.12);
  box-shadow: none;
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  position: relative;
  border: 1px solid rgba(173, 204, 255, 0.18);
  background: linear-gradient(145deg, rgba(98, 194, 255, 0.28), rgba(47, 109, 255, 0.18));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 22px rgba(98, 194, 255, 0.18);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform: rotate(45deg);
}

.brand-mark::after {
  inset: 16px;
  border-color: rgba(98, 194, 255, 0.44);
  box-shadow: 0 0 14px rgba(98, 194, 255, 0.34);
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 16px;
}

.brand-copy strong,
.footer-brand strong {
  display: block;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-copy span,
.footer-brand span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.brand-copy span {
  letter-spacing: .14em;
  text-transform: uppercase;
}

.nav-links,
.nav-actions,
.footer-links,
.hero-actions,
.stat-grid,
.inline-list,
.dot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nav-links a,
.nav-pill,
.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(173, 204, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: #dce7ff;
  transition: transform .3s ease, border-color .3s ease, background-color .3s ease, box-shadow .3s ease;
}

.nav-pill {
  text-align: left;
}

.nav-pill span,
.nav-pill small {
  display: block;
  line-height: 1.15;
}

.nav-pill span {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9fc4ff;
}

.nav-pill small {
  color: var(--muted);
  font-size: .74rem;
}

.nav-links a:hover,
.nav-pill:hover,
.footer-links a:hover {
  transform: translateY(-3px);
  border-color: rgba(98, 194, 255, 0.34);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 16px 28px rgba(20, 52, 150, 0.16);
}

.nav-pill strong {
  display: block;
  color: #fff;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 24px;
  border: 0;
  border-radius: 18px;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background-color .35s ease;
  overflow: hidden;
  will-change: transform;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  filter: blur(14px);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: -1;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 12%, rgba(255, 255, 255, 0.34) 46%, transparent 62%);
  transform: translateX(-165%) skewX(-18deg);
  transition: transform .85s ease;
}

.btn:hover {
  transform: translateY(-4px) scale(1.02);
}

.btn:hover::after {
  transform: translateX(165%) skewX(-18deg);
}

.btn-primary {
  color: #fff;
  border: 1px solid rgba(173, 204, 255, 0.16);
  background: linear-gradient(135deg, rgba(76, 136, 255, 0.94), rgba(72, 190, 255, 0.9));
  box-shadow: 0 18px 38px rgba(89, 103, 255, 0.34);
  animation: none;
}

.btn-primary::before {
  background: linear-gradient(135deg, rgba(98, 194, 255, 0.78), rgba(143, 234, 255, 0.76));
  opacity: .8;
}

.btn-primary:hover {
  box-shadow: 0 22px 44px rgba(50, 110, 255, 0.34), 0 0 24px rgba(120, 214, 255, 0.14);
}

.btn-secondary,
.btn-ghost {
  color: var(--text);
  border: 1px solid rgba(173, 204, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 14px 30px rgba(2, 8, 25, 0.28);
}

.btn-secondary:hover,
.btn-ghost:hover {
  border-color: rgba(113, 162, 255, 0.42);
  box-shadow: 0 20px 40px rgba(53, 94, 255, 0.16);
}

.btn.wide,
.tebex-checkout-wrap .btn {
  width: 100%;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding-bottom: 34px;
}

.page-layout.with-sidebar {
  grid-template-columns: minmax(0, 1.32fr) minmax(340px, 390px);
}

.content-main,
.content-side {
  min-width: 0;
}

body.page-category .page-layout.with-sidebar,
body.page-category-tiered .page-layout.with-sidebar,
body.page-package .page-layout.with-sidebar {
  grid-template-columns: minmax(250px, 308px) minmax(0, 1fr);
}

body.page-category .content-side,
body.page-category-tiered .content-side,
body.page-package .content-side {
  order: -1;
}

.sidebar-stack {
  display: grid;
  gap: 18px;
}

.module-shell,
.side-summary,
.panel-card,
.info-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  min-height: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(173, 204, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(9, 14, 32, 0.72);
  box-shadow: var(--shadow-md);
}

.category-side-nav {
  padding: 0;
  overflow: hidden;
}

.category-side-top {
  padding: 20px 22px;
  border-bottom: 1px solid rgba(173, 204, 255, 0.08);
  background:
    radial-gradient(circle at 16% 18%, rgba(117, 205, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(17, 34, 63, 0.96), rgba(10, 19, 36, 0.99));
}

.category-side-top span {
  display: block;
  color: #79c6ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.category-side-top strong {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-family: var(--display-accent);
  font-size: clamp(1.34rem, 1.9vw, 1.92rem);
  line-height: .94;
  text-transform: uppercase;
}

.category-side-top-subcats {
  padding: 16px 20px 14px;
}

.category-side-top-subcats span {
  margin: 0;
  color: #8fd9ff;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.category-side-links {
  display: grid;
}

.category-side-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  color: rgba(233, 240, 255, 0.72);
  font-size: .98rem;
  font-weight: 700;
  transition: background-color .28s ease, color .28s ease, transform .28s ease;
}

.category-side-link::before {
  content: ">";
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.44);
  font-size: 1rem;
}

.category-side-link:hover {
  transform: translateX(4px);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
}

.category-side-link.is-active {
  color: #8fd9ff;
  background: rgba(81, 171, 255, 0.1);
}

.category-side-link.is-active::before {
  color: #8fd9ff;
}

.panel-card::before,
.module-shell::before,
.info-card::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: conic-gradient(from 180deg, transparent 0%, rgba(98, 194, 255, 0.65) 18%, transparent 34%, transparent 56%, rgba(143, 234, 255, 0.55) 72%, transparent 88%);
  filter: blur(18px);
  opacity: 0;
  animation: spin 8s linear infinite;
  transition: opacity .35s ease;
  z-index: 0;
}

.panel-card > *,
.module-shell > *,
.info-card > * {
  position: relative;
  z-index: 1;
}

.panel-card:hover::before,
.info-card:hover::before {
  opacity: .74;
}

.panel-card:hover,
.info-card:hover {
  transform: translateY(-10px);
  border-color: rgba(113, 162, 255, 0.34);
  box-shadow: 0 26px 56px rgba(2, 8, 25, 0.46), 0 0 24px rgba(78, 121, 255, 0.16);
}

.panel-card,
.info-card {
  transition: transform .42s ease, box-shadow .42s ease, border-color .42s ease;
  will-change: transform;
}

.card-grid {
  display: grid;
  gap: 22px;
}

.card-grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.icon-chip,
.status-pill,
.badge,
.tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(173, 204, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #d9e3ff;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.badge.value {
  color: #ffe8ad;
  background: rgba(255, 201, 87, 0.12);
  border-color: rgba(255, 201, 87, 0.18);
}

.badge.popular {
  color: #d5e9ff;
  background: rgba(98, 194, 255, 0.14);
  border-color: rgba(98, 194, 255, 0.18);
}

.status-pill {
  color: #bcffd9;
  border-color: rgba(98, 255, 180, 0.18);
  background: rgba(98, 255, 180, 0.08);
}

.status-pill::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 16px rgba(98, 255, 180, 0.88);
  animation: pulse 2.2s ease-in-out infinite;
}

.card-title,
.module-shell h3,
.side-summary h3,
.info-card h3 {
  margin: 14px 0 10px;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.card-copy,
.module-shell p,
.side-summary p,
.info-card p,
.rich-copy,
.rich-copy * {
  color: var(--muted);
  line-height: 1.75;
}

.rich-copy p:first-child {
  margin-top: 0;
}

.rich-copy p:last-child {
  margin-bottom: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-link span {
  transition: transform .35s ease;
}

.panel-card:hover .card-link span {
  transform: translateX(6px);
}

.price-stack {
  display: flex;
  align-items: end;
  gap: 10px;
  margin: 20px 0 18px;
}

.price-stack strong {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
  color: #fff;
}

.price-stack span {
  color: #c4d1f4;
  padding-bottom: 3px;
  font-size: 0.94rem;
}

.price-old {
  color: #ffb6c3;
  text-decoration: line-through;
}

.feature-list,
.stack-list,
.simple-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.feature-list li,
.simple-list li {
  position: relative;
  padding-left: 22px;
  color: #dce5ff;
  font-size: 0.95rem;
}

.feature-list li::before,
.simple-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 14px rgba(118, 140, 255, 0.65);
}

.media-shell {
  position: relative;
}

.media-grid {
  display: grid;
  gap: 12px;
}

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

.media-grid.single,
.media-grid.compact.single {
  grid-template-columns: 1fr;
}

.media-slide {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(173, 204, 255, 0.12);
  background: rgba(6, 13, 25, 0.9);
  aspect-ratio: 4 / 3;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 16px 30px rgba(1, 7, 24, 0.24);
}

.media-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 28%);
  pointer-events: none;
}

.media-slide img,
.media-slide iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.media-slide iframe {
  object-fit: cover;
}

.media-slide img {
  box-sizing: border-box;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  object-fit: contain;
  object-position: center center;
  padding: clamp(10px, 1.2vw, 18px);
  image-rendering: auto;
  transform: translateZ(0);
  filter: drop-shadow(0 16px 24px rgba(3, 9, 26, 0.18));
}

.panel-card:hover .media-slide img,
.detail-shell:hover .media-slide img {
  transform: translateZ(0);
}

.media-placeholder {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 20px;
  text-align: center;
  border-radius: 18px;
  border: 1px dashed rgba(173, 204, 255, 0.18);
  background: linear-gradient(145deg, rgba(98, 194, 255, 0.08), rgba(47, 109, 255, 0.08));
  color: #d8e6ff;
}

.action-row {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.category-stage {
  display: grid;
  gap: 22px;
}

body.page-category .category-stage,
body.page-category-tiered .category-stage {
  gap: 0;
}

.category-subcategory-section {
  display: grid;
  gap: 22px;
  margin-bottom: 26px;
}

.category-subcategory-grid {
  margin-bottom: 4px;
}

.category-intro-card {
  padding: 26px 30px;
  background:
    radial-gradient(circle at 12% 18%, rgba(112, 198, 255, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(16, 26, 49, 0.98), rgba(9, 16, 30, 0.99)),
    rgba(9, 16, 30, 0.99);
}

.category-intro-card .eyebrow {
  margin-bottom: 12px;
  color: #8fd9ff;
  border-color: rgba(124, 208, 255, 0.24);
  background: rgba(124, 208, 255, 0.08);
}

.category-intro-card h2 {
  margin: 0;
  color: #ffffff;
  font-family: var(--display-accent);
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: .92;
  text-transform: uppercase;
}

.category-intro-card .rich-copy {
  margin-top: 10px;
}

.category-intro-card .rich-copy,
.category-intro-card .rich-copy * {
  color: rgba(225, 236, 248, 0.82);
  font-size: 1.04rem;
}

body.page-category .category-intro-card,
body.page-category-tiered .category-intro-card {
  display: none !important;
}

body.page-category .sidebar-modules .module-shell:has(.progress-track),
body.page-category-tiered .sidebar-modules .module-shell:has(.progress-track),
body.page-package .sidebar-modules .module-shell:has(.progress-track) {
  display: none !important;
}

.page-category .package-grid,
.page-category-tiered .package-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  justify-content: stretch;
  gap: 20px;
}

.package-tile-card {
  width: 100%;
  max-width: none;
  justify-self: stretch;
  padding: 22px 20px 18px;
  border-radius: 24px;
  border-color: rgba(115, 174, 255, 0.18);
  background:
    radial-gradient(circle at 50% 14%, rgba(135, 214, 255, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(23, 31, 49, 0.97), rgba(16, 22, 35, 0.99)),
    rgba(16, 22, 35, 0.99);
  box-shadow: 0 20px 42px rgba(2, 10, 28, 0.34);
  transition: transform .48s cubic-bezier(.18, .84, .2, 1), box-shadow .48s cubic-bezier(.18, .84, .2, 1), border-color .35s ease;
}

.package-tile-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 16%, rgba(132, 210, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%);
  pointer-events: none;
}

.package-tile-card:hover {
  transform: translateY(-10px) scale(1.012);
  border-color: rgba(132, 210, 255, 0.32);
  box-shadow: 0 26px 54px rgba(2, 10, 28, 0.44), 0 0 22px rgba(102, 198, 255, 0.14);
}

.package-tile-card .package-card-body {
  display: grid;
  gap: 16px;
  height: 100%;
  justify-items: center;
  text-align: center;
  align-content: start;
}

.package-tile-card .inline-list {
  justify-content: center;
  min-height: 34px;
}

.package-tile-card .inline-list:empty {
  display: none;
  min-height: 0;
}

.package-tile-card .media-shell {
  width: 100%;
}

.package-tile-card .media-grid.compact.single {
  justify-items: center;
}

.package-tile-card .media-slide {
  width: min(100%, 146px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 18px;
  border-color: rgba(144, 201, 255, 0.14);
  background:
    radial-gradient(circle at 50% 18%, rgba(103, 192, 255, 0.12), transparent 26%),
    rgba(22, 29, 56, 0.94);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 18px 32px rgba(3, 10, 28, 0.24);
  transition: transform .38s cubic-bezier(.18, .84, .2, 1), box-shadow .38s ease, border-color .3s ease;
}

.package-tile-card .media-slide img {
  padding: 8px;
  filter: drop-shadow(0 14px 20px rgba(3, 9, 26, 0.16));
}

.package-tile-card:hover .media-slide {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(162, 224, 255, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 24px 38px rgba(3, 10, 28, 0.3);
}

.package-tile-copy {
  display: grid;
  gap: 6px;
  justify-items: center;
  align-items: center;
  min-height: 64px;
}

.package-tile-card .card-title {
  margin: 0;
  font-size: clamp(1.28rem, 1.85vw, 1.56rem);
  line-height: 1.02;
  text-align: center;
}

.package-tile-card .price-stack {
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  margin: 0;
}

.package-tile-card .price-stack strong {
  font-size: clamp(1.76rem, 2.6vw, 2.08rem);
  color: #91d5ff;
  text-shadow: 0 0 18px rgba(98, 194, 255, 0.18);
}

.package-tile-card .price-stack span {
  padding-bottom: 4px;
  color: rgba(233, 243, 255, 0.72);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.package-tile-card .price-old {
  padding-bottom: 4px;
  font-size: .98rem;
}

.package-tile-actions {
  width: 100%;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: stretch;
  gap: 10px;
  margin-top: auto;
}

.package-info-button {
  display: inline-grid;
  place-items: center;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(108, 198, 255, 0.26);
  background: linear-gradient(135deg, rgba(26, 116, 255, 0.98), rgba(77, 196, 255, 0.94));
  color: #ffffff;
  font-family: "Orbitron", sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  box-shadow: 0 14px 24px rgba(6, 32, 92, 0.24);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, filter .3s ease;
}

.package-info-button:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 224, 255, 0.38);
  box-shadow: 0 18px 34px rgba(6, 32, 92, 0.32);
}

.package-buy-button {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: .9rem;
  letter-spacing: .04em;
  transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
}

.package-tile-card .package-buy-button.btn-primary {
  background: linear-gradient(135deg, #49a866, #59b46e);
  box-shadow: 0 16px 30px rgba(24, 78, 46, 0.28);
}

.package-tile-card .package-buy-button:hover,
.package-info-button:hover {
  filter: brightness(1.05);
}

.package-tile-card .package-buy-button.btn-secondary {
  background: linear-gradient(180deg, rgba(28, 39, 62, 0.96), rgba(16, 24, 40, 0.98));
}

.package-tile-card .action-row:not(.package-tile-actions) .btn {
  min-height: 48px;
  border-radius: 14px;
  font-size: .88rem;
}

.package-detail-shell {
  max-width: 1120px;
  margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(17, 26, 50, 0.96), rgba(8, 15, 30, 0.99)),
    rgba(8, 15, 30, 0.99);
}

.package-detail-copy {
  gap: 20px;
}

.package-benefits {
  padding: 22px;
  border-radius: 22px;
  border-color: rgba(112, 192, 255, 0.18);
  background:
    radial-gradient(circle at 12% 18%, rgba(87, 176, 255, 0.12), transparent 26%),
    rgba(11, 20, 40, 0.86);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 18px 34px rgba(2, 10, 28, 0.18);
}

.package-benefits > strong {
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.package-benefits > p {
  margin: 0;
  color: rgba(205, 222, 248, 0.7);
  font-size: .9rem;
}

.package-benefits .rich-copy {
  margin-top: 16px;
  max-height: 480px;
  overflow: auto;
  padding-right: 8px;
}

.package-benefits .rich-copy,
.package-benefits .rich-copy * {
  color: #d9e8ff;
}

.package-benefits .rich-copy ul,
.package-benefits .rich-copy ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.package-benefits .rich-copy li {
  position: relative;
  padding-left: 18px;
  line-height: 1.68;
}

.package-benefits .rich-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 16px rgba(98, 194, 255, 0.42);
}

.package-benefits .rich-copy img {
  width: 100%;
  height: auto;
  margin-top: 12px;
  border-radius: 16px;
}

.checkout-flow-shell {
  max-width: 980px;
  margin: 0 auto;
}

.checkout-stage-panel {
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(11, 19, 38, 0.98), rgba(8, 14, 28, 0.99)),
    rgba(8, 14, 28, 0.99);
}

.checkout-stage-head {
  margin-bottom: 10px;
}

.checkout-stage-grid {
  display: grid;
  gap: 18px;
}

.checkout-card {
  position: relative;
  overflow: hidden;
  padding: 20px 22px;
  border-radius: 22px;
  border: 1px solid rgba(108, 176, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(17, 25, 48, 0.92), rgba(10, 17, 30, 0.98)),
    rgba(10, 17, 30, 0.98);
  box-shadow: 0 20px 38px rgba(2, 8, 24, 0.22);
}

.checkout-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 16%, rgba(99, 188, 255, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%);
  pointer-events: none;
}

.checkout-card > * {
  position: relative;
  z-index: 1;
}

.checkout-card-title {
  margin-bottom: 14px;
  color: #ffffff;
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-items-list {
  display: grid;
  gap: 12px;
}

.checkout-update-form {
  display: grid;
  gap: 14px;
}

.checkout-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(108, 176, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transition: transform .34s ease, border-color .34s ease, box-shadow .34s ease;
}

.checkout-item-row:hover {
  transform: translateX(6px);
  border-color: rgba(128, 206, 255, 0.26);
  box-shadow: 0 18px 28px rgba(4, 18, 50, 0.18);
}

.checkout-item-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.checkout-item-thumb {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(112, 192, 255, 0.18);
  background:
    radial-gradient(circle at 50% 22%, rgba(98, 194, 255, 0.14), transparent 28%),
    rgba(18, 28, 48, 0.94);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.checkout-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.checkout-item-thumb span {
  color: #eff6ff;
  font-family: "Orbitron", sans-serif;
  font-size: 1.18rem;
}

.checkout-item-copy {
  min-width: 0;
}

.checkout-item-copy strong,
.checkout-item-copy small {
  display: block;
}

.checkout-item-copy strong {
  color: #ffffff;
  font-size: 1rem;
}

.checkout-item-copy small {
  margin-top: 4px;
  color: rgba(213, 226, 247, 0.68);
}

.checkout-item-price {
  flex: 0 0 auto;
  color: #ffd36a;
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  text-align: right;
  white-space: nowrap;
}

.checkout-item-controls {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 36px 54px 36px;
  align-items: center;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(108, 198, 255, 0.18);
  background: rgba(255, 255, 255, 0.045);
}

.quantity-button,
.quantity-input {
  min-width: 0;
  height: 38px;
  border: 0;
  color: #ffffff;
  text-align: center;
}

.quantity-button {
  display: grid;
  place-items: center;
  background: rgba(98, 194, 255, 0.12);
  cursor: pointer;
  font-weight: 900;
  transition: background-color .22s ease, color .22s ease;
}

.quantity-button:hover {
  background: rgba(98, 194, 255, 0.24);
}

.quantity-button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.quantity-input {
  appearance: textfield;
  -moz-appearance: textfield;
  background: rgba(5, 12, 24, 0.56);
  font-family: "Orbitron", sans-serif;
  font-size: .86rem;
  outline: 0;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.cart-remove-link {
  color: #ffb6c3;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .22s ease;
}

.cart-remove-link:hover {
  color: #ffffff;
}

.checkout-update-button {
  width: fit-content;
  min-height: 48px;
  justify-self: end;
  border-radius: 14px;
  font-size: .82rem;
}

.checkout-total-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.checkout-total-row span {
  color: rgba(215, 226, 248, 0.72);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.checkout-total-row strong {
  color: #ffd36a;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2.1rem, 4.6vw, 2.9rem);
  line-height: 1;
}

.checkout-note-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checkout-note-list li {
  position: relative;
  padding-left: 20px;
  color: #dce7ff;
  line-height: 1.68;
}

.checkout-note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 16px rgba(98, 194, 255, 0.34);
}

.checkout-note-plain {
  gap: 10px;
}

.checkout-note-plain p {
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(108, 176, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: #dce7ff;
  line-height: 1.62;
}

.checkout-warning {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 122, 150, 0.28);
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 122, 150, 0.12), transparent 24%),
    rgba(85, 19, 38, 0.22);
  color: #ffdbe3;
  font-weight: 700;
  line-height: 1.58;
}

.checkout-cta-stack .btn {
  min-height: 62px;
  font-size: .98rem;
}

.toast {
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(173, 204, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #eaf2ff;
}

.toast.success {
  border-color: rgba(98, 255, 180, 0.24);
}

.toast.error {
  border-color: rgba(255, 122, 150, 0.24);
}

.progress-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(173, 204, 255, 0.08);
}

.progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 18px rgba(98, 194, 255, 0.28);
}

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

.module-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(173, 204, 255, 0.1);
}

.module-item strong,
.module-item span {
  display: block;
}

.module-item small,
.module-item em {
  color: var(--muted);
  font-style: normal;
}

.module-item .amount {
  font-family: "Orbitron", sans-serif;
}

.topdonator-card {
  display: grid;
  grid-template-columns: minmax(120px, 148px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(173, 204, 255, 0.14);
  background:
    radial-gradient(circle at 20% 18%, rgba(126, 206, 255, 0.18), transparent 24%),
    linear-gradient(145deg, rgba(28, 76, 180, 0.34), rgba(10, 18, 34, 0.92));
}

.topdonator-skin-shell {
  position: relative;
  min-height: 190px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(196, 224, 255, 0.12);
  background:
    radial-gradient(circle at 50% 18%, rgba(214, 234, 255, 0.16), transparent 22%),
    linear-gradient(180deg, rgba(18, 28, 46, 0.92), rgba(8, 14, 28, 0.98));
}

.topdonator-skin-shell::after {
  content: "";
  position: absolute;
  inset: auto -16% -18% -16%;
  height: 44%;
  background: radial-gradient(circle, rgba(98, 194, 255, 0.3), transparent 64%);
}

.topdonator-skin {
  position: relative;
  z-index: 1;
  width: min(100%, 124px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 22px rgba(0, 0, 0, 0.34));
}

.topdonator-copy strong {
  display: block;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.18rem, 2vw, 1.42rem);
}

.topdonator-copy small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.65;
}

.topdonator-total {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(196, 224, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-family: "Orbitron", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.recent-payments-shell {
  border-color: rgba(214, 136, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(106, 48, 156, 0.92), rgba(63, 23, 104, 0.98)),
    rgba(63, 23, 104, 0.98);
}

.recent-payments-shell .eyebrow {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.14);
}

.recent-payments-head {
  margin-top: 12px;
}

.recent-payments-head h3 {
  margin: 0;
  color: #ffffff;
}

.recent-payments-head p {
  margin: 4px 0 0;
  color: rgba(245, 228, 255, 0.82);
  font-weight: 700;
  line-height: 1.4;
}

.payment-avatar-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.payment-avatar-card {
  position: relative;
  aspect-ratio: 1;
  overflow: visible;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(23, 12, 38, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform .28s ease, border-color .28s ease, background-color .28s ease;
}

.payment-avatar-initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.payment-avatar-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
  border-radius: inherit;
}

.payment-avatar-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(34, 18, 58, 0.96);
}

.payment-avatar-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  z-index: 5;
  width: max-content;
  max-width: 170px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(30, 21, 45, 0.98);
  color: #ffffff;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .01em;
  box-shadow: 0 10px 22px rgba(4, 2, 12, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 7px) scale(.96);
  transition: opacity .18s ease, transform .18s ease;
}

.payment-avatar-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 8px;
  height: 8px;
  background: inherit;
  transform: translate(-50%, -4px) rotate(45deg);
}

.payment-avatar-card:hover .payment-avatar-tooltip,
.payment-avatar-card:focus-visible .payment-avatar-tooltip {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.home-promo-section,
.home-promo-banner,
.home-promo-shell,
.home-promo-timer,
.home-promo-countdown,
.home-promo-copy,
.promo-time-box,
.special-offer-card,
.special-offer-banner,
[class*="home-promo"],
[class*="special-offer"],
[class*="promo-time"] {
  display: none !important;
}

.footer {
  padding: 26px 0 42px;
}

.footer-stack {
  display: grid;
  gap: 18px;
}

.footer-status-bar,
.footer-bottom-bar {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(173, 204, 255, 0.14);
  box-shadow: 0 22px 48px rgba(2, 8, 25, 0.28);
}

.footer-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(15, 23, 40, 0.96), rgba(9, 15, 28, 0.98));
}

.footer-status-button {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 14px 20px;
  border-width: 1px;
  font: inherit;
  border-radius: 24px;
  text-align: left;
  cursor: pointer;
  color: inherit;
  background: linear-gradient(180deg, rgba(15, 23, 40, 0.96), rgba(9, 15, 28, 0.98));
}

.footer-status-button:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 224, 255, 0.18);
  box-shadow: 0 26px 54px rgba(5, 16, 42, 0.3);
}

.footer-status-bar::before,
.footer-bottom-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.footer-status-bar::before {
  background:
    radial-gradient(circle at 12% 50%, rgba(120, 183, 255, 0.14), transparent 18%),
    radial-gradient(circle at 82% 18%, rgba(145, 220, 255, 0.08), transparent 18%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent 38%, rgba(104, 181, 255, 0.04) 100%);
  opacity: .82;
}

.footer-status-brand,
.footer-platforms,
.footer-platform-list {
  display: flex;
  align-items: center;
}

.footer-status-brand {
  gap: 16px;
  min-width: 0;
}

.footer-stars-badge,
.footer-bottom-stars {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  border: 1px solid rgba(196, 224, 255, 0.14);
  background: linear-gradient(145deg, rgba(32, 88, 238, 0.42), rgba(83, 188, 255, 0.14));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 16px 34px rgba(6, 24, 74, 0.24);
  flex: 0 0 auto;
}

.footer-logo-image {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(120, 190, 255, 0.26));
}

.footer-logo-image-small {
  width: 26px;
  height: 26px;
}

.footer-stars-svg {
  width: 34px;
  height: 34px;
  fill: #f7fbff;
  filter: drop-shadow(0 0 18px rgba(120, 190, 255, 0.3));
}

.footer-stars-svg .star-secondary {
  opacity: .74;
}

.footer-status-copy {
  min-width: 0;
}

.footer-status-copy strong {
  display: block;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(.94rem, 1.5vw, 1.16rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-status-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: #eff6ff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
}

.footer-status-trigger:hover {
  color: #ffffff;
}

.footer-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #67ff95;
  box-shadow: 0 0 16px rgba(103, 255, 149, 0.82);
  flex: 0 0 auto;
}

.footer-platforms {
  gap: 16px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-platform-label {
  color: rgba(225, 239, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-platform-list {
  gap: 10px;
  flex-wrap: wrap;
}

.footer-platform-chip {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(196, 224, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #eff6ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform .3s ease, border-color .3s ease, background-color .3s ease;
}

.footer-platform-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(145, 220, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.footer-platform-icon-plate {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 3px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(230, 241, 255, 0.92));
  box-shadow: 0 10px 18px rgba(4, 18, 54, 0.18);
  overflow: hidden;
  transition: transform .3s ease;
}

.footer-platform-chip:hover .footer-platform-icon-plate {
  transform: scale(1.05);
}

.footer-platform-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.footer-platform-icon-xbox {
  border-radius: 8px;
}

.footer-platform-icon-playstation {
  width: 92%;
  height: 92%;
}

.footer-platform-icon-nintendo {
  width: 108%;
  height: 108%;
}

.footer-platform-icon-mobile {
  width: 88%;
  height: 88%;
}

.footer-platform-icon-pc {
  width: 96%;
  height: 96%;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(10, 17, 30, 0.96), rgba(7, 13, 24, 0.99));
}

.footer-bottom-bar::before {
  background:
    radial-gradient(circle at 82% 18%, rgba(109, 191, 255, 0.14), transparent 20%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent 36%);
}

.footer-bottom-copy strong {
  display: block;
  color: #ffffff;
  font-size: clamp(.92rem, 1.2vw, 1.08rem);
}

.footer-bottom-copy span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.footer-bottom-stars {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.03);
}

.footer-bottom-stars .footer-stars-svg {
  width: 30px;
  height: 30px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 4px 18px 0;
  color: rgba(220, 231, 255, 0.72);
  font-size: .88rem;
}

.footer-legal-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .25s ease;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

.copy-center-toast {
  position: fixed !important;
  inset: 50% auto auto 50%;
  left: 50% !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  z-index: 1400;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-50% + 22px)) scale(.94);
  transition: opacity .28s ease, transform .38s cubic-bezier(.18, .84, .2, 1);
}

.copy-center-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.copy-center-card {
  position: relative;
  overflow: hidden;
  width: min(280px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(196, 224, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(18, 28, 46, 0.96), rgba(10, 18, 32, 0.98)),
    rgba(10, 18, 32, 0.98);
  box-shadow: 0 18px 38px rgba(5, 18, 52, 0.3);
  display: inline-grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.copy-center-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(120, 190, 255, 0.18), transparent 24%),
    radial-gradient(circle at 84% 84%, rgba(82, 176, 255, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 44%);
  pointer-events: none;
}

.copy-center-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 14%, rgba(255, 255, 255, 0.24) 46%, transparent 66%);
  transform: translateX(-170%) skewX(-18deg);
  pointer-events: none;
}

.copy-center-mark {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(32, 88, 238, 0.46), rgba(83, 188, 255, 0.16));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 12px 24px rgba(9, 31, 92, 0.24);
  isolation: isolate;
}

.copy-center-mark::before,
.copy-center-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: scale(.42);
}

.copy-center-toast.is-visible .copy-center-mark::before {
  animation: joinRing 1.7s cubic-bezier(.18, .84, .2, 1) both;
}

.copy-center-toast.is-visible .copy-center-mark::after {
  animation: joinRing 1.7s .24s cubic-bezier(.18, .84, .2, 1) both;
}

.copy-center-toast.is-visible .copy-center-mark .footer-stars-svg,
.copy-center-toast.is-visible .copy-center-mark .footer-logo-image {
  animation: joinStarBurst 1.24s cubic-bezier(.18, .84, .2, 1) both;
}

.copy-center-toast.is-visible .copy-center-card {
  animation: copyToastCardIn .42s cubic-bezier(.18, .84, .2, 1) both;
}

.copy-center-toast.is-visible .copy-center-card::after {
  animation: copyToastSweep 1.2s .14s ease both;
}

.copy-center-card strong,
.copy-center-card span {
  position: relative;
  z-index: 1;
}

.copy-center-card strong {
  color: #ffffff;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(.82rem, 1.15vw, .98rem);
  letter-spacing: 0.08em;
}

.copy-center-card span {
  color: rgba(238, 246, 255, 0.92);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-panel {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(38px) scale(.974);
  filter: blur(10px);
  transition:
    opacity .9s cubic-bezier(.18, .84, .2, 1),
    transform .9s cubic-bezier(.18, .84, .2, 1),
    filter .9s cubic-bezier(.18, .84, .2, 1);
  transition-delay: var(--delay, 0s);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

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

.muted {
  color: var(--muted);
}

.empty-state {
  padding: 28px;
  text-align: center;
}

.empty-state h3 {
  margin-top: 0;
  font-family: "Orbitron", sans-serif;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .8; }
  50% { transform: scale(1.18); opacity: 1; }
}

@keyframes buttonPulse {
  0%, 100% { box-shadow: 0 18px 38px rgba(89, 103, 255, .3), 0 0 0 rgba(89, 103, 255, 0); }
  50% { box-shadow: 0 22px 44px rgba(89, 103, 255, .42), 0 0 38px rgba(72, 190, 255, .24); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes joinStarBurst {
  0% { transform: scale(.26) rotate(-20deg); opacity: 0; }
  58% { transform: scale(1.16) rotate(7deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes joinRing {
  0% { opacity: 0; transform: scale(.34); }
  26% { opacity: .62; }
  100% { opacity: 0; transform: scale(1.52); }
}

@keyframes copyToastCardIn {
  0% { transform: translateY(30px) scale(.88); filter: blur(14px); }
  55% { transform: translateY(-3px) scale(1.012); filter: blur(1px); }
  100% { transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes copyToastFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes copyToastSweep {
  0% { transform: translateX(-170%) skewX(-18deg); }
  100% { transform: translateX(170%) skewX(-18deg); }
}

@keyframes packageFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (min-width: 1600px) {
  .page-zoom-shell {
    width: 100%;
  }
}

@media (min-width: 1280px) and (max-width: 1599px) {
  .page-zoom-shell {
    width: 100%;
  }
}

@media (max-width: 1120px) {
  .page-layout.with-sidebar,
  .card-grid.cols-4,
  .card-grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-layout.with-sidebar {
    grid-template-columns: 1fr;
  }

  body.page-category .content-side,
  body.page-category-tiered .content-side,
  body.page-package .content-side {
    order: 0;
  }

  .payment-avatar-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .page-category .package-grid,
  .page-category-tiered .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-nav {
    padding: 14px 16px;
  }

  .nav-links {
    display: none;
  }

  .card-grid.cols-4,
  .card-grid.cols-3,
  .card-grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .footer-panel,
  .panel-card,
  .module-shell,
  .info-card,
  .side-summary,
  .footer-status-bar,
  .footer-bottom-bar {
    padding: 20px;
  }

  .footer-status-trigger {
    font-size: 0.7rem;
    line-height: 1.45;
    align-items: flex-start;
  }

  .footer-platform-chip {
    width: 46px;
    height: 46px;
  }

  .topdonator-card {
    grid-template-columns: 1fr;
  }

  .topdonator-skin-shell {
    min-height: 170px;
  }

  .payment-avatar-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .copy-center-card {
    width: min(280px, calc(100vw - 24px));
    padding: 18px 20px;
  }

  .footer-legal-links {
    flex-wrap: wrap;
    gap: 12px 18px;
    padding-inline: 8px;
    text-align: center;
  }

  .package-tile-card {
    max-width: none;
  }

  .page-category .package-grid,
  .page-category-tiered .package-grid {
    grid-template-columns: 1fr;
  }

  .checkout-stage-panel,
  .checkout-card {
    padding: 20px;
  }

  .checkout-item-row,
  .checkout-total-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .checkout-item-row {
    grid-template-columns: 1fr;
  }

  .checkout-item-controls {
    width: 100%;
    justify-items: stretch;
  }

  .checkout-item-price {
    width: 100%;
    text-align: left;
  }

  .checkout-update-button {
    width: 100%;
    justify-self: stretch;
  }

  .section {
    padding: 42px 0;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .footer-status-bar,
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-platforms {
    justify-content: flex-start;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
