/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BODY ===== */
body {
  background: radial-gradient(circle at top left, #032f35 0%, #041b1f 40%, #0c0f13 100%);
  /* 
     Warna #032f35 = toska tua elegan 
     Warna #041b1f = biru-hitam lembut
     Warna #0c0f13 = hitam pekat gradasi akhir
  */
  color: #e0e0e0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Inter", "Poppins", sans-serif;
  overflow-x: hidden;
  transition: background 0.8s ease;
}

/* ===== HEADER ===== */
header {
  background: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
  transition: all 0.4s ease;
}

header.scrolled {
  background: rgba(10, 20, 25, 0.85);
  box-shadow: 0 2px 15px rgba(0, 224, 255, 0.2);
}

/* ===== LOGO ===== */
.logo h2 {
  color: #00e0ff;
  letter-spacing: 1px;
  font-weight: 600;
  font-size: 1.5em;
  text-shadow: 0 0 8px rgba(0, 224, 255, 0.6);
  animation: logoGlow 3s ease-in-out infinite alternate;
}

/* ===== NAVIGATION ===== */
nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
}

nav ul li a {
  text-decoration: none;
  color: #e0e0e0;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  color: #00e0ff;
  text-shadow: 0 0 8px rgba(0, 224, 255, 0.6);
}

/* ===== DROPDOWN ===== */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  background: transparent;
  border: none;
  color: #e0e0e0;
  font-weight: 500;
  font-size: 1em;
  cursor: pointer;
  transition: color 0.3s;
}

.dropdown-toggle:hover {
  color: #00e0ff;
  text-shadow: 0 0 8px rgba(0,224,255,0.6);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 35px;
  right: 0;
  min-width: 150px;
  background-color: rgba(25, 25, 25, 0.95);
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 224, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 8px 0;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 99;
}

.dropdown-content li {
  list-style: none;
}

.dropdown-content li a {
  display: block;
  color: #ccc;
  text-decoration: none;
  padding: 10px 15px;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.dropdown-content li a:hover {
  background: rgba(0, 224, 255, 0.1);
  color: #00e0ff;
}

.dropdown-content.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ===== HEADER BUTTONS ===== */
.header-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.btn-header {
  background: linear-gradient(90deg, #00e0ff, #00b8ff);
  color: #111;
  padding: 10px 26px;
  border-radius: 10px;
  font-size: 0.95em;
  font-weight: 600;
  text-decoration: none;
  border: none;
  opacity: 0;
  transform: translateY(-8px);
  animation: fadeInSequential 0.9s ease forwards;
  box-shadow: 0 0 15px rgba(0, 224, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-header:hover {
  background: linear-gradient(90deg, #00c6ff, #41b883);
  color: #fff;
  transform: scale(1.07);
  box-shadow: 0 0 25px rgba(0, 224, 255, 0.7), 0 0 40px rgba(0, 224, 255, 0.3);
}

/* Efek Glow saat muncul */
.btn-header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0, 224, 255, 0.4), transparent 70%);
  transform: scale(0);
  opacity: 0;
  animation: glowPulse 1.2s ease forwards;
}

/* Delay antar tombol login */
.header-buttons a:nth-child(1) { animation-delay: 0.4s; }
.header-buttons a:nth-child(2) { animation-delay: 0.6s; }
.header-buttons a:nth-child(3) { animation-delay: 0.8s; }

.header-buttons a:nth-child(1)::before { animation-delay: 0.6s; }
.header-buttons a:nth-child(2)::before { animation-delay: 0.8s; }
.header-buttons a:nth-child(3)::before { animation-delay: 1s; }

/* ===== ANIMASI ===== */
@keyframes fadeInSequential {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
  0% { opacity: 0; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.2); }
}

@keyframes logoGlow {
  0% { text-shadow: 0 0 8px rgba(0,224,255,0.6); }
  100% { text-shadow: 0 0 20px rgba(0,255,255,0.9), 0 0 40px rgba(0,224,255,0.4); }
}

/* ===== MAIN CONTENT ===== */
.container {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 20px;
}

.container h1 {
  font-size: 4.3em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #41b883, #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 15px rgba(0,198,255,0.3);
  animation: fadeInUp 1.5s ease forwards;
}

.container p {
  max-width: 640px;
  color: #bdbdbd;
  font-size: 1.05em;
  margin-bottom: 40px;
  line-height: 1.7;
  animation: fadeInUp 1.8s ease forwards;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  background-color: rgba(8, 10, 12, 0.85);
  padding: 15px;
  border-top: 1px solid #1f2c2f;
}

footer p {
  color: #666;
  font-size: 0.9em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 850px) {
  header {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .container h1 {
    font-size: 2.6em;
  }

  .header-buttons {
    justify-content: center;
  }
}
