@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);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', 'Poppins', Arial, sans-serif;
  background-color: #0c0900;
  color: var(--putih);
  overflow-x: hidden;
  line-height: 1.6;
  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 nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  height: 65px;
  background: rgba(12, 9, 0, 0.75);
  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);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.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-links {
  list-style: none;
  display: flex;
  gap: 4px;
}

.nav-links 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-links 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-links li a:hover,
.nav-links .active a,
.nav-links li a.active {
  color: var(--kuning);
  background: rgba(255, 215, 0, 0.1);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 50%;
}

.contact-section {
  min-height: calc(100vh - 65px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 50% 30%, rgba(255, 215, 0, 0.16) 0%, transparent 68%),
    radial-gradient(ellipse 45% 50% at 90% 80%, rgba(255, 165, 0, 0.1) 0%, transparent 65%),
    linear-gradient(135deg, #0c0900 0%, #100e00 60%, #140f00 100%);
  z-index: 0;
}

.contact-section>* {
  position: relative;
  z-index: 1;
}

.title h1 {
  font-size: 5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--kuning), var(--oranye));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4));
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.title p {
  font-size: 0.85rem;
  letter-spacing: 4px;
  color: rgba(255, 215, 0, 0.6);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.title h2 {
  font-size: 1.6rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
}

.title h2 span {
  color: var(--kuning);
  font-weight: 600;
}

.content {
  max-width: 550px;
  margin: 24px auto 0;
}

.content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.8;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.info-item {
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 16px;
  padding: 30px 28px;
  min-width: 180px;
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
  cursor: default;
}

.info-item:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 215, 0, 0.35);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.2), 0 10px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(-6px);
}

.info-item img {
  width: 36px;
  margin-bottom: 12px;
  filter: invert(1) sepia(1) saturate(3) hue-rotate(2deg) brightness(1.1);
}

.info-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  word-break: break-all;
}

footer {
  text-align: center;
  padding: 18px;
  background: rgba(12, 9, 0, 0.9);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 215, 0, 0.15);
  color: rgba(255, 215, 0, 0.5);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* ==================== 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 {
    padding: 0 20px;
  }

  header nav {
    position: static;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-links {
    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-links.terbuka {
    display: flex;
  }

  .nav-links li a {
    padding: 11px 20px;
    font-size: 0.8rem;
    border-radius: 0;
    display: flex;
    align-items: center;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .contact-section {
    padding: 80px 28px 40px;
  }

  .title h1 {
    font-size: 3rem;
  }

  .contact-info {
    flex-direction: column;
    gap: 16px;
  }

  .contact-form {
    padding: 28px;
  }
}

@media (max-width: 640px) {
  header {
    padding: 0 16px;
  }

  header nav {
    padding: 0;
  }

  .contact-section {
    padding: 80px 20px 32px;
  }

  .title h1 {
    font-size: 2.3rem;
  }

  .contact-form {
    padding: 20px 18px;
  }
}

@media (max-width: 400px) {
  .title h1 {
    font-size: 1.9rem;
  }
}