
body {
    font-family: Arial, sans-serif;
    background-color: #0a0a0a;
    color: #f9f9f9;
    margin: 0;
    padding: 0;
  }
  header {
    background: #222;
    color: #f9f9f9;
    padding: 20px;
    text-align: center;
    position: relative;
  }
  #returnHome {
    position: absolute;
    left: 20px;
    top: 20px;
    background: #222;
    color: #f9f9f9;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  #returnHome:hover {
    background: #444;
  }
  

  .gallery-container {
    display: flex;
    margin: 20px;
    gap: 20px;
  }
  .gallery-grid {
    flex: 4;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: 20px;
  }
  .gallery-item {
    background: #333;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: transform 0.2s ease;
  }
  .gallery-item:hover {
    transform: scale(1.02);
  }
  .gallery-item img {
    width: 100%;
    display: block;
  }
  
  .game-menu {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    display: flex;
    justify-content: space-around;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }
  .gallery-item:hover .game-menu {
    opacity: 1;
  }
  .game-menu button {
    background: #00471b;
    border: none;
    padding: 5px 10px;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
  }
  
  .filter-panel {
    flex: 1;
    background: #222;
    padding: 20px;
    border-radius: 10px;
    height: fit-content;
  }
  .filter-panel h3 {
    margin-top: 0;
    margin-bottom: 10px;
  }
  .filter-panel label {
    display: block;
    margin: 10px 0;
    cursor: pointer;
  }
  .filter-panel input[type="checkbox"] {
    margin-right: 5px;
    cursor: pointer;
  }
  
  @media (max-width: 768px) {
    .gallery-container {
      flex-direction: column;
    }
    .filter-panel {
      margin: 0 20px 20px;
    }
  }
  
  .lightbox {
    display: none; 
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
  }
  .lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    margin-top: 5%;
  }
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
  }
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
  }
  