/* Reset & Font */
body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #000;
  color: #fff;
  height: 100vh;
  margin: 0;
  overflow: hidden; /* Supaya tidak ada scrollbar ganda */
}

/* Background Video Fullscreen */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Gelapkan video bintang 60% */
}

/* Wrapper Utama */
.content-wrapper {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto; /* Agar bisa discroll jika layar pendek */
  padding: 20px;
}

/* LOGO ANIMASI CONTAINER */
.logo-container {
  width: 180px; /* Ukuran Logo */
  height: 180px;
  margin: 0 auto 30px auto; /* Posisi tengah & jarak bawah */
  border-radius: 30px; /* Sudut melengkung */
  overflow: hidden;
  box-shadow: 0 0 30px rgba(52, 152, 219, 0.6); /* Efek glowing biru sesuai brand */
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: #fff; /* Background putih karena videomu backgroundnya putih */
}

.logo-container video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Memastikan video logo pas */
}

/* KARTU TEKS GLASSMORPHISM */
.text-card {
  background: rgba(25, 25, 25, 0.75); /* Hitam Transparan */
  backdrop-filter: blur(15px); /* Efek Kaca Buram (Blur) */
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  text-align: center;
}

/* Typography */
.brand-title {
  font-weight: 700;
  font-size: 2.5rem;
  background: linear-gradient(
    45deg,
    #ffc107,
    #3498db
  ); /* Gradasi Kuning ke Biru */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.tagline {
  font-size: 1.1rem;
  color: #ccc;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.custom-hr {
  width: 50px;
  margin: 20px auto;
  border-top: 3px solid #3498db;
  opacity: 1;
}

.scrollable-text {
  text-align: left; /* Teks paragraf rata kiri biar enak dibaca */
  max-height: 300px; /* Batasi tinggi teks */
  overflow-y: auto; /* Bisa discroll kalau teks kepanjangan */
  padding-right: 10px;
  font-size: 1rem;
  line-height: 1.7;
  color: #e0e0e0;
}

/* Styling Scrollbar biar keren */
.scrollable-text::-webkit-scrollbar {
  width: 6px;
}
.scrollable-text::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}
.scrollable-text::-webkit-scrollbar-thumb {
  background: #3498db;
  border-radius: 10px;
}

.highlight {
  color: #ffc107; /* Warna Kuning Brand */
  font-weight: bold;
  font-size: 1.2rem;
}

/* FOOTER CREDIT */
.video-credit {
  position: fixed;
  bottom: 10px;
  right: 20px;
  font-size: 0.7rem; /* Ukuran font sedikit dikecilkan biar ga menuhin layar */
  z-index: 10;
  text-align: right; /* Rata kanan */
  line-height: 1.4; /* Jarak antar baris kredit */
}

.video-credit p {
  margin: 2px 0; /* Jarak tipis antar baris */
  color: rgba(255, 255, 255, 0.4); /* Warna agak redup */
  transition: color 0.3s ease;
}

.video-credit p:hover {
  color: rgba(255, 255, 255, 0.9); /* Terang saat di-hover */
}

.video-credit a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
}

.video-credit a:hover {
  color: #fff;
  border-bottom: 1px solid #fff;
}

/* --- ENTER SCREEN OVERLAY --- */
#enter-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000; /* Layar Hitam Pekat */
  z-index: 9999; /* Paling atas menutupi semuanya */
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease-out; /* Efek menghilang perlahan */
}

#enter-btn {
  font-family: "Segoe UI", sans-serif;
  letter-spacing: 2px;
  font-weight: bold;
  border-width: 2px;
  transition: all 0.3s ease;
}

#enter-btn:hover {
  background-color: #fff;
  color: #000;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* TOMBOL WHATSAPP MELAYANG */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 100; /* Di atas video, di bawah layar 'Enter' (9999) */
  background-color: #25d366; /* Warna Hijau WA */
  color: white;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 50px;
  font-family: "Segoe UI", sans-serif;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px; /* Jarak icon dan teks */
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-btn:hover {
  background-color: #1ebc57;
  transform: translateY(-3px); /* Efek naik dikit pas di-hover */
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: white;
}

/* Agar icon SVG ukurannya pas */
.whatsapp-btn svg {
  width: 20px;
  height: 20px;
}

/* Responsif di HP (Biar ga nutupin konten banget) */
@media (max-width: 768px) {
  .whatsapp-btn {
    bottom: 20px;
    left: 20px;
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Responsif HP */
@media (max-width: 768px) {
  .logo-container {
    width: 120px;
    height: 120px;
  }
  .brand-title {
    font-size: 2rem;
  }
  .text-card {
    padding: 25px;
    margin-bottom: 50px; /* Biar ga ketutup footer */
  }
  .video-credit {
    width: 100%;
    text-align: center;
    right: 0;
    bottom: 5px;
    background: rgba(0, 0, 0, 0.8);
    padding: 5px 0;
  }
}
