:root {
    --bg-color: #f5fdf4;
    --text-color: #222;
    --card-color: white;
    --accent: linear-gradient(to right, #b1f493, #a1e3a1);
    --meta-color: #666;
    --shadow: rgba(0, 100, 0, 0.08);
  }
  
  [data-theme="dark"] {
    --bg-color: #1e1f1e;
    --text-color: #f0f0f0;
    --card-color: #2a2d2a;
    --accent: linear-gradient(to right, #8fcf87, #a2de94);
    --meta-color: #aaa;
    --shadow: rgba(0, 255, 100, 0.05);
  }
  
  body {
    margin: 0;
    font-family: 'Inter', 'Georgia', serif;
    background: var(--bg-color);
    color: var(--text-color);
    transition: background 0.3s, color 0.3s;
  }
  
  header {
    padding: 2rem 1.5rem 1rem;
    max-width: 700px;
    margin: auto;
  }
  
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-weight: bold;
    font-size: 1.2rem;
  }
  
  #theme-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
  }
  
  h1 {
    margin-top: 1rem;
    font-size: 2rem;
  }
  
  .emoji {
    font-size: 2rem;
    margin-right: 0.5rem;
  }
  
  .title-text {
    color: var(--text-color);
  }
  
  .intro {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: var(--meta-color);
  }
  
  .post-list {
    max-width: 700px;
    margin: 2rem auto;
    padding: 0 1rem;
  }
  
  .post {
    background: var(--card-color);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px var(--shadow);
    transition: transform 0.2s ease;
  }
  
  .post:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px var(--shadow);
  }
  
  .post-title {
    margin: 0;
    font-size: 1.3rem;
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .post-title a {
    text-decoration: none;
  }
  
  .post-meta {
    font-size: 0.85rem;
    color: var(--meta-color);
    margin: 0.5rem 0;
  }
  
  .post-summary {
    font-size: 1rem;
    color: var(--text-color);
  }


  table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    background-color: var(--card-color);
    box-shadow: 0 2px 8px var(--shadow);
    border-radius: 10px;
    overflow: hidden;
  }
  
  th, td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid var(--shadow);
  }
  
  th {
    background: var(--card-color);
    color: var(--text-color);
    font-weight: 600;
  }
  
  a {
    color: var(--accent-link, #8ff7a4);
    text-decoration: none;
    font-weight: 500;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  :root {
    --accent-link: #257e5d;
  }
  
  [data-theme="dark"] {
    --accent-link: #90ee90; /* light green or pick any bright shade */
  }

  a {
    color: var(--accent-link);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border 0.2s ease;
  }
  a:hover {
    border-bottom: 1px solid var(--accent-link);
  }