/* Reset & Font */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  background: transparent; /* jangan pakai hitam solid */
  color: #fff;
}

/* Background Video */
.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center center;
  z-index: -3; /* selalu di belakang */
  min-width: 100%;
  min-height: 100%;
}

/* iOS fix untuk kontrol video */
video::-webkit-media-controls {
  display: none !important;
  opacity: 0 !important;
}

/* Overlay (gelap tipis di atas video) */
/* Overlay semi-transparan */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.35));
  z-index: -1;
}

/* Partikel canvas */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -5;
  pointer-events: none;
}

/* Glassmorphism Container */
.container {
  position: relative;
  z-index: 10; /* pastikan di atas video & overlay */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  padding: 1.5rem;
  text-align: center;

  backdrop-filter: blur(15px);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* Judul & Paragraf */
h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.5s;
}

p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 1s;
}

/* Tombol */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 1.5s;

  /* Warna tombol utama (oranye gradasi) */
  background: linear-gradient(90deg, #ff9800, #ff5722);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 24px rgba(0,0,0,0.5);
}

/* Urgency Text */
.urgency {
  font-size: 0.9rem;
  margin-top: 1rem;
  color: #ffeb3b;
  animation: blink 1.5s infinite;
}

/* Animations */
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes blink {
  50% { opacity: 0.5; }
}

/* Responsif Tablet */
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  p { font-size: 1rem; }
  .btn { font-size: 1rem; padding: 0.9rem 2rem; }
}

/* Responsif Mobile */
@media (max-width: 480px) {
  h1 { font-size: 1.4rem; }
  p { font-size: 0.95rem; }
  .btn {
    width: 100%;
    font-size: 0.95rem;
    padding: 0.8rem 1.6rem;
  }
}