/* ===== GLOBAL RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111633 0, #050814 55%);
  color: #f5f7ff;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.shell {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px;
}

/* ===== HEADER ===== */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 0, #7aa4ff, #4f8cff 40%, #1b2440 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 18px;
  color: white;
  box-shadow: 0 0 18px rgba(79, 140, 255, 0.7);
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
}

.brand-tagline {
  font-size: 12px;
  color: #a5b0d4;
}

/* ===== HERO ===== */
.hero {
  margin-top: 20px;
  padding: 24px;
  border-radius: 20px;
  background: radial-gradient(circle at top left, #1a2344 0, #0b1020 45%, #050814 100%);
  border: 1px solid rgba(79, 140, 255, 0.25);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}

.hero-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
}

.hero-title span {
  color: #9bb6ff;
}

.hero-subtitle {
  margin-top: 10px;
  font-size: 15px;
  color: #a5b0d4;
  max-width: 480px;
}

.hero-badges {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(7, 10, 24, 0.85);
  border: 1px solid rgba(165, 176, 212, 0.3);
  font-size: 12px;
  color: #a5b0d4;
}

/* ===== CATEGORY GRID ===== */
.section {
  margin-top: 32px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.category-card {
  background: #101528;
  border: 1px solid #1b2238;
  padding: 14px;
  border-radius: 14px;
  transition: 0.2s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: #4f8cff;
  background: #151b32;
}

.category-icon {
  font-size: 24px;
}

.category-name {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
}

.category-meta {
  margin-top: 4px;
  font-size: 12px;
  color: #a5b0d4;
}

/* ===== ARTICLES ===== */
.articles-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.article-card {
  background: #101528;
  border: 1px solid #1b2238;
  padding: 16px;
  border-radius: 14px;
  transition: 0.2s ease;
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: #4f8cff;
  background: #151b32;
}

.article-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.article-desc {
  font-size: 13px;
  color: #a5b0d4;
}

/* ===== FOOTER ===== */
.site-footer {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid #1b2238;
  font-size: 12px;
  color: #a5b0d4;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
  }
}
