/* FART JUMP website — same cartoon look as the game: thick ink outlines, chunky shadows, bright colours */
:root {
  --ink: #2b1d3a; --lime: #d7ff4a; --orange: #ff6b00; --pink: #ff4fa3; --purple: #8b4fe0; --teal: #2a9d8f; --aqua: #3fe0d0;
  --sky1: #5fc9b8; --sky2: #b7ecc4; --sky3: #e8f7c8; --grass: #7ccf4a; --dirt: #8a5a3a; --cream: #fff8e6; --white: #ffffff;
  --radius: 28px; --shadow: 0 10px 0 var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Nunito', system-ui, sans-serif; font-weight: 800; color: var(--ink); line-height: 1.55; background: linear-gradient(180deg, var(--sky1) 0, var(--sky2) 1400px, var(--sky3) 2600px, var(--sky3) 100%); min-height: 100vh; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); }
h1, h2, h3, .lil { font-family: 'Lilita One', 'Arial Black', sans-serif; font-weight: 400; letter-spacing: .5px; line-height: 1.1; margin: 0; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }

/* outlined cartoon title text */
.toon { color: var(--lime); -webkit-text-stroke: .16em var(--ink); paint-order: stroke fill; text-shadow: 0 .09em 0 var(--ink); }
.toon-orange { color: var(--orange); } .toon-white { color: #fff; } .toon-pink { color: var(--pink); } .toon-aqua { color: var(--aqua); }

/* buttons like the in-game ones */
.btn { --bg: var(--orange); --fg: #fff; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .45em; font-family: 'Lilita One', sans-serif; font-size: 1.25rem; color: var(--fg); background: var(--bg); text-decoration: none; padding: .72em 1.6em; border: 5px solid var(--ink); border-radius: 999px; box-shadow: 0 7px 0 var(--ink); cursor: pointer; transition: transform .08s, box-shadow .08s; -webkit-text-stroke: .1em var(--ink); paint-order: stroke fill; white-space: nowrap; }
.btn::after { content: ''; position: absolute; left: 14%; right: 14%; top: 7px; height: 26%; border-radius: 999px; background: rgba(255, 255, 255, .28); pointer-events: none; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 0 var(--ink); }
.btn:active { transform: translateY(5px); box-shadow: 0 2px 0 var(--ink); }
.btn:focus-visible { outline: 4px dashed var(--ink); outline-offset: 5px; }
.btn-big { font-size: clamp(1.3rem, 3.4vw, 2rem); padding: .7em 1.8em; }
.btn-lime { --bg: var(--lime); --fg: var(--ink); -webkit-text-stroke: 0; }
.btn-pink { --bg: var(--pink); } .btn-purple { --bg: var(--purple); } .btn-teal { --bg: var(--teal); } .btn-white { --bg: #fff; --fg: var(--ink); -webkit-text-stroke: 0; }
.btn-small { font-size: 1rem; padding: .5em 1.15em; border-width: 4px; box-shadow: 0 5px 0 var(--ink); -webkit-text-stroke: 0; text-shadow: 0 2px 0 rgba(43, 29, 58, .55); }
.btn-lime.btn-small, .btn-white.btn-small { text-shadow: none; }

.card { background: #fff; border: 6px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); }
.pill { display: inline-block; font-family: 'Lilita One', sans-serif; background: var(--ink); color: var(--lime); border-radius: 999px; padding: .25em .9em; font-size: .95rem; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 5px solid var(--ink); }
.nav .wrap { display: flex; align-items: center; gap: 16px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: 'Lilita One', sans-serif; font-size: 1.7rem; }
.logo img { width: 46px; height: 46px; border-radius: 12px; }
.nav-links { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav-links a { font-family: 'Lilita One', sans-serif; color: var(--ink); text-decoration: none; padding: .45em .8em; border-radius: 12px; font-size: 1.1rem; }
.nav-links a:hover, .nav-links a[aria-current=page] { background: var(--lime); }
.nav-links .btn { margin-left: 8px; }
.burger { display: none; margin-left: auto; width: 52px; height: 46px; border: 4px solid var(--ink); border-radius: 14px; background: var(--lime); box-shadow: 0 4px 0 var(--ink); cursor: pointer; padding: 0; }
.burger span { display: block; width: 24px; height: 4px; background: var(--ink); margin: 4px auto; border-radius: 2px; }
@media (max-width: 860px) {
  .burger { display: block; }
  .nav-links { display: none; position: absolute; top: 77px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; background: #fff; border: 5px solid var(--ink); border-radius: 22px; box-shadow: var(--shadow); padding: 12px; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.3rem; padding: .6em .8em; }
  .nav-links .btn { margin: 6px 0 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 48px 0 0; overflow: hidden; }
.hero > .wrap { padding-bottom: 46px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: center; }
.hero h1 { font-size: clamp(3.4rem, 9vw, 7.2rem); }
.tagline { font-family: 'Lilita One', sans-serif; font-size: clamp(1.4rem, 3vw, 2.1rem); margin: 14px 0 6px; color: #fff; -webkit-text-stroke: .12em var(--ink); paint-order: stroke fill; }
.hero p.lead { font-size: 1.18rem; max-width: 34em; margin: 10px 0 22px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero-art { position: relative; min-height: 420px; }
.hero-art .hero-scene { position: absolute; left: -6%; right: -6%; bottom: 0; width: 112%; aspect-ratio: 3 / 2; display: none; }
.hero-art .hero-scene.live { display: block; }
.hero-art .hero-toot { position: absolute; right: 2%; bottom: 0; width: min(560px, 100%); animation: bob 2.6s ease-in-out infinite; }
.hero-art .hero-boss { position: absolute; left: -4%; bottom: 0; width: 46%; transform: scaleX(1); animation: bob 3.1s ease-in-out infinite reverse; }
.hero .wrap { position: relative; z-index: 1; }
.clouds span { position: absolute; z-index: 0; background: #fff; border: 5px solid var(--ink); border-radius: 999px; opacity: .95; animation: drift 40s linear infinite; }
.clouds span::before, .clouds span::after { content: ''; position: absolute; background: #fff; border: 5px solid var(--ink); border-radius: 50%; }
.clouds span::before { width: 60%; height: 140%; left: 14%; top: -70%; border-bottom-color: transparent; }
.clouds span::after { width: 42%; height: 110%; right: 10%; top: -45%; border-bottom-color: transparent; }
@keyframes drift { from { transform: translateX(-10vw); } to { transform: translateX(110vw); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.ground { height: 96px; margin-top: -6px; position: relative; background: radial-gradient(circle at 20px 30px, #6e4630 7px, transparent 8px) 0 0 / 70px 52px, var(--dirt); border-top: 6px solid var(--ink); }
.ground::before { content: ''; position: absolute; left: 0; right: 0; top: -32px; height: 30px; background: var(--grass); border-top: 6px solid var(--ink); }
@media (max-width: 860px) {
  .hero { padding-top: 28px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .cta, .badges { justify-content: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-art { min-height: 0; margin-top: 18px; aspect-ratio: 3 / 2; }
  .hero-art .hero-scene { left: 0; right: 0; width: 100%; }
  .hero-art .hero-toot { right: 0; width: 76%; max-width: 420px; }
  .hero-art .hero-boss { width: 36%; max-width: 220px; left: 2%; }
  .clouds { display: none; }
}

/* ---------- sections ---------- */
section { padding: 56px 0; }
.sec-title { text-align: center; font-size: clamp(2.2rem, 5.5vw, 3.6rem); margin-bottom: 10px; }
.sec-sub { text-align: center; font-size: 1.15rem; max-width: 40em; margin: 0 auto 34px; }
.panel { background: rgba(255, 255, 255, .55); border-top: 6px solid var(--ink); border-bottom: 6px solid var(--ink); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 24px; }
.feature { padding: 0 0 20px; overflow: hidden; display: flex; flex-direction: column; }
.feature .art { height: 170px; display: flex; align-items: center; justify-content: center; border-bottom: 6px solid var(--ink); overflow: hidden; }
.feature .art img { max-height: 160px; width: auto; }
.feature .art img.shot { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.feature h3 { font-size: 1.55rem; margin: 16px 18px 6px; }
.feature p { margin: 0 18px; }
.bg-lime { background: var(--lime); } .bg-pink { background: #ffd9ef; } .bg-aqua { background: #c9f5ef; } .bg-sun { background: #ffe9a8; } .bg-lilac { background: #e8dcff; }

.trailer { max-width: 980px; margin: 0 auto; overflow: hidden; }
.trailer video { width: 100%; display: block; background: #000; aspect-ratio: 16/9; }

.worlds { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.world { position: relative; border-radius: 22px; border: 5px solid var(--ink); box-shadow: 0 7px 0 var(--ink); height: 168px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.world::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: var(--g, var(--grass)); border-top: 5px solid var(--ink); }
.world b { position: relative; z-index: 2; font-family: 'Lilita One', sans-serif; font-weight: 400; color: #fff; -webkit-text-stroke: .14em var(--ink); paint-order: stroke fill; font-size: 1.12rem; text-align: center; padding: 0 6px 10px; }
.world i { position: absolute; z-index: 2; top: 8px; left: 10px; font-style: normal; font-family: 'Lilita One', sans-serif; background: var(--ink); color: var(--lime); border-radius: 999px; padding: 0 .6em; }
@media (max-width: 900px) { .worlds { grid-template-columns: repeat(2, 1fr); } }

.bosses { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.boss { text-align: center; padding: 12px 10px 16px; }
.boss img { height: 150px; width: auto; margin: 0 auto; }
.boss h3 { font-size: 1.25rem; margin-top: 8px; }
.boss .lvl { font-family: 'Lilita One', sans-serif; font-size: .9rem; background: var(--ink); color: #fff; border-radius: 999px; padding: .1em .8em; display: inline-block; }
.boss p { margin: 6px 0 0; font-size: .95rem; }
.boss .drop { display: inline-block; margin-top: 8px; background: var(--lime); border: 3px solid var(--ink); border-radius: 999px; padding: .1em .7em; font-size: .85rem; }
@media (max-width: 1000px) { .bosses { grid-template-columns: repeat(2, 1fr); } }

.controls { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.controls .card { padding: 24px; }
.controls h3 { font-size: 1.8rem; margin-bottom: 12px; }
.keyrow { display: flex; align-items: center; gap: 12px; margin: 10px 0; }
.key { min-width: 54px; text-align: center; font-family: 'Lilita One', sans-serif; background: #fff; border: 4px solid var(--ink); border-radius: 12px; box-shadow: 0 5px 0 var(--ink); padding: .2em .6em; }
.round { min-width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 760px) { .controls { grid-template-columns: 1fr; } }

.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { padding: 14px 20px; }
.faq summary { font-family: 'Lilita One', sans-serif; font-size: 1.3rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: '+ '; color: var(--orange); }
.faq details[open] summary::before { content: '– '; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery img { border: 5px solid var(--ink); border-radius: 18px; box-shadow: 0 7px 0 var(--ink); aspect-ratio: 16/9; object-fit: cover; width: 100%; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }

.cta-band { text-align: center; padding: 60px 0 0; }
.cta-band h2 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 20px; }

/* ---------- content pages ---------- */
.page-head { text-align: center; padding: 42px 0 18px; }
.page-head h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
.prose { padding: 28px clamp(20px, 4vw, 44px); margin-bottom: 40px; }
.prose h2 { font-size: 1.9rem; margin: 26px 0 8px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 1.08rem; }
.prose ul { padding-left: 1.2em; }

/* ---------- ads ---------- */
.ad-slot { margin: 26px auto; text-align: center; max-width: 1000px; }
.ad-slot .ad-label { font-size: .75rem; letter-spacing: 1px; opacity: .6; text-transform: uppercase; margin-bottom: 4px; }
.ad-ph { display: flex; align-items: center; justify-content: center; min-height: 100px; border: 4px dashed rgba(43, 29, 58, .35); border-radius: 18px; color: rgba(43, 29, 58, .5); font-family: 'Lilita One', sans-serif; font-size: 1.2rem; background: rgba(255, 255, 255, .4); }
.ad-slot.tall .ad-ph { min-height: 600px; }
.ad-slot:empty { display: none; }

/* ---------- play page ---------- */
.play-main { padding: 18px 0 10px; }
.play-layout { display: flex; gap: 22px; justify-content: center; align-items: flex-start; width: min(1660px, 100% - 24px); margin: 0 auto; }
.stage { position: relative; width: min(1280px, 100%, (100vh - 150px) * 16 / 9); aspect-ratio: 16 / 9; background: #1d1330; border: 6px solid var(--ink); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; flex: 0 1 auto; }
.stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.stage .start { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: linear-gradient(rgba(29, 19, 48, .25), rgba(29, 19, 48, .65)), url(../media/trailer-poster.webp) center / cover; text-align: center; padding: 16px; }
.stage .start h1 { font-size: clamp(2.2rem, 7vw, 5.4rem); }
.stage .start .small-link { color: #fff; font-size: 1rem; background: none; border: 0; text-decoration: underline; cursor: pointer; font-family: 'Nunito', sans-serif; font-weight: 800; }
.stage .hint { position: absolute; z-index: 4; left: 50%; top: 14px; transform: translateX(-50%); background: rgba(29, 19, 48, .85); color: #fff; border-radius: 999px; padding: .4em 1.1em; font-size: .95rem; pointer-events: none; opacity: 0; transition: opacity .3s; white-space: nowrap; }
.stage .hint.show { opacity: 1; }
.stage .fs-toggle { position: absolute; z-index: 5; left: 50%; bottom: 10px; transform: translateX(-50%); width: 46px; height: 46px; padding: 0; display: none; align-items: center; justify-content: center; background: rgba(255, 255, 255, .8); border: 4px solid var(--ink); border-radius: 50%; box-shadow: 0 3px 0 var(--ink); cursor: pointer; opacity: .6; transition: opacity .15s, transform .1s; }
.stage .fs-toggle:hover, .stage .fs-toggle:focus-visible { opacity: 1; transform: translateX(-50%) scale(1.08); }
.stage .fs-toggle svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.stage.started .fs-toggle { display: flex; }
.stage .ico-exit, .stage.is-fs .ico-enter { display: none; }
.stage.is-fs .ico-exit { display: block; }
.stage:fullscreen, .stage.fs-fake { width: 100vw; max-width: none; height: 100vh; height: 100dvh; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; }
.stage.fs-fake { position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: auto; height: auto; z-index: 9999; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); background: #1d1330; }
.stage.fs-fake iframe { position: absolute; top: env(safe-area-inset-top); left: env(safe-area-inset-left); right: env(safe-area-inset-right); bottom: env(safe-area-inset-bottom); width: auto; height: auto; }
html.no-scroll, body.no-scroll { overflow: hidden; height: 100%; overscroll-behavior: none; }
body.no-scroll { overflow: hidden; }
.side-ad { width: 300px; flex: 0 0 300px; display: none; }
.side-ad .ad-slot { margin: 0; }
@media (min-width: 1580px) { .side-ad { display: block; } }
.stage-bar { width: min(1280px, 100% - 24px); margin: 18px auto 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- footer ---------- */
footer { margin-top: 40px; background: var(--ink); color: #fff; padding: 34px 0 40px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
footer .wrap > div { display: flex; flex-wrap: wrap; gap: 6px 20px; min-width: 0; }
footer a { color: var(--lime); text-decoration: none; font-family: 'Lilita One', sans-serif; font-size: 1.1rem; }
footer small { opacity: .75; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
