@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/poppins-latin-400-normal.woff2?v=20260821-154208") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/poppins-latin-600-normal.woff2?v=20260821-154208") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/poppins-latin-700-normal.woff2?v=20260821-154208") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Persib Custom";
  src: url("./assets/fonts/Persib_Custom_Bold.otf?v=20260821-154208") format("opentype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --navy: #080e1b;
  --persib: #123d91;
  --yellow: #ffdc00;
}

[hidden] {
  display: none !important;
}

body {
  min-width: 20rem;
  background:
    radial-gradient(circle at 95% 45%, rgb(0 51 172 / 35%), transparent 33rem),
    linear-gradient(138deg, #080e1b 36%, #051b4f 70%, #0033ac 100%);
}

.particle-zone {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.particle-zone > section {
  position: relative;
  z-index: 1;
}

.particles-layer {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: clip;
  pointer-events: none;
}

.particles-host {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.78;
}

.particles-host canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.hero {
  z-index: 2;
  height: 100svh;
  background-image: linear-gradient(
    115.3347deg,
    #0033ac 16.675%,
    #080e1b 102.33%
  );
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.hero::before {
  inset-block: 0;
  background-image:
    linear-gradient(rgb(18 61 145 / 64%), rgb(18 61 145 / 64%)),
    url("./assets/images/hero-motif.svg?v=20260821-154208");
  background-repeat: no-repeat;
  background-position: center, center -39.72vw;
  background-size: 100% 100%, 100% auto;
}

.hero::after {
  z-index: 0;
  inset-block: 0;
  height: 100%;
  background: linear-gradient(180deg, rgb(18 61 145 / 0%) 0%, #123d91 100%);
  background-blend-mode: multiply;
  mix-blend-mode: multiply;
}

.hero-bottom-gradient {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 45.5%;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(18 61 145 / 0%) 0%, #123d91 100%);
  mix-blend-mode: multiply;
}

.hero-inner {
  position: relative;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.hero-visual {
  position: relative;
}

.hero-players-layer {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-players {
  display: block;
  width: 100%;
}

.hero-packaging {
  position: absolute;
  z-index: 3;
  bottom: -14%;
  left: 8%;
  width: 46%;
}

.hero-store-buttons {
  position: relative;
  z-index: 3;
}

.hero-preorder-visual {
  position: relative;
  z-index: 3;
  width: 100%;
  align-self: end;
  pointer-events: none;
}

.hero-preorder-packaging {
  display: block;
  width: min(72vw, 21rem);
  margin-inline: auto;
}

.site-header {
  background-image: linear-gradient(
    -62.0266deg,
    #0033ac 3.8029%,
    #0033ac 31.374%,
    #111724 31.384%,
    #111724 89.368%
  );
}

.mobile-menu {
  background: #111724;
}

.nav-link,
.mobile-link {
  transition: color 180ms ease, opacity 180ms ease;
}

.nav-link {
  position: relative;
  padding-block: 0.35rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-link:hover,
.mobile-link:hover {
  color: var(--yellow);
}

.nav-link.is-active,
.mobile-link.is-active {
  color: var(--yellow);
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

.mobile-link {
  padding-block: 0.85rem;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.mobile-link.is-active {
  padding-left: 0.75rem;
  background: linear-gradient(90deg, rgb(255 220 0 / 12%), transparent 70%);
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  border-radius: 999px;
  background: white;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-icon::before { transform: translateY(-0.4rem); }
.menu-icon::after { transform: translateY(0.4rem); }

[aria-expanded="true"] .menu-icon { background: transparent; }
[aria-expanded="true"] .menu-icon::before { transform: rotate(45deg); }
[aria-expanded="true"] .menu-icon::after { transform: rotate(-45deg); }

.section-shell {
  width: min(100% - 2.5rem, 72rem);
  margin-inline: auto;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 36rem;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  font-family: "Persib Custom", "Poppins", sans-serif;
  /* font-size: clamp(2.25rem, 6vw, 3rem); */
  line-height: 1.08;
}

.section-heading p {
  max-width: 21rem;
  font-size: 0.95rem;
  line-height: 1.5rem;
  color: rgb(255 255 255 / 80%);
}

.heading-line {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: clamp(1.5rem, 5vw, 2.75rem);
  background: #ffdc00;
}

.store-button {
  display: inline-flex;
  min-width: 12.375rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border-radius: 0.5rem;
  background: #f7f7f8;
  padding: 0.65rem 0.9rem;
  color: #111724;
  box-shadow: 0 0 0.2rem rgb(0 0 0 / 25%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 2rem rgb(0 0 0 / 20%);
}

.store-button span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
}

.store-button small {
  margin-bottom: 0.2rem;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.preorder-store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.collection-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  min-height: 0;
  overflow: hidden;
  border-width: 2px;
  border-radius: 0.6rem;
  background: linear-gradient(96deg, #111724 0%, #123d91 100%);
  box-shadow: 0 1.2rem 3rem rgb(0 0 0 / 18%);
}

.collection-art {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}

.collection-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.collection-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  gap: clamp(0.85rem, 1.5vw, 1.25rem);
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.collection-copy p {
  width: 100%;
  max-width: 23rem;
  overflow-wrap: anywhere;
  font-size: clamp(0.78rem, 1.15vw, 0.95rem);
  line-height: 1.45;
  color: rgb(255 255 255 / 84%);
}

.card-pill {
  border-width: 1px;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
}

.special-pill {
  color: var(--persib);
  border-color: var(--persib);
  background-image: url("./assets/images/special-badge.jpg?v=20260821-154208");
  background-position: center;
  background-size: cover;
}

.countdown-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.5rem, 1.53vw, 1.375rem);
}

.count-unit {
  display: flex;
  width: clamp(6rem, 11.67vw, 10.5rem);
  min-width: 0;
  flex-direction: column;
  align-items: center;
}

.count-box {
  display: flex;
  width: 100%;
  aspect-ratio: 8 / 7;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0.4375rem;
  background: var(--yellow);
  color: var(--navy);
}

.count-box strong {
  display: block;
  font-family: "Persib Custom", "Poppins", sans-serif;
  font-size: clamp(3rem, 6.67vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.125rem;
  transform: translateY(0.06em);
}

.count-label {
  margin-top: 1.375rem;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.375rem;
  letter-spacing: -0.0255rem;
  text-transform: uppercase;
}

.count-separator {
  display: flex;
  height: clamp(5.25rem, 10.21vw, 9.1875rem);
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  font-size: clamp(3rem, 6.67vw, 6rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.125rem;
}

.footer-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  border-top: 1px solid rgb(255 255 255 / 55%);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-label {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 78%);
}

.social-link {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 999px;
  transition: background-color 180ms ease, transform 180ms ease;
}

.social-link:hover {
  background: rgb(255 255 255 / 12%);
  transform: translateY(-2px);
}

.social-link img {
  width: 1.75rem;
  height: 1.8125rem;
}

.download-badge {
  display: block;
  overflow: hidden;
  border-radius: 0.3rem;
  transition: transform 180ms ease, opacity 180ms ease;
}

.download-badge:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.download-badge img {
  width: auto;
  height: 2.5rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 767px) {
  .site-header {
    background: linear-gradient(105deg, #111724 0 72%, #0033ac 72% 100%);
  }

  .hero {
    height: auto;
    min-height: 100svh;
  }

  .hero::before {
    background-position: center, center 32%;
    background-size: 100% 100%, auto 180%;
  }

  #about .hero-inner {
    height: auto;
    min-height: calc(100svh - 78px);
    gap: 2rem;
    grid-template-rows: auto auto;
    justify-items: center;
    align-content: center;
    padding-top: 2rem;
    padding-bottom: 0;
  }

  #about.hero--preorder .hero-inner {
    padding-bottom: 2rem;
  }

  .hero-copy,
  .hero-visual,
  .hero-preorder-visual {
    justify-self: center;
  }

  .hero-copy {
    width: 100%;
    max-width: 36rem;
    margin-inline: auto;
    transform: none;
  }

  .hero-copy .hero-description {
    margin-top: 1.25rem;
    font-size: 0.8125rem;
    line-height: 1.35rem;
  }

  .hero-copy .hero-store-buttons,
  .preorder-store-buttons {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;
  }

  .hero-copy .hero-store-buttons {
    margin-top: 1.5rem;
  }

  .hero-store-buttons .store-button,
  .preorder-store-buttons .store-button {
    width: 100%;
    min-width: 0;
    gap: 0.5rem;
    padding: 0.6rem 0.55rem;
  }

  .hero-store-buttons .store-button img,
  .preorder-store-buttons .store-button img {
    height: 1.7rem;
  }

  .hero-store-buttons .store-button span,
  .preorder-store-buttons .store-button span {
    font-size: 0.8rem;
  }

  .hero-store-buttons .store-button small,
  .preorder-store-buttons .store-button small {
    font-size: 0.45rem;
  }

  .hero-inner .hero-visual {
    width: 100%;
    max-width: 42rem;
    align-self: end;
    margin-inline: auto;
  }

  .hero-visual .hero-packaging {
    bottom: -36%;
    left: 24%;
    width: 58%;
  }

  .collection-card {
    grid-template-columns: 1fr;
  }

  .collection-art {
    min-height: 12rem;
  }

  .collection-art img {
    object-position: center;
  }

  .collection-copy {
    align-items: center;
    padding-top: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 359px) {
  .hero-copy .hero-store-buttons,
  .preorder-store-buttons {
    grid-template-columns: minmax(0, 12.375rem);
    justify-content: center;
  }
}

@media (max-width: 639px) {
  .countdown-row {
    display: flex;
    gap: clamp(0.2rem, 1.5vw, 0.5rem);
  }

  .count-unit {
    width: clamp(3.75rem, 19vw, 5rem);
  }

  .count-box strong {
    font-size: clamp(2rem, 10vw, 3rem);
    letter-spacing: -0.0625rem;
  }

  .count-label {
    margin-top: 0.75rem;
    font-size: 1rem;
    line-height: 1rem;
    letter-spacing: 0;
  }

  .count-separator {
    display: flex;
    height: clamp(3.25rem, 16.625vw, 4.375rem);
    font-size: clamp(2rem, 9vw, 2.75rem);
    letter-spacing: 0;
  }
}

@media (min-width: 1024px) {
  .footer-group {
    align-items: flex-start;
    min-height: 5.2rem;
    border-top: 0;
    border-left: 1px solid rgb(255 255 255 / 65%);
    padding-top: 0.15rem;
    padding-left: clamp(2rem, 3.4vw, 3.1rem);
    text-align: left;
  }
}

@media (min-width: 768px) {
  .hero-inner {
    position: relative;
  }

  .hero-copy {
    position: absolute;
    top: calc(50% + 2.4375rem);
    left: 1.25rem;
    width: min(43vw, 33.7rem);
    transform: translateY(-50%);
  }

  /* Pusatkan hero pre-order pada area layar yang tersisa di bawah navbar 78px. */
  .hero--preorder .hero-copy {
    top: calc(50% + 2.4375rem);
  }

  .hero-visual {
    position: absolute;
    inset: 0;
    max-width: none;
    pointer-events: none;
  }

  .hero-players-layer {
    position: absolute;
    bottom: 0;
    left: calc(50% - 4rem);
    width: min(54vw, 48rem);
    max-width: none;
  }

  .hero-packaging {
    bottom: clamp(-7.5rem, -8vw, -5.5rem);
    left: calc(50% - 2rem);
    width: min(27vw, 23.5rem);
    max-width: none;
  }

  .hero-preorder-visual {
    position: absolute;
    inset: 0;
    align-self: stretch;
    max-width: none;
  }

  .hero-preorder-packaging {
    position: absolute;
    top: calc(50% + 2.4375rem);
    left: 75%;
    width: min(31vw, 27em);
    max-width: none;
    margin: 0;
    transform: translate(-50%, -50%);
  }
}

@media (min-width: 1280px) {
  .hero-copy {
    left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
