/* Gaya bersama Kawan Ceria: garis tepi tebal, sudut bulat, bayangan padat. */
:root {
  --ink: #2b2140;
  --bg: #fff4dc;
  --dot: #ffd9a0;
  --card: #fffdf7;
  --accent: #ff8a3d;
  --accent-text: #c4561b;
  --gold: #ffd84d;
  --disabled: #cfc5b4;
  --radius: 22px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: 'Fredoka', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg) radial-gradient(var(--dot) 2px, transparent 2.5px) 0 0 / 26px 26px;
  min-height: 100vh;
}
button { font-family: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
a { color: var(--accent-text); }

.card {
  background: var(--card);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 7px 0 var(--ink);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 0.6em 1.4em;
  box-shadow: 0 5px 0 var(--ink);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
  text-decoration: none;
  transition: transform 0.08s, box-shadow 0.08s;
}
.btn:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.btn:disabled { background: var(--disabled); cursor: not-allowed; }
.btn.ghost { background: #fff; color: var(--ink); text-shadow: none; }

.mini {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35em 0.85em;
  box-shadow: 0 3px 0 var(--ink);
  text-decoration: none;
  color: var(--ink);
}
.mini:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }

.logo {
  margin: 6px 0 4px;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  line-height: 0.95;
  font-weight: 700;
  text-align: center;
  color: #ff6b3d;
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 0 5px 0 var(--ink);
}
.logo span { display: inline-block; color: #4fa8ff; font-size: 0.62em; transform: rotate(-2deg); margin-top: 8px; }

.eyebrow { margin: 0; font-weight: 600; letter-spacing: 1px; color: var(--accent-text); text-transform: uppercase; }

.icon { display: block; flex: none; }

:focus-visible { outline: 4px solid #4fa8ff; outline-offset: 3px; }

@keyframes wob { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg) translateY(-3px); } }
@keyframes pop { 0% { transform: scale(0.85); } 60% { transform: scale(1.05); } 100% { transform: scale(1); } }
@keyframes shake { 0% { transform: rotate(-8deg); } 50% { transform: rotate(8deg) translateY(-3px); } 100% { transform: rotate(-8deg); } }
@keyframes jump { from { transform: translateY(4px); } to { transform: translateY(-14px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
