:root {
  --bg: #050711;
  --surface: #101624;
  --surface-soft: rgba(255, 255, 255, 0.08);
  --text: #f8fafc;
  --muted: #aab4c8;
  --primary: #7c3aed;
  --primary-strong: #a855f7;
  --accent: #22d3ee;
  --hot: #f97316;
  --gold: #facc15;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 12% 12%, rgba(124, 58, 237, 0.35), transparent 34rem),
    radial-gradient(circle at 84% 10%, rgba(34, 211, 238, 0.24), transparent 30rem),
    radial-gradient(circle at 60% 82%, rgba(249, 115, 22, 0.18), transparent 28rem),
    var(--bg);
  background-size:
    42px 42px,
    42px 42px,
    auto,
    auto,
    auto,
    auto;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
main,
.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  padding: 18px 0 30px;
}

.nav {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(5, 7, 17, 0.72);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
  padding: 12px;
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.language-switch {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--primary-strong), var(--hot));
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.4);
}

.nav-pill {
  margin-right: auto;
  border: 1px solid rgba(34, 211, 238, 0.32);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 900;
  padding: 8px 12px;
}

.nav-links {
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover,
.language-button:hover {
  color: var(--text);
}

.language-switch {
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
}

.language-button {
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  padding: 0 10px;
}

.language-button.active {
  background: var(--text);
  color: #101322;
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  padding: 9px 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 48px;
  align-items: center;
  min-height: 620px;
}

.game-directory-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  margin-top: 26px;
  padding: clamp(18px, 3vw, 34px);
}

.arcade-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 28px 92px rgba(0, 0, 0, 0.42);
}

.arcade-console::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 28px;
  pointer-events: none;
}

.directory-intro {
  position: relative;
  display: grid;
  align-content: center;
  min-height: clamp(420px, 55vw, 620px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 18%, rgba(34, 211, 238, 0.22), transparent 14rem),
    radial-gradient(circle at 78% 78%, rgba(168, 85, 247, 0.28), transparent 16rem),
    rgba(255, 255, 255, 0.035);
  padding: clamp(18px, 4vw, 44px);
}

.game-directory-hero h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 9vw, 7.4rem);
  text-shadow: 0 18px 60px rgba(34, 211, 238, 0.16);
}

.hero-actions {
  margin-top: 28px;
}

.hero-dashboard {
  position: relative;
  display: grid;
  align-content: stretch;
  gap: 14px;
}

.dashboard-topline,
.pick-row,
.game-search {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(5, 7, 17, 0.42);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.dashboard-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-weight: 900;
  padding: 16px 18px;
}

.dashboard-topline strong {
  border-radius: 999px;
  background: linear-gradient(135deg, var(--hot), var(--gold));
  color: #170b03;
  font-size: 0.78rem;
  padding: 5px 9px;
}

.pick-list {
  display: grid;
  gap: 10px;
}

.pick-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.pick-row:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.48);
  background: rgba(34, 211, 238, 0.08);
}

.pick-rank {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--accent);
  font-weight: 900;
}

.pick-row strong,
.pick-row small {
  display: block;
}

.pick-row small {
  color: var(--muted);
  font-weight: 700;
}

.game-search {
  padding: 18px;
}

.game-search label {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 800;
}

.search-note {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--accent);
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.hero-text,
.section-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.form-row,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.filter-button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
}

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

.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: white;
}

.secondary,
.filter-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    var(--surface);
  box-shadow: var(--shadow);
  padding: 22px;
}

.game-window {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.pixel-scene {
  position: relative;
  min-height: 275px;
  border-radius: 26px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 72% 24%, rgba(34, 211, 238, 0.3), transparent 8rem),
    #0b1020;
  background-size:
    28px 28px,
    28px 28px,
    auto,
    auto;
}

.player,
.coin,
.platform {
  position: absolute;
  display: block;
}

.player {
  left: 18%;
  bottom: 26%;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #facc15);
  box-shadow: 0 0 36px rgba(34, 211, 238, 0.55);
}

.coin {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #facc15;
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.65);
}

.coin-one {
  top: 24%;
  right: 22%;
}

.coin-two {
  top: 48%;
  right: 38%;
}

.platform {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-strong), var(--accent));
}

.platform-one {
  right: 12%;
  bottom: 27%;
  width: 42%;
}

.platform-two {
  left: 10%;
  bottom: 14%;
  width: 56%;
}

.hero-card-title {
  margin: 18px 0 4px;
  font-weight: 800;
}

.muted {
  color: var(--muted);
}

.stats,
.game-grid,
.split {
  display: grid;
  gap: 18px;
}

.stats {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 94px;
}

.stats article,
.game-card,
.daily-list li,
.community {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.stats article {
  padding: 24px;
}

.stats strong {
  display: block;
  margin-bottom: 4px;
  font-size: 2rem;
}

.stats span {
  color: var(--muted);
}

.section {
  margin-bottom: 110px;
}

.games-first {
  margin-bottom: 42px;
}

.ad-section {
  margin: 0 0 72px;
}

.ad-reservation {
  display: grid;
  width: 100%;
  min-height: 132px;
  align-content: center;
  justify-items: center;
  border: 2px dashed rgba(23, 50, 75, 0.55);
  border-radius: 18px;
  background: rgba(244, 241, 222, 0.64);
  color: var(--muted);
  padding: 24px;
  text-align: center;
}

.ad-reservation strong,
.ad-reservation small {
  display: block;
}

.ad-reservation strong {
  margin: 4px 0;
  color: var(--text);
  font-size: 1.05rem;
}

.ad-kicker {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-mini-copy {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.filters {
  margin-bottom: 24px;
}

.filter-button {
  padding: 10px 16px;
}

.filter-button.active {
  background: var(--text);
  color: #101322;
}

.game-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.game-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-column: span 2;
  min-height: 360px;
  align-content: start;
  padding: 16px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.game-card:first-child,
.game-card:nth-child(3) {
  grid-column: span 3;
}

.game-card:hover {
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(255, 255, 255, 0.1);
}

.game-thumb {
  position: relative;
  overflow: hidden;
  min-height: 154px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(5, 7, 17, 0.48);
}

.game-thumb::before,
.game-thumb::after {
  content: "";
  position: absolute;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.game-card p {
  color: var(--muted);
}

.game-card .card-play {
  display: inline-flex;
  justify-content: center;
  margin-top: auto;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--accent);
  font-weight: 800;
  padding: 11px 14px;
}

.tag {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 10px;
}

.play-status {
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 5px 9px;
}

.split {
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  align-items: start;
}

.daily-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.daily-list li {
  padding: 20px;
}

.daily-list strong,
.daily-list span {
  display: block;
}

.daily-list span {
  color: var(--muted);
}

.community {
  padding: clamp(26px, 5vw, 48px);
  text-align: center;
}

.community-section {
  scroll-margin-top: 24px;
}

.community-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 20px;
  align-items: start;
}

.feedback-card,
.donation-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  padding: clamp(22px, 4vw, 36px);
}

.feedback-card {
  scroll-margin-top: 24px;
}

.feedback-card p:not(.eyebrow),
.donation-heading p:not(.eyebrow) {
  color: var(--muted);
}

.feedback-actions {
  display: grid;
  gap: 12px;
  margin: 24px 0 18px;
}

.contact-email {
  color: #0f8d49;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.donation-heading {
  margin-bottom: 24px;
}

.donation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.donation-card {
  display: grid;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 12px;
}

.donation-card img {
  display: block;
  width: 100%;
  height: clamp(280px, 32vw, 380px);
  object-fit: contain;
  image-rendering: auto;
}

.donation-card figcaption {
  border-top: 2px dashed rgba(23, 50, 75, 0.35);
  color: var(--text);
  font-weight: 900;
  padding: 12px 8px 4px;
  text-align: center;
}

.community .eyebrow,
.community h2 {
  margin-right: auto;
  margin-left: auto;
}

.signup-form {
  width: min(560px, 100%);
  margin: 24px auto 0;
  text-align: left;
}

.signup-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

.form-row {
  align-items: center;
}

input {
  flex: 1 1 240px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: inherit;
  padding: 0 18px;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-note {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--accent);
  font-weight: 700;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 28px 0 42px;
}

@media (max-width: 860px) {
  .menu-button {
    display: inline-flex;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(8, 11, 20, 0.94);
    padding: 18px;
  }

  .nav-links.open {
    display: flex;
  }

  .language-switch {
    margin-left: auto;
  }

  .hero,
  .game-directory-hero,
  .split,
  .community-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 54px;
  }

  .game-directory-hero {
    padding: 18px;
  }

  .directory-intro {
    min-height: auto;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-card,
  .game-card:first-child,
  .game-card:nth-child(3) {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .site-header,
  main,
  .footer {
    width: min(100% - 20px, 1120px);
  }

  .hero {
    gap: 28px;
  }

  .game-directory-hero {
    gap: 22px;
    margin-top: 16px;
    padding: 12px;
    border-radius: 28px;
  }

  .hero-card {
    min-height: 360px;
    border-radius: 26px;
  }

  .stats,
  .game-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    position: static;
  }

  .nav-pill {
    order: 4;
    margin-right: 0;
  }

  .directory-intro {
    border-radius: 22px;
  }

  .game-directory-hero h1 {
    font-size: clamp(2.7rem, 16vw, 4.2rem);
  }

  .hero-dashboard,
  .game-search {
    min-width: 0;
  }

  .form-row {
    display: grid;
  }

  input {
    width: 100%;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .game-card {
    min-height: 330px;
  }

  .game-thumb {
    min-height: 142px;
  }

  .section {
    margin-bottom: 72px;
  }

  .ad-section {
    margin-bottom: 54px;
  }

  .ad-reservation {
    min-height: 112px;
    padding: 18px 14px;
  }

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

  .donation-card img {
    height: auto;
    max-height: 520px;
  }
}

/* Pixel refresh for the three-game arcade build. */
:root {
  --bg: #68c3b5;
  --surface: #f4f1de;
  --surface-soft: rgba(244, 241, 222, 0.82);
  --text: #17324b;
  --muted: #36536a;
  --primary: #54c94b;
  --primary-strong: #7ed55d;
  --accent: #1976d2;
  --hot: #ff7474;
  --gold: #ffd35a;
  --line: #17324b;
  --shadow: 8px 8px 0 rgba(0, 0, 0, 0.22);
}

.home-page {
  background:
    linear-gradient(rgba(255, 255, 255, 0.16) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 2px, transparent 2px),
    linear-gradient(180deg, #9ae4d0 0%, #68c3b5 46%, #2f7d73 100%);
  background-size:
    32px 32px,
    32px 32px,
    auto;
  color: var(--text);
  font-family: "Courier New", Monaco, "PingFang SC", "Microsoft YaHei", monospace;
  image-rendering: pixelated;
}

.home-page .nav,
.home-page .arcade-console,
.home-page .dashboard-topline,
.home-page .pick-row,
.home-page .game-search,
.home-page .stats article,
.home-page .game-card,
.home-page .daily-list li,
.home-page .community {
  border: 4px solid var(--line);
  border-radius: 18px;
  background: rgba(244, 241, 222, 0.94);
  box-shadow: var(--shadow);
}

.home-page .nav {
  background: rgba(244, 241, 222, 0.96);
  backdrop-filter: none;
}

.home-page .brand-mark {
  border: 3px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, #92ea74, #54c94b);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.22);
  color: #103026;
}

.home-page .nav-pill,
.home-page .tag,
.home-page .play-status,
.home-page .pick-rank {
  border: 3px solid var(--line);
  border-radius: 12px;
  background: #fff3c3;
  color: var(--text);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.16);
}

.home-page .directory-intro {
  border: 4px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 24%, rgba(126, 213, 93, 0.7), transparent 13rem),
    radial-gradient(circle at 78% 72%, rgba(255, 211, 90, 0.64), transparent 14rem),
    rgba(242, 247, 232, 0.86);
}

.home-page .arcade-console::before {
  inset: 10px;
  border: 2px dashed rgba(23, 50, 75, 0.42);
  border-radius: 12px;
}

.home-page .eyebrow,
.home-page .search-note,
.home-page .game-card .card-play {
  color: #0f8d49;
}

.home-page .hero-text,
.home-page .section-copy,
.home-page .section-mini-copy,
.home-page .game-card p,
.home-page .pick-row small,
.home-page .stats span,
.home-page .daily-list span,
.home-page .footer {
  color: var(--muted);
}

.home-page .button,
.home-page .filter-button,
.home-page input,
.home-page .game-card .card-play {
  border: 3px solid var(--line);
  border-radius: 14px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.18);
}

.home-page .button:active,
.home-page .filter-button:active,
.home-page .game-card .card-play:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.18);
}

.home-page .primary {
  background: linear-gradient(180deg, #92ea74, #54c94b);
  color: #103026;
}

.home-page .secondary,
.home-page .filter-button,
.home-page input {
  background: #f5f3e6;
  color: var(--text);
}

.home-page .filter-button.active {
  background: #ffd35a;
  color: var(--text);
}

.home-page .dashboard-topline strong {
  border: 3px solid var(--line);
  background: #ffd35a;
  color: var(--text);
}

.home-page .game-grid.featured-game-grid .game-card {
  grid-column: span 2;
}

.home-page .game-thumb {
  min-height: 190px;
  border: 4px solid var(--line);
  border-radius: 14px;
  background-color: #9ae4d0;
  box-shadow: inset 0 -12px 0 rgba(0, 0, 0, 0.08);
}

.frog-thumb {
  background:
    linear-gradient(rgba(255, 255, 255, 0.2) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 2px, transparent 2px),
    radial-gradient(ellipse at 30% 72%, #148c51 0 24px, #2fc267 25px 42px, transparent 43px),
    radial-gradient(ellipse at 70% 42%, #148c51 0 22px, #2fc267 23px 40px, transparent 41px),
    linear-gradient(180deg, #baf0e2 0 22%, #68c3b5 23% 100%);
  background-size:
    18px 18px,
    18px 18px,
    auto,
    auto,
    auto;
}

.frog-thumb::before {
  left: 50%;
  bottom: 42px;
  width: 54px;
  height: 38px;
  border: 4px solid #104f34;
  background:
    radial-gradient(circle at 24% 20%, #111 0 4px, #dffde9 5px 9px, transparent 10px),
    radial-gradient(circle at 76% 20%, #111 0 4px, #dffde9 5px 9px, transparent 10px),
    linear-gradient(180deg, #55dd79 0 48%, #29aa5b 49% 100%);
  box-shadow:
    -22px 22px 0 #167644,
    22px 22px 0 #167644,
    6px 6px 0 rgba(0, 0, 0, 0.2);
  transform: translateX(-50%);
}

.frog-thumb::after {
  right: 28px;
  top: 24px;
  width: 42px;
  height: 42px;
  background: #ffd35a;
  box-shadow:
    -48px 20px 0 #fff3c3,
    -84px 6px 0 #fff3c3;
}

.battle-thumb {
  background:
    linear-gradient(rgba(255, 255, 255, 0.14) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 2px, transparent 2px),
    linear-gradient(102deg, transparent 0 30%, #bdbdbd 31% 69%, transparent 70%),
    linear-gradient(180deg, #6fbbe7 0 22%, #2e72a9 23% 100%);
  background-size:
    18px 18px,
    18px 18px,
    auto,
    auto;
}

.battle-thumb::before {
  left: 50%;
  bottom: 30px;
  width: 76px;
  height: 46px;
  background:
    linear-gradient(90deg, #58a8ff 0 18%, transparent 19% 29%, #58a8ff 30% 48%, transparent 49% 58%, #1f88ff 59% 77%, transparent 78%),
    linear-gradient(180deg, transparent 0 24%, #315f93 25% 70%, transparent 71%);
  filter: drop-shadow(5px 5px 0 rgba(0, 0, 0, 0.2));
  transform: translateX(-50%);
}

.battle-thumb::after {
  right: 22%;
  top: 42px;
  width: 42px;
  height: 54px;
  background:
    linear-gradient(180deg, #f9debf 0 20%, #c14c58 21% 78%, #fff1d6 79% 100%);
  box-shadow:
    -72px 36px 0 #66c4ff,
    -18px 66px 0 #ff7474,
    6px 6px 0 rgba(0, 0, 0, 0.2);
}

.santa-thumb {
  background:
    linear-gradient(rgba(255, 255, 255, 0.14) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 2px, transparent 2px),
    radial-gradient(circle at 78% 18%, #fff8de 0 18px, #ffd35a 19px 25px, transparent 26px),
    linear-gradient(180deg, #122c55 0 52%, #5ba6db 53% 100%);
  background-size:
    18px 18px,
    18px 18px,
    auto,
    auto;
}

.santa-thumb::before {
  left: 50%;
  bottom: 32px;
  width: 52px;
  height: 72px;
  border: 4px solid #16213a;
  background:
    radial-gradient(circle at 36% 23%, #16213a 0 3px, transparent 4px),
    radial-gradient(circle at 64% 23%, #16213a 0 3px, transparent 4px),
    linear-gradient(180deg, #fff8de 0 18%, #e94848 19% 36%, #fff8de 37% 54%, #e94848 55% 100%);
  box-shadow:
    -22px 36px 0 #e94848,
    22px 36px 0 #e94848,
    5px 5px 0 rgba(0, 0, 0, 0.22);
  transform: translateX(-50%);
}

.santa-thumb::after {
  left: 24px;
  right: 24px;
  bottom: 18px;
  height: 18px;
  background: #fff8de;
  box-shadow:
    58px -48px 0 -2px #49c86d,
    82px -28px 0 -4px #ffd35a,
    138px -14px 0 -3px #e94848,
    190px -50px 0 -2px #fff8de,
    226px -22px 0 -3px #49c86d;
}

.runner-thumb {
  background:
    linear-gradient(rgba(255, 255, 255, 0.14) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 2px, transparent 2px),
    linear-gradient(180deg, #7fc6ff 0 48%, #65b75d 49% 100%);
  background-size: 18px 18px, 18px 18px, auto;
}

.runner-thumb::before {
  left: 48px;
  bottom: 36px;
  width: 42px;
  height: 58px;
  border: 4px solid #17324b;
  background:
    linear-gradient(180deg, #f4d28c 0 20%, #b9c7d7 21% 42%, #5d83d1 43% 100%);
  box-shadow:
    26px 30px 0 -8px #17324b,
    96px 14px 0 -10px #9b6b39,
    154px -10px 0 -8px #7a2f40,
    5px 5px 0 rgba(0, 0, 0, 0.22);
}

.runner-thumb::after {
  left: 18px;
  right: 18px;
  bottom: 22px;
  height: 16px;
  background: #3f813a;
  box-shadow:
    78px -22px 0 -4px #7a2f40,
    154px -34px 0 -6px #5c2b7b,
    218px -16px 0 -5px #ffca5a;
}

.plane-thumb {
  background:
    linear-gradient(rgba(255, 255, 255, 0.16) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 2px, transparent 2px),
    radial-gradient(circle at 75% 24%, #fff3c3 0 20px, transparent 21px),
    linear-gradient(180deg, #142d66 0 100%);
  background-size: 18px 18px, 18px 18px, auto, auto;
}

.plane-thumb::before {
  left: 50%;
  bottom: 34px;
  width: 58px;
  height: 70px;
  background:
    linear-gradient(90deg, transparent 0 18%, #4de3ff 19% 38%, #fff8de 39% 61%, #4de3ff 62% 81%, transparent 82%),
    linear-gradient(180deg, #ff6b5e 0 18%, #f5f3e6 19% 72%, #4de3ff 73% 100%);
  filter: drop-shadow(5px 5px 0 rgba(0, 0, 0, 0.28));
  transform: translateX(-50%);
}

.plane-thumb::after {
  left: 26px;
  top: 30px;
  width: 20px;
  height: 20px;
  background: #ff7474;
  box-shadow:
    66px 32px 0 #ffd35a,
    146px 2px 0 #ff7474,
    198px 50px 0 #65ff9a,
    238px 14px 0 #ffd35a;
}

.zombie-thumb {
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 2px, transparent 2px),
    linear-gradient(180deg, #253947 0 100%);
  background-size: 18px 18px, 18px 18px, auto;
}

.zombie-thumb::before {
  left: 46%;
  bottom: 38px;
  width: 42px;
  height: 58px;
  border: 4px solid #111827;
  background: linear-gradient(180deg, #ffd0a8 0 24%, #5bd487 25% 72%, #2d5b82 73% 100%);
  box-shadow:
    -78px 18px 0 -6px #74b66a,
    84px -4px 0 -5px #a1d66b,
    138px 32px 0 -8px #6da75f,
    6px 6px 0 rgba(0, 0, 0, 0.26);
}

.zombie-thumb::after {
  left: 22px;
  right: 22px;
  bottom: 22px;
  height: 18px;
  background: #4f6170;
  box-shadow:
    76px -50px 0 -6px #ff6868,
    164px -28px 0 -8px #ff6868,
    234px -62px 0 -7px #ff6868;
}

.bomber-thumb {
  background:
    linear-gradient(rgba(255, 255, 255, 0.12) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 2px, transparent 2px),
    linear-gradient(180deg, #9bd37b 0 100%);
  background-size: 28px 28px, 28px 28px, auto;
}

.bomber-thumb::before {
  left: 40px;
  bottom: 34px;
  width: 42px;
  height: 42px;
  background: #3b82f6;
  box-shadow:
    58px 0 0 #8b5e3c,
    116px -34px 0 #8b5e3c,
    174px 0 0 #8b5e3c,
    232px -34px 0 #8b5e3c;
}

.bomber-thumb::after {
  left: 132px;
  bottom: 70px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1f2937;
  box-shadow:
    18px -12px 0 -8px #fff3c3,
    44px 8px 0 -2px #ff7474,
    66px 8px 0 -4px #ffd35a;
}

.fishing-thumb {
  background:
    linear-gradient(rgba(255, 255, 255, 0.12) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 2px, transparent 2px),
    linear-gradient(180deg, #5fd0ee 0 38%, #2879c8 39% 100%);
  background-size: 18px 18px, 18px 18px, auto;
}

.fishing-thumb::before {
  left: 50%;
  top: 20px;
  width: 4px;
  height: 112px;
  background: #17324b;
  box-shadow:
    -52px 84px 0 10px #ffd35a,
    54px 104px 0 8px #ff7474,
    112px 70px 0 12px #58e6a1;
  transform: translateX(-50%) rotate(15deg);
}

.fishing-thumb::after {
  left: 26px;
  right: 26px;
  bottom: 28px;
  height: 16px;
  background: rgba(255, 255, 255, 0.32);
  box-shadow:
    68px -42px 0 -4px #ffd35a,
    148px -20px 0 -5px #ff7474,
    232px -54px 0 -6px #58e6a1;
}

.sokoban-thumb {
  background:
    linear-gradient(rgba(255, 255, 255, 0.16) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 2px, transparent 2px),
    linear-gradient(180deg, #b99a6f 0 100%);
  background-size: 32px 32px, 32px 32px, auto;
}

.sokoban-thumb::before {
  left: 44px;
  bottom: 38px;
  width: 44px;
  height: 44px;
  border: 4px solid #4d321f;
  background: #c9853f;
  box-shadow:
    78px -32px 0 #c9853f,
    156px 0 0 #c9853f,
    226px -52px 0 #ffd35a;
}

.sokoban-thumb::after {
  left: 112px;
  bottom: 38px;
  width: 36px;
  height: 54px;
  background: linear-gradient(180deg, #ffd0a8 0 24%, #4b83d8 25% 100%);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.22);
}

.catapult-thumb {
  background:
    linear-gradient(rgba(255, 255, 255, 0.12) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 2px, transparent 2px),
    linear-gradient(180deg, #86c7ef 0 56%, #7eb05d 57% 100%);
  background-size: 18px 18px, 18px 18px, auto;
}

.catapult-thumb::before {
  left: 34px;
  bottom: 36px;
  width: 86px;
  height: 26px;
  background: #8b5e3c;
  box-shadow:
    24px -24px 0 -8px #5a3824,
    192px -46px 0 #9ca3af,
    230px -22px 0 #737b86,
    192px 0 0 #737b86;
  transform: rotate(-12deg);
}

.catapult-thumb::after {
  left: 142px;
  top: 38px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #3f3f46;
  box-shadow:
    68px 74px 0 -4px #ff7474,
    110px 46px 0 -5px #ffd35a;
}

.defense-thumb {
  background:
    linear-gradient(rgba(255, 255, 255, 0.12) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 2px, transparent 2px),
    linear-gradient(180deg, #95d7a2 0 100%);
  background-size: 18px 18px, 18px 18px, auto;
}

.defense-thumb::before {
  right: 34px;
  bottom: 34px;
  width: 56px;
  height: 76px;
  border: 4px solid #17324b;
  background:
    linear-gradient(180deg, #ffd0d9 0 24%, #ffd35a 25% 42%, #d9467d 43% 100%);
  box-shadow:
    -108px 16px 0 -8px #5865d9,
    -164px -12px 0 -10px #c24c44,
    -220px 22px 0 -8px #8dc8ff;
}

.defense-thumb::after {
  left: 18px;
  right: 18px;
  bottom: 22px;
  height: 18px;
  background: #6ca357;
  box-shadow:
    54px -54px 0 -6px #4f7dd8,
    124px -28px 0 -7px #f59e0b,
    198px -60px 0 -8px #38bdf8;
}

.home-page .game-card .card-play {
  background: #eef9ef;
}

.home-page .ad-reservation,
.home-page .feedback-card,
.home-page .donation-panel,
.home-page .donation-card {
  border: 4px solid var(--line);
  border-radius: 18px;
  background: rgba(244, 241, 222, 0.94);
  box-shadow: var(--shadow);
}

.home-page .ad-reservation {
  border-style: dashed;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.14);
}

.home-page .donation-card {
  background: #fff;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.16);
}

html[lang="en"] .home-page .game-directory-hero h1 {
  max-width: 11ch;
  font-size: clamp(2.7rem, 5.2vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

html[lang="en"] .home-page .hero-text {
  max-width: 34rem;
}

@media (max-width: 860px) {
  .home-page .game-grid.featured-game-grid .game-card {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  html[lang="en"] .home-page .game-directory-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.2rem);
  }
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-160%);
  border: 3px solid var(--line);
  border-radius: 10px;
  background: #fff3c3;
  color: var(--text);
  font-weight: 900;
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.info-site-header {
  padding-bottom: 4px;
}

.info-page .nav-links a[aria-current="page"] {
  color: #0f8d49;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.info-article {
  width: min(900px, 100%);
  margin: 34px auto 92px;
  border: 4px solid var(--line);
  border-radius: 22px;
  background: rgba(244, 241, 222, 0.96);
  box-shadow: var(--shadow);
  padding: clamp(26px, 6vw, 64px);
}

.info-article h1 {
  max-width: 13ch;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 8vw, 5.7rem);
  line-height: 0.98;
}

.info-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  font-weight: 700;
}

.info-article section {
  margin-top: 34px;
  border-top: 3px dashed rgba(23, 50, 75, 0.32);
  padding-top: 30px;
  scroll-margin-top: 24px;
}

.info-article section h2 {
  margin-bottom: 14px;
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  letter-spacing: -0.04em;
}

.info-article section p,
.info-list {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.info-list,
.info-link-list {
  display: grid;
  gap: 12px;
  padding-left: 24px;
}

.info-link-list a {
  color: #0f8d49;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.info-updated {
  margin: 40px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.info-footer nav,
.home-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 14px;
  font-weight: 900;
}

.info-footer a:hover,
.home-footer a:hover {
  color: #eef9ef;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-card {
  border: 4px solid var(--line);
  border-radius: 18px;
  background: rgba(244, 241, 222, 0.94);
  box-shadow: var(--shadow);
  padding: 20px;
}

.faq-card summary {
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 900;
}

.faq-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.not-found-page {
  min-height: 100vh;
}

.not-found-page main {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 20px 0;
}

.not-found-card {
  margin: 0 auto;
}

.not-found-brand {
  width: fit-content;
  margin-bottom: 42px;
}

.not-found-language {
  width: fit-content;
  margin-top: 32px;
}

@media (max-width: 700px) {
  .info-article {
    margin-top: 20px;
    margin-bottom: 58px;
    border-radius: 18px;
    padding: 24px 20px;
  }

  .info-article h1 {
    font-size: clamp(2.55rem, 13vw, 3.7rem);
  }

  .info-actions {
    display: grid;
  }

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