/* EEP Quest — content pages (about / privacy / contact), same doodle style as the game */
:root {
  --ink: #151515; --paper: #fff8e8; --yellow: #ffd23f;
  --font: "Marker Felt", "Chalkboard SE", "Comic Sans MS", "Comic Neue", "Segoe Print", cursive, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: #8fd8ff; color: var(--ink); font-family: var(--font); }
body { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 16px 16px 24px; }
.page-head { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(760px, 100%); }
.page-head .logo img { display: block; width: clamp(130px, 30vw, 200px); height: auto; animation: drop-in .8s cubic-bezier(.3,1.5,.5,1) backwards, wobble 3.4s ease-in-out .8s infinite; }
.btn { animation: drop-in .6s cubic-bezier(.3,1.5,.5,1) .2s backwards, cta 1.8s ease-in-out 1s infinite; display: inline-block; background: var(--yellow); border: 3px solid var(--ink); border-radius: 14px; padding: 8px 18px; font-size: 18px; color: var(--ink); text-decoration: none; box-shadow: 3px 4px 0 var(--ink); white-space: nowrap; }
.btn:active { transform: translate(3px, 4px); box-shadow: none; }
.card-wrap { position: relative; z-index: 1; width: min(760px, 100%); margin: 74px 0 0; }
.peek { position: absolute; right: 28px; top: -74px; width: 96px; height: auto; z-index: 0; animation: peek-up .7s cubic-bezier(.3,1.5,.5,1) .7s backwards, peek-bob 2.2s ease-in-out 1.4s infinite; transform-origin: 50% 100%; }
main { position: relative; z-index: 1; animation: drop-in .7s cubic-bezier(.3,1.5,.5,1) .15s backwards; width: 100%; margin: 0; background: var(--paper); border: 4px solid var(--ink); border-radius: 18px; box-shadow: 4px 5px 0 var(--ink); padding: 8px 24px 12px; font-size: 18px; line-height: 1.55; }
h1 { font-size: clamp(30px, 6vw, 42px); margin: 10px 0 4px; }
main > * { animation: rise-in .5s ease-out backwards; }
main > :nth-child(1) { animation-delay: .45s; } main > :nth-child(2) { animation-delay: .6s; } main > :nth-child(3) { animation-delay: .72s; }
main > :nth-child(4) { animation-delay: .84s; } main > :nth-child(5) { animation-delay: .96s; } main > :nth-child(6) { animation-delay: 1.08s; }
main a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.site-foot { position: relative; z-index: 1; animation: rise-in .5s ease-out 1s backwards; margin: 20px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-size: 17px; }
.site-foot a { display: inline-block; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.site-foot a[aria-current] { text-decoration: none; font-weight: bold; }
@media (hover: hover) { .site-foot a:hover, main a:hover { animation: link-wiggle .45s ease-in-out; color: #e8202c; } .btn:hover { animation: none; transform: rotate(-4deg) scale(1.1); } }
@media (max-width: 640px) { main { font-size: 16px; padding: 4px 16px 10px; } .peek { width: 76px; top: -60px; right: 16px; } .card-wrap { margin-top: 60px; } }

/* ── doodle background: drifting clouds, twinkling stars, a buzzing fly ── */
.deco { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.deco i { position: absolute; display: block; }
.deco svg, .deco img { display: block; width: 100%; height: 100%; }
.deco .cloud { width: 150px; height: 75px; left: 0; opacity: .9; animation: drift linear infinite; }
.deco .c1 { top: 6%; animation-duration: 46s; animation-delay: -12s; }
.deco .c2 { top: 38%; width: 110px; height: 55px; opacity: .7; animation-duration: 64s; animation-delay: -40s; }
.deco .c3 { top: 74%; width: 190px; height: 95px; opacity: .8; animation-duration: 56s; animation-delay: -26s; }
.deco .star { width: 30px; height: 30px; animation: twinkle 2.6s ease-in-out infinite; }
.deco .s1 { left: 6%; top: 20%; }
.deco .s2 { left: 88%; top: 14%; width: 22px; height: 22px; animation-delay: -.8s; }
.deco .s3 { left: 93%; top: 58%; animation-delay: -1.6s; }
.deco .s4 { left: 3%; top: 66%; width: 24px; height: 24px; animation-delay: -1.1s; }
.deco .s5 { left: 52%; top: 90%; width: 20px; height: 20px; animation-delay: -2s; }
.deco .fly { width: 46px; height: 40px; left: 0; top: 0; animation: flypath 18s ease-in-out infinite; }
.deco .fly img { animation: buzz .14s linear infinite; }
@keyframes drift { from { transform: translateX(-220px); } to { transform: translateX(calc(100vw + 40px)); } }
@keyframes twinkle { 0%, 100% { transform: scale(.75) rotate(-12deg); opacity: .65; } 50% { transform: scale(1.12) rotate(14deg); opacity: 1; } }
@keyframes flypath {
  0%   { transform: translate(8vw, 18vh) rotate(-8deg); }
  15%  { transform: translate(30vw, 9vh) rotate(12deg); }
  30%  { transform: translate(64vw, 24vh) rotate(-6deg) scaleX(1); }
  45%  { transform: translate(86vw, 12vh) rotate(10deg) scaleX(-1); }
  60%  { transform: translate(72vw, 46vh) rotate(-12deg) scaleX(-1); }
  75%  { transform: translate(40vw, 30vh) rotate(8deg) scaleX(-1); }
  90%  { transform: translate(14vw, 44vh) rotate(-8deg) scaleX(1); }
  100% { transform: translate(8vw, 18vh) rotate(-8deg); }
}
@keyframes buzz { 0%, 100% { translate: 0 0; } 25% { translate: 1px -2px; } 50% { translate: -1px 1px; } 75% { translate: 2px 0; } }
@keyframes drop-in { 0% { transform: translateY(-60px) scale(.6) rotate(-8deg); opacity: 0; } 60% { transform: translateY(6px) scale(1.06) rotate(2deg); opacity: 1; } 100% { transform: none; } }
@keyframes rise-in { 0% { transform: translateY(26px) rotate(-1.5deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes wobble { 0%, 100% { transform: rotate(-2deg) scale(1); } 50% { transform: rotate(2deg) scale(1.03); } }
@keyframes link-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-6deg) translateY(-2px); } 75% { transform: rotate(6deg) translateY(-2px); } }
@keyframes peek-up { 0% { transform: translateY(70px); } 70% { transform: translateY(-8px); } 100% { transform: none; } }
@keyframes peek-bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-6px) rotate(3deg); } }
@keyframes cta { 0%, 100% { transform: rotate(-3deg) scale(1); } 50% { transform: rotate(3deg) scale(1.07); } }

@media (prefers-reduced-motion: reduce) {
  *, .deco * { animation: none !important; }
  .deco .fly { display: none; }
}

/* walkthrough pages */
.kicker { margin: 12px 0 -4px; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: #6b7684; }
main ol, main ul { padding-left: 1.3em; }
main li { margin: 6px 0; }
main img { max-width: 100%; height: auto; border: 3px solid var(--ink); border-radius: 12px; }
.play-link { margin: 18px 0 8px; }
.play-link .btn { animation: none; }
