:root {
  --base: #000;
  --bg: #030305;
  --bg-surface: #08080e;
  --bg-elevated: #0e0e18;
  --bg-card: #0c0c15;
  --border: #18182a;
  --border-light: #252540;
  --text: #e2e2ea;
  --text-secondary: #7e7e98;
  --text-muted: #4a4a60;
  --accent: #7c3aed;
  --accent-light: #9f6eff;
  --accent-dark: #5b21b6;
  --accent-rgb: 124, 58, 237;
  --accent-glow: rgba(var(--accent-rgb), 0.12);
  --nav-bg: rgba(0, 0, 0, .82);
  --overlay-bg: rgba(0, 0, 0, .96);
  --hero-fade-mid: rgba(0, 0, 0, .3);
  --hero-shadow: drop-shadow(0 30px 60px rgba(0, 0, 0, .7)) drop-shadow(0 10px 20px rgba(0, 0, 0, .5));
  --cta-bg: rgba(8, 8, 14, .45);
  --logo-filter: brightness(0) invert(1);
  --logo-filter-hover: brightness(0) saturate(100%) invert(35%) sepia(96%) saturate(5500%) hue-rotate(258deg) brightness(98%) contrast(93%);
  --radius: 3px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --container: 1100px;
  --container-narrow: 860px;
}

:root[data-theme="light"] {
  --base: #ffffff;
  --bg: #f5f7fa;
  --bg-surface: #ffffff;
  --bg-elevated: #eef1f6;
  --bg-card: #ffffff;
  --border: #e1e5ee;
  --border-light: #c8cedb;
  --text: #0a0f1e;
  --text-secondary: #4a5468;
  --text-muted: #8891a5;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-dark: #1e40af;
  --accent-rgb: 37, 99, 235;
  --accent-glow: rgba(var(--accent-rgb), 0.18);
  --nav-bg: rgba(255, 255, 255, .82);
  --overlay-bg: rgba(255, 255, 255, .96);
  --hero-fade-mid: rgba(255, 255, 255, .4);
  --hero-shadow: drop-shadow(0 30px 60px rgba(15, 23, 42, .18)) drop-shadow(0 10px 20px rgba(15, 23, 42, .08));
  --cta-bg: rgba(245, 247, 250, .65);
  --logo-filter: brightness(0);
  --logo-filter-hover: brightness(0) saturate(100%) invert(28%) sepia(98%) saturate(2100%) hue-rotate(215deg) brightness(96%) contrast(94%);
}

:root[data-theme="light"] .hero__grid {
  background:
    linear-gradient(rgba(var(--accent-rgb), .32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), .32) 1px, transparent 1px);
  background-size: 60px 60px;
}
:root[data-theme="light"] .hero__glow {
  background: radial-gradient(ellipse at 50% 0%, rgba(var(--accent-rgb), .55) 0%, rgba(var(--accent-rgb), .22) 40%, transparent 70%);
}
:root[data-theme="light"] .hero__glow-bottom {
  background: radial-gradient(ellipse at 50% 100%, rgba(var(--accent-rgb), .3) 0%, rgba(var(--accent-rgb), .1) 40%, transparent 70%);
}
:root[data-theme="light"] .products-page__glow-top {
  background: radial-gradient(ellipse at 50% 0%, rgba(var(--accent-rgb), .38) 0%, rgba(var(--accent-rgb), .14) 40%, transparent 70%);
}
:root[data-theme="light"] .products-page__glow-bottom {
  background: radial-gradient(ellipse at 50% 100%, rgba(var(--accent-rgb), .2) 0%, rgba(var(--accent-rgb), .07) 40%, transparent 70%);
}
:root[data-theme="light"] .products-page__grid {
  background:
    linear-gradient(rgba(var(--accent-rgb), .2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), .2) 1px, transparent 1px);
  background-size: 60px 60px;
}
:root[data-theme="light"] .glow-text {
  animation: glow-breathe-light 3.5s ease-in-out infinite;
}
@keyframes glow-breathe-light {
  0%, 100% {
    text-shadow:
      0 0 10px rgba(var(--accent-rgb), .6),
      0 0 30px rgba(var(--accent-rgb), .35),
      0 0 60px rgba(var(--accent-rgb), .15);
  }
  50% {
    text-shadow:
      0 0 14px rgba(var(--accent-rgb), .8),
      0 0 40px rgba(var(--accent-rgb), .5),
      0 0 80px rgba(var(--accent-rgb), .25);
  }
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--base);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
body.is-mobile-menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { background: none; border: none; color: inherit; cursor: pointer; font: inherit; }

/* ---- Layout ---- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.15rem; }

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: .875rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all .25s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: .01em;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-light);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

.btn--sm { padding: 8px 18px; font-size: .8rem; }

.btn--ghost {
  background: transparent;
  color: var(--accent-light);
  border: none;
  padding: 8px 4px;
}
.btn--ghost:hover { color: var(--text); }

/* ---- Navbar ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: max-width .45s var(--ease), padding .35s var(--ease);
}

.nav--compressed {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav--compressed .nav__inner {
  max-width: var(--container-narrow);
  padding: 12px 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.01em;
}
.nav__logo img {
  width: 28px;
  height: 28px;
  filter: var(--logo-filter);
  transition: filter .25s var(--ease);
}
.nav__logo:hover img {
  filter: var(--logo-filter-hover);
}

.nav__center {
  display: flex;
  gap: 32px;
}
.nav__center a {
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color .2s;
  position: relative;
}
.nav__center a:hover,
.nav__center a.active { color: var(--text); }
.nav__center a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__theme {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--text-secondary);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.nav__theme:hover {
  color: var(--accent-light);
  border-color: var(--accent);
  background: var(--accent-glow);
}
.nav__theme i {
  font-size: .95rem;
  line-height: 1;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}
.nav__hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  transition: all .3s var(--ease);
  transform-origin: center;
}
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.mobile-menu.is-open { display: flex; opacity: 1; }
.mobile-menu a {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--text); }

/* ---- Hero ---- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 18vh;
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(var(--accent-rgb), .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), .18) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, black 5%, transparent 45%);
  mask-image: radial-gradient(ellipse at 50% 45%, black 5%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.hero__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 70%;
  background: radial-gradient(ellipse at 50% 0%, rgba(var(--accent-rgb), .3) 0%, rgba(var(--accent-rgb), .1) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero__glow-bottom {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 60%;
  background: radial-gradient(ellipse at 50% 100%, rgba(var(--accent-rgb), .15) 0%, rgba(var(--accent-rgb), .05) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero__fade {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 45%, transparent 10%, var(--hero-fade-mid) 55%, var(--base) 100%);
  pointer-events: none;
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 660px;
  padding: 0 24px;
}

.hero__title {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.glow-text {
  color: var(--accent-light);
  text-shadow:
    0 0 10px rgba(var(--accent-rgb), .45),
    0 0 30px rgba(var(--accent-rgb), .25),
    0 0 60px rgba(var(--accent-rgb), .1);
  animation: glow-breathe 3.5s ease-in-out infinite;
  position: relative;
}
@keyframes glow-breathe {
  0%, 100% {
    text-shadow:
      0 0 10px rgba(var(--accent-rgb), .4),
      0 0 30px rgba(var(--accent-rgb), .2),
      0 0 60px rgba(var(--accent-rgb), .08);
  }
  50% {
    text-shadow:
      0 0 14px rgba(var(--accent-rgb), .6),
      0 0 40px rgba(var(--accent-rgb), .35),
      0 0 80px rgba(var(--accent-rgb), .15);
  }
}

.hero__sub {
  font-size: clamp(.95rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__render {
  margin-top: 48px;
  max-width: 900px;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: var(--hero-shadow);
}

/* ---- Sections ---- */

.section {
  padding: 110px 0;
  position: relative;
}
.section--alt { background: var(--bg); }

.section__head {
  margin-bottom: 52px;
}
.section__label {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section__title { margin-bottom: 14px; }
.section__desc {
  color: var(--text-secondary);
  max-width: 460px;
  font-size: .92rem;
}

/* ---- Why Us ---- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.why-item {
  padding: 36px 28px;
  border-left: 1px solid var(--border);
}
.why-item:first-child { border-left: none; }

.why-item__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.why-item__icon svg { width: 20px; height: 20px; }

.why-item h3 { margin-bottom: 10px; }
.why-item p {
  color: var(--text-secondary);
  font-size: .88rem;
  line-height: 1.65;
}

/* ---- Product Card ---- */

.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-surface);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
  overflow: hidden;
  cursor: pointer;
}
.product-card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
}

.product-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.platform-badges {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
  z-index: 1;
}

.platform-badge {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid rgba(var(--accent-rgb), .3);
  background: rgba(var(--accent-rgb), .12);
  color: var(--accent-light);
  position: relative;
}
.platform-icon--ea {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
}
.platform-badge::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 8px;
  font-size: .65rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 3px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s var(--ease);
}
.platform-badge:hover::after {
  opacity: 1;
}

.subtype-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent-light);
  background: rgba(var(--accent-rgb), .12);
  border: 1px solid rgba(var(--accent-rgb), .3);
  border-radius: 6px;
  padding: 5px 10px;
  line-height: 1;
}
.subtype-badge__icon {
  display: inline-flex;
  align-items: center;
  font-size: .9rem;
  line-height: 1;
}
.product-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--border);
}

.product-card__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-card__name {
  font-size: 1.35rem;
  font-weight: 700;
}

.product-card__blurb {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-dot {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: default;
}
.status-dot span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
}
.status-dot--online { border: 1px solid rgba(39, 245, 94, .35); background: rgba(39, 245, 94, .1); }
.status-dot--online span { background: #27F55E; box-shadow: 0 0 6px rgba(39, 245, 94, .4); }
.status-dot--coming-soon { border: 1px solid rgba(59, 130, 246, .35); background: rgba(59, 130, 246, .1); }
.status-dot--coming-soon span { background: #3b82f6; box-shadow: 0 0 6px rgba(59, 130, 246, .4); }
.status-dot--updating { border: 1px solid rgba(59, 130, 246, .35); background: rgba(59, 130, 246, .1); }
.status-dot--updating span { background: #3b82f6; box-shadow: 0 0 6px rgba(59, 130, 246, .4); }
.status-dot--offline { border: 1px solid rgba(239, 68, 68, .35); background: rgba(239, 68, 68, .1); }
.status-dot--offline span { background: #ef4444; box-shadow: 0 0 6px rgba(239, 68, 68, .4); }

.status-dot::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  font-size: .7rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 3px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s var(--ease);
}
.status-dot:hover::after {
  opacity: 1;
}

.product-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.product-card__pricing {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.product-card__label {
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
}
.product-card__price {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #27F55E;
  background: rgba(39, 245, 94, .1);
  border: 1px solid rgba(39, 245, 94, .35);
  border-radius: 4px;
  padding: 4px 10px;
}

.product-card__actions {
  display: flex;
  gap: 8px;
  flex: 1;
}
.product-card__buy-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-size: .82rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  transition: background .2s var(--ease);
}
.product-card__buy-btn:hover {
  background: var(--accent-light);
}
.product-card__info-btn {
  width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, serif;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.product-card__info-btn:hover {
  border-color: var(--border-light);
  color: var(--text);
}

/* ---- Featured Grid ---- */

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.featured-more {
  text-align: center;
  margin-top: 32px;
}
.featured-more__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--accent-light);
  transition: color .2s var(--ease);
}
.featured-more__link:hover {
  color: var(--text);
}

/* ---- Products Page ---- */

.products-page {
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}

.products-page__glow-top {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 50%;
  background: radial-gradient(ellipse at 50% 0%, rgba(var(--accent-rgb), .2) 0%, rgba(var(--accent-rgb), .06) 40%, transparent 70%);
  pointer-events: none;
}

.products-page__glow-bottom {
  position: absolute;
  bottom: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 40%;
  background: radial-gradient(ellipse at 50% 100%, rgba(var(--accent-rgb), .1) 0%, rgba(var(--accent-rgb), .03) 40%, transparent 70%);
  pointer-events: none;
}

.products-page__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(var(--accent-rgb), .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), .1) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 5%, transparent 50%);
  mask-image: radial-gradient(ellipse at 50% 30%, black 5%, transparent 50%);
  pointer-events: none;
}

.products-page .container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
}
.products-page__header {
  margin-bottom: 48px;
}
.products-page__header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 10px;
}
.products-page__header p {
  color: var(--text-secondary);
  font-size: .95rem;
}

.products-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.products-sidebar {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 90px;
  margin-top: 42px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-surface);
}

.sidebar-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
}

.sidebar-search {
  width: 100%;
  padding: 8px 12px;
  font-size: .82rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color .2s var(--ease);
}
.sidebar-search::placeholder { color: var(--text-muted); }
.sidebar-search:focus { border-color: var(--accent); }

.sidebar-options {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: all .15s var(--ease);
  text-align: left;
  cursor: pointer;
}
.sidebar-btn:hover {
  color: var(--text);
  background: var(--bg-elevated);
}
.sidebar-btn.active {
  color: var(--accent-light);
  background: var(--accent-glow);
}

.products-main {
  flex: 1;
  min-width: 0;
}

.products-empty {
  color: var(--text-muted);
  font-size: .9rem;
  padding: 40px 0;
  text-align: center;
}

.products-page__section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.products-page__section-title:not(:first-of-type) {
  margin-top: 48px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ---- Product Detail ---- */

/* ---- Product Detail ---- */

.product-detail {
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}
.product-detail .container {
  position: relative;
  z-index: 1;
}
.pd-container { max-width: 1400px; }

.product-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 28px;
  transition: color .2s;
}
.product-detail__back:hover { color: var(--accent-light); }
.product-detail__back svg { width: 16px; height: 16px; }

.pd-subtype-row {
  display: flex;
  margin-bottom: 10px;
}

.pd-page-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 20px;
}

/* Layout */
.pd-layout {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}
.pd-left { flex: 1; min-width: 0; max-width: 800px; }
.pd-right { width: 440px; flex-shrink: 0; position: sticky; top: 90px; }

/* Media carousel */
.pd-media {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-surface);
  overflow: hidden;
  margin-bottom: 24px;
}
.pd-media__viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-elevated);
}
.pd-media__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.pd-media__slide.active { opacity: 1; }
.pd-media__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pd-media__slide iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.pd-media__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border);
}
.pd-media__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-light);
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.pd-media__dot.active { background: var(--accent); }

/* Variant notice box */
.pd-variant-notice {
  display: none;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: rgba(var(--accent-rgb), .08);
  font-size: .78rem;
  line-height: 1.5;
  color: var(--accent);
}
.pd-variant-notice.active {
  display: flex;
}
.pd-variant-notice i {
  color: var(--accent);
  font-size: .9rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.pd-variant-notice a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: inherit;
  transition: opacity .2s;
}
.pd-variant-notice a:hover {
  opacity: .8;
}
:root[data-theme="light"] .pd-variant-notice a {
  color: #000;
}

/* Info sections */
.pd-info-section {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.pd-info-section:last-child { border-bottom: none; }

.pd-info-title {
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pd-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pd-platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent-light);
  background: rgba(var(--accent-rgb), .1);
  border: 1px solid rgba(var(--accent-rgb), .25);
  border-radius: 4px;
  padding: 5px 12px;
}

.pd-description p {
  font-size: .88rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 12px;
}
.pd-description p:last-child { margin-bottom: 0; }

.pd-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: var(--text-secondary);
}
.feature-item svg {
  flex-shrink: 0;
  color: var(--accent);
  width: 16px;
  height: 16px;
}

.pd-sysreqs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pd-sysreq-item {
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 5px 12px;
}

/* Purchase card */
.pd-purchase {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-surface);
  padding: 16px;
}

.pd-purchase__heading {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.pd-variants {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.pd-variant {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  cursor: pointer;
  transition: border-color .2s var(--ease);
  position: relative;
  font-family: var(--font);
  width: 100%;
}
.pd-variant:hover { border-color: var(--border-light); }
.pd-variant.active {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), .06);
}

.pd-variant__left {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}
.pd-variant__name {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
}
.pd-variant__blurb {
  font-size: .72rem;
  font-weight: 400;
  color: var(--text-muted);
}
.pd-variant__price {
  font-size: 1rem;
  font-weight: 800;
  color: #27F55E;
}
.pd-variant__discount {
  position: absolute;
  top: -8px;
  right: -6px;
  font-size: .6rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 2px 6px;
  border-radius: 3px;
}

.pd-purchase__tos {
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: 16px;
  margin-bottom: 14px;
  text-align: center;
}
.pd-purchase__tos a {
  color: var(--accent-light);
  transition: color .2s;
}
.pd-purchase__tos a:hover { color: var(--text); }

.pd-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 0;
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font);
  transition: background .2s var(--ease);
}
.pd-checkout-btn:hover { background: var(--accent-light); }

/* ---- Reviews ---- */

.reviews-section {
  overflow: hidden;
  position: relative;
}
.reviews-section::before,
.reviews-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28%;
  z-index: 2;
  pointer-events: none;
}
.reviews-section::before {
  left: 0;
  background: linear-gradient(to right, var(--base) 20%, transparent 100%);
}
.reviews-section::after {
  right: 0;
  background: linear-gradient(to left, var(--base) 20%, transparent 100%);
}

.reviews-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 4px 80px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track.is-dragging { cursor: grabbing; }

.review-item {
  flex: 0 0 340px;
  scroll-snap-align: start;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-surface);
}

.review-item__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
  color: var(--accent);
}
.review-item__stars svg { width: 14px; height: 14px; }

.review-item__text {
  font-size: .88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.review-item__author {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.review-item__name {
  font-size: .85rem;
  font-weight: 600;
}
.review-item__game {
  font-size: .72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---- Discord CTA ---- */

.cta-block {
  text-align: center;
  padding: 80px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--cta-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.cta-block h2 { margin-bottom: 14px; }
.cta-block p {
  color: var(--text-secondary);
  font-size: .95rem;
  margin-bottom: 32px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Footer ---- */

.footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 48px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__brand-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .95rem;
}
.footer__brand-name img {
  width: 22px;
  height: 22px;
  filter: var(--logo-filter);
  opacity: .5;
}
.footer__brand p {
  font-size: .82rem;
  color: var(--text-muted);
  max-width: 260px;
  line-height: 1.5;
}

.footer__links {
  display: flex;
  gap: 28px;
}
.footer__links a {
  font-size: .82rem;
  color: var(--text-secondary);
  transition: color .2s;
}
.footer__links a:hover { color: var(--text); }

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer__bottom p {
  font-size: .75rem;
  color: var(--text-muted);
}
.footer__disclaimer {
  margin-top: 8px;
  font-size: .68rem;
  color: var(--border-light);
  max-width: 600px;
  line-height: 1.5;
}

.footer__theme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: .75rem;
  color: var(--text-muted);
}
.footer__theme-label {
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .68rem;
}
.footer__theme-btn {
  font-family: var(--font);
  font-size: .75rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0;
  cursor: pointer;
  transition: color .2s var(--ease);
}
.footer__theme-btn:hover { color: var(--text); }
.footer__theme-btn.is-active {
  color: var(--accent-light);
  font-weight: 600;
}
.footer__theme-sep {
  color: var(--border-light);
}

/* ---- ToS ---- */

.tos-page {
  padding: 140px 0 100px;
}
.tos-page__body {
  max-width: 720px;
}
.tos-page__body h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 6px;
}
.tos-page__updated {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.tos-section {
  margin-bottom: 36px;
}
.tos-section h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.tos-section p {
  font-size: .88rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 10px;
}
.tos-section a {
  color: var(--accent-light);
  transition: color .2s;
}
.tos-section a:hover { color: var(--text); }
.tos-section ul {
  list-style: none;
  padding-left: 0;
  margin: 8px 0;
}
.tos-section li {
  font-size: .85rem;
  color: var(--text-secondary);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}
.tos-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---- 404 ---- */

.not-found {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}
.not-found__glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.not-found__code {
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
  opacity: .25;
  margin-bottom: 8px;
}
.not-found__heading {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.not-found p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: .95rem;
}
.not-found .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---- Animations ---- */

.anim {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.anim--delay-1 { transition-delay: .1s; }
.anim--delay-2 { transition-delay: .2s; }
.anim--delay-3 { transition-delay: .3s; }
.anim.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* page transitions */
#app {
  transition: opacity .2s var(--ease);
}
#app.is-transitioning { opacity: 0; }

/* ---- Responsive ---- */

@media (max-width: 900px) {
  .products-layout { flex-direction: column; }
  .products-sidebar { width: 100%; position: static; flex-direction: row; flex-wrap: wrap; }
  .sidebar-options { flex-direction: row; flex-wrap: wrap; }
  .featured-grid,
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-left: none; border-bottom: 1px solid var(--border); padding: 28px 0; }
  .why-item:last-child { border-bottom: none; }
  .pd-layout { flex-direction: column; }
  .pd-left { max-width: none; }
  .pd-right { width: 100%; position: static; }
  .pd-features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav__center,
  .nav__right .btn { display: none; }
  .nav__hamburger { display: flex; }
  .nav__inner { padding: 16px 20px; }
  .nav--compressed .nav__inner { padding: 12px 20px; }

  .hero__content { padding: 0 16px; }
  .hero__ctas { flex-direction: column; align-items: center; }

  .featured-grid,
  .products-grid { grid-template-columns: 1fr; }

  .section { padding: 70px 0; }
  .container { padding: 0 16px; }

  .review-item { flex: 0 0 290px; }
  .reviews-section::before,
  .reviews-section::after { width: 40px; }
  .reviews-track { padding: 4px 32px; }

  .footer__inner { flex-direction: column; gap: 28px; }

  .pd-features-grid { grid-template-columns: 1fr; }
  .product-detail__features { grid-template-columns: 1fr; }
}
