/* Dua Musim landing — dibuat mengikuti UI game: kertas & kayu, tombol emas ber-bevel, pita judul, ikon hand-painted */
:root {
  --paper: #f6ecd6; --paper2: #fdf6e6; --paper-deep: #efe0c2;
  --ink: #3a2717; --ink2: #5e4630; --muted: #8b7457;
  --wood: #4a2f1a; --wood2: #6a4527; --wood-dark: #2e1c0e;
  --gold: #f0b43a; --gold2: #d5891f; --gold-ink: #4a2a00;
  --green: #5ea143; --green2: #3f7d2c; --sky: #bfe4f5; --sky2: #eaf6fb; --red: #c9483a; --blue: #2f7fb8;
  --shadow: 0 10px 30px rgba(58, 39, 23, .16);
  --font: "Nunito", "Segoe UI", system-ui, sans-serif; --display: "Baloo 2", "Nunito", sans-serif;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .25), rgba(120, 85, 40, .04)); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: 1.15; }
h2 { font-size: clamp(28px, 4vw, 40px); text-align: center; font-weight: 800; }
h3 { font-size: 21px; font-weight: 800; }
code { font-family: ui-monospace, Consolas, monospace; font-size: 14px; background: rgba(74, 47, 26, .08); padding: 2px 7px; border-radius: 6px; }
em { font-style: normal; font-weight: 800; color: var(--ink2); }
.muted { color: var(--muted); }

/* ---------- tombol ala HUD (pill emas ber-bevel) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 26px; border-radius: 999px; font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--gold-ink); white-space: nowrap; letter-spacing: .2px;
  background: linear-gradient(180deg, #ffd167 0%, var(--gold) 45%, #e29a2a 100%); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), inset 0 -4px 0 rgba(120, 60, 0, .28), 0 4px 0 #8f5a12, 0 8px 16px rgba(74, 47, 26, .22); transition: transform .08s, filter .15s; }
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn:active { transform: translateY(3px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(120, 60, 0, .28), 0 1px 0 #8f5a12; }
.btn-secondary { background: linear-gradient(180deg, #fff9ec, #f1e3c4); color: var(--ink); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .8), inset 0 -4px 0 rgba(120, 85, 40, .2), 0 4px 0 #9a7a4c, 0 8px 16px rgba(74, 47, 26, .18); }
.btn-green { background: linear-gradient(180deg, #8fd36c, var(--green) 50%, #4a8a35); color: #10300a; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -4px 0 rgba(20, 60, 10, .3), 0 4px 0 #2f5f22, 0 8px 16px rgba(74, 47, 26, .22); }
.btn-tertiary { background: none; box-shadow: none; color: var(--ink2); height: auto; padding: 0; text-decoration: underline; text-decoration-color: var(--gold2); text-underline-offset: 4px; }
.btn-tertiary:hover, .btn-tertiary:active { transform: none; filter: none; box-shadow: none; color: var(--gold2); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 16px; }
.btn img { width: 26px; height: 26px; }

/* ---------- nav kayu ---------- */
.nav { position: sticky; top: 0; z-index: 10; background: repeating-linear-gradient(90deg, #4d311b 0 140px, #5a3a22 140px 146px, #452b17 146px 150px), #4d311b; background-image: repeating-linear-gradient(90deg, rgba(255,220,160,.05) 0 2px, transparent 2px 9px), repeating-linear-gradient(0deg, rgba(0,0,0,.08) 0 1px, transparent 1px 34px), repeating-linear-gradient(90deg, #4d311b 0 140px, #5a3a22 140px 146px, #452b17 146px 150px); box-shadow: 0 4px 0 var(--wood-dark), 0 8px 20px rgba(0, 0, 0, .3); border-bottom: 2px solid #8a5a33; }
.nav-inner { max-width: var(--max); margin: 0 auto; height: 62px; display: flex; align-items: center; gap: 20px; padding: 0 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: #ffe9b0; font-family: var(--display); font-weight: 800; font-size: 20px; text-shadow: 0 2px 0 rgba(0, 0, 0, .4); }
.brand img { border-radius: 8px; box-shadow: 0 2px 0 rgba(0, 0, 0, .35); }
.nav nav { display: flex; gap: 2px; margin-left: auto; }
.nav nav a { color: #f3e2bd; font-weight: 800; font-size: 15px; padding: 8px 12px; border-radius: 10px; text-shadow: 0 1px 0 rgba(0, 0, 0, .4); }
.nav nav a:hover { background: rgba(255, 230, 170, .14); color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 20px 0; text-align: center;
  background: linear-gradient(180deg, var(--sky2) 0%, var(--sky) 45%, #d7ecc4 72%, var(--paper) 100%); }
.hero::before, .hero::after { content: ""; position: absolute; top: 40px; width: 220px; height: 70px; border-radius: 999px; background: #fff; opacity: .8; filter: blur(2px); animation: drift 60s linear infinite; }
.hero::before { left: -120px; box-shadow: 60px 22px 0 -10px #fff, 120px 8px 0 -20px #fff; }
.hero::after { right: -160px; top: 110px; width: 260px; animation-duration: 80s; animation-direction: reverse; box-shadow: -80px 20px 0 -14px #fff; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(120px); } }
.hero-inner { position: relative; max-width: var(--max); margin: 0 auto; }
.wordmark { width: min(560px, 82vw); margin: 0 auto 6px; filter: drop-shadow(0 6px 0 rgba(58, 39, 23, .18)); }
.wordmark img { width: 100%; }
.eyebrow { display: inline-flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.eyebrow span { background: rgba(255, 255, 255, .7); border: 2px solid rgba(74, 47, 26, .15); color: var(--ink2); border-radius: 999px; padding: 3px 12px; font-size: 13px; font-weight: 800; }
.lead { font-size: 19px; line-height: 1.65; max-width: 720px; margin: 22px auto 0; color: var(--ink); }
.cta { display: flex; gap: 18px; justify-content: center; align-items: center; margin-top: 30px; flex-wrap: wrap; }
.frame { position: relative; margin: 44px auto -1px; max-width: 980px; padding: 10px; background: linear-gradient(180deg, #fff9ea, #f7ecd4); border: 4px solid #8a5a33; border-radius: 16px; box-shadow: 0 0 0 5px #b07a45, 0 0 0 8px #5a3719, inset 0 0 0 3px #f1e0bd, var(--shadow); }
.frame img { border-radius: 8px; }


/* ---------- section umum ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 72px 20px; }
.section.wide { max-width: none; padding-left: 0; padding-right: 0; }
.section.wide > * { max-width: var(--max); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.section.field { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 50%, var(--paper) 100%); }
.section.wood { background: repeating-linear-gradient(90deg, #4d311b 0 140px, #5a3a22 140px 146px, #452b17 146px 150px), #4d311b; background-image: repeating-linear-gradient(90deg, rgba(255,220,160,.05) 0 2px, transparent 2px 9px), repeating-linear-gradient(0deg, rgba(0,0,0,.08) 0 1px, transparent 1px 34px), repeating-linear-gradient(90deg, #4d311b 0 140px, #5a3a22 140px 146px, #452b17 146px 150px); color: #f7e9cb; box-shadow: inset 0 6px 0 var(--wood-dark), inset 0 -6px 0 var(--wood-dark); }
.section.wood h2 { color: #ffe9b0; text-shadow: 0 3px 0 rgba(0, 0, 0, .35); }
.ribbon { position: relative; display: table; margin: 0 auto 10px; padding: 8px 34px; min-width: 240px; color: #4a2200; font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3.6vw, 34px); text-align: center; text-shadow: 0 1px 0 rgba(255, 255, 255, .45);
  background: linear-gradient(180deg, #f9bd5a 0%, #ef9f3a 55%, #e08a26 100%); border-top: 3px solid #c96f1a; border-bottom: 3px solid #c96f1a; box-shadow: 0 5px 0 rgba(120, 60, 0, .25), 0 10px 18px rgba(74, 47, 26, .18); }
.ribbon::before, .ribbon::after { content: ""; position: absolute; top: 10px; width: 34px; height: 100%; background: #c96f1a; z-index: -1; }
.ribbon::before { left: -22px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 40% 50%); }
.ribbon::after { right: -22px; clip-path: polygon(0 0, 100% 0, 60% 50%, 100% 100%, 0 100%); }
.section.wood .ribbon { color: #4a2200; }
.sub { text-align: center; color: var(--muted); font-size: 18px; max-width: 700px; margin: 10px auto 0; }
.section.wood .sub { color: #e6d3ad; }

.grid { display: grid; gap: 22px; margin-top: 36px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }

/* kartu kertas berbingkai kayu (sprite card_paper 9-slice dari game) */
.card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 18px; color: var(--ink); margin: 8px; background: linear-gradient(180deg, #fff9ea, #f7ecd4); border: 4px solid #8a5a33; border-radius: 16px; box-shadow: 0 0 0 5px #b07a45, 0 0 0 8px #5a3719, inset 0 0 0 3px #f1e0bd, var(--shadow); }
.card img.shot { border-radius: 8px; aspect-ratio: 16/9; object-fit: cover; box-shadow: inset 0 0 0 2px rgba(74, 47, 26, .2); }
.card h3 { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.card h3 img { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .15)); }
.card p { color: var(--ink2); font-size: 15px; line-height: 1.55; }
.card .icon-badge { position: absolute; top: -34px; right: -6px; width: 56px; height: 56px; padding: 8px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff8e6, #f2dfb5); box-shadow: 0 3px 0 #a0783f, 0 6px 12px rgba(0, 0, 0, .18); }

/* musim: dua kartu dengan suasana */
.season .tag { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; border-radius: 999px; padding: 3px 12px 3px 6px; font-weight: 800; font-size: 13px; }
.season .tag img { width: 22px; height: 22px; }
.tag.hujan { background: #d5e9f5; color: #17527d; } .tag.kemarau { background: #ffe3a3; color: #7a4a00; }

/* sync bonus (split) */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; }
.split h2 { text-align: left; }
.split .sub { text-align: left; margin-left: 0; }
.split-img { padding: 8px; margin: 8px; background: linear-gradient(180deg, #fff9ea, #f7ecd4); border: 4px solid #8a5a33; border-radius: 16px; box-shadow: 0 0 0 5px #b07a45, 0 0 0 8px #5a3719, inset 0 0 0 3px #f1e0bd, var(--shadow); }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { padding-left: 38px; position: relative; font-weight: 700; color: #f7e9cb; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0; width: 26px; height: 26px; background: url(assets/icons/heart.png) center/contain no-repeat; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .3)); }

/* galeri: foto-foto di atas meja kayu */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 36px; }
.gallery img { border-radius: 6px; border: 8px solid #fffaf0; box-shadow: 0 2px 0 rgba(74, 47, 26, .25), var(--shadow); object-fit: cover; width: 100%; height: 100%; transition: transform .2s; }
.gallery img:hover { transform: rotate(-1deg) scale(1.02); }
.gallery img:nth-child(1) { grid-column: span 4; aspect-ratio: 16/9; transform: rotate(-.6deg); }
.gallery img:nth-child(2) { grid-column: span 2; aspect-ratio: 8/9; transform: rotate(1.2deg); }
.gallery img:nth-child(3), .gallery img:nth-child(4), .gallery img:nth-child(5) { grid-column: span 2; aspect-ratio: 16/10; }
.gallery img:nth-child(4) { transform: rotate(.8deg); }

/* unduhan */
.downloads .card { padding-top: 12px; }
.dl-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.os { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--ink); }
.os i { font-style: normal; font-size: 22px; }
.meta { color: var(--muted); font-size: 13px; font-weight: 700; text-align: right; }
.card.dl .btn { margin-top: 6px; align-self: flex-start; }
.card.dl h3 { margin-top: 0; }
.fine { text-align: center; color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 22px; }
.card .fine { text-align: left; margin-top: 4px; font-size: 13px; }

/* langkah: token kayu bernomor */
.steps { list-style: none; padding: 0; margin: 36px auto 0; max-width: 780px; display: grid; gap: 16px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 20px; margin: 8px; background: linear-gradient(180deg, #fff9ea, #f7ecd4); border: 4px solid #8a5a33; border-radius: 16px; box-shadow: 0 0 0 5px #b07a45, 0 0 0 8px #5a3719, inset 0 0 0 3px #f1e0bd, var(--shadow); }
.steps span { flex: none; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(180deg, #6a4527, #4a2f1a); color: #ffe9b0; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 22px; box-shadow: 0 3px 0 var(--wood-dark), inset 0 0 0 3px #8a5a33; }
.steps h3 { font-size: 19px; }
.steps p { color: var(--ink2); font-size: 15px; line-height: 1.55; margin-top: 4px; }

/* faq: buku catatan */
.faq { max-width: 780px; margin: 36px auto 0; padding: 10px 26px; background: linear-gradient(180deg, #fff9ea, #f7ecd4); border: 4px solid #8a5a33; border-radius: 16px; box-shadow: 0 0 0 5px #b07a45, 0 0 0 8px #5a3719, inset 0 0 0 3px #f1e0bd, var(--shadow); }
.faq details { border-bottom: 2px dashed rgba(74, 47, 26, .18); padding: 14px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 800; font-family: var(--display); font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold2); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink2); font-size: 15px; line-height: 1.55; margin-top: 8px; }

/* catatan update */
.changelog { max-width: 780px; margin: 40px auto 0; text-align: left; padding: 10px 26px 16px; background: linear-gradient(180deg, #fff9ea, #f7ecd4); border: 4px solid #8a5a33; border-radius: 16px; box-shadow: 0 0 0 5px #b07a45, 0 0 0 8px #5a3719, inset 0 0 0 3px #f1e0bd, var(--shadow); }
.changelog h3 { display: flex; align-items: center; gap: 10px; margin: 4px 0 8px; }
.changelog h3 img { width: 30px; height: 30px; }
.changelog details { border-top: 2px dashed rgba(74, 47, 26, .18); padding: 12px 0; }
.changelog summary { cursor: pointer; font-size: 16px; list-style: none; display: flex; gap: 8px; align-items: center; font-weight: 700; }
.changelog summary::-webkit-details-marker { display: none; }
.changelog summary::before { content: "▸"; color: var(--gold2); font-size: 14px; }
.changelog details[open] summary::before { content: "▾"; }
.changelog ul { margin: 10px 0 0 22px; padding: 0; color: var(--ink2); font-size: 15px; line-height: 1.55; }
.changelog li { margin: 5px 0; }

/* footer kayu */
.footer { background: repeating-linear-gradient(90deg, #33200f 0 140px, #3d2714 140px 146px, #2b1a0c 146px 150px), #33200f; background-image: repeating-linear-gradient(90deg, rgba(255,220,160,.05) 0 2px, transparent 2px 9px), repeating-linear-gradient(0deg, rgba(0,0,0,.08) 0 1px, transparent 1px 34px), repeating-linear-gradient(90deg, #33200f 0 140px, #3d2714 140px 146px, #2b1a0c 146px 150px); color: #e6d3ad; padding: 40px 20px 48px; box-shadow: inset 0 6px 0 rgba(0, 0, 0, .3); }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 6px; justify-items: start; font-size: 14px; }
.footer img { border-radius: 9px; margin-bottom: 8px; box-shadow: 0 3px 0 rgba(0, 0, 0, .4); }
.footer .muted { color: #b59f78; }
.footer a { color: #ffe9b0; }

/* strip ikon (hiasan pemisah) */
.icon-strip { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin: 26px auto 0; }
.icon-strip img { width: 44px; height: 44px; filter: drop-shadow(0 3px 0 rgba(58, 39, 23, .2)); animation: bob 3s ease-in-out infinite; }
.icon-strip img:nth-child(2n) { animation-delay: -1s; } .icon-strip img:nth-child(3n) { animation-delay: -2s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

@media (max-width: 860px) {
  .nav nav { display: none; }
  .nav-inner { height: 58px; }
  .grid.three, .grid.two { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; } .split h2, .split .sub { text-align: center; margin-left: auto; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery img:nth-child(n) { grid-column: span 2; aspect-ratio: 16/9; transform: none; }
  .section { padding: 52px 16px; }
  .lead { font-size: 17px; }
  .ribbon { padding: 6px 26px; }
  .card .icon-badge { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hero::before, .hero::after, .icon-strip img { animation: none; } }
