:root {
  --primary: #ddb01f;
  --primary-light: #f1f1e9;
  --primary-dark: #5e4f21;
  --secondary: #a4a5a3;
  --primary-glow: rgba(221, 176, 31, 0.55);
  --bg: #000000;
  --navbar-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

@font-face {
  font-family: "HelveticaCustom";
  src: url("fonts/Helvetica.ttf") format("truetype");
}

body {
  font-family: "HelveticaCustom", Arial, sans-serif;
  background-color: #000000;
  color: #ffffff;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: var(--navbar-height);
}

html,
body {
  height: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Navbar Styles */
.navbar {
  height: var(--navbar-height);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 4%;
  background-color: rgba(0, 0, 0, 0.95);
  border-bottom: 2px solid var(--primary);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  backdrop-filter: blur(10px);
}

.navbar-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo-img {
  height: 45px;
  width: auto;
}

@keyframes gentleGlow {
  0% {
    text-shadow: 0 0 5px rgba(221, 176, 31, 0.4),
      0 0 10px rgba(221, 176, 31, 0.3);
  }
  100% {
    text-shadow: 0 0 15px rgba(221, 176, 31, 0.9),
      0 0 30px rgba(221, 176, 31, 0.6), 0 0 45px rgba(221, 176, 31, 0.4);
  }
}

.cs .trust-title {
  text-align: center;
  font-size: 2rem;
  letter-spacing: 1px;
  color: var(--secondary);
  margin-bottom: 1rem;
  animation: gentleGlow 2s ease-in-out infinite alternate;
}

.cs .trust-title span {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.25rem 0.9rem;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #000;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 0 15px var(--primary-glow);
  text-transform: uppercase;
}

/* Customer Service Section */
.cs {
  color: #ffffff;
  text-align: center;
}

.cs h2 {
  padding: 1rem;
}

.cs p {
  text-align: center;
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 300;
  margin-top: 1rem;
  color: #ffffff;
}

.cs-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.cs .row {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 5%;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 5rem;
  margin-top: 1rem;
}

.social-icons a {
  display: inline-flex;
  background: #000000;
  color: var(--primary);
  gap: 0.5rem;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary);
  animation: buttonPulse 3s ease-in-out infinite;
}

@keyframes buttonPulse {
  0%,
  100% {
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.3),
      0 0 10px rgba(212, 175, 55, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6),
      0 0 30px rgba(212, 175, 55, 0.4);
  }
}

.social-icons a i {
  font-size: 2rem;
  color: var(--primary);
  animation: gentleGlow 2s ease-in-out infinite alternate;
}

.social-icons a:hover {
  transform: translateY(-3px);
  animation: none;
  box-shadow: 0 0 30px var(--primary-glow);
  background: linear-gradient(45deg, var(--primary-dark), var(--primary));
  color: #000000;
  border-color: var(--primary-light);
}

.social-icons a:hover i {
  color: #000000;
  animation: none;
}

.social-icons a::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(212, 175, 55, 0.3) 30%,
    rgba(212, 175, 55, 0.8) 50%,
    rgba(212, 175, 55, 0.3) 70%,
    transparent 100%
  );
  transform: skewX(-30deg);
  opacity: 0;
  pointer-events: none;
  border-radius: inherit;
  transition: opacity 0.3s ease;
}

.social-icons a:hover::after {
  opacity: 1;
  animation: gentleShine 1.5s ease-in-out;
}

@keyframes gentleShine {
  0% {
    left: -130%;
    opacity: 0;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    left: 130%;
    opacity: 0;
  }
}

/* Footer */
footer {
  background: linear-gradient(135deg, #000000, #0a0a0a);
  text-align: center;
  padding: 2rem 0rem;
  margin-top: auto;
  border-top: 2px solid var(--primary);
}

footer .credit {
  font-size: 1rem;
  color: var(--primary);
  animation: gentleGlow 2s ease-in-out infinite alternate;
}

footer .credit a {
  color: var(--primary);
  transition: all 0.3s ease;
  position: relative;
}

footer .credit a:hover {
  color: #ffffff;
  text-shadow: 0 0 15px var(--primary-glow);
}

/* Slider */
.slider-box {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  margin: auto;
  overflow: hidden;
  position: relative;
  background: #000;
}

.slider-track {
  display: flex;
  transition: transform 0.35s ease;
  cursor: grab;
  height: 100%;
}

.slider-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  user-select: none;
  pointer-events: none;
}

/* Slide */
.slide-item {
  position: relative;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-text {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: var(--primary);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  max-width: 80%;
}

.slide-text h3 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--primary);
  animation: gentleGlow 2s ease-in-out infinite alternate;
}

.slide-text p {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #ffffff;
}

/* Register Now Button */
.register-btn {
  display: inline-block;
  background: #000000;
  color: var(--primary);
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
  animation: registerPulse 3s ease-in-out infinite;
}

@keyframes registerPulse {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3),
      0 0 20px rgba(212, 175, 55, 0.2);
  }
  50% {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.7),
      0 0 40px rgba(212, 175, 55, 0.4), 0 0 60px rgba(212, 175, 55, 0.2);
  }
}

.register-btn:hover {
  transform: translateY(-3px);
  animation: none;
  box-shadow: 0 0 40px var(--primary-glow);
  background: linear-gradient(45deg, var(--primary-dark), var(--primary));
  color: #000000;
  border-color: var(--primary-light);
}

.register-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(212, 175, 55, 0.3) 30%,
    rgba(212, 175, 55, 0.8) 50%,
    rgba(212, 175, 55, 0.3) 70%,
    transparent 100%
  );
  transform: skewX(-30deg);
  opacity: 0;
  pointer-events: none;
  border-radius: inherit;
  transition: opacity 0.3s ease;
}

.register-btn:hover::after {
  opacity: 1;
  animation: gentleShine 1.5s ease-in-out;
}

/* Media Queries Responsive */
@media (max-width: 768px) {
  .slide-text {
    bottom: 15%;
    left: 5%;
    max-width: 90%;
  }

  .slide-text h3 {
    font-size: 1.5rem;
  }

  .slide-text p {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }

  .register-btn {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
  }

  .social-icons {
    gap: 2rem;
    flex-wrap: wrap;
  }

  .social-icons a {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
  }

  /* Kurangi intensitas animasi di mobile */
  .navbar-logo,
  .slide-text h3 {
    animation: gentleGlowMobile 2s ease-in-out infinite alternate;
  }

  @keyframes gentleGlowMobile {
    0% {
      text-shadow: 0 0 3px rgba(212, 175, 55, 0.3);
    }
    100% {
      text-shadow: 0 0 8px rgba(212, 175, 55, 0.5),
        0 0 12px rgba(212, 175, 55, 0.2);
    }
  }
}

@media (max-width: 480px) {
  .slide-text {
    bottom: 15%;
    text-align: left;
    left: 8%;
    transform: none;
    width: 85%;
    max-width: 85%;
  }

  .slide-text h3 {
    font-size: 1.4rem;
    text-align: left;
    margin-bottom: 0.4rem;
  }

  .slide-text p {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    text-align: left;
    line-height: 1.4;
  }

  .register-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    text-align: center;
    margin-top: 0.3rem;
  }

  .navbar-logo {
    font-size: 1.5rem;
  }
}

/* Responsif Navbar */
@media (max-width: 768px) {
  :root {
    --navbar-height: 70px;
  }

  body {
    padding-top: var(--navbar-height);
  }
}

/* Responsif Customer Service */
@media (max-width: 768px) {
  .cs-img {
    width: 100%;
    max-width: 400px;
    height: auto;
  }

  .cs .content {
    text-align: center;
  }

  .cs .content p:first-child {
    font-size: 1.2rem;
  }
}
