/* "Everything in Super Rocko" (Ron: "create a page that shows all this new stuff"). Never plain. */
:root { --ink: #1c2434; --cream: #fff6e3; --red: #d83a34; --gold: #FFC93C; --sky: #7EC8FF; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font: 500 17px/1.5 Nunito, system-ui, sans-serif; background: #CDEBFF; }
h1, h2, h3, b, .fly, .back, .jump a, figcaption, .stats { font-family: Fredoka, sans-serif; }
img { max-width: 100%; display: block; }

/* the hero, over the chaos banner */
.hero { position: relative; color: #fff; text-align: center; padding: max(18px, env(safe-area-inset-top)) 16px 46px;
  background: linear-gradient(rgba(28,36,52,.25), rgba(28,36,52,.6)), url("img/banners/banner-chaos.webp") center / cover; }
.hero-in { max-width: 900px; margin: 0 auto; }
.back { display: inline-block; float: left; color: var(--ink); background: var(--gold); border: 3px solid var(--ink); border-radius: 999px; padding: 5px 14px;
  font-weight: 700; text-decoration: none; box-shadow: 0 4px 0 var(--ink); }
.logo { clear: both; margin: 40px 0 0; font-size: clamp(46px, 10vw, 104px); line-height: .95; color: var(--red); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  text-shadow: 0 6px 0 var(--ink); transform: rotate(-3deg); animation: bob 3.2s ease-in-out infinite; }
.logo span { display: block; color: var(--gold); font-size: .45em; }
.logo sup { font-size: .25em; color: #fff; -webkit-text-stroke: 0; text-shadow: none; }
@keyframes bob { 50% { transform: rotate(-3deg) translateY(-6px); } }
.hero-tag { font-size: clamp(18px, 2.6vw, 24px); font-weight: 700; margin: 20px 0 16px; text-shadow: 0 2px 0 var(--ink), 0 0 14px rgba(28,36,52,.8); }
.stats { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.stats li { background: rgba(28,36,52,.7); border: 2px solid rgba(255,255,255,.7); border-radius: 999px; padding: 5px 14px; font-weight: 600; }
.stats b { color: var(--gold); font-size: 1.2em; }
.fly { display: inline-block; font-weight: 700; font-size: clamp(30px, 5vw, 44px); color: #fff; background: var(--red); border: 5px solid var(--ink); border-radius: 999px;
  padding: 12px 60px; text-decoration: none; box-shadow: 0 8px 0 var(--ink); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.06) rotate(-1deg); } }
.fly:active { transform: translateY(4px); box-shadow: 0 3px 0 var(--ink); }

/* the jump chips */
.jump { position: sticky; top: 0; z-index: 5; display: flex; gap: 8px; overflow-x: auto; padding: 10px 14px; background: var(--ink); scrollbar-width: none; }
.jump::-webkit-scrollbar { display: none; }
.jump a { flex: 0 0 auto; color: var(--ink); background: var(--cream); border: 2px solid #fff; border-radius: 999px; padding: 5px 14px; font-weight: 600; text-decoration: none; }
.jump a:hover { background: var(--gold); }

/* sections */
.sec { padding: 42px 16px; scroll-margin-top: 56px; }
.sec > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.sec.alt { background: linear-gradient(#FFF0C2, #FFE3A3); }
.sec h2 { font-size: clamp(30px, 5vw, 44px); margin-top: 0; margin-bottom: 20px; color: var(--ink); }
.sec h2 small { display: block; font: 600 16px Nunito, sans-serif; opacity: .7; margin-top: 4px; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card { background: var(--cream); border: 4px solid var(--ink); border-radius: 22px; padding: 14px 16px 16px; box-shadow: 0 6px 0 var(--ink); transition: transform .15s; }
.card:nth-child(odd) { transform: rotate(-.8deg); } .card:nth-child(even) { transform: rotate(.8deg); }
.card:hover { transform: rotate(0) translateY(-4px) scale(1.02); }
.card b { display: block; font-size: 21px; margin: 8px 0 2px; }
.card p { margin: 4px 0 0; font-size: 15.5px; }
.card i { font-style: normal; font-weight: 700; color: var(--red); }
.orb { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; font: 700 30px Fredoka, sans-serif;
  background: radial-gradient(circle at 35% 30%, #fff, var(--c)); border: 4px solid var(--ink); box-shadow: 0 0 0 6px rgba(255,255,255,.6), 0 0 22px var(--c); }
.big-ic { font-size: 44px; line-height: 1; }
.emo { font-size: 24px; letter-spacing: 2px; }

/* the boss */
.boss { background: radial-gradient(circle at 30% 40%, #5a3fb0, #1c1440 70%); color: #fff; }
.boss-in { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: 30px; align-items: center; }
.boss h2 { color: var(--gold); -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; text-shadow: 0 4px 0 var(--red); }
.boss-art { position: relative; padding-top: 70px; }
.boss-art img { filter: drop-shadow(0 10px 20px rgba(0,0,0,.5)); position: relative; z-index: 1; }
.crown { position: absolute; z-index: 2; left: 52%; top: 66px; font-size: 64px; transform: rotate(14deg); }
.bb { position: absolute; width: 54px; height: 68px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff8, var(--c) 40%); border: 3px solid rgba(28,36,52,.4);
  animation: float 3s ease-in-out infinite; }
.bb:nth-of-type(2n) { animation-delay: -1.2s; } .bb:nth-of-type(3n) { animation-delay: -2s; }
@keyframes float { 50% { transform: translateY(-10px) rotate(4deg); } }
.lead { font-size: 19px; }
.how { font-size: 17px; padding-left: 22px; } .how li { margin-bottom: 6px; } .how b { color: var(--gold); }
.aside { opacity: .8; font-size: 15px; }

/* Rocko's moves + Sat */
.poses, .sats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
figure { margin: 0; background: #fff; border: 4px solid var(--ink); border-radius: 20px; padding: 10px; text-align: center; box-shadow: 0 5px 0 var(--ink); }
figure img { height: 150px; width: 100%; object-fit: contain; transition: transform .2s; }
figure:hover img { transform: scale(1.08) rotate(-3deg); }
figcaption { font-weight: 600; margin-top: 6px; }
.crew { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-bottom: 26px; }
.mate { background: var(--cream); border: 4px solid var(--ink); border-radius: 22px; padding: 14px; text-align: center; box-shadow: 0 6px 0 var(--ink); }
.mate img { height: 160px; width: 100%; object-fit: contain; }
.mate b { font-size: 22px; } .mate p { margin: 4px 0 0; font-size: 15.5px; }
.sat-h { font-size: 26px; margin: 10px auto 14px; }

/* the worlds */
.wg-h { font-size: 24px; margin: 22px auto 12px; }
.wgrid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.wt { display: block; background: #fff; border: 3px solid var(--ink); border-radius: 14px; padding: 5px 5px 8px; text-align: center; color: var(--ink); text-decoration: none;
  font: 600 14px/1.2 Fredoka, sans-serif; box-shadow: 0 4px 0 var(--ink); transition: transform .15s; }
.wt:hover { transform: translateY(-4px) rotate(-1deg); }
.wt img, .wph { width: 100%; aspect-ratio: 1.75; object-fit: cover; border-radius: 9px; margin-bottom: 6px; }
.wph { display: grid; place-items: center; font-size: 30px; background: linear-gradient(#7EC8FF, #E3F4FF); }

/* finale + footer */
.finale { text-align: center; padding: 50px 16px 60px; background: linear-gradient(rgba(28,36,52,.35), rgba(28,36,52,.6)), url("img/banners/banner-wipeout.webp") center / cover; color: #fff; }
.finale p { font: 700 clamp(20px, 3vw, 28px) Fredoka, sans-serif; text-shadow: 0 2px 0 var(--ink); margin: 0 0 20px; }
.foot { background: var(--ink); color: #fff; text-align: center; padding: 22px 16px max(26px, env(safe-area-inset-bottom)); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 8px; }
.foot a { color: var(--gold); font-weight: 700; text-decoration: none; }

@media (max-width: 720px) {
  .boss-in { grid-template-columns: 1fr; text-align: left; }
  .boss-art { max-width: 280px; margin: 0 auto; }
  .card, .card:nth-child(odd), .card:nth-child(even) { transform: none; }
  .poses, .sats { grid-template-columns: repeat(2, 1fr); }
  figure img { height: 110px; }
  .wgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .logo, .fly, .bb { animation: none; } html { scroll-behavior: auto; } }
