
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  }

body {
background: linear-gradient(135deg, #0f172a, #020617);
color: #e5e7eb;
min-height: 100vh;
}

.container {
max-width: 1200px;
margin: auto;
padding: 30px 20px;
}

header {
backdrop-filter: blur(14px);
background: rgba(15, 23, 42, 0.7);
border-bottom: 1px solid rgba(255,255,255,0.06);
}

header .container {
display: flex;
align-items: center;
justify-content: space-between;
}

header .logo {
font-size: 26px;
font-weight: 700;
letter-spacing: -0.5px;
background: linear-gradient(90deg,#22d3ee,#6366f1);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

/* NAV */

header nav ul {
list-style: none;
display: flex;
gap: 24px;
}

header nav ul li a {
color: #cbd5f5;
text-decoration: none;
font-weight: 500;
position: relative;
transition: 0.25s;
}

header nav ul li a:hover {
color: #22d3ee;
}

/* =========================
MAIN LAYOUT
========================= */

main {
display: flex;
gap: 28px;
margin-top: 35px;
}

/* =========================
BLOG FEED
========================= */

.blog-feed {
flex: 3;
display: flex;
flex-direction: column;
gap: 28px;
}

.blog-card {
background: rgba(15,23,42,0.6);
border: 1px solid rgba(255,255,255,0.05);
border-radius: 16px;
backdrop-filter: blur(10px);

padding: 24px;

transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
transform: translateY(-6px);
box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.blog-card img {
width: 100%;
border-radius: 12px;
margin-bottom: 18px; 
}

.blog-card .content {
padding: 0; 
}

.blog-card .content {
padding: 20px;
}

.blog-card h3 {
font-size: 20px;
margin-bottom: 10px;
}

.blog-card p {
font-size: 14px;
line-height: 1.6;
color: #9ca3af;
}

/* BUTTON */

.blog-card .read-more {
display: inline-block;
margin-top: 14px;
padding: 8px 14px;
font-size: 13px;
border-radius: 8px;
background: linear-gradient(90deg,#22d3ee,#6366f1);
color: white;
text-decoration: none;
font-weight: 600;
transition: 0.25s;
}

.blog-card .read-more:hover {
transform: scale(1.05);
box-shadow: 0 6px 20px rgba(99,102,241,0.4);
}

.sidebar {
flex: 1;
background: rgba(15,23,42,0.6);
border: 1px solid rgba(255,255,255,0.05);
border-radius: 16px;
padding: 20px;
backdrop-filter: blur(10px);
height: fit-content;
}

.sidebar h2 {
margin-bottom: 14px;
font-size: 18px;
}

.sidebar ul {
list-style: none;
}

.sidebar ul li {
padding: 8px 0;
color: #cbd5f5;
cursor: pointer;
transition: 0.2s;
}

.sidebar ul li:hover {
color: #22d3ee;
transform: translateX(4px);
}

footer {
margin-top: 50px;
text-align: center;
padding: 22px 0;
font-size: 14px;
color: #9ca3af;
border-top: 1px solid rgba(255,255,255,0.06);
}
