*{box-sizing:border-box}
:root{color-scheme:dark;font-family:system-ui,sans-serif;background:#101119;color:#f4f2fa}
body{margin:0}
.site-header{border-bottom:1px solid #2d2b40;background:#171823;padding:16px max(18px,calc((100% - 1152px)/2))}
.brand{display:inline-flex;align-items:center;gap:10px;color:inherit;text-decoration:none;font-weight:800}
.brand span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#b49bff;color:#1d1333;font-size:1.4rem}
main{max-width:1200px;margin:auto;padding:clamp(22px,5vw,50px) clamp(15px,4vw,24px)}
.page-title{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:22px}
h1,h2,p{margin:0}
h1{font-size:clamp(1.95rem,6vw,3rem);letter-spacing:-.055em}
p{color:#b9bdd5;line-height:1.55}
.games{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.card{display:flex;flex-direction:column;overflow:hidden;border:1px solid #2d3044;border-radius:15px;background:#191b28}
.art{min-height:150px;display:grid;place-items:center;font-size:3.9rem;font-weight:900;background-size:cover;background-position:center}
.alphabet{background-image:linear-gradient(#342b5b15,#342b5b72),url(games/alphabet-world.webp);background-position:center 62%;color:#f5e6ff;text-shadow:0 3px #59517f}
.dice{background-image:linear-gradient(#123a2f12,#123a2f72),url(games/dice-world.webp);color:#d9ffe5;text-shadow:0 3px #214735}
.arcade{background-image:linear-gradient(#1c0b3e25,#1c0b3e65),url(games/arcade-world.webp);color:#ffe2ad;text-shadow:0 3px #482261}
.content{padding:16px;display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:7px}
.category{font-size:.875rem;color:#c4b1f0}
h2{font-size:1.2rem}
.content p{margin-bottom:8px}
.button{display:inline-block;text-decoration:none;color:#f0e8ff;background:#372957;border:1px solid #7760a6;border-radius:9px;padding:10px 13px;font-weight:750}
.content .button{margin-top:auto}
.button:hover{background:#4a3775}
a:focus-visible{outline:3px solid #c0a8ff;outline-offset:4px}
#ad-placement:not([hidden]){margin:28px auto 0;min-height:90px;max-width:970px}
@media(max-width:720px){.games{grid-template-columns:1fr}.art{min-height:124px}}
.card-labels{display:flex;align-items:center;gap:6px 10px;flex-wrap:wrap}
.age-tag{color:#e6dbff;background:#302747;border:1px solid #564477;border-radius:999px;padding:3px 9px;font-size:.875rem;font-weight:700}
.gallery-heading{font-size:1.65rem;margin:28px 0 12px}.gallery-nav{display:flex;gap:12px;flex-wrap:wrap}.gallery-nav a{color:#e4d4ff;font-weight:750}.content h3{font-size:1.2rem;margin:0}.art.challenge-art img{display:block;width:100%;height:170px;object-fit:cover}
.art.board-art img{display:block;width:100%;height:170px;object-fit:cover}
.art.adventure-art img{display:block;width:100%;height:170px;object-fit:cover}

.seo-page{max-width:850px}.seo-page h2{margin-top:22px}.seo-page p{margin:8px 0 16px}.seo-page a,.content>a:not(.button){color:#e4d4ff}.seo-page .button{color:#fff}.seo-cover{width:100%;height:clamp(140px,32vw,245px);object-fit:cover;border-radius:14px}.seo-games{padding-left:22px}.seo-page nav{margin-top:24px}

/* Keep artwork links styled like the original card images. */
a.art{color:inherit;text-decoration:none}
a.art:focus-visible{outline:3px solid #e4d4ff;outline-offset:-4px}
