/* styles.css */
:root {
  --bg: #0a0f1c;
  --card: #121826;
  --accent: #00d1ff;
  --text: #e6edf3;
  --muted: #8b949e;
  --border: #1f2937;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: radial-gradient(circle at top, #0f172a, var(--bg));
  color: var(--text);
}

header {
  background: linear-gradient(90deg, #0f172a, #020617);
  padding: 25px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

header img {
  max-width: 140px;
  display: block;
  margin: 0 auto 10px;
  filter: drop-shadow(0 0 8px rgba(0, 209, 255, 0.4));
}

header h1 {
  margin: 0;
  color: var(--accent);
  letter-spacing: 1px;
}

header p {
  color: var(--muted);
}

.container {
  display: flex;
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 20px;
  gap: 20px;
}

.main {
  flex: 3;
}

.sidebar {
  flex: 1;
  background: var(--card);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.post {
  background: var(--card);
  margin-bottom: 25px;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

.post img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 12px;
}

.post h2 {
  color: var(--accent);
  margin-top: 0;
}

.post p {
  line-height: 1.7;
  color: var(--text);
}

.sidebar h3 {
  color: var(--accent);
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  margin-top: 0;
}

.sidebar p {
  color: var(--muted);
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin: 10px 0;
}

.sidebar a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.sidebar a:hover {
  color: var(--accent);
}

footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--border);
  margin-top: 30px;
  font-size: 14px;
  color: var(--muted);
}
