

body {
      background-color: #000;
      color: #fff;
    }

    /* Main navbar */
    nav {
      width: 100%;
      background-color: #00000046;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 40px;
      position: fixed;
      top: 0;
      z-index: 1000;
    }

    .logo {
      color: white;
      font-size: 24px;
      font-weight: bold;
      cursor: pointer;
    }

    .nav-links {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 20px;
    }

    .nav-links a {
      color: white;
      text-decoration: none;
      font-size: 16px;
      padding: 6px 18px;
      border-radius: 5px;
      transition: 0.3s;
    }

    .nav-links a:hover {
      color: white;
      background-color: #222;
    }

    .nav-links a.active {
      color: white;
      border-bottom: 2px solid #fff;
    }

    .search-box {
      position: relative;
    }

    .search-box .input1 {
      padding: 6px 30px 6px 10px;
      border: none;
      border-radius: 20px;
      outline: none;
      background-color: #ffffffc4;
    }

    .search-box button {
      position: absolute;
      right: 5px;
      top: 3px;
      background: none;
      border: none;
      color: #555;
      cursor: pointer;
      font-size: 16px;
    }

    /* Hamburger icon */
    .menu-icon {
      display: none;
      font-size: 26px;
      cursor: pointer;
      color: white;
    }

    /* Mobile menu overlay */
    .mobile-menu {
      position: fixed;
      top: 0;
      left: 0;
      height: 100vh;
      width: 100%;
      background: linear-gradient(to right,rgb(0, 0, 0),rgb(44, 43, 43), rgb(2, 2, 2));
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 30px;
      transform: translateX(-100%);
      transition: 0.4s ease;
      z-index: 99;
    }

    .mobile-menu.active {
      transform: translateX(0);
    }

    .mobile-menu a {
      color: #ffffff;
      font-size: 26px;
      text-decoration: none;
      transition: 0.3s;
      border-bottom: 1px solid #444;
      padding-bottom: 8px;
    }

    .mobile-menu a:hover {
      color: white;
    }

    .close-icon {
  position: absolute;
  top: 70px;
  right: 25px;
  font-size: 38px;
  color: #f8f8f8;
  cursor: pointer;
}

    /* Responsive */
    @media (max-width: 900px) {
      .nav-links, .search-box {
        display: none;
      }
      .menu-icon {
        display: block;
      }
    }
  html, body {
    max-width: 100%;
    overflow-x: hidden;
    background: #0f0f0f;
    color: #e8e8e8;
    font-family: "Poppins", sans-serif;
  }

  .topbar {
    background: #111;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: #fff;
    text-decoration: none;
  }

  .post-card {
   background-color: #000;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.07);
    overflow: hidden;
    box-shadow: inset 0px -1px 14px 0px #958a8a;
  }

  .post-title {
    font-size: 1.5rem;
    font-weight: 700;
  }

  .post-meta {
    font-size: 0.85rem;
    color: #bbb;
    margin-bottom: 0.7rem;
  }

  .post-text {
    color: #d4d4d4;
    line-height: 1.7;
  }

  .category-pill {
    display: block;
    width: 100%;
    background: #181818;
    padding: 10px 14px;
    margin-bottom: 8px;
    border-radius: 6px;
    color: #fff;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
  }

.category1-pill{
    display: block;
    width: 100%;
    background: #ffffff7e;
    padding: 10px 14px;
    margin-bottom: 8px;
    border-radius: 6px;
    color: #070707;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
}

  .recent-post img {
    width: 100px;
    height: 88px;
    object-fit: cover;
    border-radius: 5px;
    min-width: auto;
  }

  footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 30px;
    padding: 12px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #999;
  }

  /* Fix images in grid to not overflow */
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* Responsive tweaks */
  @media(max-width: 575px){
    .post-title { font-size: 1.25rem; }
    .recent-post img { width: 50px; height: 40px; }
  }

   /* footer */
* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Poppins', sans-serif;
      box-shadow: none;
    }

    footer {
      background:black;
      color: #fff;
      padding: 40px 20px;
      box-shadow: inset -1px -1px 15px 11px #958a8a !important;
    }

    .footer-container {
      max-width: 1200px;
      margin: auto;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 40px;
    }

    .footer-section {
      flex: 1 1 220px;
      min-width: 200px;
    }

    .footer-section h3 {
      margin-bottom: 15px;
      font-size: 16px;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: #ffffff; /* رنگ طلایی-خاکی */
    }

    .footer-section ul {
      list-style: none;
    }

    .footer-section ul li {
      margin-bottom: 8px;
    }

    .footer-section ul li a {
      color: #ffffff;
      text-decoration: none;
      transition: color 0.3s;
    }

    .footer-section ul li a:hover {
      color: #8b8b88;
    }

    .payment-logos img {
      width: 45px;
      margin: 5px;
      filter: brightness(0) invert(1);
    }

    .social-icons a {
      color: #fff;
      margin-right: 12px;
      font-size: 20px;
      text-decoration: none;
      transition: color 0.3s;
    }

    .social-icons a:hover {
      color: #8b8b88;
    }

    .newsletter {
      display: flex;
      flex-direction: column;
      margin-top: 10px;
    }

    .newsletter p {
      font-size: 14px;
      margin-bottom: 10px;
      color: #ddd;
    }

    .newsletter input[type="email"] {
      padding: 10px;
      border: 1px solid #fff;
      border-radius: 3px;
      margin-bottom: 10px;
      background-color: #000;
      color: #fff;
      outline: none;
      width: 90%;
      margin-left: 20px;
    }

    .newsletter button {
      background-color: #000;
      color: #fff;
      border: 1px solid #fff;
      padding: 8px;
      cursor: pointer;
      transition: all 0.3s;
      width: 90%;
      margin-left: 20px;
    }

    .newsletter button:hover {
      background-color:#8b8b88;
      border-color: #8b8b88;
      color: #000;
    }

    .footer-bottom {
      text-align: center;
      margin-top: 30px;
      font-size: 14px;
      color: #8b8b88;
    }

    @media (max-width: 768px) {
      .footer-container {
        flex-direction: column;
        text-align: center;
      }
      .social-icons {
        justify-content: center;
      }
    }
