:root{font:16px system-ui,sans-serif;color:#fff2db;background:#142c46}*{box-sizing:border-box}body{margin:0;min-height:100svh;background:linear-gradient(155deg,#152b49fb,#27455c7d),url('/assets/flight/08-vasilievsky-spit.webp') center/cover;background-blend-mode:normal,normal}
main{width:min(100%,1110px);margin:auto;padding:max(27px,calc(env(safe-area-inset-top) + 12px)) clamp(15px,4vw,58px) max(30px,env(safe-area-inset-bottom));}
header{padding:12px 5px 28px}.brand{font-size:.8rem;font-weight:800;letter-spacing:.17em;color:#ebd4a9}.brand span{color:#f3b83a}h1,h2{font-family:Georgia,serif;font-weight:500;letter-spacing:-.05em}h1{font-size:clamp(58px,12vw,126px);line-height:.82;margin:.23em 0 .18em}header .lead{color:#f2dfba;font-size:clamp(1rem,3.2vw,1.21rem);margin:0;max-width:25em}
.games{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.card{display:flex;flex-direction:column;text-decoration:none;color:#18354c;background:#fff3dc;border-radius:19px;overflow:hidden;box-shadow:0 13px 35px #071a3075}
.card:focus-visible{outline:3px solid #f5bb53;outline-offset:3px}.card:hover .scene img{transform:translateY(-4px)}
.scene{height:163px;position:relative;overflow:hidden;display:grid;place-items:end center;isolation:isolate;background-size:cover;background-position:center 50%;box-shadow:inset 0 -28px 33px #25354e42}
.scene img{position:absolute;bottom:0;object-fit:contain;max-height:80%;max-width:62%;filter:drop-shadow(0 4px 6px #1b283b64);transition:transform .2s}
.match .scene{background:#d9c7ac}.match .scene img:nth-child(1){right:52%;max-height:71%}.match .scene img:nth-child(2){z-index:1}.match .scene img:nth-child(3){left:52%;max-height:71%}
.bike .scene{background-image:url('/assets/flight/10-peter-paul.webp')}.bike .scene img{max-height:74%;bottom:26px;left:39%;z-index:2}.bike .scene svg{width:110px;position:absolute;bottom:7px;left:30%;color:#21415b;filter:drop-shadow(0 1px 1px #fff4d4)}
.flight .scene{background-image:url('/assets/flight/01-winter-palace.webp')}.flight .scene img{max-height:64%;bottom:35px;left:16%;rotate:-9deg}
.caption{padding:16px;display:flex;flex-direction:column;flex:1}.caption small{font-size:.66rem;color:#607686;letter-spacing:.1em;font-weight:850}.caption h2{font-size:clamp(1.5rem,4vw,2.06rem);margin:.21em 0 .12em;line-height:1}.caption p{font-size:.89rem;line-height:1.4;color:#34596c;margin:.45em 0 1.05em}.caption span{display:inline-flex;align-items:center;align-self:flex-start;margin-top:auto;min-height:43px;border-radius:25px;background:#213e54;color:#fff5df;font-weight:780;padding:8px 15px}
@media(max-width:740px){.games{grid-template-columns:1fr}.card{display:grid;grid-template-columns:minmax(110px,39%) 1fr}.scene{height:100%;min-height:140px}.caption{padding:12px}.caption p{margin-bottom:.6em}.scene img{max-width:72%}.match .scene img:nth-child(1){right:50%}.match .scene img:nth-child(3){left:50%}.bike .scene img{left:31%;bottom:22px;max-height:70%}.bike .scene svg{left:14%;width:84%}}
@media(prefers-reduced-motion:reduce){.scene img{transition:none!important}}
.card.bike .scene{background:linear-gradient(90deg,#25354a44,#25354a00),url('/arcade/bike/paint/palace.webp') center 59%/cover}
.card.bike .scene img{object-fit:contain;width:min(54%,230px);height:90%;position:relative;z-index:1;align-self:flex-end;transform:translateY(4%)}
.card.solitaire .scene{background:#183d51;display:flex;align-items:center;justify-content:center}
.cover-card{height:77%;aspect-ratio:.72;display:grid;place-items:center;background:#f4efe2;border:1px solid #c3a881;border-radius:9px;font:700 46px Georgia;color:#1d3040;box-shadow:0 12px 24px #081b2d9e;transform:rotate(-14deg)}
.cover-card:nth-child(2){z-index:1;transform:rotate(-1deg);margin:0 -10px;background:#dce7e9}
.cover-card:nth-child(2) img{width:85%;height:85%;object-fit:contain;transform:none}
.cover-card:nth-child(3){transform:rotate(13deg);color:#a84d50}
.card.blocks .scene{background:#9aa5c5 url('/assets/flight/16-singer.webp') center 60%/cover;display:flex;align-items:flex-end;justify-content:center;padding:0 5%}
.card.blocks .scene img{width:31%;height:76%;object-fit:contain;object-position:center bottom;transform:none;filter:drop-shadow(2px 9px 12px #263244b0)}
.card.blocks .scene img:nth-child(2){height:93%;width:28%}
.card.reef .scene{position:relative;display:flex;align-items:center;justify-content:center;gap:4%;background:#174363 url('/arcade/aquarium/art/aquarium.webp') center 65%/cover}
.card.reef .scene img{width:25%;height:80%;object-fit:contain;transform:none;filter:drop-shadow(1px 5px 8px #17314cd0)}
.card.reef .scene img:nth-child(2){transform:translateY(-13%)}
.card.reef .scene img:nth-child(3){transform:translateY(11%) scaleX(-1)}
.card.dive .scene img{width:38%;height:90%;transform:translateY(4px)}
.air-bubble{position:absolute;left:68%;bottom:25%;width:33px;aspect-ratio:1;border:2px solid #ffe5aa;border-radius:50%;background:radial-gradient(circle at 30% 23%,#fff7ce 0 11%,#d7bb5742 12% 72%,#192c5b21 74%);box-shadow:0 0 9px #ead58b80}
.air-bubble:last-child{width:17px;left:77%;bottom:53%}
.card.bike .scene img{position:absolute;inset:auto clamp(9px,5%,26px) 7px auto;width:46%;height:auto;max-width:46%;max-height:82%;object-position:right bottom;transform:none}
.card.bike:hover .scene img{transform:translate(-2px,-2px)}

.card.reef .scene img{position:relative;inset:auto}
.card.maze .scene{background:linear-gradient(#132f4655,#132f4655),url('/assets/flight/07-palace-bridge.webp') center 59%/cover;display:flex;justify-content:space-around;align-items:center;padding:8%}
.card.maze .scene img{position:relative;inset:auto;width:41%;max-height:84%}
.card.maze .scene img:last-child{width:28%;transform:rotate(-9deg);align-self:flex-start}

.passport-entry{display:inline-flex;align-items:center;min-height:44px;margin-top:.85rem;padding:.6rem .9rem;background:#fff2d7;color:#163752;text-decoration:none;border-radius:.8rem;font-weight:750}.passport-entry:hover{text-decoration:underline}.passport-entry:focus-visible{outline:3px solid #e4bc79;outline-offset:3px}
