@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600;700;800&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600&display=swap');

/* ── Design Tokens (Material Design 3) ─────────────────────────── */
:root {
  --primary:              #1B6B37;
  --primary-c:            #2D9653;
  --primary-container:    #C7EDD5;
  --on-primary:           #FFFFFF;
  --on-primary-container: #002111;

  --secondary:            #745B00;
  --secondary-c:          #F0AC2A;
  --secondary-container:  #FFEAB0;

  --tertiary:             #006B5A;
  --tertiary-c:           #00AC8E;
  --tertiary-container:   #81F5DC;

  --error:                #BA1A1A;
  --error-container:      #FFDAD6;

  --surface:              #FBFDF8;
  --surface-low:          #F0F3EE;
  --surface-container:    #E8EBE6;
  --on-surface:           #191C1A;
  --outline:              #6E7970;
  --outline-variant:      #BEC9BF;
  --bg:                   #FBFDF8;
  --white:                #FFFFFF;

  --shadow-1: 0 1px 2px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-2: 0 4px 12px rgba(0,0,0,0.09), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-3: 0 8px 28px rgba(0,0,0,0.11), 0 4px 8px rgba(0,0,0,0.05);

  --border:   1.5px solid var(--outline-variant);
  --radius:   1.5rem;
  --radius-sm: 0.75rem;
  --btn-r:    6.25rem;
  --max-w:    1440px;
  --pad:      64px;
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; }
ul { list-style: none; }

/* ── Base ──────────────────────────────────────────────────────── */
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--on-surface);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
}
h1, h2, h3, h4, h5 { font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1.2; }

/* ── Typography ────────────────────────────────────────────────── */
.headline-lg { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
.headline-md { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
.headline-sm { font-size: 1.375rem; font-weight: 700; }
.label-lg    { font-size: 1rem; font-weight: 600; }
.label-md    { font-size: 0.875rem; font-weight: 600; }

/* ── Navbar — Liquid Glass ─────────────────────────────────────── */
.navbar-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 14px var(--pad);
  pointer-events: none;
}
.navbar {
  pointer-events: all;
  display: flex; align-items: center; gap: 2rem;
  padding: 10px 20px 10px 20px;
  max-width: 1100px; margin: 0 auto;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.80);
  box-shadow:
    0 4px 24px rgba(27, 107, 55, 0.10),
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 -1px 0 rgba(0,0,0,0.04) inset;
  transition: box-shadow 0.35s ease, background 0.35s ease, transform 0.3s ease;
  position: relative; overflow: hidden;
}
.navbar::before {
  content: '';
  position: absolute; inset: 0; border-radius: 100px;
  background: linear-gradient(
    108deg,
    rgba(255,255,255,0.65) 0%,
    rgba(199,237,213,0.28) 45%,
    rgba(255,255,255,0.05) 65%,
    rgba(27,107,55,0.05) 100%
  );
  pointer-events: none; z-index: 0;
}
.navbar-wrap.scrolled .navbar {
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 8px 40px rgba(27, 107, 55, 0.18),
    0 2px 8px rgba(0,0,0,0.07),
    0 1px 0 rgba(255,255,255,0.95) inset;
  transform: translateY(2px);
}
.navbar__logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 1.6rem; letter-spacing: -1px;
  background: linear-gradient(135deg, var(--primary) 0%, #00AC8E 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative; z-index: 1;
  transition: filter 0.2s;
}
.navbar__logo:hover { filter: brightness(1.15); }
.navbar__links { display: flex; gap: 2px; margin-left: auto; position: relative; z-index: 1; }
.navbar__links a {
  font-weight: 600; font-size: 0.9rem; color: var(--on-surface);
  padding: 7px 16px; border-radius: 100px; opacity: 0.7;
  transition: all 0.2s ease;
}
.navbar__links a:hover {
  opacity: 1; background: rgba(27,107,55,0.09); color: var(--primary);
}
.navbar .btn-sm {
  position: relative; z-index: 1;
  background: var(--primary); color: #fff;
  border: none; font-weight: 700;
  box-shadow: 0 2px 14px rgba(27,107,55,0.38);
  transition: all 0.22s;
}
.navbar .btn-sm:hover {
  background: var(--primary-c);
  box-shadow: 0 4px 22px rgba(27,107,55,0.52);
  transform: translateY(-1px);
}

/* body padding-top agar konten tidak tertutup fixed navbar */
body { padding-top: 80px; }


/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 12px 24px; border-radius: var(--btn-r);
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.9375rem;
  border: none; transition: all 0.2s ease; cursor: pointer; line-height: 1.4;
}
.btn-primary {
  background: var(--primary); color: var(--on-primary);
  box-shadow: var(--shadow-1);
}
.btn-primary:hover { background: var(--primary-c); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); box-shadow: var(--shadow-1); }
.btn-outlined {
  background: transparent; color: var(--primary);
  border: 1.5px solid var(--outline-variant);
}
.btn-outlined:hover { background: rgba(27,107,55,0.06); border-color: var(--primary); }
.btn-amber {
  background: var(--secondary-container); color: var(--secondary);
  box-shadow: var(--shadow-1);
}
.btn-amber:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.btn-sm { padding: 8px 16px; font-size: 0.8125rem; }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: 1fr 440px; gap: 64px;
  align-items: center; min-height: 88vh;
  padding: 80px var(--pad); max-width: var(--max-w); margin: 0 auto;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--secondary-container); border-radius: 100px;
  padding: 8px 20px; font-weight: 600; font-size: 0.875rem;
  color: var(--secondary); margin-bottom: 24px;
}
.hero__badge .material-symbols-rounded { font-size: 1.1rem; line-height: 1; }
.hero__title { margin-bottom: 16px; }
.hero__sub { color: var(--outline); max-width: 520px; font-size: 1.125rem; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__illus {
  width: 440px; height: 440px; flex-shrink: 0;
  background: var(--primary-container);
  border-radius: var(--radius);
  box-shadow: var(--shadow-3);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero__illus img { width: 88%; height: 88%; object-fit: contain; }

/* ── Section ───────────────────────────────────────────────────── */
.section { padding: 80px var(--pad); max-width: var(--max-w); margin: 0 auto; }
.section__title { text-align: center; margin-bottom: 48px; }

/* ── Card ──────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  border: 1px solid rgba(0,0,0,0.04);
}

/* ── Game Cards (index) ─────────────────────────────────────────── */
.game-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.game-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  border: 1px solid rgba(0,0,0,0.04);
  display: flex; flex-direction: column; overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.game-card:hover { box-shadow: var(--shadow-3); transform: translateY(-4px); }
.game-card__header {
  height: 180px; display: flex; align-items: center; justify-content: center; padding: 24px;
}
.game-card__header img { width: 110px; height: 110px; object-fit: contain; }
.game-card__header--g { background: var(--primary-container); }
.game-card__header--a { background: var(--secondary-container); }
.game-card__header--t { background: var(--tertiary-container); }
.game-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.game-card__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.game-card__desc { color: var(--outline); font-size: 0.9rem; margin-bottom: 16px; flex: 1; }
.stars { display: flex; gap: 4px; font-size: 1.25rem; color: var(--secondary-c); margin-bottom: 16px; }

/* ── Footer ────────────────────────────────────────────────────── */
.footer { background: var(--on-surface); color: var(--white); padding: 48px var(--pad); }
.footer__inner { max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer__logo { font-size: 1.5rem; font-weight: 800; color: var(--primary-c); font-family: 'Plus Jakarta Sans',sans-serif; }
.footer__tagline { font-size: 0.85rem; opacity: 0.65; margin-top: 4px; }
.footer__links { display: flex; gap: 24px; }
.footer__links a { opacity: 0.75; transition: opacity 0.15s; }
.footer__links a:hover { opacity: 1; }
.footer__copy { width: 100%; text-align: center; opacity: 0.45; font-size: 0.8rem; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 24px; }

/* ── Game Page ─────────────────────────────────────────────────── */
.game-header-wrap { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--outline-variant); }
.game-header { display: flex; align-items: center; gap: 16px; padding: 14px var(--pad); max-width: var(--max-w); margin: 0 auto; }
.game-header__logo { font-family: 'Plus Jakarta Sans',sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--primary); }
.game-header__title { font-size: 1.1rem; font-weight: 700; margin: 0 auto; }
.level-dots { display: flex; gap: 8px; }
.level-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--surface-low); border: 2px solid var(--outline-variant); transition: background 0.3s; }
.level-dot.active { background: var(--primary); border-color: var(--primary); }
.score-badge { background: var(--primary); color: var(--white); padding: 6px 16px; border-radius: 100px; font-weight: 700; white-space: nowrap; }

/* ── Story Banner ──────────────────────────────────────────────── */
.story-banner {
  background: var(--surface-low); border: 1px solid var(--outline-variant); border-radius: var(--radius);
  padding: 20px 24px; display: flex; gap: 20px; align-items: center; position: relative;
  margin: 20px auto; max-width: calc(var(--max-w) - 2*var(--pad)); width: calc(100% - 2*var(--pad));
}
.story-banner__illus {
  width: 88px; height: 88px; flex-shrink: 0;
  background: var(--primary-container);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.story-banner__illus img { width: 78px; height: 78px; object-fit: contain; }
.level-badge {
  position: absolute; top: -12px; right: 24px;
  background: var(--primary); color: var(--white);
  border-radius: 100px; padding: 4px 16px; font-weight: 700; font-size: 0.875rem;
}

/* ── Game Area ─────────────────────────────────────────────────── */
.game-area { max-width: calc(var(--max-w) - 2*var(--pad)); margin: 0 auto 32px; padding: 0 var(--pad); }
.level-section { display: none; }
.level-section.active { display: block; }

/* ── Drag Cards ────────────────────────────────────────────────── */
.drag-card {
  background: var(--white); border: 2px solid var(--outline-variant);
  border-radius: var(--radius-sm);
  padding: 12px; cursor: grab; user-select: none;
  box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: box-shadow 0.15s, transform 0.15s; min-width: 100px;
}
.drag-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.drag-card:active { cursor: grabbing; transform: translateY(0); }
.drag-card.dragging { opacity: 0.45; transform: none; box-shadow: none; }
.drag-card--dis { border-color: var(--secondary-c); }
.drag-card__icon { width: 72px; height: 72px; background: var(--surface-low); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 2.25rem; }

/* ── Drop Slots ────────────────────────────────────────────────── */
.drop-slot {
  border: 2px dashed var(--outline-variant); border-radius: var(--radius);
  padding: 12px; min-height: 110px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; position: relative; transition: border-color 0.15s, background 0.15s;
}
.drop-slot__num {
  width: 26px; height: 26px; background: var(--primary); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem; position: absolute; top: 8px; left: 8px;
}
.drop-slot.dragover { border-color: var(--primary); background: var(--primary-container); border-style: solid; }
.drop-slot.correct  { border-color: var(--primary); background: var(--primary-container); border-style: solid; }
.drop-slot.wrong    { border-color: var(--error);   background: var(--error-container); border-style: solid; }
.drop-slot.filled   { border-style: solid; border-color: var(--outline-variant); }

/* ── Two-Panel ─────────────────────────────────────────────────── */
.two-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: var(--surface-low); border: 1px solid var(--outline-variant); border-radius: var(--radius); padding: 20px; }
.panel__title { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 14px; }
.cards-pool { display: flex; flex-wrap: wrap; gap: 10px; }
.slots-col  { display: flex; flex-direction: column; gap: 10px; }

/* ── Drop Zones ────────────────────────────────────────────────── */
.drop-zone {
  border: 2px solid var(--outline-variant); border-radius: var(--radius); padding: 20px;
  min-height: 140px; display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: transform 0.12s;
}
.drop-zone.dragover { transform: scale(1.03); }
.drop-zone--g  { background: var(--primary-container);   border-color: var(--primary); }
.drop-zone--a  { background: var(--secondary-container); border-color: var(--secondary); }
.drop-zone--b  { background: #dbeafe; border-color: #1d4ed8; }
.drop-zone--r  { background: var(--error-container);     border-color: var(--error); }
.drop-zone__label { font-weight: 700; }
.drop-zone__icon  { font-size: 2rem; }
.drop-zone__items { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }

/* ── Bins (game3) ──────────────────────────────────────────────── */
.bin-zone {
  border: 2px solid var(--outline-variant); border-radius: var(--radius); padding: 16px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  min-height: 180px; transition: transform 0.15s, box-shadow 0.15s;
}
.bin-zone.dragover { transform: scale(1.04); box-shadow: var(--shadow-2); }
.bin-zone--org { background: var(--primary-container);   border-color: var(--primary); }
.bin-zone--dau { background: #dbeafe; border-color: #1d4ed8; }
.bin-zone--res { background: var(--error-container);     border-color: var(--error); }
.bin-zone__icon  { font-size: 2.5rem; }
.bin-zone__label { font-weight: 700; text-align: center; line-height: 1.3; }
.bin-zone__sub   { font-size: 0.78rem; color: var(--outline); text-align: center; }
.bin-zone.shake  { animation: bin-shake 0.4s ease; }

/* ── Progress Bar ──────────────────────────────────────────────── */
.progress-wrap { background: var(--surface-low); border: 1px solid var(--outline-variant); border-radius: 100px; padding: 3px; }
.progress-fill { height: 12px; border-radius: 100px; background: var(--primary); transition: width 0.5s ease; }
.progress-label { font-size: 0.875rem; font-weight: 600; margin-bottom: 6px; }

/* ── Vertical Meter ────────────────────────────────────────────── */
.meter-v { background: var(--surface-low); border: 1px solid var(--outline-variant); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 96px; }
.meter-v__track { width: 38px; height: 200px; background: var(--white); border: 1px solid var(--outline-variant); border-radius: 100px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.meter-v__fill  { width: 100%; transition: height 0.5s ease; border-radius: 100px; }
.meter-v--bumi .meter-v__fill   { background: var(--primary); }
.meter-v--polusi .meter-v__fill { background: var(--error); }
.meter-v__label { font-size: 0.7rem; font-weight: 700; text-align: center; letter-spacing: 0.5px; }
.meter-v__earth { font-size: 2rem; }

/* ── Timer Circle ──────────────────────────────────────────────── */
.timer-circle { position: relative; width: 80px; height: 80px; }
.timer-circle svg { transform: rotate(-90deg); }
.timer-circle__track { fill: none; stroke: var(--surface-low); stroke-width: 6; }
.timer-circle__fill  { fill: none; stroke-width: 6; stroke-linecap: round; transition: stroke-dashoffset 1s linear, stroke 1s; }
.timer-circle__text  { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; }

/* ── Overlays ──────────────────────────────────────────────────── */
.overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.50); backdrop-filter: blur(6px);
  z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px;
}
.overlay.hidden { display: none; }

/* Feedback card (wrong answer) */
.overlay__card {
  background: linear-gradient(145deg, var(--secondary-container) 0%, #FFCD60 100%);
  border-radius: 28px;
  padding: 40px 36px; max-width: 500px; width: 100%; text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.28), 0 0 0 5px rgba(255,255,255,0.8);
  animation: card-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative; overflow: hidden;
}

/* Fact card (Tahukah Kamu) */
.overlay__card--white {
  background: linear-gradient(145deg, #EBF9F0 0%, var(--primary-container) 100%);
}

/* Decorative background blobs */
.overlay__card::before {
  content: ''; position: absolute;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,0.22); top: -80px; right: -50px; pointer-events: none;
}
.overlay__card::after {
  content: ''; position: absolute;
  width: 130px; height: 130px; border-radius: 50%;
  background: rgba(255,255,255,0.18); bottom: -50px; left: -40px; pointer-events: none;
}

/* Sparkle row */
.overlay__stars {
  display: flex; justify-content: center; gap: 10px;
  margin-bottom: 12px; position: relative; z-index: 1;
}
.overlay__stars span { display: inline-block; animation: star-spin 3s ease-in-out infinite; }
.overlay__stars span:nth-child(1) { font-size: 0.9rem;  animation-delay: 0s; }
.overlay__stars span:nth-child(2) { font-size: 1.4rem;  animation-delay: 0.55s; }
.overlay__stars span:nth-child(3) { font-size: 0.9rem;  animation-delay: 1.1s; }

/* "Tahukah Kamu?" badge pill */
.overlay__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.62); border-radius: 100px;
  padding: 6px 16px; font-size: 0.8125rem; font-weight: 700;
  margin-bottom: 16px; position: relative; z-index: 1;
}
.overlay__badge .material-symbols-rounded { font-size: 1rem; line-height: 1; }

/* Icon bubble */
.overlay__illus {
  width: 100px; height: 100px;
  background: rgba(255,255,255,0.55); border-radius: 50%;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  position: relative; z-index: 1;
}
.overlay__illus img { width: 70px; height: 70px; object-fit: contain; }

.overlay__title {
  font-size: 1.75rem; font-weight: 800; margin-bottom: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif; position: relative; z-index: 1;
}
.overlay__text {
  margin-bottom: 28px; line-height: 1.8; font-size: 1.0625rem;
  position: relative; z-index: 1;
}

@keyframes card-pop {
  from { transform: scale(0.5) translateY(30px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
@keyframes star-spin {
  0%, 100% { transform: scale(1) rotate(0deg); }
  30%  { transform: scale(1.35) rotate(22deg); }
  70%  { transform: scale(0.8)  rotate(-18deg); }
}

/* ── Sequence Strip (game1 L2) ─────────────────────────────────── */
.seq-strip { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.seq-card { background: var(--white); border: 2px solid var(--outline-variant); border-radius: var(--radius); padding: 14px; width: 110px; text-align: center; box-shadow: var(--shadow-1); }
.seq-slot { width: 110px; min-height: 95px; border: 2px dashed var(--outline-variant); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: default; }
.seq-slot.correct { border-style: solid; border-color: var(--primary); background: var(--primary-container); }
.choices-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Chaos Zone (game1/3 L3) ───────────────────────────────────── */
.chaos-zone { position: relative; height: 280px; background: var(--surface-low); border: 1px solid var(--outline-variant); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.chaos-item { position: absolute; z-index: 10; cursor: grab; user-select: none; }
.chaos-item .drag-card { width: 96px; padding: 8px; min-width: unset; }
.chaos-item .drag-card__icon { width: 52px; height: 52px; font-size: 1.65rem; }

/* ── Plate Builder (game2 L3) ──────────────────────────────────── */
.plate-circle { width: 320px; height: 320px; border-radius: 50%; border: 2px solid var(--outline-variant); overflow: hidden; position: relative; flex-shrink: 0; }
.plate-zone { position: absolute; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; font-size: 0.75rem; font-weight: 700; text-align: center; transition: opacity 0.2s; }
.plate-zone--sayur { background: var(--primary-container);   left: 0; width: 50%; height: 100%; }
.plate-zone--pokok { background: var(--secondary-container); right: 0; top: 0; width: 50%; height: 50%; border-bottom: 2px solid rgba(22,29,31,0.08); }
.plate-zone--lauk  { background: #dbeafe; right: 0; bottom: 0; width: 50%; height: 50%; }
.plate-zone.dragover { opacity: 0.75; }
.plate-zone__filled { display: flex; flex-wrap: wrap; gap: 3px; justify-content: center; margin-top: 4px; font-size: 1.25rem; }

/* ── Bumi Meter item fall ──────────────────────────────────────── */
.fall-item { background: var(--white); border: 1px solid var(--outline-variant); border-radius: var(--radius); padding: 20px; text-align: center; animation: fall-in 0.45s ease; max-width: 160px; margin: 0 auto; }
.next-preview { display: flex; gap: 12px; justify-content: center; margin-bottom: 16px; }
.next-card { background: var(--surface-low); border: 1px solid var(--outline-variant); border-radius: var(--radius-sm); padding: 8px 12px; font-size: 0.8rem; text-align: center; opacity: 0.75; }

/* ── 3-col game layout ─────────────────────────────────────────── */
.three-col { display: grid; grid-template-columns: 96px 1fr 180px; gap: 20px; align-items: start; }
.bins-row  { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }

/* ── Polusi/warning text ────────────────────────────────────────── */
.polusi-warn { color: var(--error); font-weight: 700; font-size: 0.8rem; text-align: center; animation: pulse-blink 0.6s ease infinite; }

/* ── Animations ────────────────────────────────────────────────── */
@keyframes bin-shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-8px) rotate(-2deg); }
  75% { transform: translateX( 8px) rotate( 2deg); }
}
@keyframes pulse-border {
  0%,100% { border-color: var(--outline-variant); }
  50% { border-color: var(--secondary-c); }
}
@keyframes fall-in {
  from { transform: translateY(-70px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes pulse-blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.pulsing { animation: pulse-border 1.4s ease infinite; }

@keyframes bin-open {
  0%   { transform: scaleY(1.00); }
  35%  { transform: scaleY(1.10); }
  100% { transform: scaleY(1.00); }
}
.bin-open { animation: bin-open 0.45s ease; }

/* ── Utilities ─────────────────────────────────────────────────── */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.items-center    { align-items: center; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.w-full { width: 100%; }
.hidden { display: none !important; }
.bold { font-weight: 700; }
.text-primary { color: var(--primary); }
.text-error   { color: var(--error); }
.text-outline { color: var(--outline); }
.rounded-full { border-radius: 100px; }
