@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-black: #07070b;
  --bg-deep: #0b0b10;
  --bg-surface: #101018;
  --bg-card: #0e0e14;
  --text-pure: #ffffff;
  --text-high: #ececf2;
  --text-medium: #9a9aab;
  --text-muted: #6f6f80;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --font-sans: Inter, system-ui, sans-serif;
  --font-heading: Inter, system-ui, sans-serif;
  --font-display: 'Barlow Condensed', Inter, sans-serif;
  --container-max: 1280px;
}

html,
body {
  background:
    radial-gradient(1200px 520px at 50% -10%, rgba(78, 86, 140, 0.18), transparent 58%),
    #07070b;
  color: #ececf2;
  font-family: var(--font-sans);
}

#cyber-canvas { opacity: 0.18; }
.bg-grid-overlay {
  background-image: none;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.04), transparent 42%);
}

.header {
  position: sticky;
  top: 0;
  background: rgba(7, 7, 11, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}
.header.scrolled {
  background: rgba(7, 7, 11, 0.96);
  box-shadow: none;
}
.header-inner { height: 68px; max-width: 1360px; }

.logo-symbol {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #fff;
  color: #07070b;
  box-shadow: none;
}
.logo-text { letter-spacing: 0.08em; font-size: 0.92rem; }
.logo-text span { color: #fff; font-weight: 800; }
.status-badge { display: inline-flex; }
.catalog-index-page .header .status-badge,
.home-command .header .status-badge { display: none; }

.nav-menu { gap: 4px; }
.nav-link {
  gap: 8px;
  padding: 8px 12px;
  border: 0;
  background: none;
  color: #8d8d9c;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav-link svg { display: none; }
.nav-link::before {
  content: attr(data-n);
  color: #5c5c6c;
  font-size: 0.68rem;
  font-weight: 700;
  margin-right: 2px;
}
.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: none;
  border: 0;
}
.nav-link.active::before { color: #fff; }

.btn-header-primary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.btn-header-primary:hover {
  background: #fff;
  color: #07070b;
  border-color: #fff;
  box-shadow: none;
}

.store-path {
  color: #8d8d9c;
  font-size: 0.84rem;
  margin-bottom: 28px;
}
.store-path b { color: #fff; font-weight: 600; }

.store-hero { padding: 48px 0 18px; }
.store-hero h1 {
  margin: 0;
  max-width: 980px;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 7.4rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
}
.store-hero h1 span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
}
.store-hero p {
  max-width: 620px;
  margin: 22px 0 0;
  color: #9a9aab;
  font-size: 1rem;
  line-height: 1.7;
}

.redesign-note {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.redesign-note-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.redesign-note h2 {
  margin: 10px 0 8px;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
}
.redesign-note p {
  max-width: 640px;
  margin: 0;
  color: #9a9aab;
  line-height: 1.65;
}
.home-command .legacy-home-sections { display: block; }
.home-command .hero,
.home-command .legacy-home-sections > .section:has(.comparison-container) { display: none; }

.catalog-index-page .command-hero,
.catalog-index-page .signal-strip,
.catalog-index-page .featured-command,
.catalog-index-page .manifesto-command,
.catalog-index-page .home-command-footer,
.catalog-index-page .legacy-home-sections,
.catalog-index-page .index-hero { display: none !important; }

.store-section { padding: 12px 0 80px; }

.catalog-index-page .mods-grid,
.home-command .mods-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.catalog-index-page .mod-card,
.home-command .mod-card {
  min-height: 210px;
  border: 0;
  border-radius: 16px;
  background: #101018;
  box-shadow: none;
  overflow: hidden;
}
.catalog-index-page .mod-card:hover,
.home-command .mod-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  background: #101018;
}
.catalog-index-page .mod-image-wrap,
.home-command .mod-image-wrap { height: 210px; }
.catalog-index-page .mod-image-wrap::after,
.home-command .mod-image-wrap::after {
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.82) 100%);
}
.catalog-index-page .mod-card:hover .mod-img,
.home-command .mod-card:hover .mod-img { transform: scale(1.07); }
.catalog-index-page .mod-body,
.catalog-index-page .mod-badges-overlay,
.catalog-index-page .mod-status-overlay,
.home-command .mod-body,
.home-command .mod-badges-overlay,
.home-command .mod-status-overlay { display: none; }

.store-card-mark {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  white-space: nowrap;
}
.store-card-meta {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 3;
  color: #fff;
}
.store-card-meta small {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.72);
}
.store-card-meta strong {
  font-size: 0.95rem;
  font-weight: 700;
}
.store-card-title {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 42px;
  z-index: 3;
  margin: 0;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
}

.catalog-controls { margin-bottom: 22px; }
.search-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
.filter-tag {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9a9aab;
  border-radius: 8px;
}
.filter-tag.active,
.filter-tag:hover {
  background: #fff;
  color: #07070b;
  border-color: #fff;
}
.catalog-sort-bar { color: #8d8d9c; }

.btn-primary {
  background: #fff;
  color: #07070b;
  border-radius: 10px;
  box-shadow: none;
}
.btn-primary:hover { background: #e8e8ef; color: #07070b; }

.footer {
  background: #050508;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-col h4 {
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: #fff;
}
.store-trust {
  padding: 28px 0 8px;
  color: #8d8d9c;
  font-size: 0.92rem;
  line-height: 1.7;
}

.page-hero {
  background: none;
  border: 0;
  text-align: left;
  padding: 36px 0 10px;
}
.page-hero-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.9;
}
.page-hero-title em { color: #fff; font-style: normal; }

@media (max-width: 1100px) {
  .catalog-index-page .mods-grid,
  .home-command .mods-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .catalog-index-page .mods-grid,
  .home-command .mods-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-hero h1 { font-size: clamp(2.6rem, 16vw, 4.4rem); }
  .nav-link::before { display: none; }
  .redesign-note-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .catalog-index-page .mods-grid,
  .home-command .mods-grid { grid-template-columns: 1fr; }
}
