:root{
  --bg:#0a0e14;
  --bg-secondary:#0f1419;
  --card:#151b23;
  --card-hover:#1a2129;
  --muted:#8b949e;
  --accent:#64b5f6;
  --accent-2:#81c784;
  --accent-warm:#ffb86b;
  --text:#e6edf3;
  --text-bright:#ffffff;
  --wrap:900px;
  --radius:12px;
  --gap:20px;
  --shadow:0 4px 16px rgba(0,0,0,0.3);
  --shadow-lg:0 8px 32px rgba(0,0,0,0.4);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.6;
  font-size:16px;
}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}

/* Header Styles */
.site-header{
  background:linear-gradient(180deg, var(--bg-secondary), transparent);
  padding:24px 0;
  border-bottom:1px solid rgba(255,255,255,0.06);
  margin-bottom:48px;
}
.brand-link{
  text-decoration:none;
  color:var(--text);
  display:inline-block;
}
.site-title{
  margin:0;
  font-size:26px;
  font-weight:700;
  color:var(--text-bright);
  letter-spacing:-0.5px;
}
.site-sub{
  margin:4px 0 16px;
  color:var(--muted);
  font-size:14px;
  font-weight:400;
}
.brand-tagline{
  color:var(--muted);
  font-size:14px;
  margin-left:8px;
}
.nav{
  display:flex;
  gap:24px;
  margin-top:16px;
}
.nav a{
  color:var(--muted);
  text-decoration:none;
  font-weight:500;
  font-size:15px;
  transition:color 0.2s ease;
}
.nav a:hover{
  color:var(--accent);
}

/* Main Content */
.main-content{
  margin-top:32px;
  margin-bottom:80px;
}

/* Hero Section */
.hero{
  padding:48px 32px;
  border-radius:var(--radius);
  background:linear-gradient(135deg, rgba(100,181,246,0.08), rgba(129,199,132,0.08));
  box-shadow:var(--shadow);
  margin-bottom:48px;
  border:1px solid rgba(255,255,255,0.05);
}
.blog-hero{
  text-align:center;
  max-width:700px;
  margin:0 auto 48px;
}
.hero h2{
  margin:0 0 16px;
  color:var(--text-bright);
  font-size:32px;
  font-weight:700;
  line-height:1.2;
}
.hero p{
  font-size:17px;
  line-height:1.7;
  color:var(--text);
  margin-bottom:24px;
}
.cta{
  margin-top:32px !important;
}

/* Buttons */
.btn{
  display:inline-block;
  background:var(--accent);
  color:#0a0e14;
  padding:12px 24px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  font-size:15px;
  margin-right:12px;
  border:none;
  cursor:pointer;
  transition:all 0.2s ease;
}
.btn:hover{
  background:var(--accent-2);
  transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(100,181,246,0.3);
}
.btn.ghost{
  background:transparent;
  border:1px solid rgba(255,255,255,0.1);
  color:var(--text);
}
.btn.ghost:hover{
  background:rgba(255,255,255,0.05);
  border-color:var(--accent);
  color:var(--accent);
}

/* Cards */
.card{
  background:var(--card);
  padding:28px;
  border-radius:var(--radius);
  margin-bottom:20px;
  border:1px solid rgba(255,255,255,0.04);
  transition:all 0.3s ease;
}
.card:hover{
  background:var(--card-hover);
  border-color:rgba(100,181,246,0.2);
  box-shadow:var(--shadow);
  transform:translateY(-2px);
}

/* Blog Cards */
.blog-card{
  padding:32px;
}
.blog-card h3, .blog-card h4{
  margin:0 0 12px;
  font-size:24px;
  font-weight:700;
  line-height:1.3;
}
.blog-card h3 a, .blog-card h4 a{
  color:var(--text-bright);
  text-decoration:none;
  transition:color 0.2s ease;
}
.blog-card h3 a:hover, .blog-card h4 a:hover{
  color:var(--accent);
}
.blog-card p{
  color:var(--text);
  line-height:1.7;
  margin-bottom:12px;
}
.blog-card-meta{
  display:flex;
  gap:16px;
  margin-bottom:16px;
  flex-wrap:wrap;
}
.post-date{
  color:var(--muted);
  font-size:14px;
  font-weight:500;
}
.post-category{
  color:var(--accent);
  font-size:14px;
  font-weight:500;
}

/* Page Header */
.page-header{
  margin-bottom:40px;
  text-align:center;
}
.page-header h2{
  font-size:36px;
  font-weight:700;
  margin:0 0 12px;
  color:var(--text-bright);
}
.page-description{
  font-size:18px;
  color:var(--muted);
  max-width:600px;
  margin:0 auto;
}

/* Featured Posts */
.featured-posts{
  margin-bottom:56px;
}
.featured-posts h3{
  font-size:28px;
  font-weight:700;
  margin:0 0 28px;
  color:var(--text-bright);
}

/* View All Posts */
.view-all-posts{
  text-align:center;
  margin-top:36px;
}

/* About Preview */
.about-preview{
  background:linear-gradient(135deg, rgba(100,181,246,0.05), rgba(129,199,132,0.05));
  border:1px solid rgba(100,181,246,0.1);
}
.about-preview h3{
  margin-top:0;
  color:var(--text-bright);
}

/* Footer */
.site-footer{
  padding:32px 0;
  border-top:1px solid rgba(255,255,255,0.06);
  margin-top:80px;
  color:var(--muted);
  font-size:14px;
  text-align:center;
}
small{color:var(--muted)}

/* Links */
.small{
  color:var(--accent);
  text-decoration:none;
  font-size:15px;
  font-weight:500;
  transition:color 0.2s ease;
}
.small:hover{
  color:var(--accent-2);
  text-decoration:underline;
}
a.brand{color:var(--text);text-decoration:none}

/* Blog Post Full Page */
.blog-post-full{
  max-width:720px;
  margin:0 auto;
}
.blog-post-full header{
  margin-bottom:32px;
  border-bottom:1px solid rgba(255,255,255,0.06);
  padding-bottom:24px;
}
.blog-post-full h1{
  margin-bottom:16px;
  font-size:40px;
  line-height:1.2;
  font-weight:800;
  color:var(--text-bright);
}
.blog-content{
  font-size:17px;
  line-height:1.8;
  color:var(--text);
}
.blog-content h2{
  margin-top:48px;
  margin-bottom:20px;
  font-size:28px;
  color:var(--accent);
  font-weight:700;
}
.blog-content h3{
  margin-top:36px;
  margin-bottom:16px;
  font-size:22px;
  font-weight:600;
}
.blog-content p{
  margin-bottom:20px;
}
.blog-content ul,.blog-content ol{
  margin-bottom:20px;
  padding-left:28px;
}
.blog-content li{
  margin-bottom:12px;
}
.blog-post-footer{
  margin-top:56px;
  padding-top:32px;
  border-top:1px solid rgba(255,255,255,0.06);
}
.muted{
  color:var(--muted);
  font-size:14px;
}

/* Filter bar */
.filter-bar{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  margin-bottom:32px;
}
.filter-bar input[type="search"], .filter-bar select, .filter-bar input[type="text"]{
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.08);
  padding:10px 14px;
  color:var(--text);
  border-radius:8px;
  min-width:180px;
  font-size:14px;
}
.filter-bar .meta{
  margin-left:auto;
  color:var(--muted);
  font-size:13px;
}

/* Responsive */
@media (max-width:768px){
  .hero h2{font-size:28px}
  .blog-post-full h1{font-size:32px}
  .page-header h2{font-size:30px}
  .blog-card h3, .blog-card h4{font-size:20px}
  .nav{gap:16px}
  .filter-bar{flex-direction:column;align-items:stretch}
}

/* Skills, Timeline, Projects - keeping minimal styles for other pages */
.timeline{list-style:none;padding-left:0}
.timeline-item{background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent);padding:20px;border-radius:var(--radius);margin-bottom:16px;border:1px solid rgba(255,255,255,0.04)}
.timeline-item h3{margin:0 0 8px 0}
.skills-list{list-style:none;padding:0;margin:0}
.skills-list li{margin-bottom:18px}
.skill-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.skill-bar{height:12px;background:rgba(255,255,255,0.05);border-radius:8px;overflow:hidden}
.skill-bar-fill{height:100%;background:linear-gradient(90deg,var(--accent),var(--accent-2));width:0%;transition:width 900ms cubic-bezier(.2,.9,.3,1)}
.skill-percent{color:var(--muted);font-weight:600}
.counters{display:flex;gap:24px;margin-top:12px}
.counter{background:transparent;padding:12px;border-radius:8px;text-align:center}
.counter-number{font-size:28px;font-weight:700;color:var(--accent)}
.counter-label{color:var(--muted);font-size:13px}
.contact-form{display:flex;flex-direction:column;gap:12px;max-width:640px}
.contact-form label{display:flex;flex-direction:column;color:var(--muted);font-size:14px}
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea{padding:12px;border-radius:8px;border:1px solid rgba(255,255,255,0.08);background:rgba(255,255,255,0.03);color:var(--text);font-size:15px}
.contact-form .contact-status{margin-top:8px;color:var(--accent);font-weight:600}
.hidden{display:none}
.projects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px}
.project .meta{color:var(--muted);font-size:13px;margin-top:8px}
/* Blog Posts Styles */
.posts-grid {
  display: grid;
  gap: 24px;
  margin-top: 1.5rem;
}

.blog-post {
  background: linear-gradient(145deg, var(--card), rgba(21, 27, 35, 0.8));
  border: 1px solid rgba(100, 181, 246, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.blog-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(100, 181, 246, 0.15);
  border-color: rgba(100, 181, 246, 0.3);
}

.post-image {
  width: 100%;
  height: 240px;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.03);
  position: relative;
}

.post-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--card), transparent);
}

.post-content {
  padding: 1.75rem;
}

.post-title {
  margin: 0 0 0.75rem 0;
  font-size: 1.6rem;
  line-height: 1.35;
  font-weight: 700;
}

.post-title a {
  color: var(--text-bright);
  text-decoration: none;
  transition: color 0.2s ease;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  background-clip: text;
  -webkit-background-clip: text;
}

.post-title a:hover {
  color: transparent;
}

.post-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-meta::before {
  content: '📅';
  font-size: 0.85rem;
}

.post-categories {
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.category-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(100, 181, 246, 0.15), rgba(129, 199, 132, 0.1));
  color: var(--accent);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(100, 181, 246, 0.2);
  transition: all 0.2s ease;
}

.category-tag:hover {
  background: linear-gradient(135deg, rgba(100, 181, 246, 0.25), rgba(129, 199, 132, 0.2));
  border-color: rgba(100, 181, 246, 0.4);
}

.post-excerpt {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  opacity: 0.85;
}

.read-more {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: rgba(100, 181, 246, 0.1);
  transition: all 0.2s ease;
}

.read-more:hover {
  background: rgba(100, 181, 246, 0.2);
  transform: translateX(4px);
}

/* Blog List Page */
.blog-list {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .post-title {
    font-size: 1.35rem;
  }
  
  .post-image {
    height: 180px;
  }
  
  .post-content {
    padding: 1.25rem;
  }
  
  .blog-list {
    gap: 1.5rem;
  }
}
