/* ===== Site logo / title (text mark) =====
   The site has no logo image, so we lift the wordmark with a thin
   accent underline and tighter letter-spacing. Stays accessible. */
header nav a.f3.fw2 {
  font-weight: 500;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}
header nav a.f3.fw2:hover,
header nav a.f3.fw2:focus {
  border-bottom-color: #ff4136;
}

/* ===== Header nav links — tighten spacing & focus ring ===== */
header nav ul li a {
  transition: color 0.15s ease;
}
header nav ul li a:focus {
  outline: 2px solid #ff4136;
  outline-offset: 3px;
  border-radius: 2px;
}

/* ===== Language switcher (footer) =====
   Replaces the previous full-width gray button + collapsing panel.
   Inline pill links matching the dark footer aesthetic. */
.lang-switch {
  margin-top: 0.75rem;
  text-align: center;
}
.lang-switch__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.lang-switch__item { margin: 0; padding: 0; }
.lang-switch__link {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.lang-switch__link:hover,
.lang-switch__link:focus {
  border-color: #ff4136;
  color: #fff;
  background-color: rgba(255, 65, 54, 0.12);
  outline: none;
}

/* ===== Game / arcade list cards — soften the grid =====
   The shared list layout used by iosgame/game/software/arcade renders
   plain bg-white blocks with no padding. Add breathing room. */
section.flex-ns.flex-wrap > div.bg-white {
  padding: 1.25rem 1.5rem;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  margin-bottom: 1.25rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
section.flex-ns.flex-wrap > div.bg-white:hover {
  border-color: #ff4136;
  transform: translateY(-2px);
}
section.flex-ns.flex-wrap > div.bg-white h2 {
  margin-top: 0;
  font-size: 1.25rem;
  line-height: 1.3;
}
section.flex-ns.flex-wrap > div.bg-white p {
  margin: 0.5rem 0;
}
section.flex-ns.flex-wrap > div.bg-white a {
  color: #ff4136;
  text-decoration: none;
  font-weight: 500;
}
section.flex-ns.flex-wrap > div.bg-white a:hover,
section.flex-ns.flex-wrap > div.bg-white a:focus {
  text-decoration: underline;
}

/* ===== Arcade list — stronger play CTA ===== */
.arcade-play {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.55rem 1.1rem;
  background-color: #ff4136;
  color: #fff !important;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none !important;
}
.arcade-play:hover,
.arcade-play:focus {
  background-color: #d8281e;
  outline: none;
}
