.app-shell { width: min(1160px, 100%); margin: 0 auto; padding: 0 28px; }
.topbar { min-height: 78px; display: flex; align-items: center; gap: 36px; border-bottom: 1px solid #eceef4; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.brand strong { color: var(--purple); }
.brand-mark { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 12px; background: var(--purple); color: white; box-shadow: 0 5px 12px #7657e838; font-size: 17px; font-weight: 800; }
.small-mark { display: inline-grid; width: 20px; height: 20px; border-radius: 7px; font-size: 11px; vertical-align: middle; }
.top-nav { display: flex; align-items: center; gap: 25px; margin: 0 auto; }
.nav-link { padding: 29px 0 25px; border-bottom: 3px solid transparent; color: #777c8e; font-size: 11px; font-weight: 600; transition: color .2s,border-color .2s; }
.nav-link:hover,.nav-link.active { border-color: var(--purple); color: var(--purple); }
.top-cta { padding: 11px 15px; border-radius: 9px; background: var(--purple); color: white; box-shadow: 0 5px 12px #7657e832; font-size: 10px; font-weight: 700; white-space: nowrap; }
.top-cta span { margin-left: 7px; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); font-size: 21px; }
main { min-height: calc(100vh - 145px); }
.view { animation: view-in .22s ease-out; }
@keyframes view-in { from { opacity: .55; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.hero-view { min-height: 420px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 25px; margin-top: 30px; padding: 30px 55px; overflow: hidden; border-radius: 22px; background: linear-gradient(120deg,#f1eeff,#f7f4ff 54%,#edf8f5); }
.hero-copy { max-width: 510px; }
.hero-copy h1 { margin: 12px 0 13px; font-size: clamp(36px,5vw,56px); line-height: 1.15; letter-spacing: -2px; }
.hero-copy h1 span { color: var(--purple); }
.hero-copy > p { max-width: 440px; color: #777c8e; font-size: 13px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: #85899a; font-size: 10px; }
.avatar-stack { display: flex; padding-left: 4px; }
.avatar-stack i { display: grid; place-items: center; width: 25px; height: 25px; margin-left: -4px; border: 2px solid white; border-radius: 50%; background: #e2dcff; color: #6248c9; font-size: 7px; font-style: normal; font-weight: 800; }
.avatar-stack i:nth-child(2) { background: #d9f4eb; color: #348565; }.avatar-stack i:nth-child(3) { background: #ffedcf; color: #ad7a2c; }
.hero-art { position: relative; min-height: 330px; display: grid; place-items: center; }
.hero-wheel { position: relative; width: 235px; height: 235px; display: grid; place-items: center; border: 9px solid #fff; border-radius: 50%; background: conic-gradient(#8c6af2 0 25%,#ffbf69 25% 50%,#54c6a1 50% 75%,#f27c95 75%); box-shadow: 0 18px 40px #6351bb30; transform: rotate(-8deg); }
.hero-wheel-center { position: relative; z-index: 1; display: grid; place-items: center; width: 62px; height: 62px; border: 5px solid white; border-radius: 50%; background: #302a50; color: white; font-weight: 800; }
.wheel-slice-label { position: absolute; color: #fff; font-size: 10px; font-weight: 800; }.label-one { top: 37px; }.label-two { right: 32px; }.label-three { bottom: 37px; }.label-four { left: 27px; }
.hero-orbit { position: absolute; width: 285px; height: 285px; border: 1px dashed #9985ec70; border-radius: 50%; }.orbit-two { width: 335px; height: 335px; border-color: #60bb9a62; }
.hero-spark { position: absolute; color: #f0ac4d; font-size: 27px; }.spark-one { top: 24px; left: 15%; }.spark-two { right: 12%; bottom: 38px; color: #49b895; }
.art-caption { position: absolute; right: 5%; bottom: 1px; padding: 9px 13px; border: 1px solid #fff; border-radius: 8px; background: #ffffffd9; color: #787d90; font-size: 9px; }
.games-section,.content-view,.game-view { padding: 44px 0 58px; }
.section-heading,.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.section-heading h2,.page-heading h1 { margin: 6px 0; font-size: 27px; letter-spacing: -.8px; }
.section-intro,.page-heading p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.game-count,.student-count { padding: 8px 10px; border-radius: 8px; background: #f1eeff; color: var(--purple); font-size: 9px; font-weight: 700; white-space: nowrap; }
.count-dot,.eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #55c294; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 18px; }
.game-view { padding-top: 28px; }
.back-link { display: inline-flex; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 600; }
.back-link:hover { color: var(--purple); }
.page-heading { margin: 20px 0 23px; }
.page-heading h1 { margin: 8px 0 3px; font-size: 29px; }
.page-heading > div { min-width: 0; }
.content-view { min-height: 550px; }
.class-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 18px; align-items: start; }
.site-footer { padding: 25px 0 20px; border-top: 1px solid #eceef4; text-align: center; color: #999dad; font-size: 10px; }

@media (max-width: 850px) {
  .app-shell { padding: 0 20px; }.topbar { gap: 20px; }.top-nav { gap: 15px; }.hero-view { padding: 28px 32px; }
}
@media (max-width: 650px) {
  .app-shell { padding: 0 15px; }.topbar { min-height: 64px; gap: 12px; }.brand { margin-right: auto; font-size: 13px; }.brand-mark { width: 33px; height: 33px; }.menu-toggle { display: block; order: 2; }.top-cta { order: 3; padding: 9px 10px; font-size: 9px; }.top-nav { position: absolute; z-index: 5; top: 62px; left: 15px; right: 15px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 7px 13px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 12px 30px #2529431a; }.top-nav.open { display: flex; }.nav-link { padding: 12px 5px; border-bottom: 1px solid #f1f1f5; }.nav-link:last-child { border-bottom: 0; }
  .hero-view { grid-template-columns: 1fr; gap: 0; min-height: 0; margin-top: 17px; padding: 30px 22px 10px; }.hero-copy h1 { font-size: 39px; }.hero-copy > p { font-size: 11px; }.hero-art { min-height: 285px; }.hero-wheel { width: 195px; height: 195px; }.hero-orbit { width: 235px; height: 235px; }.orbit-two { width: 270px; height: 270px; }.label-one { top: 29px; }.label-three { bottom: 29px; }
  .games-section,.content-view,.game-view { padding: 32px 0 42px; }.section-heading,.page-heading { align-items: flex-start; }.section-heading h2,.page-heading h1 { font-size: 23px; }.section-intro,.page-heading p { font-size: 10px; }.game-grid { grid-template-columns: 1fr; gap: 12px; }.game-card { display: grid; grid-template-columns: 36% 1fr; min-height: 145px; }.card-art { height: 100%; min-height: 145px; }.card-body { justify-content: center; padding: 12px; }.card-description { min-height: auto; font-size: 9px; }.card-action { margin-top: 8px; }
  .class-layout { grid-template-columns: 1fr; }.page-heading { gap: 8px; }.site-footer { font-size: 9px; }
}
