@import url("https://www.lytogame.com/css/?family=Arial%20Rounded%20MT");
@import url("https://www.lytogame.com/css/?family=Gotham%20Rounded");
@import url("https://www.lytogame.com/css/?family=Poppins");
@import url("https://www.lytogame.com/css/?family=Trajan%20Pro");
@import url("https://www.lytogame.com/css/?family=Roboto");

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #0f0f0f;
  font-family: "Poppins", sans-serif;
}

/*=========================================================================================================================================
    DESKTOP INGAME EVENT
===========================================================================================================================================*/

.desktop-detail {
  display: block;
}

.mobile-detail-wrapper {
  display: none;
}

.detail-event-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: bgMove 25s ease-in-out infinite alternate;
}

@keyframes bgMove {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.04);
  }
}

.detail-nav {
  position: relative;
  z-index: 30;
  width: 92%;
  margin: 2.8vw auto 0 auto;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.back-main-btn {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.5vw;
  font-weight: 700;
}

.back-main-btn:hover {
  background: linear-gradient(45deg, #ae8625, #f7ef8a, #d2ac47, #edc967);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.back-icon {
  font-size: 38px;
  transition: 0.25s ease;
  color: #fff;
}

.back-icon:hover {
  background: linear-gradient(45deg, #ae8625, #f7ef8a, #d2ac47, #edc967);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.back-main-btn:hover .back-icon {
  transform: translateX(-6px);
}

.back-main-btn,
.back-main-btn:focus,
.back-main-btn:active,
.back-main-btn:hover,
.back-main-btn:focus-visible,
.nav-menu,
.nav-menu:focus,
.nav-menu:active,
.nav-menu:hover,
.nav-menu:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
  -webkit-focus-ring-color: transparent;
  text-decoration: none !important;
}

.detail-nav-right {
  display: flex;
  gap: 60px;
}

.nav-menu {
  color: #fff;
  font-size: 1.4vw;
  font-weight: 700;
  /* text-decoration: none; */
  text-decoration: none !important;
}

.nav-menu:hover {
  background: linear-gradient(45deg, #ae8625, #f7ef8a, #d2ac47, #edc967);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu.active {
  border-bottom: 4px solid white;
}


.nav-menu:hover.active {
  border-bottom: 4px solid white;
}

.detail-left,
.detail-right,
.info-glow,
.detail-hero,
.detail-information,
.desktop-hero-fire,
.desktop-hero-glow,
.desktop-flame-layer,
.desktop-embers {
  pointer-events: none;
}

.desktop-hero-fire,
.desktop-hero-glow,
.desktop-flame-layer,
.desktop-embers span {
  will-change: transform, opacity;
}

.game-button-wrapper {
  position: absolute;
  top: 16vw;
  left: 4vw;
  display: flex;
  flex-direction: column;
  gap: 2.5vw;
  z-index: 9999;
}

.game-button {
  width: 16vh;
  display: block;
  transition: 0.25s ease;
}

.game-button:hover {
  transform: scale(1.05);
}

.detail-content {
  position: relative;
  width: 100%;
  height: calc(100vh - 100px);
}

.desktop-hero-fire {
  position: absolute;
  width: 70vw;
  height: 70vw;
  left: -2vw;
  bottom: -8vw;
  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(255, 120, 0, 0.28),
    rgba(255, 60, 0, 0.14),
    transparent 70%
  );

  filter: blur(90px);
  animation:
    fireMove 4s ease-in-out infinite alternate,
    heroPulse 2.8s ease-in-out infinite;
  z-index: 1;
}

.desktop-hero-glow {
  position: absolute;
  width: 55vw;
  height: 55vw;
  left: 6vw;
  bottom: 4vw;
  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(255, 220, 100, 0.2),
    rgba(255, 120, 0, 0.08),
    transparent 75%
  );

  filter: blur(70px);
  animation: heroPulse 3s ease-in-out infinite;
  z-index: 2;
}

.desktop-flame-layer {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  mix-blend-mode: screen;
  z-index: 3;
}

.desktop-flame-1 {
  width: 30vw;
  height: 30vw;
  left: 10vw;
  bottom: 6vw;
  background: radial-gradient(
    circle,
    rgba(255, 220, 80, 0.4),
    rgba(255, 120, 0, 0.22),
    transparent 70%
  );
  animation: flamePulse1 4s infinite ease-in-out;
}

.desktop-flame-2 {
  width: 24vw;
  height: 24vw;
  left: 20vw;
  bottom: 10vw;
  background: radial-gradient(circle, rgba(255, 80, 0, 0.42), transparent 70%);
  animation: flamePulse2 5s infinite ease-in-out;
}

.desktop-flame-3 {
  width: 20vw;
  height: 20vw;
  left: 15vw;
  bottom: 18vw;
  background: radial-gradient(
    circle,
    rgba(255, 255, 120, 0.25),
    transparent 70%
  );
  animation: flamePulse3 3s infinite ease-in-out;
}

.desktop-embers {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 4;
}

.desktop-embers span {
  position: absolute;
  bottom: -30px;
  background: radial-gradient(circle, #ffffff, #ffd95b, #ff8f00, #ff4500);
  box-shadow:
    0 0 8px #ff9900,
    0 0 15px #ff5500;
  border-radius: 50%;
  animation: emberUp linear infinite;
}

.ingameSwiper,
.ingameSwiper .swiper-wrapper,
.ingameSwiper .swiper-slide,
.detail-content {
  overflow: visible !important;
}

.ingameSwiper {
  position: relative;
  z-index: 10;
}

.detail-left {
  position: absolute;
  left: 0vw;
  bottom: 0vw;
  width: 90%;
  z-index: 15;
  overflow: visible;
}

.detail-hero {
  width: 100%;
  display: block;
  animation: heroShadow 4s ease-in-out infinite;
  position: relative;
  z-index: 12;
}

@keyframes heroShadow {
  0%,
  100% {
    filter: drop-shadow(0 0 12px rgba(255, 90, 0, 0.18))
      drop-shadow(0 0 35px rgba(255, 40, 0, 0.12));
  }

  50% {
    filter: drop-shadow(0 0 20px rgba(255, 140, 0, 0.3))
      drop-shadow(0 0 50px rgba(255, 50, 0, 0.2));
  }
}

.info-glow {
  position: absolute;
  width: 32vw;
  height: 20vw;
  right: -5vw;
  top: 0;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 1;
  animation: infoPulse 4s ease-in-out infinite;
}

.detail-right {
  position: absolute;
  right: 4vw;
  top: 8vw;
  width: 43%;
  z-index: 20;
  animation: infoFloat 3s ease-in-out infinite;
}

.detail-information {
  width: 100%;
  display: block;
}

.ingameSwiper,
.mobileSwiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  position: relative;
  overflow: visible !important;
  width: 100%;
  height: 100%;
}

.swiper-slide-active .detail-hero {
  animation:
    heroEnter 0.8s ease,
    heroFloat 6s ease-in-out infinite;
}

.swiper-slide-active .detail-information {
  animation:
    infoEnter 0.8s ease,
    infoFloat 4s ease-in-out infinite;
}

.swiper-slide .detail-hero {
  opacity: 0;
  transform: translateX(-120px);
}

.swiper-slide-active .detail-hero {
  animation: heroEnter 0.8s ease forwards;
}

.swiper-slide .detail-information {
  opacity: 0;
  transform: translateX(120px);
}

.swiper-slide-active .detail-information {
  animation: infoEnter 0.8s ease 0.15s forwards;
}

.game-switch,
.game-switch img,
.game-button,
.game-button img,
.mobile-sidebar a,
.mobile-sidebar img {
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
  -webkit-focus-ring-color: transparent;
  user-select: none;
}

.game-switch:focus,
.game-switch:active,
.game-switch:hover,
.game-button:focus,
.game-button:active,
.game-button:hover {
  outline: none !important;
  box-shadow: none !important;
}

.game-switch img:focus,
.game-switch img:active,
.game-switch img:hover,
.game-button img:focus,
.game-button img:active,
.game-button img:hover {
  outline: none !important;
  box-shadow: none !important;
}

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateX(-120px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes infoEnter {
  from {
    opacity: 0;
    transform: translateX(120px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes infoFloat {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(18px);
  }
}

@keyframes cardPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }
}

@keyframes heroPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@keyframes infoPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes fireMove {
  from {
    transform: translateX(-20px) translateY(10px) scale(1);
  }

  to {
    transform: translateX(15px) translateY(-10px) scale(1.12);
  }
}

@keyframes emberUp {
  0% {
    transform: translateY(0) scale(0.5);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  100% {
    transform: translateY(-110vh) translateX(50px) scale(1.5);
    opacity: 0;
  }
}

@keyframes flamePulse1 {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.3);
    opacity: 0.9;
  }
}

@keyframes flamePulse2 {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-20px) scale(1.2);
  }
}

@keyframes flamePulse3 {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.5);
  }
}

/*=========================================================================================================================================
    MOBILE INGAME EVENT
===========================================================================================================================================*/

@media (max-width: 768px) {
  .desktop-detail {
    display: none !important;
  }

  .mobile-detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mobile-detail-wrapper {
    display: block;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #000;
  }

  .mobile-topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    pointer-events: none;
  }

  .mobile-back-btn {
    display: flex;
    align-items: center;
    font-family: "Poppins", sans-serif;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 4.5vw;
    margin-bottom: -16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    position: relative;
    z-index: 1000;
  }

  .mobile-back-btn,
  .mobile-menu-btn,
  .mobile-drawer,
  .drawer-link {
    pointer-events: auto;
  }

  .mobile-back-btn:hover {
    background: linear-gradient(45deg, #b19044, #f8f195, #d3b35c, #ffe190);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
  }

  .mobile-back-btn,
  .mobile-back-btn:focus,
  .mobile-back-btn:active,
  .mobile-back-btn:hover,
  .mobile-back-btn:focus-visible,
  .drawer-link,
  .drawer-link:focus,
  .drawer-link:active,
  .drawer-link:hover,
  .drawer-link:focus-visible,
  .mobile-menu-btn,
  .mobile-menu-btn:focus,
  .mobile-menu-btn:active,
  .mobile-menu-btn:hover,
  .mobile-menu-btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-focus-ring-color: transparent;
  }

  .mobile-back-icon {
    font-size: 9vw;
    line-height: 1;
  }

  .mobile-back-icon span {
    font-size: 0.3vw;
  }

  .mobile-menu-btn {
    width: 6vw;
    height: 5vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 100005;
    margin-top: 10px;
  }

  .mobile-menu-btn span {
    width: 100%;
    height: 4px;
    background: white;
    border-radius: 999px;
    transition: 0.3s ease;
  }

  .mobile-menu-btn.active span {
    background: white;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(calc(2.5vw - 2px)) rotate(45deg);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(calc(-2.5vw + 2px)) rotate(-45deg);
  }

  .mobile-drawer {
    position: fixed;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(10, 10, 10, 0.76) 45%,
      rgba(0, 0, 0, 0.88) 100%
    );
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    box-shadow:
      inset 0 0 180px rgba(0, 0, 0, 0.9),
      inset 0 0 80px rgba(255, 120, 0, 0.08);
    z-index: 100004;
    opacity: 0;
    visibility: hidden;
    transition: 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 18vh;
  }

  .mobile-drawer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
      circle at top,
      rgba(255, 180, 40, 0.08),
      transparent 45%
    );
    pointer-events: none;
  }

  .mobile-drawer.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .drawer-logo {
    position: relative;
    z-index: 2;
    margin-bottom: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .drawer-logo img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(255, 220, 80, 0.2))
      drop-shadow(0 0 24px rgba(255, 180, 40, 0.15));
    animation: logoFloat 4s ease-in-out infinite;
  }

  .drawer-title {
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 3.5vw;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(255, 0, 0, 0.15);
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 35px;
  }

  .drawer-link {
    display: block;
    width: 100%;
    font-family: "Poppins", sans-serif;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    text-shadow: 0 2px 10px rgba(255, 0, 0, 0.08);
    font-size: 5.5vw;
    font-weight: 700;
    padding: 18px 0;
    transition: 0.3s ease;
    position: relative;
    z-index: 100006;
    pointer-events: auto;
  }

  .drawer-link.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 40vw;
    height: 4px;
    transform: translateX(-50%);
    background: #e4e4e4;
    border-radius: 999px;
  }

  .drawer-link:hover {
    color: #e4e4e4;
  }

  .mobile-sidebar {
    position: relative;
    z-index: 100;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28vw;
  }

  .mobile-sidebar.hide {
    opacity: 0;
    pointer-events: none;
  }

  .mobile-sidebar img {
    width: 21vw;
  }

  .mobile-content {
    position: relative;
    z-index: 50;
    margin-top: 18vw;
    perspective: 1200px;
  }

  .mobileSwiper {
    width: 100%;
    height: 135vw;
    overflow: visible;
    perspective: 1200px;
    position: relative;
    z-index: 20;
  }

  .mobileSwiper .swiper-wrapper {
    position: relative;
    z-index: 20;
    transform-style: preserve-3d;
  }

  .mobileSwiper .swiper-slide {
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 20;
  }

  .mobile-information {
    width: 100%;
    backface-visibility: hidden;
    position: relative;
    z-index: 100;
    transform: translateZ(0);
    will-change: transform;
    animation: mobilePulse 3.5s ease-in-out infinite;
  }

  .mobile-embers {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
  }

  .mobile-hero-fire {
    position: absolute;
    width: 80vw;
    height: 80vw;
    left: 50%;
    top: 30vw;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(
      circle,
      rgba(255, 120, 0, 0.25),
      rgba(255, 60, 0, 0.15),
      transparent 70%
    );
    filter: blur(70px);
    animation:
      fireMove 4s ease-in-out infinite alternate,
      heroPulse 2.8s ease-in-out infinite;
    z-index: 1;
  }

  .mobile-hero-glow {
    position: absolute;
    width: 65vw;
    height: 65vw;
    left: 50%;
    top: 36vw;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(
      circle,
      rgba(255, 220, 100, 0.22),
      rgba(255, 120, 0, 0.12),
      transparent 75%
    );
    filter: blur(50px);
    animation: heroPulse 3s ease-in-out infinite;
    z-index: 2;
  }

  .mobile-info-glow {
    position: absolute;
    width: 70vw;
    height: 35vw;
    left: 50%;
    bottom: 12vw;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(
      circle,
      rgba(255, 220, 100, 0.22),
      rgba(255, 120, 0, 0.1),
      transparent 75%
    );
    filter: blur(40px);
    animation: infoPulse 4s ease-in-out infinite;
    z-index: 1;
  }

  .mobile-flame-layer {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: normal;
    filter: blur(70px);
    opacity: 0.65;
    z-index: 1;
  }

  .mobile-flame-1 {
    width: 45vw;
    height: 45vw;
    left: 20vw;
    top: 50vw;
    background: radial-gradient(
      circle,
      rgba(255, 220, 80, 0.45),
      rgba(255, 120, 0, 0.22),
      transparent 70%
    );

    animation: flamePulse1 4s infinite ease-in-out;
  }

  .mobile-flame-2 {
    width: 35vw;
    height: 35vw;
    left: 45vw;
    top: 80vw;
    background: radial-gradient(
      circle,
      rgba(255, 80, 0, 0.45),
      transparent 70%
    );
    animation: flamePulse2 5s infinite ease-in-out;
  }

  .mobile-flame-3 {
    width: 30vw;
    height: 30vw;
    left: 30vw;
    top: 110vw;
    background: radial-gradient(
      circle,
      rgba(255, 255, 120, 0.25),
      transparent 70%
    );
    animation: flamePulse3 3s infinite ease-in-out;
  }

  .mobile-embers span {
    position: absolute;
    bottom: -20px;
    background: radial-gradient(circle, #ffffff, #ffd95b, #ff8f00, #ff4500);
    box-shadow:
      0 0 8px #ff9900,
      0 0 15px #ff5500;
    border-radius: 50%;
    animation: emberUp linear infinite;
  }

  .mobile-sidebar img {
    display: block;
  }

  @keyframes mobilePulse {
    0%,
    100% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.03);
    }
  }

  @keyframes logoFloat {
    0%,
    100% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.2);
    }
  }
}

/*=========================================================================================================================================
    DESKTOP WARISAN NUSANTARA
===========================================================================================================================================*/

.wn-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.wn-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wn-content {
  position: relative;
  z-index: 20;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.wn-information {
  width: 30vw;
  margin-top: -10vh;
  margin-bottom: 10vh;
}

.wn-envelope-wrapper {
  display: flex;
  gap: 2vw;
  margin-top: -4vh;
}

.wn-envelope {
  width: 8vw;
  cursor: default;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.61))
    drop-shadow(0 10px 22px rgba(0, 0, 0, 0.527))
    drop-shadow(0 0 0 rgba(255, 255, 255, 0.041))
    drop-shadow(0 0 0 rgba(255, 180, 60, 0.062));
}

.wn-envelope:hover {
  animation: envelopeShakeLoop 0.7s ease-in-out infinite;
  filter: brightness(1.15) saturate(1.2)
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.45))
    drop-shadow(0 0 18px rgba(255, 190, 70, 0.9))
    drop-shadow(0 0 35px rgba(255, 120, 0, 0.65));
}

.wn-envelope:active {
  transform: translateY(-6px) scale(0.96);
}

.wn-button img {
  width: 24vw;
  transition: 0.3s ease;
  animation: cardPulse 1.7s ease-in-out infinite;
  margin-top: 8vh;
}

.wn-button,
.wn-button:focus,
.wn-button:active,
.wn-button:hover {
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}

.wn-button img,
.wn-button img:focus,
.wn-button img:active {
  outline: none !important;
  box-shadow: none !important;
}

.wn-button:hover img {
  animation-play-state: paused;
  transform: scale(1.04);
  filter: brightness(1.12) saturate(1.15)
    drop-shadow(0 0 3px rgba(255, 255, 255, 0.45))
    drop-shadow(0 0 6px rgba(255, 180, 60, 0.8))
    drop-shadow(0 0 8px rgba(255, 120, 20, 0.55));
}

.wn-note {
  margin-top: 2vh;
  color: white;
  font-size: 1.2vw;
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

@keyframes envelopeShakeLoop {
  0% {
    transform: translate(-5px, -14px) rotate(-1deg);
  }

  25% {
    transform: translate(5px, -14px) rotate(1deg);
  }

  50% {
    transform: translate(-5px, -14px) rotate(-1deg);
  }

  75% {
    transform: translate(5px, -14px) rotate(1deg);
  }

  100% {
    transform: translate(-5px, -14px) rotate(-1deg);
  }
}

/*=========================================================================================================================================
    MOBILE WARISAN NUSANTARA
===========================================================================================================================================*/

.desktop-warisan {
  display: block;
}

.wn-mobile-wrapper {
  display: none;
}

@media (max-width: 768px) {
  .desktop-warisan {
    display: none;
  }

  .wn-mobile-wrapper {
    display: block;
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
  }

  .wn-mobile-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 0;
  }

  .wn-mobile-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 38vw;
  }

  .wn-mobile-information {
    width: 72%;
    margin-bottom: 10vw;
  }

  .wn-mobile-envelope-wrapper {
    width: 50vw;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 10vw;
  }

  .wn-mobile-envelope {
    width: 100%;
    cursor: pointer;
    transition:
      transform 0.35s ease,
      filter 0.35s ease,
      box-shadow 0.35s ease;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.61))
      drop-shadow(0 10px 22px rgba(0, 0, 0, 0.527))
      drop-shadow(0 0 0 rgba(255, 255, 255, 0.041))
      drop-shadow(0 0 0 rgba(255, 180, 60, 0.062));
  }

  .wn-mobile-envelope:hover {
    animation: envelopeShakeLoopMobile 0.7s ease-in-out infinite;
    transform: translateY(-7px) scale(1.1) rotate(-2deg);
    filter: brightness(1.12) saturate(1.15)
      drop-shadow(0 0 6px rgba(255, 255, 255, 0.45))
      drop-shadow(0 0 10px rgba(255, 180, 60, 0.8))
      drop-shadow(0 0 30px rgba(255, 120, 20, 0.55));
  }

  .wn-mobile-button img {
    width: 75vw;
    max-width: 420px;
    transition: 0.3s ease;
    animation: cardPulse 1.7s ease-in-out infinite;
  }

  .wn-mobile-button:hover img {
    animation-play-state: paused;
    transform: scale(1.04);
    filter: brightness(1.12) saturate(1.15)
      drop-shadow(0 0 3px rgba(255, 255, 255, 0.45))
      drop-shadow(0 0 6px rgba(255, 180, 60, 0.8))
      drop-shadow(0 0 8px rgba(255, 120, 20, 0.55));
  }

  /* Hilangkan focus outline mobile button */
  .wn-mobile-button,
  .wn-mobile-button:focus,
  .wn-mobile-button:active,
  .wn-mobile-button:hover,
  .wn-mobile-button:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
  }

  .wn-mobile-button img,
  .wn-mobile-button img:focus,
  .wn-mobile-button img:active,
  .wn-mobile-button img:focus-visible {
    outline: none !important;
    box-shadow: none !important;
  }

  .wn-mobile-note {
    margin-top: 18px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  }

  @keyframes envelopeShakeLoopMobile {
    0% {
      transform: translate(-5px, -14px) rotate(-1deg);
    }

    25% {
      transform: translate(5px, -14px) rotate(1deg);
    }

    50% {
      transform: translate(-5px, -14px) rotate(-1deg);
    }

    75% {
      transform: translate(5px, -14px) rotate(1deg);
    }

    100% {
      transform: translate(-5px, -14px) rotate(-1deg);
    }
  }
}
