/* GameProsNoober — "papan taktik pelatih": pale-blue grid paper + black ink */
:root{
  --paper:#DCEFFC;
  --grid:#B9DCF4;
  --marker:#7CC4F2;
  --ink:#000;
  --ink-2:#2A3A47;
  --sheet:#fff;
  --focus:#0B5CAD;
  --rule:3px solid var(--ink);
  --hand:"Kalam",cursive;
  --sans:"Archivo",system-ui,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--sans);font-variation-settings:"wdth" 100;
  font-size:17px;line-height:1.55;color:var(--ink);
  background-color:var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px,transparent 1px),
    linear-gradient(90deg,var(--grid) 1px,transparent 1px);
  background-size:28px 28px;
  overflow-x:hidden;
}
img,svg{display:block;max-width:100%}
a{color:inherit}
.wrap{max-width:1180px;margin:0 auto;padding:0 16px}
.skip{position:absolute;left:-999px;top:0;background:var(--ink);color:var(--paper);padding:8px 14px;z-index:100}
.skip:focus{left:8px}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px}

/* type scale (1.25) */
.display{font-weight:900;font-variation-settings:"wdth" 125;letter-spacing:-.02em;line-height:1.02}
h1,h2,h3{font-weight:800;line-height:1.15}
.hand{font-family:var(--hand);font-weight:700}

/* ---------- strip ---------- */
.strip{background:var(--ink);color:var(--paper);font-size:14px}
.strip .wrap{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:34px}
.strip ul{list-style:none;display:flex;gap:18px}
.strip a{text-decoration:none;opacity:.8}
.strip a:hover{opacity:1;text-decoration:underline}

/* ---------- header ---------- */
.site-head{background:var(--ink);color:var(--paper);border-bottom:1px solid #22303b;position:sticky;top:0;z-index:50}
.site-head .wrap{display:flex;align-items:center;gap:20px;min-height:68px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff;font-size:24px}
.brand svg{width:34px;height:34px}
.head-meta{margin-left:auto;font-size:14px;color:var(--marker);font-variant-numeric:tabular-nums}
.head-cta{display:flex;gap:8px}
.btn{display:inline-flex;align-items:center;justify-content:center;font:inherit;font-weight:800;font-size:16px;padding:11px 20px;border-radius:6px;text-decoration:none;cursor:pointer;border:var(--rule);white-space:nowrap}
.btn-ink{background:var(--ink);color:#fff}
.btn-ink:hover{background:var(--ink-2)}
.btn-sky{background:var(--marker);color:var(--ink);box-shadow:4px 4px 0 var(--ink)}
.btn-sky:hover{transform:translate(-1px,-1px);box-shadow:5px 5px 0 var(--ink)}
.btn-sky:active{transform:translate(3px,3px);box-shadow:1px 1px 0 var(--ink)}
.site-head .btn-ghost{border-color:#3b4b58;color:var(--paper);background:transparent}
.site-head .btn-ghost:hover{border-color:var(--paper)}
.site-head .btn-sky{border-color:var(--marker);box-shadow:none}
.menu-btn{display:none;margin-left:auto;background:none;border:2px solid var(--paper);color:var(--paper);border-radius:6px;font:inherit;font-weight:700;padding:6px 12px;cursor:pointer}

/* ---------- category nav ---------- */
.cats{background:var(--sheet);border-bottom:var(--rule)}
.cats ul{list-style:none;display:flex;overflow-x:auto;scrollbar-width:none}
.cats ul::-webkit-scrollbar{display:none}
.cats a{display:block;padding:12px 16px;text-decoration:none;font-weight:700;font-variation-settings:"wdth" 75;font-size:17px;white-space:nowrap;border-bottom:4px solid transparent;margin-bottom:-3px}
.cats a:hover{background:var(--paper)}
.cats a[aria-current]{border-bottom-color:var(--ink)}
.cats .new{font-family:var(--hand);font-size:14px;color:var(--focus);margin-left:4px}

/* ---------- hero board (carousel) ---------- */
.board{display:grid;grid-template-columns:5fr 6fr;gap:32px;align-items:center;padding:44px 0 28px}
.plays{position:relative;min-height:330px}
.play{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .35s}
.play.on{position:relative;opacity:1;visibility:visible}
.play h2{font-size:clamp(34px,5vw,58px);margin-bottom:16px}
.play p{font-size:19px;color:var(--ink-2);max-width:34ch;margin-bottom:24px}
.play p.display{color:var(--ink);max-width:14ch}
.play-nav{display:flex;align-items:center;gap:10px;margin-top:22px;font-weight:700}
.play-nav button{width:40px;height:40px;border:var(--rule);background:var(--sheet);border-radius:6px;font:inherit;font-size:20px;cursor:pointer}
.play-nav button:hover{background:var(--marker)}
.play-count{font-variant-numeric:tabular-nums;min-width:4ch;text-align:center}
.map{background:var(--sheet);border:var(--rule);border-radius:8px;box-shadow:8px 8px 0 var(--ink);padding:10px}
.map svg{width:100%;height:auto}
.route{stroke-dasharray:1200;stroke-dashoffset:1200;animation:draw 2.4s .3s cubic-bezier(.6,.1,.3,1) forwards}
@keyframes draw{to{stroke-dashoffset:0}}
.wp{opacity:0;animation:pop .3s forwards}
.wp1{animation-delay:.7s}.wp2{animation-delay:1.2s}.wp3{animation-delay:1.7s}.wp4{animation-delay:2.3s}
@keyframes pop{to{opacity:1}}

/* ---------- announcement ---------- */
.notice{display:flex;gap:14px;align-items:baseline;background:var(--sheet);border:var(--rule);border-radius:6px;padding:12px 18px;margin-bottom:36px}
.notice strong{flex:0 0 auto}
.notice p{color:var(--ink-2)}

/* ---------- ladder + table ---------- */
.duo{display:grid;grid-template-columns:4fr 7fr;gap:28px;margin-bottom:44px;align-items:start}
.sheet{background:var(--sheet);border:var(--rule);border-radius:8px;padding:24px}
.sheet h2{font-size:24px;margin-bottom:6px}
.sheet .sub{color:var(--ink-2);margin-bottom:16px;font-size:16px}
.ladder{list-style:none;display:flex;flex-direction:column-reverse;gap:6px}
.ladder a{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 14px;border:2px solid var(--ink);border-radius:6px;text-decoration:none;font-weight:700}
.ladder a span{font-weight:400;color:var(--ink-2);font-size:15px}
.ladder a:hover{background:var(--marker)}
.ladder li:nth-child(1) a{margin-right:40%}
.ladder li:nth-child(2) a{margin-right:32%}
.ladder li:nth-child(3) a{margin-right:24%}
.ladder li:nth-child(4) a{margin-right:16%}
.ladder li:nth-child(5) a{margin-right:8%}
.ladder li:nth-child(6) a{background:var(--ink);color:#fff}
.ladder li:nth-child(6) a span{color:var(--marker)}
.ladder-note{font-family:var(--hand);font-size:18px;margin-top:12px;color:var(--focus)}

.games{width:100%;border-collapse:collapse;font-size:16px}
.games caption{text-align:left}
.games th{font-variation-settings:"wdth" 75;font-size:15px;text-align:left;padding:8px 10px;border-bottom:var(--rule)}
.games td{padding:12px 10px;border-bottom:1px solid var(--grid);vertical-align:top}
.games tr:last-child td{border-bottom:0}
.games td:first-child a{font-weight:800;text-decoration:none}
.games td:first-child a:hover{text-decoration:underline;text-decoration-thickness:3px;text-decoration-color:var(--marker)}
.games .plat{color:var(--ink-2);white-space:nowrap}
.genre-pill{display:inline-block;border:1.5px solid var(--ink);border-radius:999px;padding:0 9px;font-size:14px;white-space:nowrap}
.table-scroll{overflow-x:auto}

/* ---------- intro (H1) ---------- */
.intro{display:grid;grid-template-columns:7fr 4fr;gap:40px;padding:44px 0;border-top:var(--rule);border-bottom:var(--rule);margin-bottom:44px}
.intro h1{font-size:clamp(36px,5.6vw,68px)}
.intro .lede p{font-size:19px;margin-bottom:14px;max-width:60ch}
.intro .lede p:first-child{margin-top:4px}
.intro-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}

/* ---------- six info blocks ---------- */
.notebook{display:grid;grid-template-columns:repeat(12,1fr);gap:28px;margin-bottom:56px}
.notebook > section{grid-column:span 4}
.notebook .wide{grid-column:span 6}
.notebook .full{grid-column:1/-1}
.notebook .plain{padding:4px 0}
.notebook h2{font-size:22px;margin-bottom:12px}
.links{list-style:none}
.links li{border-bottom:1px solid var(--grid)}
.sheet .links li{border-color:#d6e8f4}
.links a{display:flex;justify-content:space-between;gap:12px;padding:10px 0;text-decoration:none;font-weight:600}
.links a:hover .t{text-decoration:underline;text-decoration-thickness:3px;text-decoration-color:var(--marker)}
.links .m{color:var(--ink-2);font-weight:400;font-size:15px;white-space:nowrap}
.ticks{list-style:none;display:flex;flex-direction:column;gap:12px}
.ticks li{padding-left:30px;position:relative}
.ticks li::before{content:"";position:absolute;left:2px;top:6px;width:16px;height:9px;border-left:3px solid var(--ink);border-bottom:3px solid var(--ink);transform:rotate(-45deg)}
.ticks b{font-weight:800}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips a{border:2px solid var(--ink);border-radius:999px;padding:6px 14px;text-decoration:none;font-weight:700;background:var(--sheet)}
.chips a:hover{background:var(--marker)}
.contact-line{margin-top:14px;font-size:16px;color:var(--ink-2)}
.contact-line a{color:var(--ink);font-weight:700}

/* ---------- footer ---------- */
.site-foot{background:var(--ink);color:#cfe3f1;padding:44px 0 100px;font-size:16px}
.site-foot a{color:#fff}
.plats{display:flex;flex-wrap:wrap;gap:8px 22px;font-variation-settings:"wdth" 75;font-weight:700;color:var(--marker);font-size:16px;padding-bottom:22px;border-bottom:1px solid #2a3946}
.foot-links{display:flex;flex-wrap:wrap;gap:6px 22px;padding:18px 0;border-bottom:1px solid #2a3946}
.foot-links a{text-decoration:none}
.foot-links a:hover{text-decoration:underline}
.article{max-width:72ch;margin:0 auto;padding:36px 0}
.article h2{color:#fff;font-size:28px;margin:30px 0 12px}
.article h2:first-child{margin-top:0}
.article h3{color:var(--marker);font-size:20px;margin:24px 0 8px}
.article p{margin-bottom:12px}
.article ol{margin:0 0 12px 22px}
.article li{margin-bottom:6px}
.article strong{color:#fff}
.faq details{border-top:1px solid #2a3946}
.faq details:last-child{border-bottom:1px solid #2a3946}
.faq summary{cursor:pointer;list-style:none;padding:14px 0;font-weight:700;color:#fff;display:flex;justify-content:space-between;gap:14px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:22px;line-height:1;color:var(--marker)}
.faq details[open] summary::after{content:"–"}
.faq details p{padding-bottom:14px}
.foot-cols{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:28px;padding:28px 0;border-top:1px solid #2a3946}
.foot-cols h3{font-size:16px;color:#fff;margin-bottom:10px}
.foot-cols ul{list-style:none;display:flex;flex-direction:column;gap:6px}
.foot-cols a{text-decoration:none;color:#cfe3f1}
.foot-cols a:hover{color:#fff;text-decoration:underline}
.foot-brand{font-size:26px;color:#fff;margin-bottom:8px}
.foot-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding-top:18px;border-top:1px solid #2a3946;font-size:14px}
.foot-bottom ul{list-style:none;display:flex;gap:16px}

/* ---------- floating sticky notes ---------- */
.note-float{position:fixed;bottom:28px;z-index:40;background:var(--marker);border:var(--rule);border-radius:4px;padding:10px 14px;font-family:var(--hand);font-size:19px;line-height:1.1;text-decoration:none;box-shadow:4px 4px 0 var(--ink)}
.note-float:hover{background:#fff}
.note-left{left:20px;transform:rotate(-3deg)}
.note-right{right:20px;transform:rotate(2deg)}

/* mobile CTA bar */
.mbar{display:none;position:fixed;left:0;right:0;bottom:0;z-index:60;background:var(--ink);padding:10px 16px;gap:10px}
.mbar .btn{flex:1}
.mbar .btn-ghost{border-color:#3b4b58;color:var(--paper);background:transparent}
.mbar .btn-sky{border-color:var(--marker);box-shadow:none}

/* ---------- inner pages ---------- */
.page{padding-top:48px;padding-bottom:60px}
.crumbs{font-size:15px;color:var(--ink-2);margin-bottom:18px}
.crumbs a{color:var(--ink)}
.page h1{font-size:clamp(36px,6vw,72px);max-width:16ch}
.page .lede{font-size:19px;max-width:58ch;margin:18px 0 26px;color:var(--ink-2)}
.steps{list-style:none;counter-reset:s;display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:40px}
.steps li{counter-increment:s;background:var(--sheet);border:var(--rule);border-radius:8px;padding:22px}
.steps li::before{content:"Langkah " counter(s);display:block;font-family:var(--hand);font-size:20px;color:var(--focus);margin-bottom:6px}
.steps h2{font-size:22px;margin-bottom:6px}

/* ---------- responsive ---------- */
@media (max-width:1480px){.note-float{display:none}}
@media (max-width:980px){
  .board,.duo,.intro{grid-template-columns:1fr}
  .notebook > section,.notebook .wide{grid-column:span 6}
  .foot-cols{grid-template-columns:1fr 1fr}
  .head-meta{display:none}
  .plays{min-height:0}
}
@media (max-width:720px){
  body{font-size:16px}
  .head-cta{display:none}
  .menu-btn{display:block}
  .cats{display:none}
  .cats.open{display:block}
  .cats.open ul{flex-direction:column}
  .cats.open a{border-bottom:1px solid var(--grid);margin:0}
  .strip ul{display:none}
  .brand{font-size:20px}
  .board{padding-top:28px;gap:24px}
  .notebook > section,.notebook .wide{grid-column:1/-1}
  .steps{grid-template-columns:1fr}
  .foot-cols{grid-template-columns:1fr}
  .notice{flex-direction:column;gap:4px}
  .mbar{display:flex}
  .display{font-variation-settings:"wdth" 92;overflow-wrap:break-word}
  .page h1,.intro h1{font-size:clamp(28px,8.6vw,44px)}
  .ladder li a{margin-right:0!important}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
  .route{stroke-dashoffset:0}
  .wp{opacity:1}
}
[id]{scroll-margin-top:90px}

/* ---------- richer content ---------- */
.ladder a{flex-direction:column;align-items:stretch;gap:2px}
.ladder .tier{display:flex;justify-content:space-between;gap:10px}
.ladder small{font-weight:400;font-size:14px;line-height:1.4;color:var(--ink-2)}
.ladder li:nth-child(6) small{color:#cfe3f1}
.games .gt{display:block;font-weight:700}
.games .gd{display:block;color:var(--ink-2);font-size:15px;line-height:1.45;margin-top:2px;max-width:46ch}
.posts{display:flex;flex-direction:column}
.post{padding:16px 0;border-top:1px solid var(--grid)}
.sheet .post{border-color:#d6e8f4}
.post:first-child{border-top:0;padding-top:4px}
.post-meta{font-size:14px;color:var(--ink-2);margin-bottom:4px}
.post h3{font-size:19px;margin-bottom:6px}
.post h3 a{text-decoration:none}
.post h3 a:hover{text-decoration:underline;text-decoration-thickness:3px;text-decoration-color:var(--marker)}
.post p:last-child{color:var(--ink-2);font-size:16px;max-width:62ch}
.ticks li p{color:var(--ink-2);font-size:16px;margin-top:2px;max-width:60ch}
.ticks{gap:16px}
.genre-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.genre{display:flex;flex-direction:column;gap:4px;padding:16px 18px;background:var(--sheet);border:2px solid var(--ink);border-radius:8px;text-decoration:none}
.genre b{font-size:19px}
.genre span{color:var(--ink-2);font-size:16px;line-height:1.45}
.genre small{font-family:var(--hand);font-size:16px;color:var(--focus);margin-top:4px}
.genre:hover{background:var(--marker)}
.genre:hover span{color:var(--ink)}
.info-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:6px}
.info-cols h3{font-size:18px;margin-bottom:6px}
.info-cols p{color:var(--ink-2);font-size:16px;margin-bottom:8px}
.info-cols > div > a{font-weight:700}
.article ul{margin:0 0 12px 22px}
@media (max-width:980px){.genre-grid{grid-template-columns:1fr 1fr}.info-cols{grid-template-columns:1fr}}
@media (max-width:720px){.genre-grid{grid-template-columns:1fr}.ladder small{display:block}}
