.playground-activities { margin-bottom: 64px; color: #fff; }
.playground-activities-heading { margin-bottom: 28px; }
.playground-eyebrow { margin-bottom: 10px; font-size: 12px; letter-spacing: 2px; line-height: 20px; text-transform: uppercase; color: #e8e1ff; }
.playground-activities-heading :is(h1, h2) { font-size: 40px; font-weight: 500; line-height: 1.12; }
.playground-activities-intro { max-width: 660px; margin-top: 12px; font-family: 'Futura PT Book', sans-serif; font-size: 21px; line-height: 28px; color: #ffffffd9; }
.playground-activity-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.playground-activity-list > li { min-width: 0; }
.playground-card { display: flex; height: 100%; flex-direction: column; overflow: hidden; border: 1px solid #ffffff80; border-radius: 24px; background: #faf9ff; color: #2b353f; box-shadow: 0 12px 32px #25174720; transition: transform .2s ease, box-shadow .2s ease; }
.playground-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px #25174738; }
.playground-card:focus-visible { outline: 3px solid #ffb888; outline-offset: 6px; }
.playground-card-art { position: relative; isolation: isolate; display: flex; height: 260px; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid #ded7eb; }
.playground-card-art-game { background-color: #eee7f6; background-image: linear-gradient(#e3d9ed 1px, transparent 1px), linear-gradient(90deg, #e3d9ed 1px, transparent 1px); background-size: 32px 32px; }
.playground-card-art-code { background: #e8e5f8; }
.playground-card-art-meowchine { background: #f1e5d8; }
.playground-mini-machine { width: 228px; padding: 18px; margin-left: -65px; margin-top: 26px; border: 2px solid #c9b4d3; border-radius: 18px; background: #fff9ed; box-shadow: 0 8px 0 #c7aecd; transform: rotate(-5deg); text-align: center; }
.playground-mini-machine > span { font-size: 11px; line-height: 16px; letter-spacing: 1px; color: #88669e; }
.playground-mini-machine > div { display: flex; gap: 8px; margin: 12px 0; }
.playground-mini-machine i { flex: 1; padding: 10px 0; border: 1px solid #ded0e6; border-radius: 8px; background: #f7f0fb; font-style: normal; font-size: 29px; color: #9875b1; }
.playground-mini-machine b { display: block; border-radius: 7px; background: #ff8c40; color: #663616; font-size: 22px; line-height: 28px; font-weight: 500; }
.playground-founder-cat { position: absolute; right: calc(50% - 172px); bottom: 29px; width: 106px; height: auto; transform: rotate(7deg); filter: drop-shadow(0 9px 5px #886e5e20); }
.playground-founder-label { position: absolute; right: calc(50% - 174px); bottom: 22px; padding: 6px 14px; border: 1px solid #dbc1a2; border-radius: 8px; background: #fff7e8; font-size: 16px; color: #805b42; transform: rotate(5deg); }
.playground-founder-label > span { color: #c95000; }
.playground-card-art-lgtm { background: #080f19; }
.playground-lgtm-preview { display: block; width: 100%; height: 100%; object-fit: contain; }
.playground-art-label { position: absolute; top: 20px; left: 24px; z-index: 1; font-size: 11px; line-height: 16px; letter-spacing: 1.8px; color: #736091; }
.playground-art-orbit { position: absolute; z-index: -1; width: 226px; height: 226px; border-radius: 50%; background: #ffffff70; }
.playground-game-cat { position: relative; width: 158px; height: auto; margin-top: 20px; filter: drop-shadow(0 12px 5px #75608120); transform: rotate(-7deg); }
.playground-art-bug { position: absolute; width: 52px; height: 52px; }
.playground-art-bug-one { top: 64px; left: 19%; transform: rotate(-22deg); }
.playground-art-bug-two { right: 18%; bottom: 37px; width: 46px; height: 46px; transform: rotate(24deg); }
.playground-art-coffee { position: absolute; top: 52px; right: 15%; width: 58px; height: 66px; transform: rotate(9deg); }
.playground-art-score { position: absolute; bottom: 39px; left: 19%; font-size: 24px; line-height: 28px; color: #736091; transform: rotate(-8deg); }
.playground-art-score span { color: #f48134; }
.playground-code-cat { width: 280px; height: 245px; margin-top: 22px; object-fit: contain; }
.playground-art-code-tag { position: absolute; top: 58px; left: 15%; font-family: monospace; font-size: 29px; line-height: 40px; color: #8776b9; transform: rotate(-10deg); }
.playground-art-result { position: absolute; right: 24px; bottom: 22px; display: flex; align-items: center; gap: 8px; border: 1px solid #d5e6d5; border-radius: 10px; padding: 8px 12px; background: #f3fbef; font-size: 14px; line-height: 20px; color: #44654a; box-shadow: 0 4px 12px #5243670d; }
.playground-art-result > span { display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; border-radius: 50%; background: #d9ecd6; }
.playground-card-body { display: flex; flex: 1; flex-direction: column; padding: 28px 30px; }
.playground-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 16px; font-size: 14px; line-height: 20px; color: #777383; }
.playground-card-category { border-radius: 6px; padding: 4px 9px; background: #eeebf8; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: #6a569b; }
.playground-card h3 { margin-bottom: 12px; font-size: 30px; font-weight: 500; line-height: 34px; }
.playground-card-body > p { margin-bottom: 24px; font-family: 'Futura PT Book', sans-serif; font-size: 19px; line-height: 26px; color: #6a6476; }
.playground-card-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; border-top: 1px solid #e6e1ee; padding-top: 20px; font-size: 17px; line-height: 24px; color: #c95000; }
.playground-card-arrow { display: inline-flex; width: 38px; height: 38px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; background: #ff660010; font-size: 23px; transition: background-color .2s ease; }
.playground-card:hover .playground-card-arrow { background: #ff660022; }
#code-demo { scroll-margin-top: 32px; }
@media (max-width: 767px) {
  .playground-activity-list { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .playground-activities { margin-bottom: 48px; }
  .playground-activities-heading :is(h1, h2) { font-size: 32px; line-height: 36px; }
  .playground-activities-intro { font-size: 19px; line-height: 26px; }
  .playground-card { border-radius: 20px; }
  .playground-card-art { height: 230px; }
  .playground-card-body { padding: 24px; }
  .playground-card h3 { font-size: 27px; line-height: 31px; }
  .playground-game-cat { width: 140px; }
  .playground-code-cat { width: 250px; height: 218px; }
  .playground-art-bug-one { left: 12%; }
  .playground-art-bug-two { right: 12%; }
  .playground-art-coffee { right: 9%; }
  .playground-art-score { left: 12%; }
  .playground-art-code-tag { left: 9%; font-size: 24px; }
  .playground-art-result { right: 16px; bottom: 16px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .playground-card, .playground-card-arrow { transition: none; }
  .playground-card:hover { transform: none; }
}

.playground-card-art-hangman { background: #eee7f6; }
.playground-card-art-hangman > svg { margin-top: 28px; max-width: 100%; }
.playground-hangman-levels { position: absolute; right: 24px; bottom: 20px; color: #8c72b0; font-size: 12px; letter-spacing: 1px; }
