:root {
  --bg: #fdfdfd;       
  --panel: #ffffff;    
  --text: #1e293b;     
  --muted: #64748b;    
  --accent: #8b1e3f;   
  --accent-hover: #6d1b32;
  --accent-soft: rgba(139, 30, 63, 0.12);
  --ring: rgba(139, 30, 63, 0.35);      
}

* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px;
}

.navbar {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 8px 0;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.3px;
}

.navlinks a {
  margin-left: 14px;
  padding: 8px 12px;
  border-radius: 999px;
}
.navlinks a.active, .navlinks a:hover {
  background: var(--accent-soft);
}

.hero {
  margin-top: 14px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(148,163,184,0.15);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.card {
  grid-column: span 12;
  background: var(--panel);
  border: 1px solid rgba(148,163,184,0.15);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

@media (min-width: 740px) {
  .card.half { grid-column: span 6; }
}

.h1 { font-size: 28px; margin: 8px 0 14px 0; }
.h2 { font-size: 22px; margin: 8px 0 8px 0; color: var(--muted); }
.meta { color: var(--muted); font-size: 14px; }
.badge {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid rgba(148,163,184,0.25);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  margin-right: 6px;
}

.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 10px 0; border-bottom: 1px solid rgba(148,163,184,0.15); }
.list li:last-child { border-bottom: none; }

.item-title { font-weight: 600; }
.item-actions a { margin-right: 10px; font-size: 14px; }

.footer { margin: 24px 0 12px 0; color: var(--muted); font-size: 14px; text-align: center; }

.footer .icon {
  width: 30px;
  height: 30px;
  transition: filter 0.2s ease;
}

.footer a:hover .icon {
  filter: brightness(0.9) saturate(250%) contrast(100%);
  transform: scale(1.1);
}
