body.games-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(var(--duck-white-rgb), 0.75) 0%, rgba(var(--duck-blue-rgb), 0.18) 18%, rgba(var(--duck-blue-rgb), 0) 42%),
    var(--page-gradient-1);
  color: var(--duck-charcoal);
}

.games-main {
  width: 100%;
  margin: 0 auto;
  padding: 0 0 4rem;
}

.games-hero {
  position: relative;
  margin: 2rem 2rem 0;
  padding: 0;
  text-align: center;
}

.games-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--title-font);
  font-size: 2rem !important;
  color: var(--duck-charcoal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 1.5rem;
  margin-bottom: 0;
  padding: 0;
  line-height: 1;
}

.games-title i {
  position: relative;
  top: -0.08em;
  font-size: 1.5rem;
  color: var(--duck-yellow);
  filter: drop-shadow(0 1px 0 rgba(35, 35, 55, 0.25));
}

.games-subtitle {
  margin: 0.6rem 0 0;
  font-family: var(--font-main);
  color: var(--duck-charcoal);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.games-intro {
  margin: 0.45rem 0 0;
  font-family: var(--font-main);
  color: var(--duck-charcoal-light);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.games-grid-section {
  padding: 0;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem 2rem 1rem;
}

.games-about {
  padding: 1rem 2rem 2rem;
}

.games-about-inner {
  width: min(90rem, 100%);
  margin: 0 auto;
  padding: 2.5rem 3rem;
  background: var(--duck-white);
  border: 1.5px solid rgba(44, 62, 80, 0.13);
  border-radius: 1.8rem;
  box-shadow: 0 0.2rem 1rem rgba(44, 62, 80, 0.08);
  text-align: left;
}

.games-about h2 {
  margin: 0 0 1rem;
  font-family: var(--title-font);
  font-size: 2rem;
  line-height: 1.15;
  color: var(--duck-charcoal);
}

.games-about p {
  margin: 0 0 1rem;
  font-family: var(--font-main);
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--duck-charcoal);
}

.games-about p:last-child {
  margin-bottom: 0;
}

.games-about a {
  color: var(--duck-pink-deep);
  font-weight: 700;
}

.game-card {
  background-color: var(--duck-white);
  padding: 1rem;
  border: 1.5px solid rgba(44, 62, 80, 0.13);
  border-radius: 1.8rem;
  box-shadow:
    0 0.2rem 1rem rgba(44, 62, 80, 0.08),
    0 0.15rem 0.4rem rgba(255, 209, 102, 0.05);
  text-align: center;
  transition: box-shadow 0.22s, transform 0.17s;
}

.game-card:hover,
.game-card:focus-within {
  transform: translateY(-0.2rem);
  box-shadow:
    0 0.8rem 3.2rem rgba(44, 62, 80, 0.18),
    0 0.5rem 1.1rem rgba(255, 166, 196, 0.12);
}

.game-type {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.8rem, 1.8vw, 1.4rem);
  background-color: var(--duck-white);
  font-family: var(--font-main);
  color: var(--duck-charcoal);
  padding: 0.4rem 0.8rem;
  border-radius: 1.7rem;
  width: 22rem;
  max-width: 100%;
  margin: 0 auto 0.5rem;
  letter-spacing: 0.1rem;
  font-weight: 700;
  border: 2px solid var(--duck-charcoal-light);
  box-shadow: 0 0.12rem 0.2rem rgba(var(--duck-charcoal-rgb), 0.16);
  height: 3.2rem;
  text-align: center;
}

.game-image-link {
  display: block;
  text-decoration: none;
}

.game-image {
  display: block;
  width: 50%;
  height: auto;
  border-radius: 2.7rem;
  margin: 0 auto 1rem;
  transition: transform 0.2s cubic-bezier(0.33, 1.02, 0.46, 0.99), box-shadow 0.2s;
  border: 0.15rem solid rgba(var(--duck-white-rgb), 0.55);
  outline: 0.15rem solid rgba(var(--duck-charcoal-rgb), 0.07);
  outline-offset: -0.6rem;
  box-shadow:
    0 0.8rem 1.8rem rgba(var(--duck-charcoal-rgb), 0.18),
    0 0.25rem 0.6rem rgba(var(--duck-charcoal-rgb), 0.12);
}

.game-card:hover .game-image,
.game-card:focus-within .game-image {
  transform: scale(1.02);
  box-shadow:
    0 0.8rem 3.2rem rgba(44, 62, 80, 0.18),
    0 0.5rem 1.1rem rgba(255, 166, 196, 0.12);
}

.game-title {
  font-family: var(--font-main);
  color: var(--duck-charcoal);
  font-weight: 800;
  letter-spacing: 0.1rem;
  font-size: 2rem;
  margin: 0 0 1rem;
  line-height: 1;
}

.game-title a {
  color: inherit;
  text-decoration: none;
}

.game-title a:hover,
.game-title a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.game-description {
  font-family: var(--font-main);
  color: var(--duck-charcoal);
  font-weight: 500;
  font-size: 1.3rem;
  margin: 1rem 0;
  line-height: 1.4;
}

.game-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 50%;
  min-width: 25rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;

  border: none;
  border-radius: 999px;

  background: var(--go-btn-gradient);
  box-shadow: var(--go-btn-shadow-soft);

  color: var(--duck-white);
  font-family: var(--font-main);
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 0.15rem 0.25rem rgba(43, 45, 66, 0.22);

  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.game-button:hover,
.game-button:focus-visible {
  /* background-color: var(--duck-pink-light); */
  background: var(--duck-pink-light);
  transform: translateY(-0.08rem);
}

.game-button:focus-visible,
.game-image-link:focus-visible {
  outline: 0.3rem solid rgba(var(--duck-charcoal-rgb), 0.18);
  outline-offset: 0.25rem;
}

@media (max-width: 1120px) {
  .games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .games-main {
    padding-bottom: 3rem;
  }

  .games-hero {
    margin: 1.2rem 1rem 0;
  }

  .games-title {
    margin-top: 1rem;
  }

  .games-subtitle {
    font-size: 1.4rem;
    margin-top: 0.45rem;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 1rem;
  }

  .game-type {
    margin-bottom: 0.5rem;
  }

  .game-image {
    margin-bottom: 0.5rem;
    width: 100%;
    outline-offset: -0.5rem;
  }

  .game-title {
    font-size: 2rem;
  }

  .game-description {
    font-size: 1.2rem;
    margin: 1.4rem 0;
    min-height: 3rem;
  }

  .game-button {
    font-size: var(--go-font-tablet);
  }
}

@media (max-width: 550px) {

    .games-about {
    padding: 1rem;
  }

  .games-about-inner {
    padding: 2rem;
  }

  .games-about h2 {
    font-size: 1.8rem;
  }

  .games-about p {
    font-size: 1.1rem;
  }

  .games-subtitle {
    max-width: 38rem;
    margin: 0.35rem auto 0.5rem;
    font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .game-type {
    margin-bottom: 0.4rem;
    height: auto;
    width: auto;
  }

  .game-image {
    margin-top: 0.5rem;
    margin-bottom: 0.4rem;
    width: 70%;
    max-width: 24rem;
    outline-offset: -0.3rem;
  }

  .game-title {
    font-size: 1.8rem;
    margin: 0.5rem 0;
  }

  .game-card {
    padding: 2rem;
  }

  .game-description {
    color: var(--duck-charcoal);
    font-size: 1rem;
    margin: 0.2rem 0;
    min-height: 3rem;
  }

  .game-button {
    font-size: var(--go-font-mobile);
  }
}
