/* THEME 3: BENTO SAAS (DARK & GLOW) */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&display=swap');

:root {
  --bg-main: #090a0f;
  --bg-card: rgba(18, 20, 29, 0.7);
  --bg-header: rgba(9, 10, 15, 0.8);
  --accent: #5e6ad2;
  --accent-glow: #818cf8;
  --text-main: #f3f4f6;
  --text-gray: #9ca3af;
  --border-color: rgba(255, 255, 255, 0.08);
  --font-main: 'Geist', sans-serif;
  --font-heading: 'Geist', sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
  font-family: var(--font-main); 
  background-color: var(--bg-main); 
  background-image: radial-gradient(circle at 50% 0%, rgba(94, 106, 210, 0.12) 0%, transparent 60%);
  color: var(--text-gray); 
  line-height: 1.6; 
  display: flex; flex-direction: column; min-height: 100vh; 
}

a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
a:hover { color: #fff; }

h1, h2, h3, h4 { color: var(--text-main); font-family: var(--font-heading); font-weight: 600; letter-spacing: -0.03em; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; width: 100%; }

.site-header { 
  background: var(--bg-header); 
  backdrop-filter: blur(16px); 
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color); 
  position: sticky; top: 0; z-index: 100;
}
.header-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; max-width: 1240px; margin: 0 auto; }
.logo { font-size: 1.3rem; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 8px; }
.logo::before { content: ''; display: inline-block; width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, #5e6ad2, #a855f7); }

.header-nav { background: rgba(13, 15, 22, 0.5); border-bottom: 1px solid var(--border-color); }
.nav-links { display: flex; justify-content: center; gap: 30px; padding: 10px 20px; }
.nav-links a { color: var(--text-gray); font-size: 0.85rem; font-weight: 500; }
.nav-links a:hover { color: var(--text-main); }

.bottom-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin: 50px 0; }

.post-thumb-card { 
  position: relative; background: var(--bg-card); 
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color); 
  border-radius: 14px; 
  display: flex; flex-direction: column; justify-content: space-between; 
  padding: 28px; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); 
  min-height: 250px; 
}
.post-thumb-card:hover { 
  border-color: rgba(94, 106, 210, 0.4); 
  transform: translateY(-3px); 
  box-shadow: 0 12px 30px -10px rgba(94, 106, 210, 0.2); 
}

.cat-badge { 
  background: rgba(94, 106, 210, 0.12); 
  color: var(--accent-glow); 
  border: 1px solid rgba(94, 106, 210, 0.3);
  padding: 4px 10px; font-size: 0.75rem; font-weight: 500; 
  border-radius: 6px; display: inline-block; margin-bottom: 20px; width: fit-content; 
}

.post-thumb-title { color: var(--text-main); font-size: 1.2rem; line-height: 1.45; font-weight: 500; }

.post-container { max-width: 820px; margin: 50px auto; background: var(--bg-card); backdrop-filter: blur(20px); padding: 45px; border-radius: 16px; border: 1px solid var(--border-color); }
.post-h1 { font-size: 2.8rem; line-height: 1.15; margin-bottom: 20px; color: #fff; }
.post-meta-info { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); font-size: 0.85rem; margin-bottom: 30px; }
.post-meta-info img { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-color); }
.post-content { font-size: 1.05rem; line-height: 1.8; color: #d1d5db; }
.post-content h2 { font-size: 1.6rem; margin: 40px 0 15px; color: #fff; }
.post-content p { margin-bottom: 20px; }
.post-content a { color: var(--accent-glow); text-decoration: underline; }

.pagination { display: flex; justify-content: center; gap: 8px; margin: 30px 0 70px; }
.page-link { width: 38px; height: 38px; display: flex; justify-content: center; align-items: center; border: 1px solid var(--border-color); background: var(--bg-card); color: var(--text-gray); border-radius: 8px; font-size: 0.85rem; transition: 0.2s; }
.page-link:hover { border-color: rgba(255,255,255,0.2); color: #fff; }
.page-link.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.site-footer { background: #06070a; border-top: 1px solid var(--border-color); padding: 60px 0 25px; margin-top: auto; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.footer-title { margin-bottom: 20px; font-weight: 600; font-size: 0.85rem; color: #fff; }
.footer-bottom { text-align: center; margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--border-color); font-size: 0.8rem; color: #6b7280; }