:root {
  --bg: #070910;
  --bg-2: #0c101b;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-2: rgba(255, 255, 255, 0.105);
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(148, 163, 184, 0.28);
  --text: #f6f8ff;
  --muted: #aab3c7;
  --muted-2: #778198;
  --purple: #8b5cf6;
  --cyan: #22d3ee;
  --green: #3ddc97;
  --rose: #fb7185;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 22px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 6%, rgba(139, 92, 246, 0.22), transparent 26rem),
    radial-gradient(circle at 82% 12%, rgba(34, 211, 238, 0.14), transparent 24rem),
    linear-gradient(180deg, #070910 0%, #0a0d16 42%, #070910 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(135deg, transparent 46%, rgba(148, 163, 184, 0.045) 47%, rgba(148, 163, 184, 0.045) 48%, transparent 49%),
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 220px 220px, 88px 88px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 75%);
}

body.modal-open {
  overflow: hidden;
}

.loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.8);
  opacity: 0;
  pointer-events: none;
}

.loading-bar.active {
  animation: loadingSweep 1.05s ease;
}

@keyframes loadingSweep {
  0% {
    opacity: 1;
    transform: scaleX(0);
  }
  55% {
    opacity: 1;
    transform: scaleX(0.88);
  }
  82% {
    opacity: 1;
    transform: scaleX(0.96);
  }
  100% {
    opacity: 0;
    transform: scaleX(1);
  }
}

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

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

button {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6.2vw, 5.45rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  letter-spacing: 0;
}

.page-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  position: relative;
}

.site-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
}

.logo-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 13px;
  background:
    linear-gradient(135deg, var(--purple), rgba(34, 211, 238, 0.86)),
    #111827;
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(139, 92, 246, 0.2), 0 14px 34px rgba(34, 211, 238, 0.14);
}

.logo-text strong {
  color: var(--cyan);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover,
.footer-brand a:hover,
.site-footer a:hover {
  color: var(--text);
}

.nav a:first-child {
  color: var(--text);
}

.nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.cart-nav-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  cursor: pointer;
}

.cart-nav-button span {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.mobile-menu {
  display: none;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.065);
  cursor: pointer;
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  align-items: center;
  gap: 54px;
  padding: 56px 0 58px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker {
  width: fit-content;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  padding: 0 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
}

.kicker-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 211, 238, 0.45);
  color: var(--cyan);
  font-weight: 900;
}

.hero-text,
.section-text,
.feature-card p,
.steps-grid p,
.advantage-card p,
.process-grid p,
.product-card p,
.category-card p,
.update-card p,
.faq-card p,
.contact-section p,
.site-footer p,
.admin-muted,
.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 690px;
  font-size: 1.12rem;
}

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

.button,
.small-button {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button {
  min-height: 50px;
  padding: 0 22px;
}

.small-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.button:hover,
.small-button:hover,
.category-card:hover,
.product-card:hover,
.feature-card:hover,
.steps-grid article:hover,
.advantage-card:hover,
.process-grid article:hover,
.update-card:hover,
.faq-card:hover {
  transform: translateY(-2px);
}

.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  box-shadow: 0 16px 44px rgba(139, 92, 246, 0.24);
}

.catalog-button {
  min-width: 220px;
  min-height: 58px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.secondary,
.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trust-row span,
.panel-pill,
.product-badge,
.product-status,
.category-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  font-size: 0.82rem;
}

.trust-row span {
  padding: 9px 12px;
}

.hero-panel,
.category-card,
.product-card,
.feature-card,
.steps-grid article,
.advantage-card,
.process-grid article,
.update-card,
.faq-card,
.contact-section,
.modal-card,
.admin-card,
.admin-warning,
.legal-card {
  border: 1px solid var(--line);
  background: rgba(18, 22, 30, 0.84);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.hero-panel {
  padding: 0;
  min-height: 470px;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 52% 45%, rgba(139, 92, 246, 0.22), transparent 22%),
    radial-gradient(circle at 64% 58%, rgba(34, 211, 238, 0.14), transparent 28%);
  pointer-events: none;
}

.hero-panel > * {
  position: relative;
}

.brand-stage {
  display: grid;
  place-items: center;
}

.brand-orbit {
  position: absolute;
  inset: 42px 20px 92px;
  border: 2px solid rgba(148, 163, 184, 0.12);
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-24deg);
}

.hero-brand-mark {
  width: clamp(190px, 24vw, 280px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(34, 211, 238, 0.82)),
    #0d111a;
  color: #ffffff;
  font-size: clamp(6rem, 14vw, 10.5rem);
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 0 80px rgba(139, 92, 246, 0.18), 0 0 120px rgba(34, 211, 238, 0.1);
}

.hero-status-strip {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(8, 11, 17, 0.72);
}

.hero-status-strip div {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.hero-status-strip div:last-child {
  border-right: 0;
}

.hero-status-strip strong,
.hero-status-strip span {
  display: block;
}

.hero-status-strip strong {
  color: var(--text);
  font-size: 1.65rem;
  line-height: 1;
}

.hero-status-strip span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.brand-stage .progress-bar {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 22px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.store-stats {
  display: grid;
  grid-template-columns: 1.1fr repeat(4, 1fr);
  align-items: center;
  gap: 0;
  margin: 0 0 34px;
  border: 1px solid var(--line);
  background: rgba(18, 22, 30, 0.84);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 3;
}

.store-stats > * {
  min-height: 104px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 22px 30px;
  border-right: 1px solid var(--line);
}

.store-stats > *:last-child {
  border-right: 0;
}

.stat-brand {
  width: fit-content;
  min-height: auto;
  margin: 0 30px;
  padding: 13px 24px;
  border-radius: 999px;
  align-self: center;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
}

.store-stats strong {
  display: block;
  color: var(--text);
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  line-height: 1;
}

.store-stats span {
  display: block;
  max-width: 150px;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.25;
}

.panel-top,
.product-top,
.product-bottom,
.category-meta,
.modal-meta,
.admin-topbar,
.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-top {
  color: var(--muted);
  margin-bottom: 22px;
}

.panel-top div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 24px rgba(61, 220, 151, 0.8);
}

.panel-pill {
  padding: 8px 11px;
}

.panel-screen {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 22px;
  background: rgba(4, 7, 15, 0.44);
}

.panel-line {
  width: 58%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 12px;
}

.panel-line.wide {
  width: 82%;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.panel-grid div {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.panel-grid strong {
  display: block;
  font-size: 2rem;
}

.panel-grid span {
  color: var(--muted);
}

.progress-label {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.progress-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.progress-fill {
  width: 76%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
}

.signal-list,
.compact-list,
.feature-list {
  list-style: none;
  padding: 0;
}

.signal-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  color: var(--muted);
}

.signal-list li,
.compact-list li,
.feature-list li {
  position: relative;
  padding-left: 22px;
}

.signal-list li::before,
.compact-list li::before,
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

.section {
  padding: 84px 0 24px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.subpage-main {
  padding: 54px 0 70px;
}

.subpage-hero {
  max-width: 850px;
  padding: 46px 0 28px;
}

.subpage-hero h1 {
  font-size: clamp(3rem, 7vw, 5.7rem);
}

.compact-section {
  padding-top: 42px;
}

.catalog-controls {
  display: grid;
  gap: 28px;
  margin: 24px 0 36px;
}

.catalog-search {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  background: rgba(18, 22, 30, 0.84);
  padding: 0 24px;
}

.catalog-search span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-search input {
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding-left: 22px;
  font-size: 1.05rem;
}

.catalog-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-tab {
  min-width: 132px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-tab.active,
.catalog-tab:hover {
  color: #ffffff;
  border-color: rgba(34, 211, 238, 0.42);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.86), rgba(34, 211, 238, 0.72));
}

.section-action {
  margin-top: 24px;
}

.back-button {
  flex: 0 0 auto;
}

.two-line-heading h2 {
  max-width: 560px;
}

.section-top {
  align-items: flex-end;
  margin-bottom: 26px;
}

.category-grid,
.product-grid,
.feature-grid,
.steps-grid,
.advantage-grid,
.process-grid,
.games-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.preview-grid .game-card:nth-child(n + 5) {
  display: none;
}

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

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

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

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

.category-card,
.product-card,
.game-card,
.feature-card,
.steps-grid article,
.advantage-card,
.process-grid article,
.update-card,
.faq-card,
.legal-card {
  padding: 24px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.game-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: rgba(18, 22, 30, 0.84);
  overflow: hidden;
}

.game-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.34);
}

.game-card.selected {
  border-color: rgba(34, 211, 238, 0.72);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.18), 0 0 42px rgba(34, 211, 238, 0.12);
  transform: translateY(-3px);
}

.game-card.selected .game-art {
  filter: saturate(1.15);
}

.game-card.selected .game-topline span {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.75), rgba(34, 211, 238, 0.55));
}

.game-art {
  min-height: 160px;
  display: grid;
  place-items: end start;
  padding: 18px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 25%, rgba(255, 255, 255, 0.18), transparent 20%),
    linear-gradient(135deg, rgba(139, 92, 246, 0.42), rgba(34, 211, 238, 0.18)),
    #10141d;
}

.game-art::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background:
    linear-gradient(135deg, transparent 42%, rgba(255, 255, 255, 0.12) 43%, transparent 45%),
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.06) 51%, transparent 53%);
  transform: rotate(-8deg);
}

.game-art span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(4, 7, 15, 0.72);
  color: var(--text);
  font-weight: 950;
  position: relative;
  z-index: 1;
}

.game-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.game-topline,
.game-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.game-topline {
  margin-bottom: 16px;
}

.game-topline span {
  padding: 7px 9px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 850;
}

.game-topline small,
.game-card p,
.game-bottom span {
  color: var(--muted);
}

.game-card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.game-card p {
  line-height: 1.6;
}

.game-bottom {
  margin-top: auto;
  padding-top: 18px;
}

.game-bottom strong {
  color: var(--text);
  font-size: 1.35rem;
}

.game-bottom a,
.game-bottom button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.game-bottom a:hover,
.game-bottom button:hover {
  color: var(--text);
  border-color: rgba(34, 211, 238, 0.38);
}

.game-cyan .game-art {
  background: radial-gradient(circle at 72% 25%, rgba(255, 255, 255, 0.16), transparent 20%), linear-gradient(135deg, rgba(34, 211, 238, 0.36), rgba(59, 130, 246, 0.22)), #10141d;
}

.game-violet .game-art {
  background: radial-gradient(circle at 72% 25%, rgba(255, 255, 255, 0.16), transparent 20%), linear-gradient(135deg, rgba(124, 58, 237, 0.44), rgba(236, 72, 153, 0.18)), #10141d;
}

.game-blue .game-art {
  background: radial-gradient(circle at 72% 25%, rgba(255, 255, 255, 0.16), transparent 20%), linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(15, 23, 42, 0.2)), #10141d;
}

.game-teal .game-art {
  background: radial-gradient(circle at 72% 25%, rgba(255, 255, 255, 0.16), transparent 20%), linear-gradient(135deg, rgba(20, 184, 166, 0.34), rgba(34, 197, 94, 0.16)), #10141d;
}

.game-slate .game-art {
  background: radial-gradient(circle at 72% 25%, rgba(255, 255, 255, 0.16), transparent 20%), linear-gradient(135deg, rgba(71, 85, 105, 0.48), rgba(15, 23, 42, 0.24)), #10141d;
}

.game-orange .game-art {
  background: radial-gradient(circle at 72% 25%, rgba(255, 255, 255, 0.16), transparent 20%), linear-gradient(135deg, rgba(249, 115, 22, 0.32), rgba(139, 92, 246, 0.18)), #10141d;
}

.game-green .game-art {
  background: radial-gradient(circle at 72% 25%, rgba(255, 255, 255, 0.16), transparent 20%), linear-gradient(135deg, rgba(34, 197, 94, 0.32), rgba(34, 211, 238, 0.14)), #10141d;
}

.advantage-card,
.process-grid article {
  min-height: 260px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.advantage-card {
  padding: 34px 26px 28px;
  border-bottom: 1px solid rgba(34, 211, 238, 0.28);
}

.advantage-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan), transparent);
}

.card-number {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.07);
  color: var(--cyan);
  font-weight: 950;
  font-size: 0.83rem;
}

.card-number::after {
  content: none;
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border: 1px solid rgba(148, 163, 184, 0.42);
  color: var(--muted);
  font-weight: 900;
}

.advantage-card h3,
.process-grid h3 {
  font-size: 1.38rem;
}

mark {
  padding: 0;
  color: var(--cyan);
  background: transparent;
}

.process-grid article {
  padding: 26px;
  border-top: 1px solid rgba(139, 92, 246, 0.34);
}

.process-grid article span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--cyan);
  font-weight: 950;
}

.category-card {
  width: 100%;
  text-align: left;
  cursor: pointer;
  border-radius: 0;
}

.category-card:hover,
.product-card:hover {
  border-color: rgba(34, 211, 238, 0.34);
}

.category-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(34, 211, 238, 0.12));
  color: var(--cyan);
  font-weight: 900;
}

.category-meta {
  flex-wrap: wrap;
  margin-top: 20px;
}

.category-meta span,
.product-badge,
.product-status {
  padding: 7px 10px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

.filter-button {
  min-height: 39px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  color: var(--text);
  border-color: rgba(34, 211, 238, 0.38);
  background: rgba(34, 211, 238, 0.1);
}

.product-card {
  min-height: 355px;
  display: flex;
  flex-direction: column;
  border-radius: 0;
}

.software-logo {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(34, 211, 238, 0.12)),
    rgba(3, 6, 15, 0.62);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 24px rgba(34, 211, 238, 0.08);
}

.modal-logo {
  margin-bottom: 18px;
}

.product-category {
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.compact-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.mini-plans {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 4px;
}

.mini-plans span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.035);
}

.plan-options {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.plan-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  padding: 14px;
}

.plan-option span {
  color: var(--muted);
}

.product-bottom {
  margin-top: auto;
}

.product-bottom strong,
.modal-meta strong {
  font-size: 1.35rem;
}

.split-section {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 34px;
  align-items: start;
}

.feature-card span,
.steps-grid span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
  font-weight: 850;
}

.updates-list {
  display: grid;
  gap: 14px;
}

.update-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
}

.update-card time {
  color: var(--cyan);
  font-weight: 800;
}

.contact-section {
  margin: 74px 0;
  padding: 34px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(140px, 0.6fr));
  gap: 28px;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
}

.site-footer h3 {
  margin-bottom: 14px;
  font-size: 0.95rem;
}

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

.footer-brand p {
  max-width: 360px;
  margin-top: 16px;
}

.copyright {
  margin-top: 18px;
  color: var(--muted-2);
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.modal.hidden,
.hidden {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.76);
  backdrop-filter: blur(12px);
}

.modal-card {
  width: min(560px, 100%);
  position: relative;
  border-radius: 28px;
  padding: 28px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.modal-card h2 {
  margin-top: 18px;
  font-size: 2.1rem;
}

.modal-category {
  color: var(--cyan);
  font-weight: 800;
}

.modal-meta {
  margin: 24px 0;
}

.modal-meta span {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.duration-picker {
  margin: 20px 0;
}

.duration-label {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

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

.duration-option {
  min-height: 76px;
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  padding: 12px;
  cursor: pointer;
  text-align: left;
}

.duration-option span {
  color: var(--muted);
  font-size: 0.86rem;
}

.duration-option strong {
  font-size: 1rem;
}

.duration-option.active,
.duration-option:hover {
  border-color: rgba(34, 211, 238, 0.46);
  background: rgba(34, 211, 238, 0.09);
}

.modal-price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  padding: 14px;
  margin-bottom: 18px;
}

.modal-price-line span {
  color: var(--muted);
}

.cart-drawer.hidden {
  display: none;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(10px);
}

.cart-panel {
  width: min(440px, 100%);
  height: 100%;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  background: rgba(9, 12, 20, 0.98);
  position: relative;
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.34);
}

.cart-header,
.cart-footer {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.cart-header h2 {
  font-size: 1.8rem;
}

.cart-items {
  flex: 1;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
}

.cart-item {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  padding: 16px;
}

.cart-item h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.cart-item p {
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.cart-item-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.cart-item-actions button {
  min-height: 34px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  padding: 0 10px;
  cursor: pointer;
}

.cart-item-actions span {
  min-width: 28px;
  text-align: center;
  font-weight: 900;
}

.cart-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  display: grid;
  gap: 12px;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.cart-subtotal span {
  color: var(--muted);
}

/* Admin */

.admin-body .page-shell {
  width: auto;
}

.admin-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 80px;
}

.admin-login {
  min-height: calc(100vh - 64px);
  display: grid;
  place-content: center;
}

.admin-login .admin-card {
  max-width: 560px;
}

.admin-card,
.admin-warning {
  border-radius: 26px;
  padding: 26px;
}

.admin-card h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 0.95;
}

.admin-card h2 {
  font-size: 1.55rem;
}

.admin-warning {
  margin: 20px 0;
  color: var(--muted);
}

.admin-warning strong {
  color: var(--text);
}

.admin-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

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

.input-label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  outline: none;
  padding: 13px 14px;
  color: var(--text);
  background: rgba(3, 6, 15, 0.46);
}

textarea {
  min-height: 116px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(34, 211, 238, 0.48);
}

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

.admin-actions.left {
  margin-top: 18px;
}

.full-button {
  width: 100%;
  margin-top: 18px;
}

.admin-error {
  min-height: 24px;
  margin-top: 12px;
  color: var(--rose);
}

.admin-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.admin-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.045);
}

.admin-list-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-mini-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-mini-actions button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.export-box {
  min-height: 320px;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
}

/* Legal */

.legal-main {
  padding: 54px 0 80px;
}

.legal-hero {
  max-width: 860px;
  margin-bottom: 28px;
}

.legal-card {
  max-width: 900px;
}

.legal-card h2 {
  margin-top: 34px;
  font-size: 1.45rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card ul {
  padding-left: 20px;
}

.template-note {
  border: 1px solid rgba(34, 211, 238, 0.32);
  border-radius: 18px;
  padding: 16px;
  background: rgba(34, 211, 238, 0.08);
  color: var(--text);
}

@media (max-width: 1040px) {
  .hero,
  .split-section,
  .admin-layout {
    grid-template-columns: 1fr;
  }

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

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

  .feature-grid,
  .steps-grid,
  .advantage-grid,
  .process-grid,
  .admin-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .store-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }

  .stat-brand {
    width: auto;
    margin: 0;
  }
}

@media (max-width: 760px) {
  .page-shell,
  .admin-shell {
    width: min(100% - 28px, var(--max));
  }

  .mobile-menu {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(7, 9, 16, 0.94);
    backdrop-filter: blur(16px);
  }

  .nav.open {
    display: flex;
  }

  .cart-nav-button {
    justify-content: space-between;
  }

  .legal-nav {
    display: flex;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }

  h1 {
    font-size: 3.25rem;
  }

  .hero {
    padding-top: 36px;
  }

  .section-top,
  .contact-section,
  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-bar {
    justify-content: flex-start;
  }

  .category-grid,
  .product-grid,
  .games-grid,
  .feature-grid,
  .steps-grid,
  .advantage-grid,
  .process-grid,
  .faq-grid,
  .form-grid,
  .admin-grid-3,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .store-stats {
    grid-template-columns: 1fr;
  }

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

  .catalog-search {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .catalog-search input {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }

  .store-stats > * {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .store-stats > *:last-child {
    border-bottom: 0;
  }

  .update-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .button {
    width: 100%;
  }

  .hero-actions .button,
  .admin-actions .button {
    width: auto;
  }

  .hero-status-strip {
    grid-template-columns: 1fr;
  }

  .hero-status-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-status-strip div:last-child {
    border-bottom: 0;
  }

  .cart-panel {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .hero-panel,
  .contact-section,
  .modal-card,
  .admin-card,
  .legal-card {
    padding: 21px;
    border-radius: 22px;
  }

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

  .hero-actions .button,
  .admin-actions .button {
    width: 100%;
  }

  .brand-stage {
    padding: 0;
    border-radius: 0;
  }

  .hero-brand-mark {
    width: min(240px, 72vw);
  }
}
