@font-face {
    font-family: "AkayaKanadaka";
    src: url("/fonts/AkayaKanadaka/AkayaKanadaka-Regular.ttf")
      format("truetype");
    font-weight: 400;
    font-style: normal;
  }

  @font-face {
    font-family: "Hind";
    src: url("/fonts/Hind/Hind-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
  }

  @font-face {
    font-family: "Hind";
    src: url("/fonts/Hind/Hind-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
  }

  @font-face {
    font-family: "Hind";
    src: url("/fonts/Hind/Hind-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
  }

  @font-face {
    font-family: "Hind";
    src: url("/fonts/Hind/Hind-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
  }

  @font-face {
    font-family: "Hind";
    src: url("/fonts/Hind/Hind-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
  }

  body {
    font-family: "Hind", cursive;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #222;
    font-size: 1.2rem;
  }

  @media (prefers-color-scheme: dark) {
    body {
      background: #111111;
      color: #f5f5f5;
    }

    a {
      color: #7cb9ff;
    }
  }

  .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 6rem 2rem 2rem 2rem; /* ⬅️ Added top padding to offset fixed header */
    box-sizing: border-box;
  }

  h1,
  h2 {
    color: #34c759; /* Default (assumes light mode) */
  }

  a {
    color: #0091ff;
    text-decoration: none;
  }

  @media (prefers-color-scheme: dark) {
    h1,
    h2 {
      color: #34c759; /* Keep same or set another if desired */
    }

    a {
      color: #0091ff;
      text-decoration: none;
    }
  }

  @media (prefers-color-scheme: light) {
    h1,
    h2 {
      color: #155124; /* Override for light mode */
    }
    a {
      color: #007aff;
      text-decoration: none;
    }
  }

  h2 {
    margin-top: 2rem;
    scroll-margin-top: 100px; /* Adjust to match your header height */
  }

  a:hover {
    text-decoration: underline;
  }

  ul {
    padding-left: 20px;
  }

  li {
    margin-bottom: 0.5rem;
  }

  h1 {
    text-align: center;
    margin-bottom: 40px;
  }

  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff; /* Default for light mode */
    z-index: 1000;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }

  @media (prefers-color-scheme: dark) {
    .header {
      background: #111; /* Dark mode background */
      box-shadow: 0 2px 4px rgba(255, 255, 255, 0.05); /* Optional: lighter shadow for dark mode */
    }
  }

  /* Logo + App Name container */
  .app-brand {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: inherit; /* This is what keeps it from being blue */
  }

  /* Logo */
  .app-logo {
    width: 50px;
    height: 50px;
    display: block;
  }

  /* App Name - visually centered with translate */
  .app-name {
    font-family: "AkayaKanadaka", cursive;
    font-size: 1.7rem;
    font-weight: 400;
    transform: translateY(1.5px); /* 👈 manual adjustment */
  }

  #footer {
    text-align: center;
    margin-top: 40px;
    padding: 1rem;
    font-size: 0.95rem;
    color: #666;
  }