* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
    margin: 0;
    color: #192138;
    background: #f9f9f3;
    font: 15px/1.4 "Helvetica Neue", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #4d44c7; outline-offset: 3px; }
.shell { width: min(100%, 1000px); margin: 0 auto; padding-inline: clamp(16px, 4vw, 32px); }
.site-header { border-bottom: 1px solid #dedfd8; }
.site-header .shell { min-height: 61px; display: flex; align-items: center; }
.brand { display: flex; align-items: center; gap: 7px; font-size: 17px; font-weight: 850; letter-spacing: -.7px; }
.brand-mark {
    position: relative;
    width: 25px;
    height: 25px;
    flex: none;
    border-radius: 23%;
    background: #f6d478;
    color: #35244d;
}
.brand-mark::before, .brand-mark::after {
    position: absolute;
    content: "";
}
.brand-mark::before {
    inset: 22%;
    border: 2px solid currentColor;
    border-radius: 24%;
    transform: rotate(-8deg);
}
.brand-mark::after {
    top: 16%;
    right: 16%;
    width: 25%;
    height: 25%;
    border-radius: 28%;
    background: currentColor;
}

main { padding-block: 22px 32px; }
h1 { font-size: clamp(30px, 5vw, 54px); letter-spacing: -.045em; line-height: 1.05; margin: 0 0 14px; font-weight: 850; }
.feature {
    position: relative;
    border-radius: 17px;
    color: #faf8f1;
    background: radial-gradient(ellipse at 65% 32%, #514494 0, transparent 66%), #201c43;
}
.feature :focus-visible { outline-color: #fff1a9; }
.goo-feature {
    margin-bottom: 16px;
    background: radial-gradient(ellipse at 65% 34%, #356b71 0, transparent 69%), #142d43;
}
.goo-feature .game-copy h2 { font-size: clamp(28px, 8.2vw, 58px); }
.goo-feature .game-copy p { color: #e1f4ef; }
.slide { display: grid; padding: 18px 20px; }
.feature { touch-action: pan-y pinch-zoom; overflow: clip; }
.carousel-controls {
    display: flex;
    width: max-content;
    max-width: 100%;
    min-height: 44px;
    padding-inline: 8px;
    margin: -6px auto 0;
    align-items: center;
    justify-content: center;
}
.carousel-dots { display: flex; }
.carousel-dots button, .carousel-toggle {
    display: grid;
    place-items: center;
    width: 26px;
    min-height: 44px;
    padding: 0;
    background: none;
    color: #faf8f1;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}
.carousel-dots button::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #a99bc8; }
.carousel-dots button[aria-current="true"]::after { width: 12px; height: 8px; border-radius: 5px; background: #f2dc73; }
.carousel-toggle { width: 44px; margin-left: 2px; font: 13px/1 Arial, sans-serif; }
.carousel-toggle::before { content: ""; width: 8px; height: 10px; border-inline: 2px solid; }
.carousel-toggle[aria-pressed="true"]::before {
    height: 0;
    width: 0;
    border: 5px solid transparent;
    border-left: 8px solid currentColor;
    border-right: 0;
}

.game-art { display: grid; place-items: center; height: 196px; padding: 6px 0 12px; }
.game-art img {
    width: 162px;
    height: 162px;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    border-radius: 12px;
    box-shadow: 0 14px 32px #100c2c90;
}
.game-copy h2 { margin: 0; line-height: 1; font-weight: 900; font-size: clamp(38px, 10vw, 62px); letter-spacing: -.052em; }
.game-copy p { margin: 9px 0 14px; color: #e2dcf1; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 4px 13px; align-items: center; }
.play, .all-games { display: inline-flex; min-height: 44px; align-items: center; }
.play { gap: 5px; padding: 10px 13px; border-radius: 7px; background: #f2dc73; color: #211b27; font-weight: 850; }
.play:hover { background: #ffe994; }
.all-games { color: #f3f0fb; font-weight: 650; font-size: 13px; }
.all-games:hover, .option:hover h2 { text-decoration: underline; text-underline-offset: 3px; }

.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.option { display: block; overflow: hidden; border: 1px solid #d8d9d0; background: #fff; border-radius: 12px; }
.option-head { display: grid; place-items: center; min-height: 89px; padding: 8px; }
.doctor { background: #ddedff; }
.computer { background: #dcecdc; }
.bubble, .terminal { font-size: 11px; font-weight: 730; line-height: 1.2; padding: 10px; box-shadow: 3px 4px #1f294520; }
.bubble { border-radius: 9px; background: #fff; color: #234181; transform: rotate(-5deg); }
.terminal { border-radius: 5px; background: #172a27; color: #bdecb1; font-family: monospace; transform: rotate(5deg); }
.option-copy { padding: 10px; }
.option h2 { margin: 0; font-size: 14px; letter-spacing: -.2px; }
.option p { margin: 3px 0 0; color: #484f61; font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 400px) and (max-height: 690px) {
    .game-art { height: 171px; }
    .game-art img { width: 145px; height: 145px; }
    .option-head { min-height: 74px; }
}
@media (max-width: 345px) {
    .slide { padding-inline: 14px; }
    .option-copy { padding-inline: 7px; }
    .actions { column-gap: 9px; }
}
@media (min-width: 700px) {
    main { padding-top: 36px; }
    .slide { min-height: 380px; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; padding: 28px 42px; }
    .game-art { grid-area: 1 / 2; height: auto; padding: 16px 0; }
    .game-art img { width: clamp(188px, 24vw, 246px); height: auto; aspect-ratio: 1; }
    .game-copy { grid-area: 1 / 1; }
    .game-copy p { margin-block: 14px 20px; font-size: 16px; }
    .options { gap: 14px; margin-top: 15px; }
    .option { display: grid; grid-template-columns: minmax(145px, 1fr) minmax(0, 1.25fr); align-items: stretch; }
    .option-head { min-height: 120px; }
    .option-copy { align-self: center; padding: 15px; }
    .option h2 { font-size: 18px; }
    .option p { font-size: 14px; }
}
