                    /* General body styles */
                    body {
                        background-image: url('https://cdn.jsdelivr.net/gh/FutureElliotto/Arcade-4-images/backgrounds/void_theme.png');
                        background-attachment: fixed;
                        background-repeat: no-repeat;
                        background-size: cover; 
                        font-family: "Pixelify Sans", sans-serif;
                        text-align: center;
                        margin: 0;
                        padding-top: 60px;
                    }

                    body, html {
                        margin: 0;
                        padding: 0;
                        height: 100%;
                    }
                    body, .navbar {
                        transition: background-image 0.5s ease-in-out;
                    }

/* Pixelated Spinner Container */
#spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  display: none;
}
.game-button button, .game-button-no-rounding button {
  border: none;
  background: none;
  padding: 0;
  outline: none;
}
/* Pixel block spinner */
.spinner-icon {
  width: 16px;
  height: 16px;
  background: #ffffff;
  image-rendering: pixelated;
  box-shadow:
    32px 0 #ffffff,
    0 32px #ffffff,
    32px 32px #ffffff;
  animation: pixel-spin 1s steps(1) infinite;
}

@keyframes pixel-spin {
  0% {
    box-shadow:
      32px 0 #ffffff,
      0 32px #ffffff,
      32px 32px #ffffff;
  }
  25% {
    box-shadow:
      0 0 #ffffff,
      32px 0 #ffffff,
      0 32px #ffffff;
  }
  50% {
    box-shadow:
      0 0 #ffffff,
      32px 32px #ffffff,
      0 32px #ffffff;
  }
  75% {
    box-shadow:
      0 0 #ffffff,
      0 32px #ffffff,
      32px 0 #ffffff;
  }
  100% {
    box-shadow:
      32px 0 #ffffff,
      0 32px #ffffff,
      32px 32px #ffffff;
  }
}
                    /* Navbar styles */
                    .navbar {                
                        display: flex;
                        justify-content: space-around;
                        width: 100%;
                        text-align: left;
                        list-style-type: none;
                        margin: 0;
                        padding: 0;
                        position: fixed;
                        top: 0;
                        left: 0;
                        background-size: cover;
                        z-index: 1000;
                        border-bottom: none;
                        background-image: url('https://cdn.jsdelivr.net/gh/FutureElliotto/Arcade-4-images/backgrounds/void_theme.png');

                    }

                    li a {
                        display: block;
                        text-align: center;
                        padding: 14px 16px;
                        text-decoration: none;
                        color: white;
                        margin: 0;
                    }

                    li a:hover {
                        font-weight: bold;
                    }

                    li a.active {
                        color: #7F00FF;
                    }

                    .dropdown {
                        position: relative;
                        display: inline-block;
                    }

					.dropdown-content {
					    background-image: url('https://cdn.jsdelivr.net/gh/FutureElliotto/Arcade-4-images/backgrounds/void_theme.png');
  					    background-attachment: fixed;
                        background-repeat: no-repeat;
                        background-size: cover;
                        display: none;
                        position: absolute;
                        min-width: 160px;
                        z-index: 1;
					 }


                    .dropdown-content a {
                        color: white;
                        padding: 12px 16px;
                        text-decoration: none;
                        display: block;
                        text-align: left;
                    }

                    .dropdown:hover .dropdown-content {
                        display: block;
                    }

                    /* Game buttons container styles */
                    .game-buttons-container {
                        display: flex;
                        flex-wrap: wrap;
                        justify-content: center;
                        gap: 20px;
                        margin-top: 100px; /* Ensures space below navbar */
                    }

                    /* Game button styling */
.game-button, .game-button-no-rounding {
    width: 200px;
    height: 250px; /* image + title */
    padding: 15px;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.5s ease;
    transform-origin: center center; /* Important */
}

.game-button:hover, .game-button-no-rounding:hover {
    transform: scale(1.1); /* smaller scale to reduce overlap */
    z-index: 10; /* bring hovered button above others */
    transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}

.game-button img, .game-button-no-rounding img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 25px;
}


                    .game-title {
                        color: white;
                        font-size: 18px;
                        margin-top: 10px;
                    }

                    /* Iframe Styling */
                    iframe {
                        width: 100%;
                        height: calc(100vh - 60px);
                        position: absolute;
                        top: 60px;
                        left: 0;
                        right: 0;
                        border: none;
                    }

                    /* Search bar styles */
                    #searchBar {
                        font-family: "Pixelify Sans", sans-serif;
                        padding: 10px;
                        font-size: 16px;
                        background-color: transparent;
                        width: 80%;
                        max-width: 400px;
                        border-radius: 5px;
                        border: 2px solid white;
                        outline: none;
                    }

                    #searchBar:focus {
                        color: #7F00FF;
                    }

                    select {
                        font-family: "Pixelify Sans", sans-serif;
                        padding: 10px 20px;
                        font-size: 16px;
                        background-color: transparent;
                        width: 40%;
                        max-width: 400px;
                        border-radius: 5px;
                        border: 2px solid white;
                        outline: none;
                        color: white;
                        appearance: none;
                        background-image: url('../images/arrow-down.svg');
                        background-repeat: no-repeat;
                        background-position: right 10px center;
                        background-size: 16px;
                    }

                    select:focus {
                        border-color: #7F00FF;
                    }

                    option {
                        background-color: black;
                        color: white;
                        padding: 10px;
                        font-size: 16px;
                    }
#resetButton {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  border-radius: 5px;
  cursor: pointer;
  font-family: "Pixelify Sans", sans-serif;
  transition: all 0.3s ease;
}
                    option:disabled {
                        color: gray;
                    }

                    .content-container {
                        width: 100%;
                        height: calc(100vh - 60px);
                        position: absolute;
                        top: 60px;
                        left: 0;
                        right: 0;
                        border: none;
                        color: white;
                    }
                    
    .favorite-icon {
      cursor: pointer;
      font-size: 1rem;
      margin-left: 6px;
    }
.pagination {
  margin: 40px 0 60px 0; /* add vertical space */
  display: flex;
  background-color: transparent;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

label {
  color: white;
}

.pagination button {
  margin: 0 5px;
  padding: 5px 10px;
  background-color: transparent;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: "Pixelify Sans", sans-serif;
  transition: all 0.3s ease;
}

.pagination button.active-page {
  border: 2px solid white;
}

p {
  color: white;
}

    select, input[type="text"] {
      padding: 5px;
      font-size: 14px;
    }