body {
  margin: 0;
  min-height: 100vh;
  font-family: Consolas, sans-serif;
  background-color: #cfcfcf;
  color: #222;
}

.games-container {
  max-width: 850px;
  margin: 60px auto;
  padding: 42px;
  background-color: rgb(235, 235, 235);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  padding: 8px 14px;

  background-color: #b3b3b359;
  color: #000000;
  border-radius: 10px;

  font-family: Consolas, monospace;
  font-weight: bold;
  text-decoration: none;
}

.back-link:hover {
  background-color: #d0d0d0;
  text-decoration: none;
}

h1 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 42px;
}

.intro {
  margin-top: 0;
  margin-bottom: 32px;
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

.copy-fcode-btn {
  margin-left: 0px;
  padding: 3px 8px;
  border: none;
  border-radius: 6px;
  background: rgb(230, 230, 230);
  color: #666;
  cursor: pointer;
  font-size: 18px;
  font-family: Consolas;
}

.copy-fcode-btn:hover {
  background: rgb(220, 220, 220);;
}


.game-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.game-card {
  position: relative;
  overflow: hidden;

  display: flex;
  gap: 20px;

  padding: 22px;
  margin-bottom: 22px;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 14px;
  border: none;
}
.rank-number {
  width: 46px;
  height: 46px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #9b9b9bad;
  color: white;
  border-radius: 6px;

  font-size: 22px;
  font-weight: bold;
}

.game-info h2 {
  margin: 0 0 8px 0;
  font-size: 25px;
}

.game-info h2 a {
  color: #012169;
  text-decoration: none;
}

.game-info h2 a:hover {
  text-decoration: underline;
}

.game-info p {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.6;
}

.game-card:hover {
  transform: translateY(-2px);
}

.game-tag {
  display: inline-block;
  padding: 5px 10px;

  background-color: #dededea0;
  border-radius: 10px;

  font-size: 15px !important;
  font-family: Consolas, monospace;
  color: #333;
}

/* Mobile */
@media (max-width: 700px) {
  .games-container {
    margin: 24px 16px;
    padding: 28px 22px;
  }

  h1 {
    font-size: 34px;
  }

  .game-card {
    flex-direction: column;
  }

  .rank-number {
    width: 40px;
    height: 40px;
  }
}