/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

/* Fonts */
body {
  font-family: "Open Sans", sans-serif;
}

.font-opensans {
  font-family: "Open Sans", sans-serif;
}

.font-montserrat {
  font-family: "Montserrat", sans-serif;
}

/* Subtle background pattern */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("https://www.transparenttextures.com/patterns/hexellence.png");
  opacity: 0.07;
  pointer-events: none;
  z-index: -1;
}

/* ------------------------------- */
/* BANNER / SLIDER SECTION */

/* Banner container */
.banner {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  position: relative;
}

/* Slider */
.banner .slider {
  position: absolute;
  width: 200px;
  height: 250px;
  top: 10%;
  left: calc(50% - 100px);
  transform-style: preserve-3d;
  transform: perspective(1000px);
  animation: autoRun 20s linear infinite;
  z-index: 2;
}

@keyframes autoRun {
  from {
    transform: perspective(1000px) rotateX(100deg) rotateY(0deg);
  }
  to {
    transform: perspective(1000px) rotateX(100deg) rotateY(360deg);
  }
}


.banner .slider .item {
  position: absolute;
  inset: 0;
  transform:
    rotateY(calc((var(--position) - 1) * (360deg / var(--quantity))))
    translateZ(550px);
}

.banner .slider .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Banner content */
.banner .content {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1400px, 100vw);
  height: max-content;
  padding-bottom: 100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  z-index: 3;  /* aku set supaya di atas slider */
}

.banner .content h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 12em;
  line-height: 1em;
  color: rgb(74, 11, 11);
  position: relative;
}

.banner .content h1::after {
  position: absolute;
  inset: 0;
  content: attr(data-content);
  z-index: 2;
  -webkit-text-stroke: 2px white;
  color: transparent;
}

.banner .content .author {
  font-family: 'Poppins', sans-serif;
  text-align: right;
  max-width: 200px;
}

.banner .content h2 {
  font-size: 3rem; /* typo fixed: from 3m to 3rem */
}

.banner .content .model {
  background-image: url('10.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 100vh;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
}

/* ------------------------------- */
/* HEADER - KASAGI LABO */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.brand-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  user-select: none;
}

.brand-subtitle {
  font-size: 10px;
  font-weight: bold;
  color: #c1272d;
  margin-top: -0.25rem;
  user-select: none;
}

.nav-links {
  display: none;
}

@media (min-width: 640px) {
  .nav-links {
    display: flex;
    gap: 1.5rem;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    user-select: none;
  }
}

.nav-links a:hover {
  text-decoration: underline;
}

/* HERO - KASAGI LABO */

.hero {
  max-width: 720px;
  margin: 2.5rem auto 0;
  padding: 0 1.5rem;
  text-align: center;
}

@media (min-width: 640px) {
  .hero {
    margin-top: 4rem;
  }
}

.hero-subtitle {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  user-select: none;
}

.hero-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 2.25rem;
  line-height: 1.2;
  max-width: 480px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-desc {
  font-size: 11px;
  margin-top: 1rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* PROMO SECTION */

.promo {
  max-width: 720px;
  margin: 3rem auto 0;
  padding: 0 1.5rem;
}

.promo-box {
  position: relative;
  background-color: #0f0c19;
  border-radius: 0.5rem;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .promo-box {
    grid-template-columns: 1fr 1fr;
    padding: 2rem;
  }
}

.promo-text {
  text-align: left;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.promo-small-text {
  font-size: 10px;
  color: #c1272d;
  margin-bottom: 0.5rem;
  user-select: none;
}

.promo-heading {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.download-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.promo-media {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.promo-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}
