/* Global Theme */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #0a0a10;
  color: #e6e6ff;
  line-height: 1.7;
}

/* Top Bar */
.top-bar {
  background: #111122;
  color: #b3b3ff;
  padding: 6px 12px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #2a2a50;
}
.top-bar a { color: #b3b3ff; text-decoration: none; }

/* Header */
header {
  background: #0f0f1a;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #29294d;
}
header img.logo { height: 70px; }
nav a {
  color: #c8c8ff;
  text-decoration: none;
  margin-left: 20px;
  transition: 0.3s ease;
}
nav a:hover { color: #8a8aff; }

/* Layout */
main {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
  gap: 2rem;
}
.content { flex: 3; min-width: 300px; }
.sidebar { flex: 1; min-width: 200px; border-left: 1px solid #2b2b4d; padding-left: 1rem; }

/* Blog Article */
article {
  background: #161628;
  border: 1px solid #2b2b4d;
  box-shadow: 0 0 14px #1a1a33aa;
  padding: 2rem;
  border-radius: 14px;
}
article h2, article h3 {
  color: #c9b6ff;
  text-shadow: 0 0 6px #4c2cff66;
}
article p, article li { color: #d0d0ff; }
article img { max-width: 100%; border-radius: 8px; margin: 1rem 0; box-shadow: 0 0 12px #2a2a50; }

/* Sidebar */
.sidebar h3 { color: #c9b6ff; text-shadow: 0 0 6px #4c2cff66; }
.sidebar a { color: #d0d0ff; text-decoration: none; transition: 0.3s ease; }
.sidebar a:hover { color: #4c2cff; }

/* Footer */
footer {
  background: #0d0d16;
  color: #aaaaff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  border-top: 1px solid #24244a;
}

/* Mobile */
@media (max-width: 768px) {
  main { flex-direction: column; }
  .sidebar { border-left: none; padding-left: 0; margin-top: 2rem; }
  header img.logo { height: 55px; }
}
