/* Race Circuit - Sports News Theme */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;700&display=swap');

:root {
  --bg-primary: #0F1118;
  --bg-card: #1A1D29;
  --bg-border: #272A37;
  --bg-sidebar: rgba(26,29,41,0.75);
  --sprint-red: #FF2E63;
  --signal-blue: #38BDF8;
  --arena-green: #22C55E;
  --matte-gray: #94A3B8;
  --text-white: #ffffff;
  --text-muted: #9CA3AF;
  --font-en: 'Rajdhani', sans-serif;
  --font-cn: 'Noto Sans SC', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-en);
  background: var(--bg-primary);
  color: var(--text-white);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-en); }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--matte-gray); }

/* ===== Top Navigation ===== */
.top-nav {
  position: sticky; top: 0; z-index: 100;
  background: #0D0F15;
  border-bottom: 1px solid var(--bg-border);
  padding: 0 24px;
  height: 64px;
  display: flex; align-items: center; gap: 20px;
  backdrop-filter: blur(12px);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}

.nav-logo img { width: 32px; height: 32px; }

.nav-logo .logo-text {
  display: flex; flex-direction: column; line-height: 1.1;
}

.nav-logo .logo-title {
  font-size: 22px; font-weight: 700; letter-spacing: 1px;
  color: var(--text-white);
  font-style: italic;
  text-shadow: 0 0 20px rgba(230,57,70,0.4);
}

.nav-logo .logo-sub {
  font-size: 10px; font-weight: 400; letter-spacing: 2px;
  color: var(--sprint-red);
  text-transform: uppercase;
}

.nav-categories {
  display: flex; gap: 4px; flex: 1; justify-content: center;
  flex-wrap: nowrap; overflow-x: auto;
}

.nav-cat-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--matte-gray);
  padding: 6px 14px;
  font-size: 13px; font-weight: 600;
  border-radius: 20px;
  white-space: nowrap;
  transition: all 0.25s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-cat-btn:hover, .nav-cat-btn.active {
  border-color: var(--sprint-red);
  color: var(--text-white);
  background: rgba(255,46,99,0.1);
}

.nav-cat-btn.active {
  background: rgba(255,46,99,0.15);
  box-shadow: 0 0 12px rgba(255,46,99,0.2);
}

.nav-right {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}

.nav-time-btn {
  background: transparent;
  border: 1px solid var(--bg-border);
  color: var(--matte-gray);
  padding: 6px 12px;
  font-size: 12px; font-weight: 600;
  border-radius: 16px;
  transition: all 0.25s;
}

.nav-time-btn:hover, .nav-time-btn.active {
  border-color: var(--signal-blue);
  color: var(--signal-blue);
}

.nav-search {
  position: relative;
}

.nav-search input {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  color: var(--text-white);
  padding: 6px 12px 6px 32px;
  border-radius: 16px;
  font-size: 13px;
  width: 160px;
  outline: none;
  transition: all 0.25s;
  font-family: var(--font-en);
}

.nav-search input:focus {
  border-color: var(--signal-blue);
  width: 200px;
}

.nav-search::before {
  content: '🔍';
  position: absolute; left: 10px; top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
}

/* ===== Hamburger Menu ===== */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--bg-border);
  border-radius: 8px;
  cursor: pointer;
  padding: 6px;
  gap: 4px;
  transition: all 0.25s;
}

.hamburger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--matte-gray);
  border-radius: 1px;
  transition: all 0.25s;
}

.hamburger-btn:hover {
  border-color: var(--sprint-red);
}

.hamburger-btn:hover span {
  background: var(--sprint-red);
}

.hamburger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ===== Mobile Menu ===== */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 150;
  backdrop-filter: blur(4px);
}

.mobile-menu-overlay.show {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--bg-border);
  z-index: 200;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--bg-border);
}

.mobile-menu-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-white);
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--matte-gray);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.25s;
}

.mobile-menu-close:hover {
  color: var(--sprint-red);
}

.mobile-menu-items {
  padding: 12px 0;
}

.mobile-menu-items .cat-item {
  border-left: none;
  border-bottom: 1px solid var(--bg-border);
  padding: 14px 20px;
}

.mobile-menu-items .cat-item:last-child {
  border-bottom: none;
}

.mobile-menu-items .cat-item.active {
  background: rgba(255,46,99,0.1);
}

/* ===== Main Layout ===== */
.main-layout {
  display: grid;
  grid-template-columns: 200px 1fr 280px;
  gap: 0;
  min-height: calc(100vh - 64px - 48px);
}

/* ===== Left Sidebar ===== */
.sidebar-left {
  background: var(--bg-sidebar);
  backdrop-filter: blur(12px);
  border-right: 1px solid var(--bg-border);
  padding: 20px 0;
  position: sticky; top: 64px;
  height: calc(100vh - 64px - 48px);
  overflow-y: auto;
}

.sidebar-title {
  font-size: 11px; font-weight: 700;
  color: var(--matte-gray);
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0 16px 12px;
  border-bottom: 1px solid var(--bg-border);
  margin-bottom: 8px;
}

.cat-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.25s;
  border-left: 3px solid transparent;
  position: relative;
}

.cat-item:hover {
  background: rgba(255,255,255,0.03);
}

.cat-item.active {
  background: rgba(255,255,255,0.05);
}

.cat-item .cat-icon { font-size: 18px; }

.cat-item .cat-label {
  font-size: 13px; font-weight: 600;
  color: var(--matte-gray);
  transition: color 0.25s;
}

.cat-item:hover .cat-label,
.cat-item.active .cat-label { color: var(--text-white); }

.cat-item .cat-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--matte-gray);
  background: var(--bg-border);
  padding: 2px 8px;
  border-radius: 10px;
}

.cat-item.active .cat-count {
  background: rgba(255,46,99,0.2);
  color: var(--sprint-red);
}

/* ===== Main Content ===== */
.main-content {
  padding: 20px 24px;
  overflow-y: auto;
}

.section-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 20px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header .track-line {
  flex: 1; height: 2px;
  background: linear-gradient(90deg, var(--bg-border), transparent);
}

/* ===== News Cards Grid ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.news-card {
  background: var(--bg-card);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--bg-border);
  cursor: pointer;
}

.news-card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.news-card .card-thumb {
  width: 100%; height: 200px;
  object-fit: cover;
  transition: transform 0.5s;
}

.news-card:hover .card-thumb {
  transform: scale(1.05);
}

.card-thumb-wrap {
  overflow: hidden;
  position: relative;
}

.card-thumb-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,17,24,0.85) 100%);
  pointer-events: none;
}

.card-category-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.card-body {
  padding: 16px;
}

.card-title {
  font-size: 15px; font-weight: 600;
  line-height: 1.3;
  color: var(--text-white);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.card-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px;
  color: var(--matte-gray);
}

.card-meta .meta-speed {
  display: flex; align-items: center; gap: 4px;
  font-weight: 700;
}

.card-glow {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.35s;
}

.news-card:hover .card-glow { opacity: 1; }

/* ===== Right Sidebar ===== */
.sidebar-right {
  background: var(--bg-sidebar);
  backdrop-filter: blur(12px);
  border-left: 1px solid var(--bg-border);
  padding: 20px 16px;
  position: sticky; top: 64px;
  height: calc(100vh - 64px - 48px);
  overflow-y: auto;
}

.ranking-title {
  font-size: 13px; font-weight: 700;
  color: var(--matte-gray);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}

.ranking-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 8px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s;
  margin-bottom: 4px;
}

.ranking-item:hover {
  background: rgba(255,255,255,0.04);
}

.ranking-rank {
  font-size: 18px; font-weight: 700;
  min-width: 28px;
  text-align: center;
  line-height: 1;
  padding-top: 2px;
}

.ranking-rank.gold { color: #FFD700; }
.ranking-rank.silver { color: #C0C0C0; }
.ranking-rank.bronze { color: #CD7F32; }

.ranking-thumb {
  width: 48px; height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.ranking-info { flex: 1; min-width: 0; }

.ranking-info .r-title {
  font-size: 12px; font-weight: 600;
  color: var(--text-white);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ranking-info .r-cat {
  font-size: 10px;
  color: var(--matte-gray);
  margin-top: 2px;
}

/* Category Stats */
.stats-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--bg-border);
}

.stats-title {
  font-size: 13px; font-weight: 700;
  color: var(--matte-gray);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.stat-bar-item {
  margin-bottom: 10px;
}

.stat-bar-label {
  display: flex; justify-content: space-between;
  font-size: 11px; font-weight: 600;
  margin-bottom: 4px;
}

.stat-bar-track {
  height: 6px;
  background: var(--bg-border);
  border-radius: 3px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.6s ease;
}

/* ===== Bottom Ticker ===== */
.bottom-ticker {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 48px;
  background: #0D0F15;
  border-top: 1px solid var(--bg-border);
  display: flex; align-items: center;
  overflow: hidden;
  z-index: 90;
}

.ticker-signal {
  width: 40px; height: 100%;
  background: var(--sprint-red);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.ticker-content {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-scroll {
  display: inline-block;
  animation: tickerScroll 60s linear infinite;
  padding-left: 100%;
}

.ticker-scroll:hover {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.ticker-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500;
  color: var(--text-white);
  margin-right: 40px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.25s;
}

.ticker-item:hover {
  color: var(--sprint-red);
}

.ticker-item .t-sep {
  color: var(--sprint-red);
  font-weight: 700;
}

/* ===== Ad Placements ===== */
.ad-slot {
  text-align: center;
  padding: 10px;
  display: flex; flex-direction: column; align-items: center;
  overflow: hidden;
  margin: 16px 0;
}

.ad-slot .ad-label {
  text-align: center; color: #333; font-size: 13px;
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
}

/* ===== Mini Game Modal ===== */
.game-modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 200;
  justify-content: center; align-items: center;
}

.game-modal-overlay.show {
  display: flex;
}

.game-modal {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 16px;
  padding: 32px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
}

.game-modal .game-close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none;
  color: var(--matte-gray);
  font-size: 20px;
  cursor: pointer;
}

.game-modal .game-icon { font-size: 48px; margin-bottom: 12px; }

.game-modal .game-name {
  font-size: 22px; font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.game-modal .game-desc {
  font-size: 14px;
  color: var(--matte-gray);
  margin-bottom: 20px;
}

.game-modal .game-play-btn {
  background: linear-gradient(135deg, var(--sprint-red), #E63946);
  color: white;
  border: none;
  padding: 10px 28px;
  font-size: 14px; font-weight: 700;
  border-radius: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.25s;
}

.game-modal .game-play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(255,46,99,0.4);
}

/* ===== Footer Links ===== */
.footer-links {
  display: flex; gap: 16px;
  justify-content: center;
  padding: 12px 0;
}

.footer-links a {
  font-size: 12px;
  color: var(--matte-gray);
  transition: color 0.25s;
}

.footer-links a:hover { color: var(--text-white); }

/* ===== Detail Page ===== */
.detail-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

.detail-back {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--matte-gray);
  font-size: 14px; font-weight: 600;
  margin-bottom: 20px;
  transition: color 0.25s;
  cursor: pointer;
  background: none; border: none;
}

.detail-back:hover { color: var(--text-white); }

.detail-header {
  margin-bottom: 24px;
}

.detail-cat-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.detail-title {
  font-size: 28px; font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.detail-meta {
  font-size: 13px;
  color: var(--matte-gray);
  display: flex; gap: 16px; flex-wrap: wrap;
}

.detail-image {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 24px;
  max-height: 450px;
  object-fit: cover;
}

.detail-actions {
  display: flex; gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.detail-action-btn {
  background: transparent;
  border: 1px solid var(--bg-border);
  color: var(--matte-gray);
  padding: 8px 16px;
  font-size: 12px; font-weight: 600;
  border-radius: 20px;
  transition: all 0.25s;
  display: flex; align-items: center; gap: 6px;
}

.detail-action-btn:hover {
  border-color: var(--signal-blue);
  color: var(--signal-blue);
}

/* Reading Curve */
.reading-curve {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid var(--bg-border);
}

.reading-curve h3 {
  font-size: 13px; font-weight: 700;
  color: var(--matte-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.curve-svg { width: 100%; height: 80px; }

/* Tags Grid */
.tags-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.tag-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.tag-card .tag-icon { font-size: 24px; margin-bottom: 6px; }
.tag-card .tag-label {
  font-size: 11px; font-weight: 600;
  color: var(--matte-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tag-card .tag-value {
  font-size: 14px; font-weight: 700;
  margin-top: 4px;
}

/* Article Body */
.article-body {
  font-size: 15px;
  line-height: 1.8;
  color: #D1D5DB;
  margin-bottom: 32px;
}

.article-body p { margin-bottom: 16px; }

/* Related */
.related-section {
  margin-bottom: 32px;
}

.related-title {
  font-size: 16px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.related-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.25s;
}

.related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.related-card img {
  width: 100%; height: 120px;
  object-fit: cover;
}

.related-card .rc-body { padding: 10px; }

.related-card .rc-title {
  font-size: 12px; font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Comments */
.comments-section {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 14px;
  padding: 20px;
}

.comments-title {
  font-size: 16px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.comment-input-wrap {
  display: flex; gap: 10px;
  margin-bottom: 16px;
}

.comment-input {
  flex: 1;
  background: var(--bg-primary);
  border: 1px solid var(--bg-border);
  color: var(--text-white);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  outline: none;
  font-family: var(--font-en);
}

.comment-input:focus { border-color: var(--signal-blue); }

.comment-submit {
  background: var(--sprint-red);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px; font-weight: 600;
  transition: all 0.25s;
}

.comment-submit:hover {
  background: #E63946;
  box-shadow: 0 2px 12px rgba(255,46,99,0.3);
}

.comment-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--bg-border);
}

.comment-item:last-child { border-bottom: none; }

.comment-user {
  font-size: 13px; font-weight: 600;
  color: var(--text-white);
}

.comment-text {
  font-size: 13px;
  color: var(--matte-gray);
  margin-top: 4px;
}

.comment-time {
  font-size: 11px;
  color: #6B7280;
  margin-top: 4px;
}

/* ===== Static Pages (Contact/Policy/About) ===== */
.static-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.static-page h1 {
  font-size: 32px; font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.static-page h2 {
  font-size: 20px; font-weight: 600;
  margin: 24px 0 12px;
  color: var(--text-white);
}

.static-page p {
  font-size: 14px;
  line-height: 1.8;
  color: #9CA3AF;
  margin-bottom: 12px;
}

.static-page ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.static-page ul li {
  font-size: 14px;
  line-height: 1.8;
  color: #9CA3AF;
  padding-left: 20px;
  position: relative;
}

.static-page ul li::before {
  content: '▎';
  position: absolute; left: 0;
  color: var(--sprint-red);
  font-weight: 700;
}

.static-page a {
  color: var(--signal-blue);
  transition: color 0.25s;
}

.static-page a:hover { color: #7DD3FC; }

/* ===== Animations ===== */
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.card-animate {
  animation: slideInRight 0.5s ease forwards;
  opacity: 0;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
  .sidebar-left {
    position: static;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 12px;
    border-right: none;
    border-bottom: 1px solid var(--bg-border);
  }
  .sidebar-title { display: none; }
  .cat-item {
    padding: 6px 12px;
    border-left: none;
    border-radius: 16px;
    border: 1px solid var(--bg-border);
  }
  .cat-item.active {
    border-color: var(--sprint-red);
  }
  .cat-item .cat-count { display: none; }
  .sidebar-right {
    position: static;
    height: auto;
    border-left: none;
    border-top: 1px solid var(--bg-border);
  }
}

@media (max-width: 640px) {
  .top-nav { padding: 0 12px; gap: 10px; }
  .nav-categories { display: none; }
  .nav-search input { width: 120px; }
  .hamburger-btn { display: flex !important; }
  .sidebar-left { display: none !important; }
  .main-layout {
    grid-template-columns: 1fr;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .news-card .card-thumb { height: 180px; }
  .detail-title { font-size: 22px; }
  .tags-grid { display: none !important; }
  .related-grid { grid-template-columns: 1fr; }
}

/* ===== Flow Light Effect ===== */
.flow-light {
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  pointer-events: none;
  animation: flowLight 4s ease-in-out infinite;
}

@keyframes flowLight {
  0% { left: -60%; }
  100% { left: 160%; }
}

/* ===== No Results ===== */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--matte-gray);
}

.no-results .nr-icon { font-size: 48px; margin-bottom: 12px; }
.no-results .nr-text { font-size: 16px; font-weight: 600; }
