* { box-sizing: border-box; }
:root { color-scheme: light; --ink: #263d37; --paper: #faf9f5; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", "Segoe UI", "Microsoft YaHei", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #0c7380; outline-offset: 4px; }
.wrap { width: min(1160px, 91%); margin-inline: auto; }
.bar { border-bottom: 1px solid #e2e4da; }
.bar-inner, .brand, nav { display: flex; align-items: center; }
.bar-inner { height: 78px; justify-content: space-between; }
.brand { gap: 9px; font-size: 24px; font-weight: 800; }
nav { gap: 26px; font-size: 14px; font-weight: 600; }
nav a { padding: 13px 0; } nav a:hover { text-decoration: underline; }
#pick { margin-top: 28px; }
h1, #games-title { font-size: 26px; letter-spacing: -.035em; margin: 0 0 16px; }
.featured { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.hero {
  --panel: #eceafb;
  --outline: #dfdcf2;
  --accent: #4e508a;
  background: var(--panel);
  border: 1px solid var(--outline);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-town { --panel: #dff0e8; --outline: #cfE5db; --accent: #315e50; }
.feature-art { display: block; width: 100%; height: clamp(155px,19vw,228px); object-fit: contain; }
.feature-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 0 26px 24px; }
.feature-copy h2 { margin: 0; font-size: clamp(24px,3vw,34px); line-height: 1.25; letter-spacing: -.035em; }
.intro { color: #485453; line-height: 1.6; font-size: 15px; margin: 8px 0 16px; }
.play { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; background: var(--accent); color: white; padding: 11px 16px; border-radius: 9px; font-size: 14px; font-weight: 600; }
.play:hover { filter: brightness(.88); }
#games { margin: 32px 0 42px; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.card { display: block; background: #fffefa; border: 1px solid #dedfd5; border-radius: 14px; overflow: hidden; }
.card:hover { border-color: #839889; box-shadow: 0 4px 15px #263d370c; }
.card img { display: block; width: 100%; height: auto; }
.details { position: relative; padding: 17px 18px 20px; }
h3 { margin: 0 35px 8px 0; font-size: 21px; line-height: 1.35; }
.details p { font-size: 14px; line-height: 1.65; margin: 0; color: #546259; }
.arrow { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; border: 1px solid #d9dfd5; width: 26px; height: 26px; border-radius: 50%; }
@media (max-width: 740px) {
  .bar-inner { height: 62px; }
  .brand { font-size: 21px; gap: 6px; }
  nav { gap: 16px; }
  #pick { margin-top: 20px; }
  h1, #games-title { font-size: 22px; margin-bottom: 12px; }
  .featured, .cards { grid-template-columns: 1fr; gap: 12px; }
  .feature-copy { padding: 0 18px 18px; }
  .card { display: grid; grid-template-columns: minmax(96px,30%) 1fr; }
  .card img { height: 100%; object-fit: cover; }
  .details { padding: 15px; }
  h3 { font-size: 18px; }
  #games { margin: 24px 0; }
}
