/* Butang terapung muzik latar (laman utama) */
.bgm-btn { position: fixed; right: 18px; bottom: 18px; z-index: 1500; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
  background: #14502e; color: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.3); transition: transform .2s, background .2s; }
.bgm-btn:hover { transform: translateY(-2px); background: #0f3f24; }
.bgm-btn:focus-visible { outline: 3px solid rgba(132,195,144,.6); outline-offset: 3px; }
.bgm-btn svg { width: 24px; height: 24px; }
.bgm-btn .bgm-ic-on { display: none; }
.bgm-btn.on .bgm-ic-on { display: block; }
.bgm-btn.on .bgm-ic-off { display: none; }
.bgm-btn.on::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(132,195,144,.55); animation: bgm-pulse 1.8s ease-out infinite; pointer-events: none; }
@keyframes bgm-pulse { from { transform: scale(.92); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bgm-btn.on::after { animation: none; opacity: .6; } }
/* Skrin pembuka */
html.bgm-lock, html.bgm-lock body { overflow: hidden; }
.bgm-splash { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: radial-gradient(120% 90% at 50% 0%, #1f6b45 0%, #0f3d27 55%, #07170f 100%); color: #fff; text-align: center;
  transition: opacity .45s ease, visibility .45s; }
.bgm-splash[hidden] { display: none; }
.bgm-splash.out { opacity: 0; visibility: hidden; }
.bgm-splash-in { max-width: 520px; display: flex; flex-direction: column; align-items: center; }
.bgm-splash-logo { width: 116px; height: 116px; object-fit: contain; border-radius: 50%; background: #fff; padding: 8px;
  box-shadow: 0 16px 40px rgba(0,0,0,.35), 0 0 0 6px rgba(255,255,255,.08); }
.bgm-splash-hi { margin: 24px 0 6px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.8); letter-spacing: .02em; }
.bgm-splash h1 { margin: 0; font-size: clamp(28px, 5vw, 44px); font-weight: 800; line-height: 1.1; color: #fff; }
.bgm-splash h1 span { display: block; color: #9fd6ab; }
.bgm-splash-go { margin-top: 30px; display: inline-flex; align-items: center; gap: 10px; padding: 15px 34px; border: 0; border-radius: 999px; cursor: pointer;
  background: #fff; color: #0f3d27; font-family: inherit; font-size: 16px; font-weight: 800; line-height: 1; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 14px 34px rgba(0,0,0,.3); transition: transform .2s; }
.bgm-splash-go:hover { transform: translateY(-2px) scale(1.02); }
.bgm-splash-go:focus-visible { outline: 3px solid rgba(159,214,171,.7); outline-offset: 4px; }
.bgm-splash-go svg { width: 20px; height: 20px; }
.bgm-splash small { margin-top: 16px; font-size: 12.5px; color: rgba(255,255,255,.6); }
@media (prefers-reduced-motion: reduce) { .bgm-splash { transition: none; } }

@media (max-width: 600px) { .bgm-btn { right: 14px; bottom: 14px; width: 48px; height: 48px; } }
