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

:root {
  --bg-primary: #0d0d0f;
  --bg-secondary: #141416;
  --bg-card: #1a1a1e;
  --bg-card-hover: #1f1f24;
  --border: #2a2a30;
  --border-light: #333340;
  --text-primary: #f0f0f2;
  --text-secondary: #9898a8;
  --text-muted: #606070;
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --red: #ef4444;
  --font: 'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --radius: 8px;
  --radius-lg: 12px;
  --max-w: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

a { text-decoration: none; color: inherit; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 60px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-ict { color: var(--accent); }
.logo-dash { color: var(--text-muted); }
.logo-vandaag { color: var(--text-primary); }
.logo-tld { color: var(--text-muted); font-size: 14px; }

.main-nav {
  display: flex;
  gap: 4px;
  flex: 1;
}

.main-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }
.main-nav a.active { color: var(--text-primary); background: rgba(59,130,246,0.12); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.btn-search {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.btn-search:hover { color: var(--text-primary); }


/* ── Breaking Bar ── */
.breaking-bar {
  background: #1a0a0a;
  border-bottom: 1px solid #3a1515;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}
.breaking-label {
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 3px;
  flex-shrink: 0;
}
.breaking-text {
  font-size: 13px;
  color: #d0a0a0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Category Badges ── */
.category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  z-index: 2;
}
.badge-ai      { background: #1d3a5c; color: #60a5fa; }
.badge-space   { background: #1a1a3a; color: #a78bfa; }
.badge-games   { background: #1a2e1a; color: #4ade80; }
.badge-microsoft { background: #1a2a3a; color: #38bdf8; }
.badge-films   { background: #2e1a2e; color: #e879f9; }
.badge-google  { background: #2e2a1a; color: #fbbf24; }
.badge-gadgets { background: #2e1a1a; color: #fb923c; }

/* ── Image Placeholder ── */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: #1e1e24;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  position: absolute;
  top: 0; left: 0;
}
.img-placeholder-sm { }

/* ── Hero Section ── */
.hero {
  padding: 32px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.hero-featured {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s;
}
.hero-featured:hover { border-color: var(--border-light); }

.article-image-wrap {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: #1e1e24;
}
.article-image-wrap .article-img {
  transition: transform 0.4s ease;
}
.hero-featured:hover .article-img { transform: scale(1.02); }

.article-body { padding: 24px 28px 28px; }

.article-title-hero {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.article-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.article-meta time { color: var(--text-secondary); }

.article-intro {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Hero Side */
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-side-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s;
}
.hero-side-card:hover { border-color: var(--border-light); }

.side-image-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: #1e1e24;
}

.side-body { padding: 14px 16px 16px; }

.side-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 6px;
}

/* ── Category Strip ── */
.category-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
  margin-top: 24px;
}

.strip-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 0;
  overflow-x: auto;
}
.strip-inner::-webkit-scrollbar { display: none; }

.strip-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-right: 8px;
  white-space: nowrap;
}

.strip-inner a {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.strip-inner a:hover {
  color: var(--accent-hover);
  border-color: var(--accent);
  background: rgba(59, 130, 246, 0.08);
}

/* ── Content Grid ── */
.content-section { padding: 40px 0 60px; }

.content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

/* ── Section Header ── */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}
.section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.see-all {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  transition: color 0.15s;
}
.see-all:hover { color: var(--accent-hover); }

/* ── Article Cards ── */
.articles-feed { display: flex; flex-direction: column; gap: 32px; }

.article-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.article-card:hover { border-color: var(--border-light); }

.card-image-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: #1e1e24;
}
.card-image-wrap .article-img {
  transition: transform 0.4s ease;
}
.article-card:hover .card-image-wrap .article-img { transform: scale(1.02); }

.card-body { padding: 24px 28px 28px; }

.card-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.card-intro {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.card-content p {
  font-size: 15px;
  color: #888898;
  line-height: 1.75;
}

.read-more {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.15s, gap 0.15s;
  gap: 4px;
}
.read-more:hover { color: var(--accent-hover); gap: 8px; }

/* ── Sidebar ── */
.sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 80px; }

.sidebar-widget {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 20px;
}

.widget-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

/* Popular List */
.popular-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.popular-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.popular-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--border-light);
  line-height: 1;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  min-width: 28px;
}
.popular-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.4;
  display: block;
  margin-bottom: 3px;
  transition: color 0.15s;
}
.popular-link:hover { color: var(--text-primary); }
.popular-meta {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
}


/* Categories */
.categories-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.categories-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 7px 8px;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}
.categories-list a:hover { background: rgba(255,255,255,0.05); color: var(--text-primary); }
.cat-count { margin-left: auto; font-size: 11px; color: var(--text-muted); }
.cat-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.cat-ai       { background: #60a5fa; }
.cat-ms       { background: #38bdf8; }
.cat-google   { background: #fbbf24; }
.cat-games    { background: #4ade80; }
.cat-films    { background: #e879f9; }
.cat-space    { background: #a78bfa; }
.cat-gadgets  { background: #fb923c; }

/* ── Footer ── */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  padding: 48px 24px;
}

.footer-logo { font-size: 22px; margin-bottom: 12px; display: inline-block; }
.footer-tagline { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 13px; color: var(--text-secondary); transition: color 0.15s; }
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 24px;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); text-align: center; }
