.wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: #25D366;
  color: white;

  padding: 12px 20px;
  border-radius: 10px;

  text-decoration: none;
  font-weight: bold;
  font-size: 16px;

  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: 0.2s;
}

.wa-btn img {
  width: 24px;
  height: 24px;
  background: white;
  padding: 4px;
  border-radius: 6px;
}

.wa-btn span {
  color: white;
}

.wa-btn:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

footer {
  background: #2c3e50;
  color: #fff;
  padding: 15px 0;
}

/* Container biar tidak mepet layar */
.footer-container {
  max-width: 1000px;
  margin: auto;
  padding: 0 20px; /* jarak dari kiri kanan layar */
  
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Kiri */
.footer-left {
  text-align: left;
}

/* Kanan */
.footer-right {
  text-align: right;
}

/* FIX warna link biar kebaca */
.footer-right a {
  color: #25D366 !important; /* hijau terang */
  text-decoration: none;
  font-weight: bold;
}

.footer-right a:hover {
  text-decoration: underline;
  color: #1ebe5d;
}

.galeri {
  max-width: 800px;
  margin: 20px auto;
}

.slider-box {
  margin-bottom: 30px;
}

.slider-box h3 {
  margin-bottom: 10px;
}

/* Slider */
.slider {
  position: relative;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.3s ease;
}

.slides img {
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
}

/* Tombol */
.prev, .next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0,0,0,0.4);
	color: white;
	border: none;
	border-radius: 50%;
	padding: 15px;
	font-size: 20px;
	cursor: pointer;
	z-index: 10; /* penting */
}

.prev { left: 15px; }
.next { right: 15px; }

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.8);
}

.led-text {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  position: relative;

  /* efek emboss */
  text-shadow: 
    1px 1px 0 #000,
    -1px -1px 0 #666,
    2px 2px 4px rgba(0,0,0,0.6);

  /* glow */
  animation: glow 2s ease-in-out infinite alternate;
}

/* efek glow */
@keyframes glow {
  from {
    text-shadow:
      0 0 5px #fff,
      0 0 10px #ff4444,
      1px 1px 2px #000;
  }
  to {
    text-shadow:
      0 0 10px rgba(255,255,255,0.6);
      0 0 20px #00ffcc,
      0 0 30px #00ffcc,
      1px 1px 2px #000;
  }
}

/* efek running LED (kilau jalan) */
.led-text::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.8),
    transparent
  );

  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

#typewriter {
  font-size: 22px;
  color: #fff;
  min-height: 30px;
  letter-spacing: 1px;
}

/* cursor kedip */
#typewriter::after {
  content: "|";
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

/* efek huruf buyar */
.fade-out {
  opacity: 0;
  transform: translateY(-10px);
  transition: 0.3s;
}

.light-text {
  position: relative;
  display: inline-block;
  color: #fff;
  font-weight: bold;
  overflow: hidden;
}

/* cahaya kiri & kanan */
.light-text::before,
.light-text::after {
  content: "";
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
}

/* cahaya dari kiri */
.light-text::before {
  left: -100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.8),
    transparent
  );
  animation: lightLeft 3s infinite;
}

/* cahaya dari kanan */
.light-text::after {
  right: -100%;
  background: linear-gradient(
    270deg,
    transparent,
    rgba(255,255,255,0.8),
    transparent
  );
  animation: lightRight 3s infinite;
}

/* animasi kiri → kanan */
@keyframes lightLeft {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* animasi kanan → kiri */
@keyframes lightRight {
  0% { right: -100%; }
  50% { right: 100%; }
  100% { right: 100%; }
}

.zoom-text {
  display: block; /* bikin CO COMP full baris */
}

.light-text {
  display: block; /* otomatis turun ke bawah */
  margin-top: 5px; /* kasih jarak sedikit biar rapi */
}

.slider {
  touch-action: pan-y; /* biar bisa scroll & swipe */
}

.slides img {
  user-select: none;
  -webkit-user-drag: none;
}

/* Music button */
/* container tengah bawah */
.music-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

/* tombol bulat */
.music-player {
  background: #2c3e50;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* icon */
.music-player img {
  width: 30px;
  height: 30px;
}

.music-player:hover {
  background: #1a252f;
}

.music-player {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #2c3e50;
  padding: 10px 15px;
  border-radius: 30px;
}

.music-player button {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

.music-player img {
  width: 28px;
  height: 28px;
}

/* tombol screenshot */
.screenshot-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 10;
}

.screenshot-btn:hover {
  background: rgba(0,0,0,0.8);
}

/* popup preview */
.preview-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.preview-box {
  background: white;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  max-width: 90%;
}

.preview-box img {
  max-width: 100%;
  border-radius: 8px;
}

.preview-actions {
  margin-top: 10px;
}

.preview-actions button {
  margin: 5px;
  padding: 8px 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn-download { background: #2ecc71; color: white; }
.btn-wa { background: #25D366; color: white; }
.btn-close { background: #e74c3c; color: white; }

.zoom-text {
  display: block;
  font-size: 40px;
  font-weight: bold;
  color: #fff;

  animation: shakeSmooth 1s infinite;
}

@keyframes shakeSmooth {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-1px, 1px); }
  50% { transform: translate(1px, -1px); }
  75% { transform: translate(-1px, -1px); }
  100% { transform: translate(0, 0); }
}

.zoom-text {
  display: block;
  font-size: 40px;
  font-weight: bold;
  color: #fff;

  animation: shakeSmooth 1s infinite;
  text-shadow: 0 0 5px #00ffcc;
}

.slider {
  position: relative;
  overflow: hidden;
}

.screenshot-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 999; /* 🔥 ini penting banget */
}

.no-animate * {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

.slides img {
  pointer-events: none; /* biar tombol bisa diklik */
}

/* STOP semua animasi saat preview aktif */
body.no-anim * {
  animation: none !important;
  transition: none !important;
}

body.no-anim *,
body.no-anim *::before,
body.no-anim *::after {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}