.play-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); align-items: center; gap: 2rem; min-height: 650px; padding: clamp(3rem, 7vw, 6rem) max(1.25rem, calc((100vw - 1180px) / 2)); background: radial-gradient(circle at 78% 20%, #fff3b4 0 13%, transparent 32%), linear-gradient(130deg, #c9f9e0, #f2ffea 58%, #fff0d7); overflow: hidden; }
.play-hero-copy { max-width: 650px; position: relative; z-index: 1; }
.play-hero h1 { color: var(--green-dark); font-size: clamp(3rem, 6vw, 5.6rem); }
.play-hero-copy > p:not(.eyebrow):not(.play-note) { max-width: 540px; color: #3a6256; font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
.play-hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1rem; }
.play-note { color: var(--muted); font-size: .88rem; }
.play-hero-art { position: relative; display: grid; place-items: center; width: min(100%, 510px); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; background: radial-gradient(circle, #b5f4d0 0 54%, var(--green-bright) 55% 62%, transparent 63%); }
.play-hero-art img { width: 93%; height: 93%; object-fit: contain; filter: drop-shadow(0 18px 14px rgba(16, 92, 71, .16)); }
.art-spark { position: absolute; color: #ffb832; font-size: 3rem; }.art-spark-one { top: 4%; right: 7%; }.art-spark-two { bottom: 13%; left: 4%; font-size: 2rem; }
.play-section { max-width: 1080px; margin: auto; padding: clamp(4rem, 7vw, 7rem) 1.25rem; }
.play-section-heading { text-align: center; margin-bottom: 2rem; }.play-section-heading h2 { margin-bottom: .65rem; }.play-section-heading > p:last-child { color: var(--muted); }
.game-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: .65rem; margin-bottom: 1rem; }
.game-tab { border: 2px solid #d5e9dc; border-radius: 999px; padding: .75rem 1.15rem; background: white; color: var(--ink); font: inherit; font-weight: 900; cursor: pointer; }.game-tab[aria-selected="true"] { border-color: var(--green); background: var(--green); color: white; }.game-tab:focus-visible, .answer-button:focus-visible, .memory-card:focus-visible, .next-button:focus-visible { outline: 4px solid #55b8ff; outline-offset: 3px; }
.game-shell { padding: clamp(1rem, 3vw, 2.5rem); border: 1px solid #d5e9dc; border-radius: 30px; background: #e9fff2; box-shadow: var(--shadow); }.game-panel[hidden] { display: none; }
.game-intro { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; }.game-intro h3 { font-size: clamp(1.5rem, 3vw, 2rem); }.game-intro p { margin-bottom: .3rem; }.game-intro p:not(.game-kicker) { color: var(--muted); }.game-kicker { color: var(--green); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 950; }.game-progress { flex: none; padding: .4rem .75rem; border-radius: 999px; background: white; color: var(--green-dark); font-size: .88rem; font-weight: 900; }
.question-card { min-height: 280px; padding: clamp(1.2rem, 4vw, 2rem); border-radius: 22px; background: white; text-align: center; }.question-label { margin-bottom: .5rem; color: var(--muted); font-weight: 800; }.math-question { margin-bottom: 1rem; color: var(--green-dark); font-size: clamp(2.8rem, 7vw, 4.5rem); font-weight: 950; line-height: 1.2; }.word-question { margin-bottom: 1.2rem; font-size: clamp(2rem, 6vw, 3rem); font-weight: 900; }.word-question span { display: block; font-size: 3rem; line-height: 1.3; }.answer-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }.answer-button { min-width: 74px; min-height: 64px; border: 2px solid #cce7d8; border-radius: 18px; background: #f4fbf6; color: var(--green-dark); font: inherit; font-size: 1.65rem; font-weight: 950; cursor: pointer; }.answer-button:hover:not(:disabled) { background: #dff7e9; }.answer-button:disabled { cursor: default; }.answer-button.correct { background: #b9efcf; border-color: #34ac70; }.answer-button.incorrect { background: #ffe0d2; border-color: #ed906d; }.game-feedback { min-height: 1.6em; margin: 1rem 0 0; font-weight: 850; color: var(--green-dark); }.next-button { display: block; margin: 1.3rem auto 0; padding: .8rem 1.4rem; border: 0; border-radius: 15px; background: var(--green); color: white; font: inherit; font-weight: 900; cursor: pointer; }.next-button[hidden] { display: none; }
.memory-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; max-width: 520px; margin: 1.5rem auto; }.memory-card { display: grid; place-items: center; aspect-ratio: 1; border: 2px solid #8dd8b9; border-radius: 18px; background: var(--green); color: var(--yellow); font: inherit; font-size: clamp(1.5rem, 5vw, 2.5rem); font-weight: 900; cursor: pointer; }.memory-card.revealed, .memory-card.matched { background: white; color: var(--ink); }.memory-card.matched { border-color: #38ac70; background: #def8e9; cursor: default; }#memory-feedback { text-align: center; }
.more-games { max-width: 650px; margin: 2rem auto 0; text-align: center; color: var(--muted); }.more-games a { color: var(--green); font-weight: 900; }
.play-download { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(4rem, 7vw, 6rem) max(1.25rem, calc((100vw - 1180px) / 2)); color: white; background: radial-gradient(circle at 88% 15%, rgba(49, 215, 149, .26), transparent 34%), linear-gradient(135deg, var(--green), var(--green-dark)); }.play-download > div:first-child { max-width: 600px; }.play-download .eyebrow { color: var(--yellow); }.play-download h2 { max-width: 570px; }.play-download p:last-child { color: #d6f5e8; }.play-download-links { display: grid; gap: .8rem; flex: none; }
@media (max-width: 800px) { .play-hero { grid-template-columns: 1fr; min-height: 0; }.play-hero-art { max-width: 340px; }.play-download { flex-direction: column; align-items: stretch; }.play-download-links { display: flex; flex-wrap: wrap; } }
@media (max-width: 600px) { .play-hero { padding-top: 3rem; }.play-hero-art { max-width: 260px; }.play-hero-actions { display: grid; }.game-tabs { display: grid; grid-template-columns: 1fr; }.game-tab { text-align: left; }.game-intro { display: block; }.game-progress { display: inline-block; margin-top: .6rem; }.memory-grid { gap: .5rem; }.play-download-links { display: grid; }.play-download-links .store-button { width: 100%; } }
