:root {
  --nx-cyan: #1698bb;
  --nx-violet: #8b6cff;
  --nx-magenta: #d94bb5;
  --nx-electric: #3b8bff;
  --nx-bg: #0c0c0d;
  --nx-bg-2: #141516;
  --nx-bg-3: #1e1f20;
  --nx-line: rgba(234, 234, 236, 0.12);
  --nx-white: #fafafa;
}

.nx-brand {
  gap: 10px;
  color: #fafafa;
  font-family: "Saira", sans-serif;
  letter-spacing: 0.18em;
  font-size: 18px;
}

.nx-brand strong {
  font-weight: 600;
}

.nx-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--nx-cyan);
  font-size: 14px;
  letter-spacing: 0;
  font-weight: 600;
}

.header-logo,
.nx-footer-logo,
.logo-box img {
  height: 32px;
  width: auto;
}

.nx-brand .header-logo {
  height: 34px;
}

.header .navigation .menu-button-right .main-menu__nav .main-menu__list,
.header .navigation .menu-button-right .main-menu__nav .main-menu__list ul {
  gap: clamp(20px, 1.6vw, 36px);
}

.header .navigation .menu-button-right .main-menu__nav .main-menu__list > li > a {
  gap: 0;
  padding-bottom: 6px;
}

.header .navigation .menu-button-right .main-menu__nav .main-menu__list > li > a.active,
.header .navigation .menu-button-right .main-menu__nav .main-menu__list > li > a:hover {
  color: #9ae0f0;
}

.header .navigation .menu-button-right .main-menu__nav .main-menu__list > li > a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--nx-cyan), var(--nx-violet));
}

.nx-search {
  position: relative;
  min-width: min(280px, 22vw);
}

.nx-search input {
  width: 100%;
  background: rgba(20, 21, 22, 0.9);
  border: 1px solid var(--nx-line);
  color: var(--nx-white);
  padding: 10px 40px 10px 14px;
  font-size: 14px;
}

.nx-search input::placeholder {
  color: #92949f;
}

.nx-search button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: var(--nx-white);
}

.nx-join-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  color: #fafafa;
  background: linear-gradient(90deg, var(--nx-cyan), var(--nx-violet));
  border: 0;
  font-family: "Saira", sans-serif;
  font-weight: 500;
  white-space: nowrap;
}

.nx-join-btn:hover {
  color: #fafafa;
  filter: brightness(1.08);
}

.nx-login-link {
  color: var(--nx-white);
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid var(--nx-line);
  padding: 8px 16px;
}

.nx-login-link:hover {
  color: var(--nx-cyan);
  border-color: var(--nx-cyan);
}

.nx-mobile-auth {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.nx-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--nx-line);
  color: var(--nx-white);
  background: rgba(12, 12, 13, 0.55);
}

.nx-status--playtest,
.nx-status--dev {
  border-color: rgba(22, 152, 187, 0.55);
  color: #9ae0f0;
}

.nx-status--released {
  border-color: rgba(46, 196, 126, 0.5);
  color: #9be7c0;
}

.nx-status--soon,
.nx-status--proto,
.nx-status--concept {
  border-color: rgba(59, 139, 255, 0.45);
  color: #b9d4ff;
}

.nx-status--paused {
  border-color: rgba(255, 185, 48, 0.45);
  color: #ffb930;
}

.nx-status--abandoned {
  border-color: rgba(139, 108, 255, 0.55);
  color: #cbbdff;
}

.nx-status--revival {
  border-color: rgba(217, 75, 181, 0.5);
  color: #f0b6e0;
}

.nx-chip-btn {
  border: 1px solid #fafafa;
  background: transparent;
  color: #fafafa;
  padding: 6px 14px;
  font-size: 13px;
  line-height: 1.2;
}

.nx-chip-btn.is-active,
.nx-chip-btn:hover {
  border-color: var(--nx-cyan);
  color: var(--nx-cyan);
}

.nx-game-card {
  display: block;
}

.nx-game-card .game-image {
  display: block;
  min-height: 280px;
}

.nx-game-card .game-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(transparent, rgba(8, 10, 12, 0.92));
  pointer-events: none;
}

.nx-game-card .game-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.nx-game-card .game-content {
  pointer-events: none;
}

.nx-game-card .game-content a,
.nx-game-card .game-content button {
  pointer-events: auto;
}

.nx-card-top {
  margin-bottom: 8px;
}

.nx-tag {
  border: 1px solid #45474f;
  padding: 4px 10px;
  font-size: 12px;
}

.nx-playtest-row {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.7fr 0.7fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--nx-line);
}

.nx-playtest-game {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nx-playtest-game img {
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.nx-meta-label {
  display: block;
  color: #92949f;
  font-size: 12px;
  margin-bottom: 2px;
}

.nx-graveyard {
  background: linear-gradient(180deg, rgba(12, 8, 20, 0.35), rgba(12, 12, 13, 0.92));
  border-top: 1px solid rgba(139, 108, 255, 0.25);
}

.nx-graveyard-head .nx-kicker {
  color: #cbbdff;
}

.nx-kicker {
  color: var(--nx-cyan);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  margin-bottom: 8px;
}

.nx-abandoned-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  background: rgba(22, 152, 187, 0.04);
  padding: 12px;
  height: 100%;
}

.nx-abandoned-media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.nx-abandoned-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nx-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
  background: rgba(22, 152, 187, 0.05);
}

.nx-featured-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.nx-featured-body {
  padding: 24px 24px 24px 0;
}

.nx-filters {
  background: rgba(22, 152, 187, 0.05);
  padding: 24px;
}

.nx-filters h6 {
  margin-bottom: 12px;
}

.nx-filter-group {
  margin-bottom: 28px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--nx-line);
}

.nx-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #eaeaec;
  font-size: 14px;
  cursor: pointer;
}

.nx-check input {
  accent-color: var(--nx-cyan);
}

.nx-filters select,
.nx-toolbar select,
.nx-toolbar input {
  width: 100%;
  background: #021627;
  border: 0;
  color: var(--nx-white);
  padding: 10px 12px;
}

.nx-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.nx-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.nx-tabs a,
.nx-tabs button {
  border: 1px solid #45474f;
  background: transparent;
  color: #92949f;
  padding: 8px 20px;
}

.nx-tabs a.active,
.nx-tabs button.active,
.nx-tabs a:hover,
.nx-tabs button:hover {
  border-color: var(--nx-cyan);
  color: var(--nx-white);
  background: rgba(22, 152, 187, 0.18);
}

.nx-progress {
  margin-bottom: 16px;
}

.nx-progress-track {
  height: 6px;
  background: #1e1f20;
}

.nx-progress-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--nx-cyan), var(--nx-violet));
}

.nx-info-list {
  display: grid;
  gap: 10px;
}

.nx-info-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--nx-line);
  padding-bottom: 8px;
}

.nx-side-card {
  background: rgba(22, 152, 187, 0.05);
  padding: 24px;
  margin-bottom: 24px;
}

.title-banner .game-logo {
  width: 180px;
  height: 180px;
  object-fit: cover;
}

.nx-hero-copy p {
  max-width: 52ch;
}

.nx-page-hero {
  padding: 56px 0 24px;
}

.nx-drawer-toggle {
  display: none;
}

.nx-empty {
  border: 1px dashed #45474f;
  padding: 48px 24px;
  text-align: center;
}

.nx-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #141516;
  border: 1px solid var(--nx-cyan);
  color: var(--nx-white);
  padding: 12px 18px;
  z-index: 1200;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: 0.25s ease;
}

.nx-toast.is-visible {
  opacity: 1;
  transform: none;
}

.nx-coming {
  min-height: 42vh;
  display: grid;
  align-items: center;
}

.nx-screenshot-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  margin-bottom: 16px;
}

.nx-team-chip {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.nx-team-chip img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
}

.nx-update {
  padding: 16px 0;
  border-bottom: 1px solid var(--nx-line);
}

.social-icons i {
  font-size: 22px;
}

.game-card:hover .game-content h4,
.game-card:hover .game-content h4 a {
  color: #ffb930;
}

.nx-filter-overlay {
  display: none;
}

@media (max-width: 1199px) {
  .nx-search {
    min-width: 180px;
  }

  .nx-featured,
  .nx-abandoned-card {
    grid-template-columns: 1fr;
  }

  .nx-featured-body {
    padding: 0 16px 24px;
  }

  .nx-playtest-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991px) {
  .nx-drawer-toggle {
    display: inline-flex;
    margin-bottom: 16px;
  }

  .nx-filters {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(360px, 92vw);
    z-index: 1100;
    overflow: auto;
    transform: translateX(-110%);
    transition: transform 0.3s ease;
  }

  .nx-filters.is-open {
    transform: none;
  }

  .nx-filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1090;
  }

  .nx-filter-overlay.is-open {
    display: block;
  }

  .nx-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 767px) {
  .nx-playtest-row {
    grid-template-columns: 1fr;
  }

  .nx-game-card .game-image img,
  .nx-featured-media img {
    height: 240px;
  }

  .nx-search {
    display: none;
  }

  .nx-hero-slices {
    height: 280px;
  }
}

.nx-gradient-text {
  background: linear-gradient(90deg, var(--nx-cyan), var(--nx-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nx-home-hero {
  min-height: calc(100vh - 88px);
  display: grid;
  align-items: center;
  padding: 48px 0;
}

.nx-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
}

.nx-hero-slices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  height: 520px;
}

.nx-hero-slices img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nx-panel {
  background: rgba(22, 152, 187, 0.05);
  padding: 20px;
  height: 100%;
}

.nx-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.nx-compact-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--nx-line);
  color: inherit;
}

.nx-compact-row img,
.nx-live-thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.nx-live-thumb {
  position: relative;
}

.nx-live-thumb .live-label {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 10px;
  padding: 2px 6px;
}

.nx-compact-copy {
  flex: 1;
  min-width: 0;
}

.nx-compact-challenge {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--nx-line);
}

.nx-compact-challenge img {
  width: 88px;
  height: 64px;
  object-fit: cover;
}

.nx-demand.is-critical .nx-progress-track span {
  background: #c45c5c;
}

.nx-demand.is-high .nx-progress-track span {
  background: linear-gradient(90deg, var(--nx-cyan), var(--nx-violet));
}

.nx-demand.is-mid .nx-progress-track span {
  background: #ffb930;
}

.nx-demand.is-low .nx-progress-track span {
  background: #2ec47e;
}

.nx-graveyard-frame {
  border: 1px solid rgba(139, 108, 255, 0.35);
  padding: clamp(24px, 2.5vw, 48px);
  background: rgba(12, 8, 20, 0.45);
}

.nx-graveyard-frame .nx-abandoned-media img {
  filter: grayscale(0.55) contrast(1.05);
}

.nx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 28px;
}

.nx-chips a,
.nx-chips button {
  border: 1px solid #45474f;
  background: transparent;
  color: #92949f;
  padding: 6px 14px;
}

.nx-chips a.active,
.nx-chips button.active {
  border-color: var(--nx-cyan);
  color: #fafafa;
  background: rgba(22, 152, 187, 0.2);
}

.nx-featured {
  position: relative;
}

.nx-featured-stream {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: rgba(22, 152, 187, 0.05);
  margin-bottom: 32px;
}

.nx-featured-stream-media {
  position: relative;
  display: block;
}

.nx-featured-stream-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.nx-featured-stream-body {
  padding: 28px;
}

.nx-profile-hero {
  position: relative;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  padding: 48px 0 24px;
}

.nx-profile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 13, 0.2), rgba(12, 12, 13, 0.82));
}

.nx-profile-hero .container-fluid,
.nx-profile-hero-inner {
  position: relative;
  z-index: 1;
}

.nx-profile-hero-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: end;
}

.nx-avatar-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border: 1px solid var(--nx-cyan);
}

.nx-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}

.nx-stats-row span {
  display: block;
  color: #92949f;
  font-size: 12px;
}

.nx-member-card,
.nx-job-card {
  background: rgba(22, 152, 187, 0.05);
  padding: 20px;
  height: 100%;
}

.nx-member-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
}

.nx-member-links a {
  margin-right: 8px;
  text-transform: capitalize;
}

.nx-chat {
  background: rgba(22, 152, 187, 0.05);
  padding: 16px;
  height: 100%;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.nx-chat-feed {
  flex: 1;
  overflow: auto;
  margin-bottom: 12px;
}

.nx-chat-line {
  margin-bottom: 10px;
  font-size: 14px;
}

.nx-player {
  position: relative;
  background: #000;
}

.nx-player img,
.nx-player video {
  width: 100%;
  display: block;
}

.nx-player-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: #141516;
}

@media (max-width: 1199px) {
  .nx-hero-grid,
  .nx-featured-stream,
  .nx-profile-hero-inner,
  .nx-game-hero-inner,
  .nx-grave-hero-inner {
    grid-template-columns: 1fr;
  }
}

.nx-game-hero {
  position: relative;
  min-height: 420px;
  padding: 56px 0;
  background-size: cover;
  background-position: center;
}

.nx-game-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 12, 13, 0.92), rgba(12, 12, 13, 0.55) 55%, rgba(12, 12, 13, 0.78));
}

.nx-game-hero > *,
.nx-game-hero .nx-game-hero-inner,
.nx-game-hero .container-fluid {
  position: relative;
  z-index: 1;
}

.nx-game-hero-inner {
  display: grid;
  grid-template-columns: 180px 1fr 240px;
  gap: 32px;
  align-items: end;
}

.nx-poster {
  width: 180px;
  height: 260px;
  object-fit: cover;
  border: 1px solid var(--nx-line);
}

.nx-trailer-card {
  display: block;
  position: relative;
  color: #fafafa;
}

.nx-trailer-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.nx-trailer-card span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(12, 12, 13, 0.75);
  padding: 6px 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nx-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nx-feature-list li {
  padding-left: 16px;
  margin-bottom: 10px;
  position: relative;
}

.nx-feature-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: linear-gradient(90deg, var(--nx-cyan), var(--nx-violet));
  position: absolute;
  left: 0;
  top: 7px;
}

.nx-milestone {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 14px;
}

.nx-milestone--done span {
  color: #9be7c0;
}

.nx-milestone--now span {
  color: var(--nx-cyan);
}

.nx-milestone--planned span {
  color: #92949f;
}

.nx-ring {
  width: 120px;
  height: 120px;
  border-radius: 0;
  display: grid;
  place-items: center;
  margin: 12px 0 16px;
  background: conic-gradient(var(--nx-cyan) 0 var(--nx-ring), #1e1f20 var(--nx-ring) 100%);
}

.nx-ring span {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  background: #0c0c0d;
  font-family: "Saira", sans-serif;
  font-size: 22px;
}

.nx-progress-card {
  min-width: 220px;
}

.nx-timeline {
  display: flex;
  gap: 16px;
  overflow: auto;
}

.nx-timeline-step {
  min-width: 140px;
  border-top: 2px solid var(--nx-cyan);
  padding-top: 12px;
}

.nx-timeline-step.is-end {
  border-top-color: #c45c5c;
}

.nx-remain {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--nx-line);
}

.nx-remain span:first-child {
  color: var(--nx-cyan);
}

.nx-quote {
  border-left: 2px solid var(--nx-violet);
  padding-left: 16px;
  color: #eaeaec;
  font-style: italic;
}

.nx-playtest-cover {
  position: relative;
}

.nx-playtest-cover img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.nx-playtest-cover .nx-status {
  position: absolute;
  top: 12px;
  left: 12px;
}

.nx-playtest-filters {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.nx-grave-hero-inner {
  grid-template-columns: 1fr 240px;
}

.nx-side-card img {
  width: 100%;
  object-fit: cover;
}

@media (max-width: 991px) {
  .nx-playtest-filters,
  .nx-game-hero-inner,
  .nx-grave-hero-inner {
    grid-template-columns: 1fr;
  }
}
