    h1 {
      text-align: center;
    }
    h3 {
      padding: 10px 10px;
    }
    .section {
      margin-bottom: 40px;
    }
    .section h2 {
      margin-bottom: 10px;
    }
    .carousel-wrapper {
      position: relative;
    }
    .carousel {
      display: flex;
      overflow-x: auto;
      gap: 16px;
      padding-bottom: 10px;
    }
    .carousel::-webkit-scrollbar {
      display: none;
    }
    .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0,0,0,0.5);
      border: none;
      color: white;
      font-size: 1.5rem !important;
      padding: 4px 10px;
      cursor: pointer;
      z-index: 10;
    }
    .carousel-btn.left { left: 0; }
    .carousel-btn.right { right: 0; }
    .filters {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-bottom: 30px;
    }
    .filters label {
      display: flex;
      flex-direction: column;
      font-size: 0.9rem !important;
      padding: 5px;
    }
    select, input[type="text"] {
      padding: 6px;
      background-color: #1e1e1e;
      color: #fff;
      border: 1px solid #333;
      border-radius: 4px;
    }
    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 20px;
    }
    .template-card {
      background-color: transparent;
      padding: 16px;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0,0,0,0.5);
      min-width: 280px;
      margin-left: 10px;
      margin-right: 10px;
    }
    .template-card h3 {
      margin-top: -25px;
      margin-left: -24px;
      font-size: 1.1rem !important; 
    }
    .template-card .meta {
      font-size: 0.85rem !important;
      color: #aaa;
      margin-left: -15px;
    }
    .template-card button {
      margin-top: 10px;
      margin-right: 10px;
      background-color: #2a9d8f;
      color: white;
      border: none;
      padding: 6px 12px;
      border-radius: 4px;
      cursor: pointer;
      font-size: 13px;
    }

    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0, 0, 0, 0.7);
    }
    .modal-content {
      background-color: #1e1e1e;
      margin: 10% auto;
      padding: 20px;
      border: 1px solid #888;
      width: 400px;
      border-radius: 8px;
      color: #fff;
      position: relative;
    }
    .modal-header {
      text-align: center;
      margin-bottom: 10px;
    }
    .modal-header img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      border-radius: 4px;
    }
    .modal-info {
      margin-top: 10px;

    }
    #modalAuthor {
      margin-bottom: 2px;
      margin-top: -18px;
      color: #aaa;
    }
    
    #modalStats {
      margin-top: 2px;
      color: #aaa;
    }
    #modalName{
      margin-top: -10px;
      margin-left: -9px;
    }
    .close {
      position: absolute;
      top: 1px;
      right: 12px;
      color: #aaa;
      font-size: 28px !important;
      font-weight: bold;
      cursor: pointer;
      z-index: 10;
    }
    
    .close:hover {
      color: white;
    }

    .custom-tooltip {
      position: relative;
      display: inline-block;
    }
    
    .custom-tooltip .tooltip-text {
      visibility: hidden;
      opacity: 0;
      background-color: #333;
      color: #fff;
      font-size: 12px;
      text-align: center;
      border-radius: 4px;
      padding: 4px 8px;
      position: absolute;
      z-index: 10;
      bottom: 145%;
      left: 50%;
      transform: translateX(-50%);
      white-space: nowrap;
      transition: opacity 0.1s ease-in-out;
      pointer-events: none;
    }
    
    .custom-tooltip:hover .tooltip-text {
      visibility: visible;
      opacity: 1;
    }  
    
    #loadingOverlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(30, 30, 30, 0.9);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      z-index: 9999;
    }
    
    .spinner {
      border: 6px solid #f3f3f3;
      border-top: 6px solid #2a9d8f;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      animation: spin 1s linear infinite;
    }
    
    .loading-text {
      margin-top: 15px;
      color: #fff;
      font-size: 1.2rem;
      font-weight: 500;
    }
    
    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }    

    /* EVE-STYLE ALERT MODAL */
  .eve-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(3px);
  }

  .eve-modal-content {
    background: #1d1d1d;
    border: 1px solid #333;
    border-radius: 8px;
    max-width: 500px;
    margin: 80px auto;
    padding: 20px;
    color: #ccc;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    font-family: Arial, sans-serif;
  }

  .eve-modal-content h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 300;
    color: #999;
  }

  .eve-modal-content p {
    margin-top: 10px;
    font-size: 14px;
    color: #ccc;
  }

  .eve-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 20px;
  }

  .eve-modal-content button {
    cursor: pointer;
    padding: 8px 16px;
    border: 1px solid #444;
    background: #333;
    color: #ccc;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.2s, border-color 0.2s;
  }

  .eve-modal-content button:hover {
    background: #3f3f3f;
    border-color: #666;
  }