:root {
  color-scheme: light only;
}

body {
  font-family: 'Unbounded', sans-serif;
  background: #f3f4f6;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center; /* ✅ tambahkan ini */
  min-height: 100vh;
}

.container {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  margin: 20px;
  max-width: 480px; /* tetap compact */
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 🔹 Top Icons sticky */
.top-icons {
  position: sticky;
  top: 0;
  border-bottom-left-radius: 12px;  /* radius bawah kiri */
  border-bottom-right-radius: 12px; /* radius bawah kanan */
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  background: white;
  padding: 10px;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.top-icons.shadow {
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1), 0 6px 8px -4px rgba(0,0,0,0.25);
}



.top-icons a {
  width: 60px;
  height: 60px;
  background: #f9fafb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: background 0.2s, transform 0.2s;
  text-decoration: none; /* ⬅ ini yang hilangin garis bawah */
}
.top-icons a:hover {
  background: #e5e7eb;
  transform: scale(1.1);
}

/* Register Button */
.register-btn {
  padding: 8px 16px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.register-btn:hover {
  background: #333;
  transform: scale(1.05);
}



/* Header */
.logo {
  max-width: 90px;
  width: 25vw;
  height: auto;
  border-radius: 50%;
  margin-bottom: 12px;
}
h1 {
  margin: 8px 0 4px;
  font-size: clamp(20px, 5vw, 28px);
}
.tagline {
  font-size: clamp(12px, 3vw, 14px);
  color: #666;
  margin-bottom: 20px;
}

/* Sosmed */
.socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}
.socials a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none; /* ⬅️ hilangin garis bawah */
  border-radius: 50%;
  font-size: 20px;
  color: white;
  transition: transform 0.2s;
}
.socials a:hover {
  transform: scale(1.1);
}
.socials .yt { background: #ff0000; }
.socials .tt { background: #000; }
.socials .wa { background: #25D366; }

/* Intro */
.intro {
  font-size: clamp(13px, 3vw, 15px);
  color: #444;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Packages */
.packages {
  display: flex;
  flex-direction: row;   /* sejajar ke samping */
  flex-wrap: wrap;       /* biar bisa turun ke bawah kalau kepanjangan */
  gap: 12px;
  margin-bottom: 20px;
  justify-content: center; /* biar center di tengah */
}

.package-label {
  font-size: clamp(16px, 4vw, 20px); /* tetap responsif */
  font-weight: 580;
  margin: 50px 0 12px;
  color: #111;
  text-align: center;
}


/* Card umum */
.card {
  flex: 1 1 15%;
  padding: clamp(12px, 3vw, 16px);
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  min-width: 120px;
  backdrop-filter: blur(6px);
}

/* Card 1: orange */
.packages .card:nth-child(1) {
  background: #ff4810 !important; /* pakai warna kode langsung */
  opacity: 0.9; /* transparansi ringan */
}

/* Card 2: ungu */
.packages .card:nth-child(2) {
  background: rgba(139, 0, 255, 0.85) !important;
}

/* Card 3: biru */
.packages .card:nth-child(3) {
  background: rgba(0, 71, 255, 0.85) !important;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}



/* Video responsif */
.video {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;

}
.video-label {
  font-size: clamp(16px, 4vw, 20px); /* tetap responsif */
  font-weight: 580;
  margin: 10px 0 12px;
  color: #111;
  text-align: center;
}
.video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 12px;
}

/* Buttons umum */
.btn {
  display: block;
  padding: 14px;
  border-radius: 10px;
  margin: 10px 0;
  background: #212529;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: clamp(14px, 3.5vw, 16px);
  transition: background 0.2s;
}
.btn:hover {
  background: #e5e7eb;
  color: #000;
}

/* Tombol WA hijau */
.btn-wa {
  background: #25D366; /* hijau WhatsApp */
  color: #fff;
}

.btn-wa:hover {
  background: #1ebe57; /* sedikit lebih gelap saat hover */
  color: #fff;
}


/* 🔹 Official Website Button */
.btn-website {
  display: inline-block; /* biar ukurannya sesuai isi */
  background: #ff4810 !important;
  color: #fff;
  font-weight: 600;
  font-size: clamp(14px, 3.5vw, 16px);
  padding: 12px 28px;  /* bisa dikurangi lagi kalau mau lebih kecil */
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  transition: all 0.2s ease;
  margin: 40px auto;  /* tetap center */
  text-align: center;
  width: fit-content; /* panjang otomatis sesuai teks */
  min-width: 180px;   /* kasih batas minimum biar rapi */
}

.btn-website:hover {
  background: #f3f4f6;
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.16);
}


/* Footer */
.footer-links {
  margin-top: 30px;
  font-size: clamp(12px, 3vw, 13px);
  color: #555;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-links a {
  text-decoration: none;
  color: #333;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #000;
}
.footer-links span {
  color: #777;
}

/* 🔹 Responsif tambahan */
@media (max-width: 480px) {
  .container {
    margin: 10px;
    padding: 16px;
    border-radius: 12px;
  }
  .top-icons {
    gap: 8px;
  }
  .socials a {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
  .card {
    font-size: 14px;
  }
}


.slideshow-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  margin: 30px 0;
  border-radius: 12px;
}

.slides-wrapper {
  display: flex;
  transition: transform 1s ease-in-out;
}

/* Pastikan setiap slide selebar container */
.slide {
  flex: 0 0 100%;
}

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


/* Responsif */
@media (max-width: 480px) {
  .slideshow-container {
    border-radius: 0px;
  }
}


/* Overlay */
.share-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

/* Konten Modal */
.share-content {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}

/* Tombol Close */
.share-content .close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 24px;
  cursor: pointer;
}

/* Card persegi panjang */
.share-card img {
  width: 100%;
  max-width: 420px; /* ukuran maksimal card */
  border-radius: 12px;
  object-fit: cover; /* menjaga gambar tetap proporsional dan terpotong jika perlu */
  display: block;
  margin: 0 auto 20px; /* center & jarak bawah */
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}



/* Judul */
.share-title {
  font-size: 22px;
  margin-bottom: 20px;
}


/* Ikon Sosial Media */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 20px 0;
}

.social-icons a,
.social-icons .copy-icon {
  background: #f5f5f5;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #333;
  text-decoration: none;
  transition: 0.3s;
}

/* Tombol Copy dan ikon lain saat hover */
.social-icons a:not(.wa):hover,
.social-icons .copy-icon:hover {
  background: #000;
  color: #fff;
}

/* Tombol WhatsApp hijau */
.social-icons .wa {
  background: #25D366;
  color: #fff;
}

.social-icons .wa:hover {
  background: #1ebe57; /* sedikit lebih gelap saat hover */
  color: #fff;
}


.copy-icon {
  border: none;
  cursor: pointer;
}


/* Responsif */
@media (max-width: 480px) {
  .share-content {
    width: 90%;
    padding: 20px;
  }
  .copy-section {
    flex-direction: column;
  }
}
