/* KGame kgweb.lat — Game info portal */
:root {
  --bg: #0b0f1a;
  --bg-elevated: #121829;
  --bg-card: #161e30;
  --bg-soft: #1a2338;
  --border: rgba(120, 160, 220, 0.14);
  --text: #e8eef8;
  --text-muted: #9aa8c0;
  --text-dim: #6b7a94;
  --primary: #3bb4ff;
  --primary-deep: #1a7fd4;
  --primary-soft: rgba(59, 180, 255, 0.14);
  --accent: #f0c14b;
  --danger: #ff5c6c;
  --success: #3dd68c;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --header-h: 72px;
  --font-display: "Rajdhani", "Be Vietnam Pro", sans-serif;
  --font-body: "Be Vietnam Pro", sans-serif;
  --max: 1180px;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(59, 180, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(26, 127, 212, 0.08), transparent 50%),
    linear-gradient(180deg, #0b0f1a 0%, #0d1320 50%, #0b0f1a 100%);
  pointer-events: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: #7ccfff;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(11, 15, 26, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 44px;
  max-width: 160px;
  overflow: hidden;
}

.logo img {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav-desktop a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--text);
  background: var(--primary-soft);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #041018;
  box-shadow: 0 4px 18px rgba(59, 180, 255, 0.3);
}

.btn-primary:hover {
  color: #041018;
  box-shadow: 0 6px 22px rgba(59, 180, 255, 0.45);
}

.btn-outline {
  border: 1px solid rgba(59, 180, 255, 0.45);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.btn-ghost {
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--bg-soft);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text);
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: 0.88rem;
  font-weight: 600;
  margin-left: auto;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle.is-open .icon-menu {
  display: none;
}

.menu-toggle.is-open .icon-close {
  display: block;
}

.menu-toggle .menu-label-close {
  display: none;
}

.menu-toggle.is-open .menu-label-open {
  display: none;
}

.menu-toggle.is-open .menu-label-close {
  display: inline;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 11, 20, 0.97);
  backdrop-filter: blur(12px);
  padding: 1.25rem 1rem 2rem;
  z-index: 999;
  overflow-y: auto;
}

.nav-mobile.is-open {
  display: block;
  animation: fadeSlide 0.28s ease;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-mobile a {
  display: block;
  color: var(--text);
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  font-size: 1.05rem;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--primary);
  background: var(--primary-soft);
}

.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 0 0.5rem;
}

.nav-mobile-actions .btn {
  width: 100%;
  padding: 0.85rem 1rem;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
    flex: 1;
    justify-content: center;
  }

  .header-actions {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }
}

/* Main offset for fixed header */
.site-main {
  padding-top: var(--header-h);
  min-height: 70vh;
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(380px, 72vh, 620px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 15, 26, 0.35) 0%, rgba(11, 15, 26, 0.55) 40%, rgba(11, 15, 26, 0.96) 100%),
    linear-gradient(90deg, rgba(11, 15, 26, 0.75) 0%, rgba(11, 15, 26, 0.25) 55%, rgba(11, 15, 26, 0.5) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0 3.5rem;
  max-width: 640px;
  animation: heroIn 0.7s ease both;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 24px rgba(59, 180, 255, 0.35);
}

.hero-brand span {
  color: var(--primary);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 0.85rem;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(22, 30, 48, 0.55), transparent);
}

.section-head {
  margin-bottom: 2rem;
  max-width: 640px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.55rem;
  color: #fff;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1rem;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

/* Intro / brand */
.intro-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .intro-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

.intro-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  margin-bottom: 1rem;
  color: #fff;
}

.intro-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

.intro-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  animation: floatSoft 5s ease-in-out infinite;
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.intro-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 1.5rem;
  background: radial-gradient(circle at 50% 40%, rgba(59, 180, 255, 0.12), transparent 65%);
}

/* Categories */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 0.85rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  color: var(--text);
}

.cat-item:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 180, 255, 0.4);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  color: var(--text);
}

.cat-item img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin-bottom: 0.75rem;
  transition: transform var(--transition);
}

.cat-item:hover img {
  transform: scale(1.06);
}

.cat-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 650;
  margin-bottom: 0.25rem;
}

.cat-item p {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.4;
}

/* Article cards */
.card-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .card-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
  color: var(--text);
  height: 100%;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 180, 255, 0.35);
  color: var(--text);
}

.article-card .thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}

.article-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .thumb img {
  transform: scale(1.05);
}

.article-card .body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card .meta {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 0.45rem;
}

.article-card h3 {
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: #fff;
}

.article-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 0.85rem;
}

.article-card .read-more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}

/* Guide list */
.guide-list {
  display: grid;
  gap: 1rem;
}

.guide-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
  color: var(--text);
}

.guide-item:hover {
  border-color: rgba(59, 180, 255, 0.35);
  background: var(--bg-soft);
  color: var(--text);
}

.guide-item img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.guide-item h3 {
  font-size: 1rem;
  font-weight: 650;
  margin-bottom: 0.3rem;
  color: #fff;
}

.guide-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

@media (max-width: 520px) {
  .guide-item {
    grid-template-columns: 72px 1fr;
  }

  .guide-item img {
    width: 72px;
    height: 56px;
  }
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 800px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.25rem;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-q::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--primary);
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.is-open .faq-q::after {
  content: "−";
}

.faq-a {
  display: none;
  padding: 0 1.25rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.is-open .faq-a {
  display: block;
  animation: fadeSlide 0.25s ease;
}

/* Promo strip */
.promo-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .promo-row {
    grid-template-columns: 1fr 1fr;
  }
}

.promo-link {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition);
}

.promo-link:hover {
  transform: translateY(-3px);
}

.promo-link img {
  width: 100%;
  height: auto;
}

/* Brands */
.brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.brand-row img {
  height: 36px;
  width: auto;
  opacity: 0.75;
  filter: grayscale(0.2);
  transition: opacity var(--transition), filter var(--transition);
}

.brand-row img:hover {
  opacity: 1;
  filter: none;
}

/* Page hero (inner) */
.page-hero {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(59, 180, 255, 0.06), transparent);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  color: var(--text-dim);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.page-hero .lead {
  color: var(--text-muted);
  max-width: 680px;
  font-size: 1.02rem;
}

/* Content prose */
.prose {
  max-width: 760px;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: #fff;
  margin: 2rem 0 0.85rem;
  font-weight: 700;
}

.prose h3 {
  font-size: 1.15rem;
  color: #fff;
  margin: 1.5rem 0 0.65rem;
  font-weight: 650;
}

.prose p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.15rem 1.2rem;
  color: var(--text-muted);
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose strong {
  color: var(--text);
  font-weight: 650;
}

.article-layout {
  display: grid;
  gap: 2.5rem;
  padding: 2.5rem 0 4rem;
}

@media (min-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr 300px;
    align-items: start;
  }
}

.article-cover {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.75rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.article-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.article-meta {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.sidebar-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.sidebar-box h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: #fff;
}

.related-list {
  display: grid;
  gap: 0.85rem;
}

.related-list a {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.75rem;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.related-list a:hover {
  color: var(--primary);
}

.related-list img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
}

/* Category detail blocks */
.cat-detail-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .cat-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cat-detail {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.15rem;
  padding: 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: center;
}

.cat-detail img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.cat-detail h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.cat-detail p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Error pages */
.error-page {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), #7ccfff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.error-page h1 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.error-page p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 420px;
  margin-inline: auto;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Footer */
.site-footer {
  background: #080c16;
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.75rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand .logo {
  margin-bottom: 0.85rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 320px;
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.9rem;
  letter-spacing: 0.03em;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.92rem;
  padding: 0.3rem 0;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(135deg, rgba(59, 180, 255, 0.16), rgba(26, 127, 212, 0.08));
  border: 1px solid rgba(59, 180, 255, 0.28);
  border-radius: var(--radius);
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.35rem;
}

.cta-banner p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* List page filters visual */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.filter-bar span {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  background: var(--bg-card);
}

.filter-bar span.is-active {
  border-color: rgba(59, 180, 255, 0.5);
  color: var(--primary);
  background: var(--primary-soft);
}

body.menu-open {
  overflow: hidden;
}
