:root {
  color-scheme: light;
  --ink: #142c3c;
  --muted: #495957;
  --cream: #fff9ed;
  --teal: #006a64;
  --line: #e2cdaa;
  --wrap: 1240px;
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box }
html { background: var(--cream); scroll-behavior: smooth; scroll-padding-top: 16px }
body { margin: 0; color: var(--ink); -webkit-font-smoothing: antialiased }
a { color: inherit; text-decoration: none }
a:focus-visible { outline: 3px solid #a72b52; outline-offset: 4px }
.wrap { width: min(calc(100% - 84px), var(--wrap)); margin-inline: auto }
.skip, .sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
.skip:focus { z-index: 10; top: 10px; left: 10px; width: auto; height: auto; clip-path: none; padding: 12px; background: white }
.symbols { display: none }
.line-icon, .arrow, .play { width: 18px; height: 18px; flex: none }
.line-icon, .arrow { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8 }
.top { background: #fffaf0; border-bottom: 1px solid #e4c483 }
.mast { min-height: 68px; display: flex; align-items: center; gap: 36px }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 850; font-size: 21px; letter-spacing: -.045em }
.brand b { font-weight: 550 }
.brand img { border-radius: 11px; width: 39px; height: 39px; box-shadow: 0 0 0 1px #b78a4929 }
.mast nav { display: flex; gap: 27px; margin-left: auto }
.mast nav a { padding-block: 13px; font-weight: 700; font-size: 14px }
.mast nav a:hover, .footer a:hover, .web-play:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 4px }
.store-profile, .contact { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border-radius: 24px; padding: 0 16px; font-weight: 720; font-size: 14px }
.store-profile { background: var(--ink); color: #fff9eb }
.store-profile:hover { background: #224758 }
.store-profile .arrow { width: 14px }
.hero { position: relative; overflow: hidden; background: #57bcc9; border-bottom: 4px solid #dba34b }
.panorama { display: block; width: 100%; height: clamp(310px, 34vw, 555px); object-fit: cover; object-position: 50% 49% }
.library { padding-block: clamp(32px, 3.5vw, 56px) clamp(48px, 5.5vw, 80px) }
.section-heading { display: flex; align-items: center; gap: 23px; margin-bottom: 24px }
.section-heading h2, .about h2, .game h3 { font-family: ui-rounded, "Avenir Next", system-ui, sans-serif; font-weight: 850; letter-spacing: -.055em; line-height: 1.08; margin: 0 }
.section-heading h2 { font-size: clamp(34px, 3.2vw, 47px) }
.section-heading h2 span { color: #c04e37 }
.rule { height: 2px; flex: auto; background: linear-gradient(90deg,#dbb674, #ecdcba 70%, transparent) }
.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(16px, 1.7vw, 25px) }
.game { --accent: #006c67; --tint: #e5f6ef; display: flex; flex-direction: column; border: 1px solid #dcc9a9; border-radius: 20px; overflow: hidden; background: #fffdf7; box-shadow: 0 4px 0 #ecdec5, 0 12px 22px -17px #57351275 }
.pocket { --accent: #8a4820; --tint: #fff0d8 }
.jewel { --accent: #69418a; --tint: #f4eaf9 }
.cover { display: block; background: var(--tint); overflow: hidden }
.cover:focus-visible { outline-offset: -4px }
.cover img { display: block; width: 100%; height: auto; aspect-ratio: 1024/500; object-fit: cover; transition: transform .25s ease }
.cover:hover img { transform: scale(1.025) }
.game-body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1 }
.genre { margin: 0 0 7px; color: var(--accent); font-weight: 750; letter-spacing: .065em; text-transform: uppercase; font-size: 11px }
.game h3 { font-size: clamp(27px, 2.2vw, 34px) }
.desc, .about p { color: var(--muted); line-height: 1.6; font-size: 15px }
.desc { margin: 11px 0 21px }
.card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid #eadfc9 }
.game-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; background: var(--tint); padding: 0 14px; border-radius: 22px; color: var(--accent); font-size: 14px; font-weight: 750 }
.game-link .arrow { width: 15px; transition: transform .2s }
.game-link:hover .arrow { transform: translate(2px,-2px) }
.web-play { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 13px 0 }
.about { background: #e8efe5; border-block: 1px solid #cfdccf }
.about-content { display: flex; align-items: center; gap: 24px; padding-block: 35px }
.about-content img { width: 72px; height: 72px; border-radius: 18px }
.about h2 { font-size: 28px }
.about p { margin: 6px 0 0; max-width: 65ch }
.contact { margin-left: auto; white-space: nowrap; min-height: 44px; border: 1px solid #8da79a; color: #18514c }
.contact:hover { background: #fff9ed }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 74px; color: var(--muted) }
.footer small, .footer nav { font-size: 13px }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 23px }
.footer a { padding-block: 8px }
@media (max-width: 980px) {
  .wrap { width: calc(100% - 40px) }
  .game-body { padding: 18px 15px 16px }
  .about-content { gap: 18px }
  .about p { max-width: 50ch }
}
@media (max-width: 730px) {
  .wrap { width: calc(100% - 32px) }
  .mast { min-height: 58px; gap: 15px }
  .brand { font-size: 18px; gap: 8px }
  .brand img { width: 32px; height: 32px }
  .mast nav { gap: 15px }
  .store-profile { font-size: 12px; min-height: 40px; padding: 0 12px }
  .store-profile .arrow { display: none }
  .panorama { height: auto; aspect-ratio: 16/9 }
  .game-grid { grid-template-columns: 1fr; gap: 22px }
  .game-body { padding: 20px }
  .desc { margin: 10px 0 18px }
  .about-content { display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding-block: 28px }
  .about-content img { width: 54px; height: 54px; border-radius: 13px }
  .about h2 { font-size: 24px }
  .contact { grid-column: 2; justify-self: start; margin: 0 }
  .footer { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 20px; gap: 8px }
  .footer nav { gap: 8px 15px }
}
@media (max-width: 490px) {
  .mast nav { display: none }
  .store-profile { margin-left: auto }
  .section-heading { margin-bottom: 17px }
  .game { border-radius: 17px }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after { transition: none !important }
}
