* {
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins',sans-serif;
}

/* ===== NON-SELECTABLE ELEMENTS ===== */
button, a {
  -webkit-user-select: none; /* Chrome, Safari, Opera */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE/Edge */
  user-select: none;         /* Standard */
  outline: none;             /* hilangkan outline saat klik/tab */
}

/* OPTIONAL: hapus highlight saat tap di mobile */
button:active, a:active {
  -webkit-tap-highlight-color: transparent;
}


body {
  font-family:'Outfit',sans-serif;
  background:#0f172a;
  color:white;
  margin:0;
  padding:0;
}

.page-header {
  text-align:center;
  padding:60px 20px 30px;
}

.page-header h1 {
  font-family:'Sora',sans-serif;
  font-size:32px;
  font-weight:700;
  margin-bottom:8px;
}

.page-header p {
  font-size:15px;
  opacity:.75;
}

/* ===== NAV WRAP ===== */
.nav-wrap {
  position: fixed;
  top: 18px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 5000; /* di atas konten */
  pointer-events: auto;
}

/* ===== NAVBAR ===== */
.navbar {
  width: 92%;
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 26px;
  background: rgba(2,6,23,0.72);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,255,255,0.06);
  position: relative;
  transition: .3s;
}

.navbar:hover {
  transform:translateY(-2px);
}

/* ===== LOGO ===== */
/* ===== LOGO ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  color: #5A2CA0;
}

.logo span {
  font-family: 'Poppins', sans-serif; /* pastikan font Poppins diterapkan di teks logo */
  font-size: 22px;
  font-weight: 700;
  color: #5A2CA0;
}

.logo img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 4px 10px rgba(0,0,0,0.35), inset 0 0 6px rgba(255,255,255,0.08);
}


/* ===== NAV LINKS ===== */
.nav-panel {
  display:flex;
  align-items:center;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  gap: 50px;
  user-select: none;
}

.nav-links a {
  font-family:'Montserrat',sans-serif;
  font-weight:600;
  letter-spacing:.4px;
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:#e2e8f0;
  font-size:15px;
  padding:6px 2px;
  position:relative;
  transition:.25s ease;
}

.nav-links a:hover { color: #38bdf8; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #38bdf8;
  border-radius: 2px;
  transition: .3s;
}
.nav-links a:hover::after { width: 100%; }

/* ===== HAMBURGER ===== */
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 5100; /* pastikan di atas panel */
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #e2e8f0;
  border-radius: 2px;
  transition: .3s;
}

/* ===== OVERLAY ===== */
#overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.35);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  z-index: 4999; /* di bawah panel */
}

#overlay.show {
  opacity: 1;
  pointer-events: auto;
}

@media(max-width:768px){
  .menu-toggle { display: flex; }

  .nav-panel {
    position: absolute;
    top:calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 100%;
    max-width: 380px;
    background: rgba(2,6,23,0.96);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .25s ease;
    box-shadow: 0 18px 40px rgba(0,0,0,.45);
  }

  .nav-panel.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Menu header mobile */
    /* Menu header */
  .menu-header {
    display:block;
    padding:26px 24px 20px;
    background:transparent;
    border-bottom:1px solid rgba(255,255,255,0.06);
  }

  .menu-header-top {
    display:flex;
    align-items:center;
    gap:14px;
  }
  
    .menu-avatar {
    width:44px;
    height:44px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    color:#e5e7eb;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 0 12px rgba(255,255,255,0.03), 0 6px 16px rgba(0,0,0,0.35);
  }

  .menu-title h2 { font-size:17px; font-weight:700; color:#f1f5f9; line-height:1.1; }
  .menu-title span { font-size:11px; color:#9ca3af; font-weight:600; letter-spacing:.6px; text-transform:uppercase; }
  .menu-sub { margin-top:12px; font-size:12.5px; color:#94a3b8; line-height:1.4; }

  .nav-links {
    flex-direction: column;
    gap:28px;
    padding: 20px 24px; /* kiri-kanan sama */
  }

  .nav-links a { font-size:18px; letter-spacing:.5px; }
}

/* ===== SOCIAL SECTION MEWAH ===== */
.social-section {
  padding: 160px 20px 100px; /* lebih jauh dari navbar */
  background: #0f172a;
  text-align: center;
  position: relative;
}

.social-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(36px, 5vw, 50px);
  font-weight: 700;
  color: #7c4dff;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s forwards;
}

.social-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  color: #aab4c5;
  margin-bottom: 60px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s forwards;
  animation-delay: 0.2s;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 22px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  color: white;
  text-decoration: none;
  opacity: 0;
  transform: translateY(40px);
}

.social-card i {
  font-size: 40px;
  margin-bottom: 14px;
  transition: transform 0.35s ease, color 0.35s ease;
}

.social-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.social-card p {
  font-size: 14px;
  color: #cbd5e1;
  text-align: center;
}

/* Hover Effects */
.social-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 60px rgba(124,77,255,0.35);
  border-color: rgba(124,77,255,0.4);
}

.social-card:hover i {
  transform: scale(1.2) rotate(-5deg);
  color: #38bdf8;
}

/* Brand Colors Hover */
.social-card.discord:hover { background: #7289da33; }
.social-card.youtube:hover { background: #ff000033; }
.social-card.github:hover { background: #ffffff22; }
.social-card.whatsapp:hover { background: #25d36633; }

/* Fade-up animation on scroll */
@keyframes fadeUp {
  to { opacity:1; transform: translateY(0); }
}


  @media(min-width:769px){
    .nav-panel {
      position: static;
      transform: none !important;
      opacity: 1 !important;
      pointer-events: auto !important;
      background: none;
      box-shadow: none;
      flex-direction: row;
    }
    
    .menu-header { display: none !important; }
    
    .social-grid { grid-template-columns: 1fr; }
    .social-card { padding: 24px 18px; }
    .social-subtitle { font-size: 15px; }
  }

