/* ==============================================================
   COMPONENTS / NAVBAR / NAVBAR.CSS - DATA SORCERER PREMIUM
   FIXED: Responsive Burger & High Z-Index
============================================================== */

.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 2000 !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  padding: 20px 0;
  pointer-events: auto !important;
}

/* Muncul pas di-scroll */
.navbar-sticky {
  padding: 12px 0 !important;
  background: rgba(10, 0, 20, 0.9) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(160, 32, 240, 0.2);
}

.nav-content {
  max-width: 1400px;
  margin: 0 auto !important;
  padding: 0 5% !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative;
  z-index: 2010;
}

/* Brand Section */
.navbar-brand-group {
  flex-shrink: 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar-logo {
  width: 30px !important;
  height: 30px !important;
  zoom: 250%;
}

.navbar-title {
  color: #fff !important;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 2px;
  white-space: nowrap;
}

/* Links Section (Desktop) */
.navbar-links {
  display: flex !important;
  list-style: none !important;
  gap: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-link {
  color: rgba(224, 170, 255, 0.7) !important;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 0.95rem;
  transition: 0.3s;
  position: relative;
}

.nav-link:hover {
  color: #fff !important;
}

.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #a020f0;
  box-shadow: 0 0 10px #a020f0;
}

/* Actions Section */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 2020;
}

.btn-premium {
  padding: 10px 24px;
  background: linear-gradient(135deg, #7b00d4, #a020f0);
  color: #fff !important;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(123, 0, 212, 0.3);
  transition: 0.3s;
  white-space: nowrap;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(160, 32, 240, 0.5);
}

/* --- HAMBURGER BUTTON FIX --- */
.hamburger-btn {
  display: none; /* Muncul di media query */
  background: none;
  border: none;
  cursor: pointer !important;
  padding: 10px;
  position: relative;
  z-index: 3000 !important; /* HARUS PALING ATAS */
  pointer-events: auto !important;
}

.hamburger-btn img {
  pointer-events: none; /* Agar klik tidak terhenti di gambar */
}

/* --- MOBILE MENU REVISION --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%; /* Sembunyi di kanan */
  width: 280px;
  height: 100vh;
  background: rgba(10, 0, 20, 0.98);
  backdrop-filter: blur(25px);
  display: flex;
  flex-direction: column;
  padding: 100px 40px;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2500 !important; 
  border-left: 1px solid rgba(160, 32, 240, 0.2);
}

/* Gunakan class 'active' */
.mobile-menu.active {
  right: 0 !important;
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}

.mobile-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s;
}

.mobile-link:hover {
  color: #a020f0;
  padding-left: 10px;
}

/* Responsive Breakpoint */
@media (max-width: 992px) {
  .navbar-links {
    display: none !important;
  }

  /* FIX: Hide seluruh actions div, bukan hanya button-nya */
  .navbar-actions {
    display: none !important;
  }

  .hamburger-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .navbar {
    padding: 15px 0;
  }
}

/* =========================================
   MAGIC DECORATIONS (BURST & PARTICLES)
========================================= */
.magic-burst {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #e0aaff 0%, rgba(160, 32, 240, 0) 70%);
  animation: burst-fade 0.6s ease-out forwards;
}

.magic-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #c9a227; 
  border-radius: 50%;
  top: 50%;
  left: 50%;
  box-shadow: 0 0 10px #f5c842;
  animation: particle-fly 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes burst-fade {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

@keyframes particle-fly {
  0% { transform: translate(-50%, -50%); opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)); opacity: 0; }
}