body {
  font-family: 'Segoe UI', sans-serif;
  background: url('https://i.imgur.com/OJLAwZm.jpeg') no-repeat center center fixed;
  background-size: cover;
  margin: 0;
  padding: 0;
}

h2 {
  text-align: center;
  margin-top: 1.5rem;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.form-section {
  background: rgba(255, 255, 255, 0.95);
  max-width: 500px;
  margin: 2rem auto;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}

label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
  color: #333;
}

input, select {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.3rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

input[readonly] {
  background-color: #f0f0f0;
}

button {
  margin-top: 1.5rem;
  background: #2563eb;
  color: white;
  border: none;
  padding: 0.8rem 1.2rem;
  width: 100%;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #1e40af;
}

.copy-btn {
  margin-top: 0.5rem;
  background-color: #16a34a;
}

.copy-btn:hover {
  background-color: #15803d;
}

.note {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: #b91c1c;
}

.qr, .nomor-pembayaran, .email-field {
  margin-top: 1rem;
}

.warning-email {
  margin-top: 0.3rem;
  color: #dc2626;
  font-size: 0.85rem;
}

.coming-soon {
  text-align: center;
  margin: 2rem;
  font-style: italic;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.logo-area, .channel-area {
  padding: 1rem;
}

.logo-area {
  text-align: center;
  margin-top: 1rem;
}

.logo-area img {
  max-width: 150px;
  border-radius: 12px;
}

.slogan {
  color: #ffffff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
  font-weight: bold;
  text-align: center;
  font-size: 1.2rem;
  margin-top: 1rem;
  z-index: 2;
  position: relative;
  background-color: rgba(0,0,0,0.4); /* opsional */
  padding: 6px 12px;
  border-radius: 8px;
}

.channel-area {
  text-align: center;
  margin-top: 2rem;
}

.channel-area a {
  background: #25D366;
  color: white;
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
}

.channel-area a img {
  width: 20px;
  margin-right: 8px;
}

.channel-note {
  text-align: center;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: #ffffff;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.qr img {
  max-width: 250px;
  width: 100%;
  border-radius: 10px;
}

:root {
  --slide-count: 2; /* jumlah slide */
}

.slider-frame {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 3 / 1; /* otomatis jaga proporsi 600:200 */
  margin: 24px auto;
  overflow: hidden;
  border-radius: 12px;
  background: #003366;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
}

.slider-track {
  display: flex;
  width: calc(100% * var(--slide-count));
  height: 100%;
  animation: slide 8s infinite ease-in-out;
}

.slide {
  flex: 0 0 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* =======  KEYFRAME 2 SLIDE (default) ======= */
@keyframes slide {
  0%, 40%  { transform: translateX(0); }          /* slide-1 di tengah */
  50%, 90% { transform: translateX(-100%); }      /* slide-2 di tengah */
  100%     { transform: translateX(0); }
}

/* =======  KEYFRAME OTOMATIS JIKA >2 SLIDE =======
   (hapus blok di atas & aktifkan ini kalau slide > 2) */
/*
@keyframes slide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-100% * (var(--slide-count) - 1))); }
}
*/
