body {
  font-family: 'Segoe UI', Tahoma, Geneva, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin: 0;
  background: #e8e6e1;
  color: #57564F;
}

header {
  background: #57564F;
  color: #DDDAD0;
  font-weight: 900;
  padding: 1em;
  text-align: center;
  font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  box-shadow: #57564F;
  

}


nav a {
  color: #F8F3CE;
  margin: 0 1em;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

main {
  max-width: 800px;
  margin: 2em auto;
  padding: 1em;
  background: #DDDAD0;
  border-radius: 8px;
}

footer {
  text-align: center;
  padding: 1em;
  background: #DDDAD0;
  margin-top: 2em;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.game-card {
  background: #DDDAD0;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.game-card:hover {
  transform: scale(1.02);
}

.game-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.game-card h3 {
  padding: 1rem;
  font-size: 1rem;
  text-align: center;
}


.dropdown {
    display: inline-block;
    position: relative;
}

.dropbtn {
    background: none;
    border: none;
    color: #F8F3CE;
    font: inherit;
    cursor: pointer;
    padding: 0 8px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #DDDAD0;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 10px;
}

.dropdown-content a {
    color: #333;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #DDDAD0;
}

.dropdown:hover .dropdown-content {
    display: block;
}