/* v3.6.0 — small, focused public school demo enhancements. */
.pfc-school-entry{background:linear-gradient(110deg,#0c1843,#121e57 70%,#16245d);color:#fff;padding:30px 0;border-top:1px solid rgba(205,223,255,.15);border-bottom:1px solid rgba(255,225,160,.2)}
.pfc-school-entry-inner{display:flex;align-items:center;justify-content:space-between;gap:26px}
.pfc-school-entry h2{margin:5px 0 8px!important;color:#fff!important;font-size:clamp(25px,2.5vw,34px);line-height:1.12}
.pfc-school-entry p{color:#dbe6ff;font-size:15px;line-height:1.5;max-width:750px;margin:0}
.pfc-school-entry-eyebrow{color:#ffe09b;font-weight:850;letter-spacing:.11em;font-size:10px}
.pfc-school-entry-link,.pfc-demo-primary{display:inline-flex;align-items:center;justify-content:center;gap:11px;padding:15px 22px;border-radius:12px;background:linear-gradient(120deg,#ffe18b,#ffc45d);color:#0c1739!important;text-decoration:none!important;font-weight:900;white-space:nowrap;box-shadow:0 10px 28px rgba(0,0,0,.16);transition:filter .16s ease,transform .16s ease}
.pfc-school-entry-link:hover,.pfc-school-entry-link:focus-visible,.pfc-demo-primary:hover,.pfc-demo-primary:focus-visible{filter:brightness(1.075);transform:translateY(-2px)}
.pfc-demo-page{background:#0a1438;color:#f8f9ff}
.pfc-demo-page section{scroll-margin-top:95px}
.pfc-demo-intro{padding:92px 0 65px;background:radial-gradient(ellipse at 90% 25%,rgba(85,91,180,.42),transparent 56%),linear-gradient(130deg,#080f2d,#101a4a)}
.pfc-demo-intro-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,.7fr);gap:7vw;align-items:center}
.pfc-demo-eyebrow{font-size:11px;letter-spacing:.1em;color:#ffdd92;font-weight:850}
.pfc-demo-intro h1{color:#fff;font-weight:900;line-height:1.1;letter-spacing:-.04em;font-size:clamp(37px,4.2vw,65px);margin:18px 0}
.pfc-demo-intro p{color:#e6e8ff;font-size:clamp(15px,1.25vw,19px);line-height:1.65;max-width:710px;margin:0 0 24px}
.pfc-demo-glance{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:250px;border-radius:28px;border:1px solid rgba(255,231,172,.25);background:radial-gradient(ellipse at center,rgba(80,99,196,.3),rgba(20,30,73,.85)),#111b48;box-shadow:0 18px 55px rgba(0,0,0,.2);gap:15px;text-align:center;padding:20px}
.pfc-demo-glance>span{font-size:78px;color:#ffdd7b;text-shadow:0 0 28px rgba(255,216,133,.65)}
.pfc-demo-glance strong{color:#fff;font-size:clamp(19px,1.9vw,28px)}
.pfc-demo-glance small{font-size:10px;letter-spacing:.09em;color:#f5df9f}
.pfc-demo-overview{padding:56px 0;background:#111c46}
.pfc-demo-overview h2,.pfc-demo-games-heading h2,.pfc-demo-next h2,.pfc-demo-outro h2{color:#fff!important;font-size:clamp(27px,2.5vw,40px);line-height:1.15;margin:0 0 24px}
.pfc-demo-steps,.pfc-demo-fact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.pfc-demo-steps article{padding:24px;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:rgba(255,255,255,.055)}
.pfc-demo-steps h3,.pfc-demo-facts h3{color:#fff!important;font-weight:850;font-size:18px;margin:0 0 12px}
.pfc-demo-steps p,.pfc-demo-facts p{color:#dbe1f5;margin:0;font-size:15px;line-height:1.56}
.pfc-demo-arcade{padding:70px 0 75px;background:#0b153a}
.pfc-demo-games-heading{margin-bottom:24px}
.pfc-demo-games-heading p{color:#c9d6f5;font-size:16px;line-height:1.5}
.pfc-demo-arcade .pfc-arcade-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.pfc-demo-next{padding:53px 0;background:#15184d}
.pfc-demo-next-grid{display:flex;justify-content:space-between;align-items:center;gap:30px}
.pfc-demo-next p,.pfc-demo-outro p{max-width:700px;line-height:1.6;color:#d9e1f3;font-size:15px}
.pfc-demo-next-actions{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.pfc-demo-secondary{color:#fff!important;text-decoration:underline;text-underline-offset:4px;font-weight:750}
.pfc-demo-facts{padding:70px 0;background:#0c1535}
.pfc-demo-fact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.pfc-demo-facts article{background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.14);border-radius:20px;padding:28px}
.pfc-demo-facts article>span{font-size:28px;color:#ffdd8c}
.pfc-demo-outro{padding:68px 0 90px;background:linear-gradient(120deg,#141c51,#252060)}
.pfc-demo-outro-inner{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.pfc-demo-outro-inner h2{margin:0}
.pfc-demo-back{color:#fff!important;margin-top:12px;text-decoration:underline;text-underline-offset:3px}
@media(max-width:1000px){.pfc-demo-intro-grid{grid-template-columns:1fr}.pfc-demo-glance{min-height:180px}.pfc-school-entry-inner,.pfc-demo-next-grid{flex-direction:column;align-items:flex-start}}
@media(max-width:760px){.pfc-school-entry{padding:26px 0}.pfc-school-entry-link{white-space:normal;text-align:center}.pfc-demo-intro{padding:65px 0 45px}.pfc-demo-steps,.pfc-demo-fact-grid,.pfc-demo-arcade .pfc-arcade-grid{grid-template-columns:1fr}.pfc-demo-overview,.pfc-demo-arcade,.pfc-demo-facts{padding:42px 0}.pfc-demo-intro h1{font-size:35px}}
@media(prefers-reduced-motion:reduce){.pfc-school-entry-link,.pfc-demo-primary{transition:none}}

.pfc-nebula-teaser .pfc-nebula-teaser-art{height:176px;position:relative;overflow:hidden;border-radius:15px;background:radial-gradient(ellipse at 68% 42%,#b54cd7a0,#39318065 40%,transparent 68%),linear-gradient(110deg,#07183e,#2c2768 72%,#ac4887)}
.pfc-nebula-teaser-art:after{content:'';position:absolute;inset:0;background:repeating-radial-gradient(ellipse at 50% 55%,transparent 0 28px,#dcbaff10 29px 30px,transparent 31px 50px);pointer-events:none}
.pfc-nebula-teaser-art i{position:absolute;width:5px;height:5px;border-radius:100%;background:#fff8cf;box-shadow:0 0 14px #ffb955;top:var(--y,25%);left:var(--x,30%);animation:pfcNebulaTwinkle 3s ease-in-out infinite alternate}
.pfc-nebula-teaser-art i:nth-of-type(1){--x:10%;--y:20%}.pfc-nebula-teaser-art i:nth-of-type(2){--x:84%;--y:40%}.pfc-nebula-teaser-art i:nth-of-type(3){--x:53%;--y:80%}.pfc-nebula-teaser-art i:nth-of-type(4){--x:72%;--y:13%}.pfc-nebula-teaser-art i:nth-of-type(5){--x:34%;--y:48%}
.pfc-nebula-sun{position:absolute;right:16%;top:12%;width:90px;height:90px;border-radius:50%;background:radial-gradient(circle,#ffd7df,#c46cff65 45%,transparent 70%);filter:blur(3px)}
.pfc-nebula-ship{position:absolute;top:45%;font-size:42px;filter:drop-shadow(0 0 15px currentColor);animation:pfcNebulaDrift 3s ease-in-out infinite alternate}
.pfc-nebula-ship-a{left:23%;color:#70f0ff}.pfc-nebula-ship-b{left:42%;color:#ffd183;animation-delay:-1.2s}
.pfc-nebula-school-link{background:linear-gradient(110deg,#0b1537,#1b2358);padding:45px 0;border-top:1px solid #ffffff30}
.pfc-nebula-school-link-inner{display:flex;justify-content:space-between;align-items:center;gap:26px}
.pfc-nebula-school-link h2{font-size:clamp(25px,2.5vw,36px);color:#fff!important;margin:8px 0}
.pfc-nebula-school-link p{color:#dae4ff;max-width:740px;line-height:1.5;margin:0}
.pfc-nebula-school-link a{flex-shrink:0}
@keyframes pfcNebulaTwinkle{from{opacity:.3;transform:scale(.7)}to{opacity:1;transform:scale(1.3)}}
@keyframes pfcNebulaDrift{from{transform:translateY(-5px) rotate(-10deg)}to{transform:translateY(8px) rotate(9deg)}}
@media(max-width:760px){.pfc-nebula-page{padding:28px 0 60px}.pfc-nebula-head>p:not(.pfc-nebula-kicker){font-size:15px}.pfc-nebula-hud{font-size:11px;padding:8px}.pfc-nebula-hud b{font-size:14px}.pfc-nebula-pad,.pfc-nebula-instructions{grid-template-columns:1fr}.pfc-nebula-stage{border-radius:11px}.pfc-nebula-pad-group{padding:14px}.pfc-nebula-school-link-inner{flex-direction:column;align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.pfc-nebula-teaser-art i,.pfc-nebula-ship{animation:none}}

/* v4.0 — actual playable worlds, premium but constrained to existing website palette */
.pfc-featured-worlds{padding:72px 0;background:radial-gradient(ellipse at 70% 0%,#25315f,#0a1434 70%);color:#fff}
.pfc-featured-heading{max-width:850px;margin-bottom:28px}
.pfc-featured-heading h2{font-size:clamp(29px,3.15vw,49px);line-height:1.12;color:#fff!important;letter-spacing:-.04em;margin:12px 0 15px}
.pfc-featured-heading p{max-width:800px;color:#dfe8fa;font-size:16px;line-height:1.6;margin:0}
.pfc-featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.pfc-feature-card{border:1px solid #ffffff27;border-radius:20px;background:#17254e;overflow:hidden;box-shadow:0 15px 37px #02081952;transition:transform .22s,border-color .22s}
.pfc-feature-card:hover{transform:translateY(-4px);border-color:#fbd28d9c}
.pfc-feature-media{height:210px;position:relative;background:#1e2754;overflow:hidden}
.pfc-feature-media img,.pfc-feature-media video{height:100%;width:100%;object-fit:cover;display:block;position:absolute;inset:0}
.pfc-feature-media img{z-index:0}.pfc-feature-media video{z-index:1}
.pfc-feature-media:after{content:'';position:absolute;inset:0;z-index:2;box-shadow:inset 0 -60px 50px -35px #111b3f;pointer-events:none}
.pfc-feature-copy{padding:22px 22px 25px}
.pfc-feature-overline{font-size:10px;font-weight:900;letter-spacing:.1em;color:#ffdc98}
.pfc-feature-copy h3{font-size:25px;letter-spacing:-.02em;font-weight:900;line-height:1.14;margin:10px 0;color:#fff!important}
.pfc-feature-copy p{color:#d5e1f7;font-size:14px;line-height:1.6;min-height:88px;margin:9px 0 19px}
.pfc-feature-copy a{display:inline-flex;background:#ffcb73;color:#0b1b3e!important;text-decoration:none!important;border-radius:11px;padding:11px 17px;font-weight:900;font-size:14px;transition:filter .17s,transform .17s}
.pfc-feature-copy a:hover,.pfc-feature-copy a:focus-visible{filter:brightness(1.12);transform:translateY(-2px)}
.pfc-feature-copy a:focus-visible{outline:3px solid #fff;outline-offset:3px}
.pfc-featured-disclaimer{font-size:12px;color:#c0cce8;margin:20px 0 0}
.pfc-forest-teaser-art{height:176px;overflow:hidden;border-radius:14px;background:#183e5b}
.pfc-forest-teaser-art img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .4s ease}
.pfc-forest-teaser:hover img{transform:scale(1.045)}
.pfc-school-route{padding:58px 0;background:#111d47;color:#fff;border-top:1px solid #fff2}
.pfc-school-route h2{font-size:clamp(26px,3vw,43px);color:#fff!important;letter-spacing:-.025em;margin:10px 0 15px}
.pfc-school-route-intro{color:#dce6f8;line-height:1.65;max-width:860px;font-size:16px}
.pfc-school-route-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:23px 0}
.pfc-school-route-grid article{border:1px solid #9eadce4d;background:#1d2d56;border-radius:16px;padding:20px}
.pfc-school-route-grid h3{color:#ffe2a5!important;font-size:18px;line-height:1.27;margin:0 0 12px}
.pfc-school-route-grid p{color:#e0e8fb;line-height:1.58;font-size:14px;margin:0}
.pfc-school-route-actions{display:flex;gap:12px;flex-wrap:wrap}
.pfc-school-route-actions a{display:inline-flex;align-items:center;padding:13px 20px;border-radius:11px;background:#ffd078;color:#091836!important;font-weight:900;text-decoration:none!important}
.pfc-school-route-actions a:hover,.pfc-school-route-actions a:focus-visible{filter:brightness(1.12)}
.pfc-school-route-note{color:#f3d89b;font-size:12px;line-height:1.6;margin:20px 0 0}
@media(max-width:1050px){.pfc-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pfc-school-route-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.pfc-featured-worlds{padding:42px 0}.pfc-featured-grid,.pfc-school-route-grid{grid-template-columns:1fr}.pfc-feature-copy p{min-height:0}.pfc-feature-media{height:225px}.pfc-school-route{padding:40px 0}.pfc-featured-heading p{font-size:15px}}
@media(prefers-reduced-motion:reduce){.pfc-feature-card,.pfc-feature-copy a,.pfc-forest-teaser-art img{transition:none}.pfc-feature-media video{display:none}}
