:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a26;
  --bg-hover: #22222e;
  --border: #2a2a3a;
  --text-primary: #e8e8f0;
  --text-secondary: #8888a0;
  --text-muted: #555570;
  --accent: #ff3b3b;
  --accent-dim: #ff3b3b33;
  --severity-5: #ff1a1a;
  --severity-4: #ff5533;
  --severity-3: #ff8833;
  --severity-2: #ffbb33;
  --severity-1: #ffdd44;
  --scrollbar-bg: #12121a;
  --scrollbar-thumb: #2a2a3a;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans SC', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
}

body.article-page {
  overflow: auto;
  height: auto;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--scrollbar-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 3px;
}

.header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo:hover,
.logo:visited,
.logo:active {
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  font-size: 24px;
}

.logo h1 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.logo-accent {
  color: var(--accent);
}

.header-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 14px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-secondary);
  border-radius: 1px;
  transition: all 0.2s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 16px;
  overflow-y: auto;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mobile-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-section {
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.mobile-section-title {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin: 0 0 8px 0;
  letter-spacing: 0.5px;
}

.mobile-severity-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mobile-scroll-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.mobile-scroll-row::-webkit-scrollbar {
  display: none;
}

.mobile-scroll-row .mobile-tag {
  flex-shrink: 0;
  padding: 4px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.mobile-scroll-row .mobile-tag.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--text-primary);
}

.mobile-scroll-row .mobile-tag:hover {
  border-color: var(--accent);
}

.mobile-sparkline {
  width: 100%;
  height: 60px;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.lang-switch {
  display: flex;
  gap: 2px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px;
}

.lang-btn {
  padding: 3px 10px;
  background: transparent;
  border: none;
  border-radius: 3px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  background: var(--accent);
  color: #fff;
}

.main-layout {
  display: grid;
  grid-template-columns: 240px 1fr 320px;
  gap: 0;
  height: calc(100vh - 60px);
}

body:not(.article-page) .main-layout {
  position: sticky;
  top: 60px;
  z-index: 10;
  height: calc(100vh - 60px);
}

.sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  padding: 20px 16px;
  overflow-y: auto;
}

.filter-section {
  margin-bottom: 24px;
}

.filter-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.search-box input {
  width: 100%;
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

.search-box input:focus {
  border-color: var(--accent);
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.severity-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.severity-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 28px;
}

.severity-btn:not(.severity-btn-text) {
  width: 28px;
  height: 28px;
  padding: 0;
  flex-shrink: 0;
}

.severity-btn-text {
  min-width: 48px;
}

.severity-btn:hover {
  border-color: var(--accent);
}

.severity-btn.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--text-primary);
}

.severity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.severity-dot.s5 { background: var(--severity-5); }
.severity-dot.s4 { background: var(--severity-4); }
.severity-dot.s3 { background: var(--severity-3); }
.severity-dot.s2 { background: var(--severity-2); }
.severity-dot.s1 { background: var(--severity-1); }
.severity-dot.s0 { background: #00d084; }

.severity-dot-inline {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}

.severity-dot-inline.s5 { background: var(--severity-5); }
.severity-dot-inline.s4 { background: var(--severity-4); }
.severity-dot-inline.s3 { background: var(--severity-3); }
.severity-dot-inline.s2 { background: var(--severity-2); }
.severity-dot-inline.s1 { background: var(--severity-1); }
.severity-dot-inline.s0 { background: #00d084; }

.category-filter,
.source-filter {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.category-btn,
.source-btn {
  padding: 6px 10px;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: var(--text-secondary);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.category-btn:hover,
.source-btn:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.category-btn.active,
.source-btn.active {
  background: var(--accent-dim);
  color: var(--accent);
}

.source-btn .source-name,
.category-btn .category-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-btn .source-count,
.category-btn .category-count {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  background: var(--bg-secondary);
  padding: 1px 6px;
  border-radius: 8px;
  min-width: 22px;
  text-align: center;
}

.source-btn.active .source-count,
.category-btn.active .category-count {
  background: rgba(255, 59, 59, 0.15);
  color: var(--accent);
}

.date-filter select {
  width: 100%;
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
  cursor: pointer;
}

.content {
  overflow-y: auto;
  padding: 20px;
}

.news-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 900px;
  margin: 0 auto;
}

.loading {
  text-align: center;
  color: var(--text-muted);
  padding: 40px;
  font-size: 14px;
}

.news-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.2s;
  animation: slideIn 0.3s ease-out;
  text-decoration: none;
  display: block;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-item:hover {
  border-color: var(--accent);
  background: var(--bg-hover);
  transform: translateX(4px);
}

.news-item-returned {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-dim);
}

.news-item.read .news-title {
  color: var(--text-muted);
  font-weight: 500;
}

.news-item.read:hover {
  border-color: var(--accent-dim);
}

/* News item border color matches severity */
.news-item.s5 { border-color: var(--severity-5); }
.news-item.s4 { border-color: var(--severity-4); }
.news-item.s3 { border-color: var(--severity-3); }
.news-item.s2 { border-color: var(--severity-2); }
.news-item.s1 { border-color: var(--severity-1); }
.news-item.s0 { border-color: #00d084; }

.news-item-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.severity-badge {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.severity-badge.s5 { background: var(--severity-5); }
.severity-badge.s4 { background: var(--severity-4); }
.severity-badge.s3 { background: var(--severity-3); }
.severity-badge.s2 { background: var(--severity-2); color: #1a1a26; }
.severity-badge.s1 { background: var(--severity-1); color: #1a1a26; }
.severity-badge.s0 { background: #00d084; color: #fff; }

.news-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  flex: 1;
}

.news-summary {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.news-source {
  color: var(--accent);
  font-weight: 500;
}

.news-category {
  background: var(--bg-secondary);
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
}

.news-time {
  margin-left: auto;
}

.news-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.news-view-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  font-size: 11px;
  color: var(--text-muted);
  user-select: none;
  pointer-events: none;
}

.news-view-count svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.load-more {
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

#load-more-btn {
  padding: 10px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

#load-more-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.trends-panel {
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  padding: 20px 16px;
  overflow-y: auto;
}

.trends-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.chart-container {
  position: relative;
  height: 200px;
  margin-bottom: 16px;
}

.trend-period {
  display: flex;
  gap: 8px;
}

.period-btn {
  flex: 1;
  padding: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.period-btn.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.empty-state-text {
  font-size: 14px;
}

@media (max-width: 1200px) {
  .main-layout {
    grid-template-columns: 200px 1fr 260px;
  }
}

@media (max-width: 900px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
  .sidebar, .trends-panel {
    display: none;
  }
  .header-stats {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .live-indicator {
    font-size: 10px;
    gap: 4px;
  }
  .live-dot {
    width: 6px;
    height: 6px;
  }
  .lang-switch {
    padding: 1px;
  }
  .lang-btn {
    padding: 2px 6px;
    font-size: 11px;
  }
  .header-right {
    gap: 8px;
  }
}

.article-container {
  max-width: 1200px;
  margin: 80px auto 40px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}

.article-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.article-content > .article-header,
.article-content > .article-summary {
  flex: 1;
}

.back-to-home {
  margin-top: 0;
  padding: 8px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.2s;
}

.back-to-home:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.article-view-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  user-select: none;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}

.article-view-count svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.article-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.article-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
  flex: 1;
}

.article-summary {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.article-sidebar {
  position: sticky;
  top: 80px;
}

.article-meta-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.meta-card-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.meta-item:last-child {
  border-bottom: none;
}

.meta-label {
  font-size: 13px;
  color: var(--text-muted);
}

.meta-value {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 500;
}

.read-original-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.read-original-btn:hover {
  background: #ff5555;
  transform: translateY(-2px);
}

.error-state {
  text-align: center;
  padding: 60px 20px;
}

.error-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.error-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.back-home {
  display: inline-block;
  padding: 10px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.2s;
}

.back-home:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 768px) {
  .article-container {
    grid-template-columns: 1fr;
    padding: 0 16px;
    margin-top: 70px;
  }
  .article-content {
    padding: 20px;
  }
  .article-title {
    font-size: 20px;
  }
  .article-sidebar {
    position: static;
  }
}

/* ===== Hero Section - Terminal/Hacker Style ===== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-primary);
  padding-top: 60px;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 0%, var(--bg-primary) 75%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  margin-bottom: 32px;
  background: var(--accent-dim);
  animation: heroFadeIn 0.8s ease-out;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

.hero-badge-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  font-family: 'Courier New', Courier, monospace;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  animation: heroFadeIn 0.8s ease-out 0.2s both;
}

.hero-title-prefix {
  color: var(--accent);
  font-family: 'Courier New', Courier, monospace;
  font-weight: 400;
  margin-right: 8px;
  font-size: 0.7em;
  vertical-align: middle;
}

.hero-title-text {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-typewriter {
  font-family: 'Courier New', Courier, monospace;
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  min-height: 28px;
  animation: heroFadeIn 0.8s ease-out 0.4s both;
}

.hero-typewriter-prefix {
  color: #00ff88;
  margin-right: 8px;
  font-weight: 700;
}

#hero-typewriter-text {
  color: var(--text-primary);
}

.hero-cursor {
  color: var(--accent);
  animation: cursorBlink 0.8s step-end infinite;
  font-weight: 400;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
  animation: heroFadeIn 0.8s ease-out 0.6s both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-stat-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  font-family: 'Courier New', Courier, monospace;
}

.hero-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-scroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 14px;
  font-family: 'Courier New', Courier, monospace;
  cursor: pointer;
  transition: all 0.3s;
  animation: heroFadeIn 0.8s ease-out 0.8s both;
}

.hero-scroll-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-2px);
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-title {
    font-size: 32px;
  }
  .hero-typewriter {
    font-size: 14px;
  }
  .hero-stats {
    gap: 20px;
  }
  .hero-stat-value {
    font-size: 28px;
  }
  .hero-stat-divider {
    height: 30px;
  }
  /* Mobile: hero + main-layout normal flow, no sticky */
  body:not(.article-page) .main-layout {
    position: relative;
    top: auto;
    height: auto;
    min-height: calc(100vh - 60px);
  }
  body:not(.article-page) .main-layout .news-list {
    height: auto;
    min-height: 60vh;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 26px;
  }
  .hero-stat-value {
    font-size: 22px;
  }
  .hero-stats {
    gap: 16px;
  }
  .hero-stat-label {
    font-size: 10px;
  }
}
