html {
    text-align: center;
    font-size: 22px;
}

body {
    background-color: black;
    color: limegreen;
    position: relative;
    font-family: "Ubuntu Mono", serif;
    font-weight: 400;
    font-style: normal;
}

.ubuntu-mono-regular {
    font-family: "Ubuntu Mono", serif;
    font-weight: 400;
    font-style: normal;
}

.footer {
    position: fixed;
    text-align: center;
    font-size: 15px;
    bottom: 0px;
    width: 100%;
}

a {
    color: lightseagreen;
    text-decoration: none;
}

a:visited {
    color: lightsalmon;
}

a:hover, a:active {
    color: lightskyblue;
}

table, tr, th, td, caption {
    text-align: center;
    vertical-align: middle;
    border: 1px solid navajowhite;
    font-family: 'Courier New', 'Courier', monospace;
    border-collapse: collapse;
    padding: 0.5rem;
}

.icon-library {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 50px; /* Added space above the regular game grid */
    padding-bottom: 80px; /* Ensures space above the fixed footer */
}

.icon {
    position: relative;
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s;
}

.icon img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.overlay-container {
    position: relative;
    display: inline-block;
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: limegreen;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    white-space: nowrap;
}

.icon:hover .overlay-text {
    opacity: 1;
}

.icon:hover img {
    transform: scale(1.1);
}

/* START: New styles for Featured Game Section */
.featured-game-section {
    text-align: center; /* Center the box itself */
    margin: 50px auto 30px auto; /* Add vertical space and center horizontally. Adjusted bottom margin */
    padding: 20px;
    border: 3px solid limegreen; /* Make it stand out */
    border-radius: 15px;
    background-color: #0a0a0a; /* Slightly darker background */
    width: fit-content; /* Shrink to content width */
    max-width: 90%; /* Prevent it from getting too wide on small screens */
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.6); /* Stronger glow effect */
}

.featured-game-section h2 {
    color: limegreen;
    margin-bottom: 25px;
    font-size: 28px; /* Slightly larger title */
    text-shadow: 0 0 10px limegreen; /* Add text shadow for glow */
}

.featured-game-box .icon img {
    width: 180px; /* Make the featured icon significantly larger */
    height: 180px;
    border: 3px solid lightseagreen; /* Add a distinct border */
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5); /* Inner glow for the image */
}

.featured-game-box .overlay-text {
    font-size: 18px; /* Larger text for featured game */
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.85); /* Slightly less transparent background */
    color: lightskyblue; /* Change text color for more distinction */
}
/* END: New styles for Featured Game Section */

#searchInput {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 300px;
  padding: 10px;
  font-family: "Ubuntu Mono", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  border: 2px solid limegreen;
  background-color: black;
  color: limegreen;
  border-radius: 20px;
  margin-bottom: 20px;
  outline: none;
}

#searchInput::placeholder {
  font-family: "Ubuntu Mono", serif;
  font-weight: 400;
  font-style: normal;
  color: limegreen;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
}

#openMenuBtn {
    font-size: 30px;
    cursor: pointer;
    color: limegreen;
    top: 20px;
    left: 20px;
}