.games-view-all { display: flex; justify-content: center; margin: 2rem 0 1rem; }
.games-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0.85rem 2.5rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px;
  background: linear-gradient(160deg, #ffb197, #ff744e 55%, #db4b2b); color: #210b05;
  font-family: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  box-shadow: inset 0 2px 2px rgba(255,255,255,.35), 0 0 0 6px rgba(255,255,255,.045);
  transition: transform .2s ease, filter .2s ease;
}
.games-button:hover { transform: translateY(-2px); filter: brightness(1.1); }
.games-button:focus-visible, .games-page a:focus-visible { outline: 2px solid #ffab8e; outline-offset: 5px; }
.games-button--secondary { background: linear-gradient(160deg,#363636,#151515); color: white; }
.games-page { margin: 0; background: #000; color: #fff; font-family: Arial, Helvetica, sans-serif; overflow-x: clip; }
.games-page *, .games-page *::before, .games-page *::after { box-sizing: border-box; }
.games-page header.liquid-glass-nav { opacity: 1 !important; }
.games-page__main { width: min(1200px, 100% - 40px); margin: 0 auto; padding: 10rem 0 2rem; }
.games-page__hero { text-align: center; max-width: 780px; margin: 0 auto 4rem; }
.games-page__eyebrow { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #ffa28a; }
.games-page__hero h1 { margin: .75rem 0 1.25rem; font-size: clamp(2.75rem, 6vw, 5rem); line-height: 1.05; letter-spacing: -.045em; font-weight: 700; }
.games-page__hero h1 span { background: linear-gradient(#fff,#ff704e); background-clip: text; -webkit-background-clip: text; color: transparent; }
.games-page__hero > p:last-child { color: #999; font-size: 1.0625rem; line-height: 1.7; max-width: 580px; margin: auto; }
.games-page__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; }
.games-page__grid > div { margin: 0; min-width: 0; }
.games-page .game-card { display: block; position: relative; aspect-ratio: 16/9; border-radius: 1rem; overflow: hidden; color: white; text-decoration: none; transition: transform .25s; }
.games-page .game-card:hover { transform: translateY(-4px); }
.games-page .game-card__thumb { object-fit: cover; }
.games-page .game-card__content { left: .875rem; right: .875rem; bottom: .875rem; }
.games-page .game-card h2 { font-size: 1rem; line-height: 1.4; font-weight: 600; margin: 0 0 .25rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.games-page .game-card__meta { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.games-page .game-card__creator { display: flex; align-items: center; gap: .25rem; min-width: 0; font-size: .75rem; white-space: nowrap; margin: 0; }
.games-page .game-card__creator span { overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.games-page .game-card__creator img { flex: 0 0 15px; }
.games-page .game-card__stats { display: flex; flex-shrink: 0; gap: .5rem; font-size: .75rem; }
.games-page .game-card__stats p { display: flex; align-items: center; gap: .2rem; margin: 0; }
.games-page__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.25rem; margin: 4rem 0 0; }
.games-page .sds-site-footer { margin-top: 3rem; }
@media (max-width: 1023px) { .games-page__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; } }
@media (max-width: 600px) {
  .games-page__main { width: calc(100% - 32px); padding-top: 8rem; }
  .games-page__hero { margin-bottom: 2rem; }
  .games-page__hero > p:last-child { font-size: .9375rem; }
  .games-page__grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .games-page__actions { margin-top: 2.5rem; gap: 1rem; }
  .games-page__actions .games-button { padding-inline: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .games-button, .games-page .game-card { transition: none; } }

/* Homepage catalog button — curved glass with reflected edges. */
.games-view-all .games-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 54px;
  padding: 1rem 2.75rem;
  color: #fff;
  border: 1px solid rgba(255,255,255,.5);
  background:
    radial-gradient(ellipse at 15% 0%, rgba(255,255,255,.42), transparent 46%),
    radial-gradient(ellipse at 95% 110%, rgba(205,230,255,.22), transparent 50%),
    linear-gradient(115deg, rgba(255,255,255,.12), rgba(255,255,255,.025) 45%, rgba(255,255,255,.08));
  backdrop-filter: blur(18px) saturate(190%) contrast(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(190%) contrast(1.12);
  box-shadow:
    inset 0 2px 2px rgba(255,255,255,.65),
    inset 2px 0 3px rgba(230,242,255,.28),
    inset -2px 0 3px rgba(255,228,212,.2),
    inset 0 -3px 5px rgba(255,255,255,.2),
    inset 0 -8px 15px rgba(0,0,0,.28),
    0 10px 24px rgba(0,0,0,.3);
  text-shadow: 0 1px 6px rgba(0,0,0,.55);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.games-view-all .games-button::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  border-top: 1px solid rgba(255,255,255,.6);
  border-bottom: 1px solid rgba(255,255,255,.28);
  background:
    radial-gradient(ellipse 85% 90% at 45% -20%, rgba(255,255,255,.25), transparent 70%),
    linear-gradient(105deg, transparent 20%, rgba(255,255,255,.1) 38%, transparent 55%);
}
.games-view-all .games-button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  background: conic-gradient(from 80deg, rgba(255,255,255,.05), rgba(220,240,255,.8) 70deg, rgba(255,255,255,.05) 125deg, rgba(255,255,255,.9) 220deg, rgba(255,225,210,.35) 270deg, rgba(255,255,255,.05));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.games-view-all .games-button:hover {
  filter: none;
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.75);
  box-shadow: inset 0 2px 3px rgba(255,255,255,.8), inset 0 -3px 7px rgba(220,240,255,.28), 0 12px 30px rgba(0,0,0,.35);
}
.games-view-all .games-button:active { transform: translateY(0) scale(.98); }
@media (prefers-reduced-motion: reduce) {
  .games-view-all .games-button { transition: none; }
}
