body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f4f4f4;
    color: #333;
  }
  
  header {
    text-align: center;
    padding: 2rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  nav a {
    margin: 0 1rem;
    text-decoration: none;
    color: #555;
  }
  nav a.active, nav a:hover {
    font-weight: bold;
    color: #111;
  }
  
  .filters {
    margin-top: 1rem;
  }
  
  .filter-btn {
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    background: #eee;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
  }
  
  .filter-btn.active,
  .filter-btn:hover {
    background: #333;
    color: #fff;
  }
  
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
  }
  
  .ui-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    transition: transform 0.3s;
  }
  
  .ui-card:hover {
    transform: translateY(-5px);
  }
  
  .preview {
    margin-top: 1rem;
  }
  
  .glow-btn {
    padding: 0.75rem 1.5rem;
    background: #111;
    color: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 10px #111;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
  }
  
  .glow-btn:hover {
    box-shadow: 0 0 20px #111;
  }
  
  .loader {
    border: 5px solid #eee;
    border-top: 5px solid #333;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: auto;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  .modal {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
  }
  
  .modal.hidden {
    display: none;
  }
  
  .modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    max-width: 300px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
  }
  
  .modal .close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  footer {
    text-align: center;
    padding: 1rem;
    background: #fafafa;
    font-size: 0.9rem;
  }
  