:root{
  --orange:#ff6500;
  --orange-2:#ff7a24;
  --orange-soft:#fff4ed;
  --ink:#101010;
  --muted:#70747a;
  --line:#e9e9e9;
  --soft:#f7f7f6;
  --green:#15945a;
  --green-soft:#eaf8f0;
  --red:#d8424b;
  --red-soft:#fff0f1;
  --shadow:0 18px 50px rgba(15,15,15,.08);
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:#f1f1ef}
body{
  margin:0;color:var(--ink);background:#f1f1ef;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}
button,a{font:inherit;-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
.app-shell{max-width:620px;min-height:100dvh;margin:0 auto;background:#fff;position:relative;box-shadow:0 0 70px rgba(0,0,0,.06)}
.topbar{
  height:72px;padding:8px 18px;display:flex;align-items:center;justify-content:space-between;
  position:sticky;top:0;z-index:30;background:rgba(255,255,255,.9);backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(233,233,233,.75)
}
.brand{border:0;background:transparent;padding:0;display:flex;align-items:center}
.brand-logo{display:block;height:48px;width:49px;object-fit:contain;border-radius:10px}
.icon-btn{width:40px;height:40px;border:1px solid var(--line);border-radius:14px;background:#fff;display:grid;place-items:center}
.icon-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
main{padding:24px 18px calc(108px + env(safe-area-inset-bottom));min-height:calc(100dvh - 72px)}
.page-head{padding:8px 2px 24px}
.eyebrow{display:inline-flex;align-items:center;gap:7px;color:var(--orange);font-size:11px;font-weight:850;letter-spacing:.11em;text-transform:uppercase;margin-bottom:9px}
.eyebrow-icon{width:8px;height:8px;color:var(--orange)}
h1,h2{font-family:ui-rounded,"Arial Rounded MT Bold",Inter,system-ui,sans-serif}
h1{font-size:35px;line-height:1.03;letter-spacing:-.055em;margin:0 0 10px}
.page-head p{font-size:14px;line-height:1.6;color:var(--muted);max-width:470px;margin:0}
.challenge-list{display:grid;gap:12px}
.ad-card{
  background:#fff;border:1px solid #E5E7EB;border-radius:16px;padding:16px;
  box-shadow:0 5px 20px rgba(0,0,0,.035);overflow:hidden
}
.ad-teaser-top{display:flex;align-items:center;gap:9px;margin-bottom:12px}
.ad-label{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#777;margin:0}
.ad-megaphone{width:24px;height:24px;color:#4A9EFF;display:grid;place-items:center;flex:none}
.ad-megaphone svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ad-megaphone-large{width:28px;height:28px;margin-bottom:10px}
.ad-megaphone-large svg{width:28px;height:28px}
.ad-teaser h2{font-size:20px;line-height:1.2;letter-spacing:-.03em;margin:0 0 6px}
.ad-teaser p{font-size:13px;line-height:1.5;color:var(--muted);margin:0 0 14px}
.ad-view-btn{
  width:100%;height:44px;border:0;border-radius:12px;background:#4A9EFF;color:#fff;
  font-weight:800;font-size:14px
}
.ad-view-btn:active{transform:scale(.985)}
.ad-page{padding-bottom:20px}
.ad-page-head{padding:30px 2px 22px}
.ad-page-head .eyebrow{margin-bottom:7px}
.ad-page-head h1{margin:0 0 9px}
.ad-page-head p{font-size:14px;line-height:1.6;color:var(--muted);margin:0}
.ad-divider{height:1px;background:#E5E7EB;margin:0 0 18px}
.ad-slot-box{min-height:100px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.secondary-btn{
  width:100%;height:44px;border:1px solid #E5E7EB;border-radius:12px;background:#fff;
  color:var(--ink);font-weight:800;margin-top:18px
}
.secondary-btn:active{transform:scale(.985)}
.challenge-card{
  width:100%;text-align:left;border:1px solid var(--line);border-radius:24px;background:#fff;padding:17px;
  box-shadow:0 5px 20px rgba(0,0,0,.035);transition:.2s ease;position:relative;overflow:hidden
}
.challenge-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--orange);opacity:.9}
.challenge-card:active{transform:scale(.988)}
@media(hover:hover){.challenge-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#ddd}}
.status{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:850;letter-spacing:.02em;margin-bottom:14px}
.status-dot{width:8px;height:8px;color:currentColor;flex:none}
.status.mendatang{background:#fff7df;color:#876800}.status.mulai{background:var(--green-soft);color:var(--green)}.status.selesai{background:var(--red-soft);color:var(--red)}
.card-title{font-size:20px;font-weight:850;line-height:1.18;letter-spacing:-.035em;padding-right:26px;margin-bottom:7px}
.card-desc{font-size:13px;line-height:1.5;color:var(--muted);margin-bottom:16px}
.card-meta{display:grid;grid-template-columns:1.25fr .7fr .65fr;gap:8px;border-top:1px solid var(--line);padding-top:13px}
.meta-label{display:block;font-size:9px;color:#989b9f;margin-bottom:4px}.meta-value{display:block;font-size:11px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card-arrow{position:absolute;right:17px;top:50%;transform:translateY(-50%);width:31px;height:31px;border-radius:11px;background:var(--soft);display:grid;place-items:center;font-size:18px}
.detail-top{margin-bottom:24px}.back-link{border:0;background:transparent;padding:0;color:#777b80;font-size:13px;font-weight:800;margin-bottom:18px}
.detail-title{font-size:34px;line-height:1.02;letter-spacing:-.055em;margin:0 0 9px}.detail-desc{font-size:14px;line-height:1.55;color:var(--muted);margin:0}
.quote{position:relative;margin:20px 0 22px;padding:20px 18px 20px 20px;border-radius:21px;background:linear-gradient(135deg,var(--orange-soft),#fff);border:1px solid #ffe2d3;font-size:18px;font-weight:850;line-height:1.4;letter-spacing:-.025em;overflow:hidden}
.quote:after{content:"";position:absolute;width:90px;height:90px;border-radius:50%;background:#ffd5bf;right:-38px;bottom:-50px;opacity:.5}.quote-mark{color:var(--orange);display:inline-flex;vertical-align:-4px;margin-right:7px}.quote-mark .ui-icon{width:23px;height:23px}
.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:21px;overflow:hidden;margin-bottom:28px}
.info-cell{background:#fff;padding:15px}.info-label{font-size:10px;color:#92969a;margin-bottom:6px}.info-value{font-size:12px;font-weight:850;line-height:1.45}
.section{margin-bottom:28px}.section-head{display:flex;align-items:center;gap:9px;font-size:16px;font-weight:850;margin-bottom:13px}.section-icon{width:30px;height:30px;border-radius:10px;background:var(--soft);display:grid;place-items:center;font-size:14px;color:#333}
.steps,.rules{list-style:none;margin:0;padding:0;display:grid;gap:10px}.steps li,.rules li{display:flex;gap:10px;font-size:13px;line-height:1.55;color:#3f4246}.step-num{flex:none;width:24px;height:24px;border-radius:50%;background:#f0f0ef;display:grid;place-items:center;font-size:10px;font-weight:850;color:#555}.rule-dot{width:10px;height:10px;color:var(--orange);margin:7px 0 0 1px;flex:none}
.follow-box{padding:17px;border:1px solid var(--line);border-radius:21px;background:#fff}.follow-title{font-size:15px;font-weight:850;margin-bottom:5px}.follow-desc{font-size:12px;color:var(--muted);line-height:1.5;margin-bottom:14px}.ig-row{display:grid;gap:8px}
.ig-btn{display:flex;align-items:center;justify-content:space-between;text-decoration:none;color:var(--ink);border:1px solid var(--line);padding:12px;border-radius:15px;font-size:12px;font-weight:850;transition:.18s ease}.ig-btn:hover{border-color:#ffc8ad;background:var(--orange-soft)}
.ig-left{display:flex;align-items:center;gap:10px}.ig-icon{width:31px;height:31px;border-radius:10px;background:var(--orange-soft);color:var(--orange);display:grid;place-items:center;font-size:15px;font-weight:900}
.primary-btn{display:block;width:100%;border:0;border-radius:16px;background:var(--orange);color:#fff;padding:15px 16px;font-size:13px;font-weight:850;text-align:center;text-decoration:none;box-shadow:0 12px 25px rgba(255,101,0,.2);transition:.18s ease}.primary-btn:active{transform:scale(.985)}
.winner{padding:16px;border-radius:17px;background:var(--soft);border:1px solid var(--line);font-size:13px;line-height:1.55}.winner-name{font-weight:900}.winner-empty{color:var(--muted)}
.about-card{padding:19px;border:1px solid var(--line);border-radius:22px;margin-bottom:12px}.about-card h2{font-size:18px;letter-spacing:-.03em;margin:0 0 8px}.about-card p{font-size:13px;line-height:1.65;color:#555;margin:0}.creator{display:flex;align-items:center;gap:12px;background:var(--orange-soft);border:1px solid #ffe1d3;border-radius:18px;padding:14px;margin-top:14px}.creator-mark{width:41px;height:41px;border-radius:13px;background:var(--orange);color:#fff;display:grid;place-items:center;font-weight:900}.creator small{display:block;color:#777;font-size:10px;margin-bottom:3px}.creator strong{font-size:13px}
.accordion{border:1px solid var(--line);border-radius:17px;overflow:hidden}.acc-item+.acc-item{border-top:1px solid var(--line)}.acc-btn{width:100%;border:0;background:#fff;padding:15px;text-align:left;font-size:13px;font-weight:800;display:flex;justify-content:space-between;align-items:center}.acc-content{display:none;padding:0 15px 15px;font-size:12px;line-height:1.6;color:var(--muted)}.acc-item.open .acc-content{display:block}
.bottom-nav{position:fixed;z-index:40;left:50%;bottom:0;transform:translateX(-50%);width:min(620px,100%);padding:9px 18px calc(9px + env(safe-area-inset-bottom));background:rgba(255,255,255,.92);backdrop-filter:blur(18px);border-top:1px solid rgba(233,233,233,.85);display:grid;grid-template-columns:1fr 1fr;gap:8px}.nav-item{border:0;background:transparent;color:#8a8d91;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;font-weight:800;padding:5px}.nav-item svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.nav-item.active{color:var(--orange)}
@media(min-width:700px){body{padding:20px 0}.app-shell{border-radius:30px;overflow:hidden}.topbar{position:sticky}.bottom-nav{bottom:20px;border:1px solid var(--line);border-radius:20px;width:580px;box-shadow:0 15px 45px rgba(0,0,0,.1)}}

/* SVG-only interface icons */
.ui-icon{width:18px;height:18px;display:inline-block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.section-icon .ui-icon{width:16px;height:16px}
.ig-icon .ui-icon{width:16px;height:16px}
.card-arrow .ui-icon{width:17px;height:17px}
.primary-btn .ui-icon{width:16px;height:16px;vertical-align:-3px;margin-left:5px}
.ig-btn>.ui-icon{width:16px;height:16px}
.back-link{display:inline-flex;align-items:center;gap:7px}
.back-link .ui-icon{width:17px;height:17px}
.section-icon{font-size:0}
.chev{display:grid;place-items:center}
.chev .ui-icon{width:17px;height:17px;transition:.2s}
.acc-item.open .chev .ui-icon{transform:rotate(180deg)}
.primary-btn{display:flex;align-items:center;justify-content:center;gap:2px}
.ig-icon{font-size:0}
.ig-btn>span:last-child{display:grid;place-items:center}
.ig-btn>span:last-child .ui-icon{width:16px;height:16px}


/* Ad page / card dark mode */
@media (prefers-color-scheme: dark){
  .ad-card,.secondary-btn{background:#151B23;border-color:#303640}
  .ad-teaser h2,.ad-page-head h1{color:#fff}
  .ad-divider{background:#303640}
  .ad-label{color:#aeb4bd}
}
