@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&family=Poppins:wght@300;400;600;700;900&display=swap');

:root {
  --kuning: #ffd700;
  --oranye: #ffa500;
  --hitam: #000000;
  --putih: #ffffff;
  --kaca: rgba(255, 215, 0, 0.08);
  --bayang-kuning: 0 0 25px rgba(255, 215, 0, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', 'Poppins', Arial, sans-serif;
  color: var(--putih);
  min-height: 100vh;
  background: #0c0900;
  overflow-x: hidden;
  position: relative;
  cursor: none;
}

/* ==================== CUSTOM CURSOR ==================== */
.kursor-dot,
.kursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
  border-radius: 50%;
}

.kursor-dot {
  width: 8px;
  height: 8px;
  background: #ffd700;
  box-shadow:
    0 0 6px rgba(255, 215, 0, 1),
    0 0 14px rgba(255, 215, 0, 0.6);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.kursor-ring {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255, 215, 0, 0.65);
  transition:
    width 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    height 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
  overflow: visible;
}

.kursor-ring::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: #ffd700;
  border-right-color: rgba(255, 215, 0, 0.4);
  opacity: 0;
  transition: opacity 0.22s ease;
  animation: kursorSpin 0.85s linear infinite;
}

.kursor-dot.kursor-hover {
  width: 5px;
  height: 5px;
  background: #fff;
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.95),
    0 0 22px rgba(255, 215, 0, 0.8);
}

.kursor-ring.kursor-hover {
  width: 56px;
  height: 56px;
  border-color: rgba(255, 215, 0, 0.9);
  border-width: 2px;
  background: rgba(255, 215, 0, 0.04);
  box-shadow:
    0 0 18px rgba(255, 215, 0, 0.35),
    inset 0 0 14px rgba(255, 215, 0, 0.06);
}

.kursor-ring.kursor-hover::before {
  opacity: 1;
}

.kursor-dot.kursor-klik {
  width: 4px;
  height: 4px;
  background: #ffa500;
  box-shadow: 0 0 18px rgba(255, 165, 0, 1);
}

.kursor-ring.kursor-klik {
  width: 28px;
  height: 28px;
  border-color: #ffa500;
  box-shadow: 0 0 20px rgba(255, 165, 0, 0.6);
}

@keyframes kursorSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (hover: none) and (pointer: coarse) {

  .kursor-dot,
  .kursor-ring {
    display: none;
  }

  body {
    cursor: auto;
  }
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #0c0900;
  border-left: 1px solid rgba(255, 215, 0, 0.05);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #ffd700, #ffa500);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #ffe566, #ffd700);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

* {
  scrollbar-width: thin;
  scrollbar-color: #ffd700 #0c0900;
}

.progres-scroll {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #ffe566, #ffd700, #ffa500);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.7);
  z-index: 9999;
  transition: width 0.1s linear;
}

.transisi-halaman {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  background: linear-gradient(135deg, #1a0f00 0%, #0c0900 40%, #ffd700 100%);
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.transisi-halaman.keluar {
  clip-path: polygon(0 0, 110% 0, 110% 100%, 0 100%);
}

.transisi-halaman.masuk {
  clip-path: polygon(110% 0, 110% 0, 110% 100%, 110% 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 8% 15%, rgba(255, 215, 0, 0.24) 0%, transparent 62%),
    radial-gradient(ellipse 55% 65% at 92% 85%, rgba(255, 165, 0, 0.18) 0%, transparent 62%),
    radial-gradient(ellipse 50% 45% at 50% 50%, rgba(255, 200, 0, 0.07) 0%, transparent 70%),
    linear-gradient(135deg, #0c0900 0%, #100e00 55%, #180f00 100%);
  z-index: -1;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 215, 0, 0.28) 1px, transparent 1px);
  background-size: 42px 42px;
  z-index: -1;
  opacity: 0.55;
  animation: gerakTitik 20s linear infinite;
}

@keyframes gerakTitik {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-55px);
  }
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 40px;
  background: rgba(12, 9, 0, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.28);
  box-shadow: 0 1px 30px rgba(255, 215, 0, 0.06);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 65px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

.logo-nav {
  height: 36px;
  width: auto;
  filter: brightness(1.6) contrast(1.1) drop-shadow(0 0 8px rgba(255, 215, 0, 0.45));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.logo-nav:hover {
  filter: brightness(2) contrast(1.2) drop-shadow(0 0 16px rgba(255, 215, 0, 0.75));
  transform: scale(1.05);
}

.pemisah-nav {
  color: rgba(255, 215, 0, 0.28);
  font-size: 1.5rem;
  font-weight: 100;
  line-height: 1;
  user-select: none;
}

.kontainer-tipe {
  display: flex;
  align-items: center;
  gap: 2px;
}

.tipe-nav {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--kuning);
  letter-spacing: 3px;
  text-shadow: 0 0 18px rgba(255, 215, 0, 0.5);
  min-width: 120px;
}

.kursor-tipe {
  color: var(--kuning);
  font-weight: 300;
  font-size: 0.95rem;
  animation: kedipKursor 0.85s step-end infinite;
  opacity: 0;
}

.kursor-tipe.aktif {
  opacity: 1;
}

@keyframes kedipKursor {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}

nav ul li a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 7px 15px;
  border-radius: 6px;
  display: block;
  transition: all 0.3s ease;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--kuning);
  transition: width 0.3s ease;
  border-radius: 2px;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--kuning);
  background: rgba(255, 215, 0, 0.1);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 50%;
}

.bagian-utama {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  height: 100vh;
  width: 100%;
  padding-top: 65px;
  box-sizing: border-box;
}

.kontainer-logo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.kontainer-logo::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse, rgba(255, 215, 0, 0.22) 0%, rgba(255, 165, 0, 0.08) 45%, transparent 70%);
  border-radius: 24px;
  animation: denyutAura 3.5s ease-in-out infinite alternate;
  z-index: 0;
}

.kontainer-logo::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 20px;
  background: transparent;
  border: 1px solid rgba(255, 215, 0, 0.2);
  animation: denyutBingkai 3.5s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes denyutAura {
  from {
    opacity: 0.5;
    transform: scale(0.93);
  }

  to {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes denyutBingkai {
  from {
    opacity: 0.4;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1.04);
  }
}

.logo-gambar {
  width: 270px;
  height: auto;
  border-radius: 16px;
  border: 2px solid rgba(255, 215, 0, 0.4);
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, 0.1),
    0 0 35px rgba(255, 215, 0, 0.55),
    0 0 75px rgba(255, 215, 0, 0.22),
    0 0 120px rgba(255, 165, 0, 0.12),
    0 20px 50px rgba(0, 0, 0, 0.5);
  filter: brightness(1.55) contrast(1.12) saturate(1.1);
  z-index: 1;
  position: relative;
  transition: filter 0.45s ease, box-shadow 0.45s ease, transform 0.45s ease;
}

.logo-gambar:hover {
  filter: brightness(1.9) contrast(1.2) saturate(1.2);
  transform: scale(1.03);
  box-shadow:
    0 0 0 2px rgba(255, 215, 0, 0.5),
    0 0 55px rgba(255, 215, 0, 0.75),
    0 0 110px rgba(255, 215, 0, 0.4),
    0 0 160px rgba(255, 165, 0, 0.18),
    0 25px 60px rgba(0, 0, 0, 0.6);
}

.judul-utama {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.lencana-angkatan {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.35);
  padding: 5px 14px 5px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  color: rgba(255, 215, 0, 0.9);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  backdrop-filter: blur(6px);
  opacity: 0;
  animation: datangKiri 0.6s ease 0.05s forwards;
}

.lencana-angkatan::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--kuning);
  box-shadow: 0 0 8px var(--kuning);
  flex-shrink: 0;
  animation: denyutTitik 1.8s ease-in-out infinite;
}

@keyframes denyutTitik {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.3;
    transform: scale(0.5);
  }
}

.teks-besar {
  font-family: 'Orbitron', sans-serif;
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.05;
  color: var(--putih);
  text-shadow:
    0 0 60px rgba(255, 215, 0, 0.12),
    0 0 20px rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateX(-40px);
  animation: datangKiri 0.7s ease forwards;
}

.teks-emas {
  font-family: 'Orbitron', sans-serif;
  font-size: 6.5rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #ffe566 0%, var(--kuning) 40%, var(--oranye) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 50px rgba(255, 165, 0, 0.3));
  opacity: 0;
  transform: translateX(-40px);
  animation: datangKiri 0.7s ease 0.3s forwards;
}

.subjudul {
  font-size: 0.85rem;
  letter-spacing: 4px;
  color: rgba(255, 215, 0, 0.6);
  text-transform: uppercase;
  margin-top: 8px;
  opacity: 0;
  animation: datangKiri 0.7s ease 0.55s forwards;
}

.baris-statistik {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
  opacity: 0;
  animation: datangKiri 0.7s ease 0.75s forwards;
}

.tombol-jelajah {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding: 11px 28px;
  background: transparent;
  border: 1px solid rgba(255, 215, 0, 0.35);
  color: var(--kuning);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 3px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0;
  animation: datangKiri 0.7s ease 0.95s forwards;
}

.tombol-jelajah:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--kuning);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.25);
}

.panah-jelajah {
  display: inline-block;
  animation: bounceDown 1.5s ease-in-out infinite;
}

@keyframes bounceDown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.angka-stat {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffe566, var(--kuning), var(--oranye));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
}

.label-stat {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

.pemisah-stat {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, rgba(255, 215, 0, 0.3), transparent);
}

@keyframes datangKiri {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

footer {
  position: relative;
  width: 100%;
  text-align: center;
  padding: 22px 12px;
  background: rgba(12, 9, 0, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 215, 0, 0.12);
}

footer p {
  font-size: 0.72rem;
  color: rgba(255, 215, 0, 0.3);
  letter-spacing: 2px;
  font-family: 'Orbitron', sans-serif;
}

.judul-bagian {
  text-align: center;
  margin-bottom: 56px;
}

.kode-bagian {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.68rem;
  color: rgba(255, 165, 0, 0.65);
  letter-spacing: 4px;
  display: block;
  margin-bottom: 14px;
}

.teks-bagian {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffe566, var(--kuning), var(--oranye));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.3));
  letter-spacing: 3px;
}

.deskripsi-bagian {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 12px;
  letter-spacing: 1px;
}

.tampil-saat-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.tampil-saat-scroll.terlihat {
  opacity: 1;
  transform: translateY(0);
}

.bagian-keahlian {
  min-height: 100vh;
  padding: 100px 60px;
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 85% 15%, rgba(255, 165, 0, 0.14) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 10% 85%, rgba(255, 215, 0, 0.09) 0%, transparent 65%),
    linear-gradient(180deg, #0c0900 0%, #120e00 50%, #0c0900 100%);
}

.grid-keahlian {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1050px;
  margin: 0 auto;
}

.kartu-keahlian {
  background: rgba(255, 215, 0, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 14px;
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  cursor: default;
}

.kartu-keahlian::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--kuning), transparent);
  animation: garisLari 3.5s linear infinite;
}

@keyframes garisLari {
  from {
    left: -60%;
  }

  to {
    left: 160%;
  }
}

.kartu-keahlian:hover {
  background: rgba(255, 215, 0, 0.07);
  border-color: rgba(255, 215, 0, 0.32);
  transform: translateY(-5px);
  box-shadow: 0 0 28px rgba(255, 215, 0, 0.12), 0 15px 30px rgba(0, 0, 0, 0.4);
}

.header-kartu {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.ikon-keahlian {
  font-size: 1.6rem;
  color: var(--kuning);
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}

.nama-keahlian {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--putih);
  letter-spacing: 1.5px;
}

.level-keahlian {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.58rem;
  color: rgba(255, 165, 0, 0.65);
  letter-spacing: 2px;
  margin-top: 3px;
}

.xp-angka {
  margin-left: auto;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--kuning);
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.5));
  flex-shrink: 0;
}

.batang-xp {
  width: 100%;
  height: 5px;
  background: rgba(255, 215, 0, 0.08);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 14px;
}

.isi-xp {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffd700, #ffa500);
  border-radius: 100px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.deskripsi-keahlian {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.6;
}

.bagian-pencapaian {
  min-height: 100vh;
  padding: 100px 60px;
  background:
    radial-gradient(ellipse 65% 55% at 15% 35%, rgba(255, 215, 0, 0.13) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 88% 75%, rgba(255, 165, 0, 0.08) 0%, transparent 65%),
    linear-gradient(180deg, #0c0900 0%, #100e00 50%, #0c0900 100%);
}

.grid-pencapaian {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.kartu-pencapaian {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 215, 0, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 14px;
  padding: 20px 22px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.kartu-pencapaian::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0%;
  background: linear-gradient(to bottom, var(--kuning), var(--oranye));
  transition: height 0.4s ease;
  border-radius: 0 0 2px 2px;
}

.kartu-pencapaian:hover::before {
  height: 100%;
}

.kartu-pencapaian:hover {
  background: rgba(255, 215, 0, 0.07);
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateX(6px);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.1);
}

.ikon-pencapaian {
  font-size: 2.2rem;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
  flex-shrink: 0;
  width: 50px;
  text-align: center;
}

.status-pencapaian {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.55rem;
  color: rgba(255, 165, 0, 0.65);
  letter-spacing: 2.5px;
  margin-bottom: 4px;
}

.nama-pencapaian {
  font-size: 1rem;
  font-weight: 700;
  color: var(--putih);
  margin-bottom: 4px;
}

.deskripsi-pencapaian {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.55;
}

.bagian-gabung {
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0c0900 0%, #1a0f00 50%, #0c0900 100%);
  text-align: center;
}

.kanvas-partikel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.65;
}

.isi-gabung {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 60px 40px;
}

.teks-gabung {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--putih);
  letter-spacing: 4px;
  margin: 16px 0 18px;
  line-height: 1.1;
}

.aksen-gabung {
  background: linear-gradient(135deg, #ffe566, var(--kuning), var(--oranye));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(255, 215, 0, 0.5));
}

.sub-gabung {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 1px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.kelompok-tombol {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.tombol-utama {
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--kuning), var(--oranye));
  color: #0c0900;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.tombol-utama:hover {
  box-shadow: 0 0 45px rgba(255, 215, 0, 0.65), 0 10px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.tombol-sekunder {
  padding: 14px 36px;
  background: transparent;
  color: var(--kuning);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.35);
  text-decoration: none;
  transition: all 0.3s ease;
}

.tombol-sekunder:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--kuning);
  box-shadow: 0 0 22px rgba(255, 215, 0, 0.2);
  transform: translateY(-3px);
}

@media (max-width: 900px) {
  .grid-keahlian {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: rgba(255, 215, 0, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.hamburger:hover {
  background: rgba(255, 215, 0, 0.12);
  border-color: rgba(255, 215, 0, 0.45);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--kuning);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.77, 0, 0.175, 1);
  transform-origin: center;
}

.hamburger.terbuka span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.terbuka span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.terbuka span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  header {
    padding: 0 20px;
  }

  nav {
    flex-wrap: wrap;
    position: static;
    height: 65px;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    gap: 0;
    padding: 8px 0 14px;
    background: rgba(12, 9, 0, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.18);
    z-index: 998;
  }

  nav ul.terbuka {
    display: flex;
  }

  nav ul li a {
    padding: 11px 20px;
    font-size: 0.8rem;
    border-radius: 0;
    display: flex;
    align-items: center;
  }

  .hamburger {
    display: flex;
  }

  .bagian-utama {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    padding: 100px 24px 60px;
    gap: 40px;
    text-align: center;
    align-items: center;
  }

  .judul-utama {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .teks-besar {
    font-size: 2.8rem;
  }

  .teks-emas {
    font-size: 4.2rem;
  }

  .baris-statistik {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .kontainer-logo {
    order: -1;
  }

  .logo-gambar {
    width: 180px !important;
    height: 180px !important;
  }

  .bagian-keahlian,
  .bagian-pencapaian {
    padding: 80px 24px;
  }

  .grid-keahlian {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-pencapaian {
    grid-template-columns: 1fr;
  }

  .teks-bagian {
    font-size: 2rem;
  }

  .tipe-nav {
    display: none;
  }

  .pemisah-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  header {
    padding: 0 16px;
  }

  .grid-keahlian {
    grid-template-columns: 1fr;
  }

  .teks-besar {
    font-size: 2.2rem;
  }

  .teks-emas {
    font-size: 3.2rem;
  }

  .teks-bagian {
    font-size: 1.6rem;
  }

  .teks-gabung {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }

  .kelompok-tombol {
    flex-direction: column;
    align-items: center;
  }

  .tombol-utama,
  .tombol-sekunder {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }

  .bagian-gabung {
    min-height: 60vh;
  }

  .isi-gabung {
    padding: 40px 20px;
  }

  .lencana-angkatan {
    font-size: 0.62rem;
  }

  .stat-item {
    min-width: 60px;
  }
}

@media (max-width: 400px) {
  .teks-besar {
    font-size: 1.8rem;
  }

  .teks-emas {
    font-size: 2.6rem;
  }

  nav ul li a {
    font-size: 0.75rem;
    padding: 10px 12px;
  }
}