/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  /* Variables */
  :root {
    --bg-color: #191D20;
    --text-color: #e2e8f0;
    --primary-gradient: linear-gradient(90deg, #ffcb74 0%, #ffd890 100%);
    --primary-gradient-light: linear-gradient(90deg, #0ea5e9 0%, #3b82f6 100%);
  }
  
  /* Base */
  body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    min-height: 100vh;
  }
  
  /* Typography */
  h1, h2, h3 {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  .logo-text {
    transition: transform 0.3s ease;
  }
  
  .logo-text:hover {
    transform: scale(1.05);
  }
  
  /* Navigation */
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1rem;
  }
  
  /* Container */
  .container {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 1rem;
  }
  
  /* Buttons */
  .primary-btn {
    padding: 0.5rem 1.25rem;
    border: 1px solid #fff;
    border-radius: 9999px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
  }
  
  .primary-btn:hover {
    background-color: #fff;
    color: #0f172a;
    transform: scale(1.05);
  }
  
  /* Gradient Text */
  .gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
  }
  
  @media (prefers-color-scheme: light) {
    .gradient-text {
      background: var(--primary-gradient-light);
    }
  }
  
  /* Blog List */
  .blog-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .blog-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
    transition: transform 0.3s ease;
  }
  
  .blog-item:hover {
    transform: scale(1.01);
  }
  
  .blog-title {
    font-size: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .blog-date {
    font-size: 0.875rem;
    opacity: 0.7;
  }
  
  .blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .blog-category {
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.7;
  }
  
  /* Blog Description */
  .blog-description {
    font-size: 1rem;
    opacity: 0.8;
  }
  
  /* Footer */
  .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1rem;
    flex-wrap: wrap;
  }
  
  .footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-left .email {
    font-size: 0.9rem;
    opacity: 0.7;
  }
  
  .footer-right {
    margin-top: 1rem;
  }
  

/* Post Page Specific */

.post-container {
    margin-top: 2rem;
  }
  
  .post-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .post-meta {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-bottom: 2rem;
  }

  .post-meta .blog-categories{
    margin-top: 0.5rem;
  }
  
  .post-content {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    line-height: 1.75;
  }
  
  /* Headings inside post */
  .post-content h2,
  .post-content h3,
  .post-content h4,
  .post-content h5,
  .post-content h6 {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    margin-bottom: 0.75rem;
  }
  
  .post-content h2 {
    font-size: 1.75rem;
  }
  
  .post-content h3 {
    font-size: 1.5rem;
  }
  
  .post-content h4 {
    font-size: 1.25rem;
  }
  
  /* Paragraph */
  .post-content p {
    margin-bottom: 1rem;
  }
  
  /* Lists */
  .post-content ul,
  .post-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .post-content li {
    margin-bottom: 0.5rem;
  }
  
  /* Code Block */
  .post-content pre {
    background-color: #2d333b;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    font-size: 0.9rem;
  }
  
  .post-content code {
    font-family: 'Courier New', Courier, monospace;
  }
  
  /* Blockquote */
  .post-content blockquote {
    border-left: 4px solid #ffcb74;
    padding-left: 1rem;
    color: rgba(255,255,255,0.8);
    font-style: italic;
    margin: 1rem 0;
  }
  
  /* Table */
  .post-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 0.5rem;
  }
  
  .post-content th,
  .post-content td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem;
    text-align: left;
    background-color: #1f2327;
  }
  
  /* Make first and last cells rounded */
  .post-content thead tr:first-child th:first-child {
    border-top-left-radius: 0.5rem;
  }
  
  .post-content thead tr:first-child th:last-child {
    border-top-right-radius: 0.5rem;
  }
  
  .post-content tbody tr:last-child td:first-child {
    border-bottom-left-radius: 0.5rem;
  }
  
  .post-content tbody tr:last-child td:last-child {
    border-bottom-right-radius: 0.5rem;
  }
  
  /* Horizontal rule */
  .post-content hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin: 2rem 0;
  }
  
  /* Images */
  .post-image {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin-top: 1rem;
  }
  
/* Improve Prism.js code blocks */
pre[class*="language-"] {
    background-color: #2d333b;
    border-radius: 0.5rem;
    padding: 1.25rem;
    overflow: auto;
    position: relative;
    font-size: 0.9rem;
  }
  
  /* Prism Toolbar (copy button) */
  div.code-toolbar {
    position: relative;
  }
  
  div.code-toolbar > .toolbar {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  div.code-toolbar:hover > .toolbar {
    opacity: 1;
  }
  
  .toolbar-item > button {
    background: var(--primary-gradient);
    border: none;
    color: #191D20;
    font-weight: bold;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    cursor: pointer;
  }
  
  .toolbar-item > button:hover {
    opacity: 0.9;
  }
  