@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;
  --bayang-kuning: 0 0 25px rgba(255, 215, 0, 0.5);
}

*,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', 'Poppins', Arial, sans-serif;
  background-color: #0c0900;
  color: var(--putih);
  overflow-x: hidden;
  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%);
}

header.sticky-navbar {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(12, 9, 0, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 0 40px;
  height: 65px;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 215, 0, 0.28);
  box-shadow: 0 1px 30px rgba(255, 215, 0, 0.06);
}

.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;
  }
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}

header 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;
}

header 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;
}

header nav ul li a:hover,
header nav ul li a.active {
  color: var(--kuning);
  background: rgba(255, 215, 0, 0.1);
}

header nav ul li a:hover::after,
header nav ul li a.active::after {
  width: 50%;
}

.biodata-slide {
  display: flex;
  align-items: center;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 60% at 20% 30%, rgba(255, 215, 0, 0.14) 0%, transparent 68%),
    linear-gradient(135deg, #0d0b00 0%, #0c0900 50%, #100e00 100%);
  padding: 80px 80px 80px 100px;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(255, 215, 0, 0.08);
  gap: 60px;
  position: relative;
  overflow: hidden;
  counter-increment: nomor-slide;
}

.biodata-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.4), transparent);
  animation: garisLariBiodata 4s linear infinite;
}

@keyframes garisLariBiodata {
  from {
    left: -60%;
  }

  to {
    left: 160%;
  }
}

.biodata-slide::after {
  content: counter(nomor-slide, decimal-leading-zero);
  font-family: 'Orbitron', sans-serif;
  font-size: 7rem;
  font-weight: 900;
  color: rgba(255, 215, 0, 0.04);
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -4px;
}

#biodata-container {
  counter-reset: nomor-slide;
}

.biodata-slide:nth-child(even) {
  background:
    radial-gradient(ellipse 70% 60% at 80% 70%, rgba(255, 165, 0, 0.14) 0%, transparent 68%),
    linear-gradient(135deg, #100e00 0%, #0c0900 50%, #0d0b00 100%);
  flex-direction: row-reverse;
  padding: 80px 100px 80px 80px;
}

.biodata-left {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo-box {
  width: 300px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, 0.35),
    0 0 30px rgba(255, 215, 0, 0.25),
    0 0 70px rgba(255, 215, 0, 0.08),
    0 25px 50px rgba(0, 0, 0, 0.7);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
  background: rgba(255, 215, 0, 0.05);
  position: relative;
}

.photo-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(12, 9, 0, 0.5) 0%,
      transparent 50%);
  z-index: 1;
  border-radius: 20px;
  pointer-events: none;
}

.photo-box:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 0 0 1px var(--kuning),
    0 0 40px rgba(255, 215, 0, 0.45),
    0 0 90px rgba(255, 215, 0, 0.15),
    0 35px 55px rgba(0, 0, 0, 0.75);
}

.photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-box:hover img {
  transform: scale(1.05);
}

.biodata-right {
  flex: 1;
  padding: 20px 0;
  text-align: left;
  position: relative;
  z-index: 1;
}

.label-nomor {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.62rem;
  color: rgba(255, 165, 0, 0.55);
  letter-spacing: 4px;
  display: block;
  margin-bottom: 14px;
}

.biodata-right h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--putih);
  margin-bottom: 10px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.08);
}

.biodata-right h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: #0c0900;
  background: linear-gradient(135deg, var(--kuning), var(--oranye));
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding: 5px 14px;
  border-radius: 100px;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.35);
}

.biodata-right p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 12px 0;
  line-height: 1.8;
  font-family: 'Space Grotesk', sans-serif;
}

.nim-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.18);
  border-radius: 8px;
  padding: 8px 16px;
  margin: 6px 0 14px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  color: rgba(255, 215, 0, 0.85);
  letter-spacing: 2px;
}

.nim-badge::before {
  content: '#';
  color: rgba(255, 165, 0, 0.55);
  font-weight: 700;
}

.bintang-dekorasi {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 4px;
  color: rgba(255, 215, 0, 0.5);
  font-size: 0.7rem;
  letter-spacing: 6px;
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.35));
}

.bottom-boxes {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.bottom-boxes div {
  flex: 1;
  background: rgba(255, 215, 0, 0.04);
  border: 1px solid rgba(255, 215, 0, 0.12);
  padding: 18px 20px;
  border-radius: 14px;
  backdrop-filter: blur(8px);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.bottom-boxes div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.25), transparent);
}

.bottom-boxes div:hover {
  background: rgba(255, 215, 0, 0.09);
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.12);
  transform: translateY(-4px);
}

.bottom-boxes h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: rgba(255, 165, 0, 0.65);
  margin-bottom: 10px;
  font-weight: 700;
}

.bottom-boxes p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.65;
}

.bottom-boxes span {
  color: rgba(255, 215, 0, 0.9);
  font-weight: 500;
}

/* ==================== HAMBURGER ==================== */
.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);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 860px) {
  header.sticky-navbar {
    padding: 0 20px;
    position: sticky;
  }

  header.sticky-navbar nav {
    position: static;
    flex-wrap: wrap;
    align-items: center;
  }

  header.sticky-navbar 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;
  }

  header.sticky-navbar nav ul.terbuka {
    display: flex;
  }

  header.sticky-navbar nav ul li a {
    padding: 11px 20px;
    font-size: 0.8rem;
    border-radius: 0;
    display: flex;
    align-items: center;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .biodata-slide,
  .biodata-slide:nth-child(even) {
    flex-direction: column;
    padding: 80px 28px 60px;
    gap: 32px;
    align-items: center;
  }

  .biodata-slide::after {
    font-size: 5rem;
    right: 20px;
  }

  .photo-box {
    width: 220px;
    height: 290px;
  }

  .biodata-right {
    padding: 20px 0;
    text-align: center;
  }

  .biodata-right h1 {
    font-size: 1.6rem;
    letter-spacing: -0.3px;
  }

  .bottom-boxes {
    flex-direction: column;
  }

  .nim-badge {
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  header.sticky-navbar {
    padding: 0 16px;
  }

  .biodata-slide,
  .biodata-slide:nth-child(even) {
    padding: 80px 20px 48px;
  }

  .photo-box {
    width: 180px;
    height: 240px;
  }

  .biodata-right h1 {
    font-size: 1.35rem;
  }
}

@media (max-width: 400px) {
  .biodata-right h1 {
    font-size: 1.15rem;
  }

  .photo-box {
    width: 150px;
    height: 200px;
  }
}