  /* Skeleton Loading Animation */
  .skeleton-card {
      position: relative;
      border-radius: var(--border-radius);
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      aspect-ratio: 2/3;
      background: var(--surface-color);
      display: flex;
      flex-direction: column;
  }

  .skeleton-image {
      width: 100%;
      height: 70%;
      background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
      background-size: 200% 100%;
      animation: skeleton-loading 1.5s infinite;
  }

  .skeleton-content {
      padding: 1rem;
      height: 30%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
  }

  .skeleton-title {
      height: 20px;
      background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
      background-size: 200% 100%;
      animation: skeleton-loading 1.5s infinite;
      border-radius: 4px;
      margin-bottom: 10px;
  }

  .skeleton-meta {
      height: 16px;
      background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
      background-size: 200% 100%;
      animation: skeleton-loading 1.5s infinite;
      border-radius: 4px;
      width: 60%;
  }

  @keyframes skeleton-loading {
      0% {
          background-position: 200% 0;
      }

      100% {
          background-position: -200% 0;
      }
  }

  /* Loading indicator */
  .loading-indicator {
      text-align: center;
      padding: 2rem;
      color: var(--text-color-secondary);
      display: none;
  }

  .loading-indicator.active {
      display: block;
  }

  .loading-indicator .spinner {
      width: 40px;
      height: 40px;
      border: 4px solid rgba(229, 9, 20, 0.3);
      border-radius: 50%;
      border-top-color: var(--primary-color);
      animation: spin 1s linear infinite;
      margin: 0 auto 1rem;
  }

  @keyframes spin {
      0% {
          transform: rotate(0deg);
      }

      100% {
          transform: rotate(360deg);
      }
  }

  /* Image loading state */
  .card-image {
      opacity: 0;
      transition: opacity 0.3s ease;
  }

  .card-image.loaded {
      opacity: 1;
  }


  /* Remove all tap highlights on mobile devices */
  button,
  button.filter-btn,
  [role="button"],
  input[type="button"],
  input[type="submit"],
  input[type="reset"] {
      -webkit-tap-highlight-color: transparent;
      -webkit-touch-callout: none;
      -webkit-user-select: none;
      user-select: none;
      outline: none !important;
  }

  /* For iOS specifically */
  @media (hover: none) and (pointer: coarse) {
      * {
          -webkit-tap-highlight-color: transparent;
      }
  }

  /* Custom Scrollbar */
  ::-webkit-scrollbar {
      width: 10px;
      display: none;
  }

  ::-webkit-scrollbar-track {
      background: var(--surface-color);
  }

  ::-webkit-scrollbar-thumb {
      background: var(--secondary-color);
      border-radius: 5px;
  }

  ::-webkit-scrollbar-thumb:hover {
      background: var(--primary-color);
  }

  /* .broken-image {
      opacity: 0.8;
      filter: grayscale(20%);
      border: 2px solid #ddd;
  }

  img[data-placeholder="true"] {
      background-color: #f9f9f9;
  } */

  .mobile-menu-toggle {
      display: block;
      background: none;
      border: none;
      color: var(--text-color);
      font-size: 1.8rem;
      cursor: pointer;
  }

  /* Slide-out Menu - Modern Update */
  .slide-out-menu {
      position: fixed;
      top: 70px;
      right: 0;
      width: min(320px, 85vw);
      height: calc(100vh - 70px);
      background-color: rgba(20, 20, 20, 0.95);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      box-shadow: -8px 0 25px rgba(0, 0, 0, 0.3);
      border-left: 1px solid rgba(255, 255, 255, 0.1);
      transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      z-index: 1000;
      overflow-y: auto;
      padding: 0;
      scrollbar-width: thin;
      scrollbar-color: var(--primary-color) transparent;
      transform: translateX(100%);
      border-radius: 6px 0 0 6px;
  }

  .slide-out-menu::-webkit-scrollbar {
      width: 4px;
  }

  .slide-out-menu::-webkit-scrollbar-track {
      background: transparent;
  }

  .slide-out-menu::-webkit-scrollbar-thumb {
      background: var(--primary-color);
      border-radius: 2px;
  }

  .slide-out-menu.active {
      transform: translateX(0);
  }

  .slide-out-menu .close-btn {
      position: absolute;
      top: 15px;
      right: 15px;
      background: rgba(255, 255, 255, 0.1);
      border: none;
      border-radius: 50%;
      color: var(--text-color);
      font-size: 1.25rem;
      width: 40px;
      height: 40px;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(10px);
  }

  .slide-out-menu .close-btn:hover {
      background: rgba(255, 255, 255, 0.2);
      color: var(--primary-color);
      transform: rotate(90deg) scale(1.1);
  }

  .slide-out-menu .close-btn:active {
      transform: rotate(90deg) scale(0.95);
  }

  .slide-out-menu h3 {
      color: var(--text-color);
      padding: 25px 20px 15px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      margin: 0 0 15px;
      font-size: clamp(1.1rem, 3vw, 1.3rem);
      font-weight: 600;
  }

  .slide-out-menu ul {
      list-style: none;
      padding: 0;
      margin: 0;
  }

  .slide-out-menu li {
      margin: 0;
      position: relative;
      overflow: hidden;
  }

  .slide-out-menu a {
      display: flex;
      align-items: center;
      color: var(--text-color-secondary);
      text-decoration: none;
      padding: 14px 20px;
      transition: all 0.3s ease;
      position: relative;
      font-weight: 500;
      border-left: 3px solid transparent;
  }

  .slide-out-menu a::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      width: 0;
      background: linear-gradient(90deg, var(--primary-color), transparent);
      transition: width 0.3s ease;
      opacity: 0.1;
  }

  .slide-out-menu a:hover {
      background-color: rgba(255, 255, 255, 0.08);
      color: var(--primary-color);
      padding-left: 25px;
      border-left-color: var(--primary-color);
  }

  .slide-out-menu a:hover::before {
      width: 100%;
  }

  .slide-out-menu a.active {
      background-color: rgba(var(--primary-color-rgb), 0.1);
      color: var(--primary-color);
      border-left-color: var(--primary-color);
      padding-left: 25px;
  }

  .slide-out-menu a.active::after {
      content: '';
      position: absolute;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
      width: 6px;
      height: 6px;
      background: var(--primary-color);
      border-radius: 50%;
      animation: pulse 2s infinite;
  }

  .slide-out-menu i {
      width: 20px;
      margin-right: 12px;
      text-align: center;
      font-size: 1.1rem;
      transition: transform 0.3s ease;
  }

  .slide-out-menu a:hover i {
      transform: scale(1.1) translateX(2px);
  }

  .slide-out-menu a.active i {
      transform: scale(1.1);
      color: var(--primary-color);
  }

  .category-header {
      font-weight: 600;
      color: var(--primary-color);
      padding: 20px 20px 12px;
      margin-top: 10px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      font-size: clamp(0.9rem, 2.5vw, 1rem);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      background: rgba(255, 255, 255, 0.02);
  }

  .category-links {
      padding-left: 0;
  }

  .category-links a {
      padding-left: 52px;
      font-size: clamp(0.85rem, 2.5vw, 0.9rem);
      font-weight: 400;
      opacity: 0.9;
  }

  .category-links a:hover {
      padding-left: 55px;
      opacity: 1;
  }

  /* Overlay */
  .overlay {
      position: fixed;
      top: 70px;
      left: 0;
      width: 100%;
      height: calc(100vh - 70px);
      background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
      z-index: 999;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      backdrop-filter: blur(2px);
  }

  .overlay.active {
      opacity: 1;
      visibility: visible;
  }

  /* Animations */
  @keyframes pulse {

      0%,
      100% {
          opacity: 1;
          transform: translateY(-50%) scale(1);
      }

      50% {
          opacity: 0.5;
          transform: translateY(-50%) scale(1.2);
      }
  }

  /* Responsive Styles */
  @media (max-width: 992px) {
      .main-nav {
          display: none;
      }

      .mobile-menu-toggle {
          display: block;
      }

      .slide-out-menu {
          width: min(300px, 90vw);
      }
  }

  @media (max-width: 480px) {
      .slide-out-menu h3 {
          padding: 20px 15px 12px;
      }

      .slide-out-menu a {
          padding: 12px 15px;
      }

      .slide-out-menu a:hover,
      .slide-out-menu a.active {
          padding-left: 20px;
      }

      .category-links a {
          padding-left: 45px;
      }

      .category-links a:hover {
          padding-left: 48px;
      }

      .overlay {
          top: 60px;
          height: calc(100vh - 60px);
      }
  }

  /* Touch device improvements */
  @media (hover: none) and (pointer: coarse) {
      .slide-out-menu a:active {
          background-color: rgba(255, 255, 255, 0.08);
          color: var(--primary-color);
      }

      .slide-out-menu .close-btn:active {
          background: rgba(255, 255, 255, 0.2);
          transform: scale(0.95);
      }
  }

  /* Reduced motion support */
  @media (prefers-reduced-motion: reduce) {

      .slide-out-menu,
      .slide-out-menu a,
      .slide-out-menu .close-btn,
      .overlay {
          transition: none;
      }

      .slide-out-menu a::before {
          display: none;
      }

      .slide-out-menu a.active::after {
          animation: none;
      }
  }