
/* === RESET & BASE === */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
  background-color: var(--theme-bg);
}

/* === COVER TRANSITION === */
#cover {
  transition: opacity 0.9s ease, transform 0.9s ease;
  transform: translate(0%, 0%);
}

#cover.hide {
  opacity: 0;
  transform: translate(0%, -100%);
  pointer-events: none;
}

/* === PAUSE ANIMASI === */
.pause-animations *:not(#cover):not(#cover *) {
  animation-play-state: paused !important;
  transition: none !important;
}

/* === NO SCROLL === */
html.no-scroll,
body.no-scroll {
  height: 100%;
  overflow: hidden !important;
}

body.no-scroll {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
}

/* === CONTROL PANEL === */
#controlPanel {
  position: fixed;
  right: 12px;
  bottom: 10px;
  z-index: 999;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 8px;
  padding: 10px;

  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50px;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  box-shadow:
    0 4px 15px rgba(0,0,0,0.08),
    inset 0 1px 1px rgba(255,255,255,0.22);

  visibility: hidden;
  opacity: 0;
  transform: translateY(150%);

  transition:
    transform 1.2s ease,
    visibility 1.2s ease,
    opacity 0.5s ease;
}

#controlPanel.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* === CONTROL BUTTON === */
#audioBtn,
#autoScrollBtn {
  position: static;

  width: 42px;
  height: 42px;

  padding: 0;
  margin: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: none;
  border: none;
  outline: none;

  cursor: pointer;

  visibility: visible;
  opacity: 1;

  transform: none;

  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* === DISC === */
.disc {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  width: 42px;
  height: 42px;

  border-radius: 50%;
  animation: spin 4s linear infinite;
  transform-origin: center;

  background: none;
  border: none;
  box-shadow: none;

  padding: 0;
  margin: 0;

  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.disc svg {
  width: 100%;
  height: 100%;
  fill: var(--disc-color);
  pointer-events: none;
}

.disc.disc-paused {
  animation-play-state: paused;
}

.disc:focus,
#audioBtn:focus,
.disc:active {
  outline: none;
  box-shadow: none;
  border: none;
}

/* === DISC ANIMASI === */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* === AUTO SCROLL === */
#autoScrollBtn svg {
  width: 42px;
  height: 42px;

  fill: var(--disc-color);
  pointer-events: none;
}

#autoScrollBtn .auto-icon-play {
  display: none;
}

#autoScrollBtn.auto-scroll-off .auto-icon-pause {
  display: none;
}

#autoScrollBtn.auto-scroll-off .auto-icon-play {
  display: block;
}

#autoScrollBtn:focus,
#autoScrollBtn:active {
  outline: none;
  border: none;
  box-shadow: none;
}


/* =======================
   LOGIKA BG
   ======================= */

.elementor,
.elementor-section,
.elementor-container,
.elementor-column,
.elementor-widget-wrap,
.e-con.e-parent {
  background-color: transparent !important;
  background: none !important;
}

body {
  background-color: var(--theme-bg) !important;
}