/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* DESKTOP CSS */

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.menu-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 2vh 2vw;
  padding-bottom: 20px;
}

.desktop {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  background: url("../image/bg-pc.png") no-repeat center center;
  background-size: cover;
  background-color: #161920;
  position: absolute;
  overflow: hidden;
}

.title-group {
  width: 100%;
  text-align: center;
  margin-top: 2vh;
  margin-bottom: -72px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0vh;
}

.title-img {
  width: 25%;
  height: auto;
  margin-bottom: 1vh;
}

.subtitle-img {
  width: 40%;
  height: auto;
  margin-top: 20px;
}

.linkbox-section {
  position: absolute;
  z-index: 1;
  width: 980px;
  max-width: 98vw;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  top: 500px;
  left: 50%;
  transform: translateX(-50%);
}

.linkbox-image {
  width: 100%;
  border-radius: 18px;
  height: auto;
}

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.card-ỉtem {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  justify-content: center;
}

.card-item-img {
  height: 150px;
  width: auto;
}

.link-button {
  position: relative;
  margin-top: -40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 25px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 20px;
  font-weight: bold;
  color: #1b2e88;
  text-decoration: none;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  white-space: nowrap;
}

.link-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.signal-bar {
  position: absolute;
  top: 90px;
  left: 10px;
  right: 10px;
  height: 8px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  border: 1px solid #ffef7b;
  overflow: hidden;
}

.signal-fill {
  height: 100%;
  background: linear-gradient(to right, #ffffff 0%, #fff7bd 90%);
  border-radius: 4px;
  transition: width 1.2s ease-in-out;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}

.link-icon img {
  width: auto;
  height: 25px;
}

@keyframes signalPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  30% {
    opacity: 0.1;
  }
}

.footer-section {
  /* position: absolute; */
  z-index: 1;
  width: 980px;
  max-width: 98vw;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  bottom: 20px;
  left: 50%;
  /* transform: translateX(-50%); */
}

.footer-frame-image {
  width: 100%;
}

.footer-items {
  position: absolute;
}

.footer-item-1 {
  position: absolute;
  width: 400px;
  top: -86px;
  left: 30px;
}

.footer-item-2 {
  position: absolute;
  width: 120px;
  top: -70px;
  left: 427px;
}

.footer-item-3 {
  position: absolute;
  width: 120px;
  top: -70px;
  left: 557px;
}

.footer-item-4 {
  position: absolute;
  width: 231px;
  top: -135px;
  left: 737px;
}

.main-content {
  flex: 1;
  width: 100%;
  max-width: 1400px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3vw;
  margin: 0 auto;
  padding: 0 2vw;
}

.image-section {
  display: flex;
  gap: 2vw;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  margin-top: -80px;
}

.image-container {
  flex: 1;
  max-width: 500px;
  position: relative;
  margin-right: 80px;
}

.social-icons {
  position: fixed;
  right: 2vw;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: -3.5vh;
  z-index: 100;
}

.social-icon {
  width: clamp(50px, 4vw, 70px);
  height: clamp(50px, 4vw, 70px);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* RESPONSIVE - iPad Landscape */
@media (max-width: 1024px) and (orientation: landscape) {
  .linkbox-section {
    width: 70vw;
    top: 219px;
  }

  .linkbox-image {
    height: 600px;
    max-height: 700px;
  }

  .container {
    top: 215px;
    gap: 20px;
    flex-wrap: wrap;
  }

  .link-button {
    font-size: 18px;
    padding: 8px 18px;
  }

  .footer-section {
    bottom: 10px;
    width: 70vw;
  }

  .footer-item-1 {
    width: 280px;
    top: -70px;
  }

  .footer-item-2 {
    top: -58px;
    left: 320px;
    width: 90px;
  }
  .footer-item-3 {
    top: -58px;
    left: 410px;
    width: 90px;
  }

  .footer-item-4 {
    width: 150px;
    top: -91px;
    left: 546px;
  }
}

@media (max-width: 1280px) and (orientation: landscape) {
  .linkbox-section {
    width: 70vw;
    top: 353px;
  }

  .linkbox-image {
    height: auto;
    max-height: 700px;
  }

  .container {
    top: 56px;
    gap: 20px;
    flex-wrap: wrap;
  }

  .link-button {
    font-size: 18px;
    padding: 8px 18px;
  }

  .footer-section {
    bottom: 10px;
    width: 70vw;
  }

  .footer-item-1 {
    width: 280px;
    top: -70px;
  }

  .footer-item-2 {
    top: -58px;
    left: 320px;
    width: 90px;
  }
  .footer-item-3 {
    top: -58px;
    left: 410px;
    width: 90px;
  }

  .footer-item-4 {
    width: 183px;
    top: -108px;
    left: 689px;
  }
}

@media (max-width: 1024px) and (orientation: portrait) {
  .title-img {
    width: 60%;
    height: auto;
    margin-bottom: 1vh;
  }

  .subtitle-img {
    width: 70%;
    height: auto;
    margin-top: 20px;
  }

  .social-icons {
    position: fixed;
    right: 2vw;
    top: 20%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: -3.5vh;
    z-index: 100;
  }

  .linkbox-section {
    width: 95vw;
    top: 470px;
  }
  .linkbox-image {
    width: 100%;
    border-radius: 18px;
    height: 230px;
  }

  .container {
    top: 60px;
    gap: 25px;
  }

  .link-button {
    font-size: 18px;
    padding-top: 8px;
  }

  .footer-section {
    top: 792px;
    width: 95vw;
  }

  .footer-item-1 {
    width: 308px;
    top: -73px;
  }

  .footer-item-2 {
    top: -64px;
    left: 335px;
    width: 109px;
  }
  .footer-item-3 {
    top: -63px;
    left: 446px;
    width: 109px;
  }

  .footer-item-4 {
    width: 189px;
    top: -111px;
    left: 606px;
  }
}

.mobile {
  display: none;
}

@media (max-width: 768px) {
  .desktop {
    display: none !important;
  }

  .mobile {
    display: block;
    width: 100%;
    position: relative;
    background: url("../image/bg-mobile.png") no-repeat center center;
    background-size: cover;
    overflow: hidden;
    background-attachment: fixed;
    min-height: 100vh;
  }
}

.mobile-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px 0px;
  position: relative;
  box-sizing: border-box;
  gap: 15px 0;
}

.card-ỉtem-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  justify-content: center;
}

.card-item-img-mobile {
  height: 140px;
  width: 140px;
}

.signal-bar-mobile {
  position: absolute;
  margin: auto;
  top: 85px;
  height: 8px;
  width: 60%;
  border-radius: 4px;
  border: 1px solid #ffef7b;
  overflow: hidden;
}

.signal-fill-mobile {
  height: 100%;
  background: linear-gradient(to right, #ffffff 0%, #fff7bd 90%);
  border-radius: 4px;
  transition: width 1.2s ease-in-out;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}

.mobile-section-1 {
  width: 100%;
  text-align: center;
  margin-bottom: 15px;
}

.mobile-title-img {
  width: 100%;
  max-width: 280px;
  height: auto;
}

.mobile-section-2 {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

.mobile-subtitle-img {
  width: 85%;
  max-width: 350px;
  height: auto;
}

.mobile-section-3 {
  width: 100%;
  text-align: center;
  margin-bottom: -40px;
  z-index: 1;
}

.mobile-game-banner {
  width: 90%;
  max-width: 420px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-top: -88px;
  padding-bottom: 22px;
}

.mobile-section-4 {
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
  padding-bottom: 20px;
  /* margin-bottom: 50px; */
}

.link-access-frame-mobile {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.container-mobile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  /* padding: 0px 35px; */
  margin-top: -320px;
}

.link-button-mobile {
  margin-left: -60px;
  margin-top: -54px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 13px;
  background: linear-gradient(to right, #fffef8 0%, #ffef7b 90%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  font-size: 15px;
  font-weight: bold;
  color: #6b3d2e;
  text-decoration: none;
  width: 100%;
  max-width: 108px;
  height: 20px;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

.link-button-mobile:hover {
  background: #fde68a;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.link-button-mobile:active {
  transform: translateY(-1px);
}

.link-icon-mobile {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.link-icon-mobile img {
  width: 20px;
  height: 20px;
}

@media (max-width: 380px) {
  .link-button-mobile {
    padding: 10px 24px;
    font-size: 13px;
    gap: 10px;
    min-width: 120px;
  }

  .link-icon-mobile {
    width: 22px;
    height: 22px;
  }

  .link-icon-mobile img {
    width: 12px;
    height: 12px;
  }
}

.mobile-character-img {
  margin-top: -100px;
  width: 100%;
  max-width: 400px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
}

.link-buttons-container-mobile {
  position: absolute;
  top: 56%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 80%;
  max-width: 320px;
  z-index: 10;
}

.mobile-section-5 {
  max-width: 400px;
  position: relative;
}

.frame-download {
  width: 100%;
  height: auto;
}

.frame-item {
  position: absolute;
}

.item-1 {
  position: absolute;
  width: 90px;
  height: auto;
  top: -48px;
  left: 30px;
}

.item-2 {
  position: absolute;
  width: 90px;
  height: auto;
  top: -48px;
  left: 120px;
}

.mobile-section-6 {
  width: 100%;
  /* padding: 0 10px; */
  margin-bottom: 20px;
}

.mobile-social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  /* max-width: 320px; */
  margin: 0 auto;
}

.mobile-social-btn {
  display: block;
  transition: transform 0.3s ease;
}

.mobile-social-btn img {
  width: 100%;
  height: auto;
  display: block;
}

.mobile-social-btn:hover {
  transform: scale(1.05);
}

.mobile-social-btn:active {
  transform: scale(0.95);
}

@media (max-width: 390px) {
  .container-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    /* padding: 0px 35px; */
    margin-top: -325px;
  }

  .mobile-container {
    padding: 0px 16px;
  }

  .mobile-title-img {
    width: 100%;
  }

  .mobile-game-banner {
    width: 99%;
  }

  .link-buttons-container-mobile {
    width: 85%;
    gap: 8px;
  }

  .link-button-mobile {
    min-height: 30px;
  }

  .link-header-mobile .link-text {
    font-size: 13px;
  }

  .signal-strength-mobile {
    font-size: 14px;
  }

  .mobile-social-grid {
    gap: 10px;
  }

  .ios-button,
  .android-button {
    width: 100px;
    height: fit-content;
  }

  .frame-download {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 360px) {
  .mobile-container {
    padding: 25px 20px;
  }
  .mobile-title-img {
    width: 100%;
  }

  .mobile-subtitle-img {
    width: 75%;
  }

  .link-buttons-container-mobile {
    width: 90%;
  }

  .link-button-mobile {
    padding: 0 4px;
    min-height: 30px;
    margin-top: 4px;
    margin-left: 2px;
  }

  .link-button-mobile img {
    height: auto;
    width: 20px;
  }

  .link-header-mobile .link-text {
    font-size: 12px;
  }
}

@media (min-width: 390px) {
  .container-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 10px;
    margin-top: -305px;
  }
}

/* @media (max-width: 430px) {
  .item-1 {
    position: absolute;
    width: 80px;
    height: auto;
    top: -40px;
    left: 30px;
  }
  .item-2 {
    position: absolute;
    width: 80px;
    height: auto;
    top: -40px;
    left: 110px;
  }
  .container-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 14px;
    width: 100%;
    padding: 0px 20px;
    margin-top: -380px;
  }
  .card-ỉtem-mobile {
    margin: auto;
  }

  .card-item-img-mobile {
    height: 157px;
    width: 170px;
  }

  .signal-bar-mobile {
    position: absolute;
    margin: auto;
    top: 95px;
    height: 8px;
    width: 80%;
    border-radius: 4px;
    border: 1px solid #ffef7b;
    overflow: hidden;
  }
} */

@media (min-width: 412px) {
  .mobile-character-img {
    margin-top: -110px;
    width: 100%;
    max-width: 400px;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
  }

  .signal-bar-mobile {
    position: absolute;
    margin: auto;
    top: 98px;
    height: 8px;
    width: 80%;
    border-radius: 4px;
    border: 1px solid #ffef7b;
    overflow: hidden;
  }

  .card-item-img-mobile {
    height: 160px;
    width: 160px;
  }

  .mobile-section-4 {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
    padding-bottom: 20px;
  }

  .container-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: 100%;
    padding: 11px 30px;
    margin-top: -395px;
  }

  .item-1 {
    position: absolute;
    width: 110px;
    height: auto;
    top: -50px;
    left: 35px;
  }
  .item-2 {
    position: absolute;
    width: 110px;
    height: auto;
    top: -50px;
    left: 140px;
  }
}

@media (min-width: 375px) and (max-width: 380px) and (orientation: portrait) {
  .container-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 10px;
    margin-top: -335px;
    /* margin-left: -5px; */
  }

  .link-button-mobile {
    padding: 0 4px;
    min-height: 30px;
    margin-top: 4px;
    margin-left: 2px;
  }

  .card-item-img-mobile {
    height: 140px;
    width: 140px;
  }

  .signal-bar-mobile {
    position: absolute;
    margin: auto;
    top: 90px;
    height: 8px;
    width: 60%;
    border-radius: 4px;
    border: 1px solid #ffef7b;
    overflow: hidden;
  }

  .mobile-section-4 {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
  }
}

@media (max-height: 600px) and (orientation: landscape) {
  .mobile-container {
    padding: 10px 15px;
  }

  .mobile-section-1 {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .mobile-title-img {
    width: 100%;
  }

  .mobile-subtitle-img {
    width: 50%;
  }

  .mobile-game-banner {
    width: 50%;
  }

  .mobile-character-img {
    width: 100%;
  }

  .mobile-section-3 {
    margin-bottom: -20px;
  }
}

@media (min-width: 768px) and (max-width: 834px) and (orientation: portrait) and (aspect-ratio: 3/4) {
  .desktop {
    display: none !important;
  }

  .mobile {
    display: block !important;
    width: 100%;
    position: relative;
    background: url("../image/bg-mobile.png") no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
  }

  .mobile-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 40px;
    position: relative;
    min-height: 100vh;
  }

  .mobile-section-1 {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
  }

  .mobile-title-img {
    width: 100%;
    max-width: 350px;
    height: auto;
  }

  .mobile-section-2 {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .mobile-subtitle-img {
    width: 85%;
    max-width: 400px;
    height: auto;
  }

  .mobile-section-3 {
    width: 100%;
    text-align: center;
    margin-bottom: -60px;
    z-index: 1;
  }

  .mobile-game-banner {
    width: 80%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin-top: -88px;
    padding-bottom: 22px;
  }

  .mobile-section-4 {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
  }

  .container-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0px 114px;
    width: 100%;
    gap: 10px;
    margin-top: -394px;
    margin-left: 0;
    box-sizing: border-box;
  }

  .card-ỉtem-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    justify-content: center;
  }

  .card-item-img-mobile {
    height: auto;
    width: 200px;
  }

  .signal-bar-mobile {
    position: absolute;
    margin: auto;
    top: 100px;
    height: 8px;
    width: 60%;
    border-radius: 4px;
    border: 1px solid #ffef7b;
    overflow: hidden;
  }

  .link-icon-mobile img {
    width: 20px;
    height: 20px;
  }

  .mobile-character-img {
    margin-top: -123px;
    width: 100%;
    max-width: 500px;
    height: 450px;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
  }

  .mobile-section-5 {
    max-width: 500px;
    position: relative;
    width: 100%;
  }

  .frame-download {
    width: 100%;
    height: auto;
  }

  .frame-item {
    position: absolute;
  }

  .item-1 {
    position: absolute;
    width: 120px;
    height: auto;
    top: -55px;
    left: 50px;
  }

  .item-2 {
    position: absolute;
    width: 120px;
    height: auto;
    top: -55px;
    left: 170px;
  }

  .mobile-section-6 {
    width: 100%;
    padding: 0 20px;
    margin-bottom: 20px;
    box-sizing: border-box;
  }

  .mobile-social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
  }

  .mobile-social-btn {
    display: block;
    transition: transform 0.3s ease;
  }

  .mobile-social-btn img {
    width: 100%;
    height: auto;
    display: block;
  }

  .mobile-social-btn:hover {
    transform: scale(1.05);
  }

  .mobile-social-btn:active {
    transform: scale(0.95);
  }
}

@media (min-width: 834px) and (max-width: 1024px) and (max-height: 600px) and (orientation: landscape) {
  .desktop {
    display: none !important;
  }

  .mobile {
    display: block !important;
    width: 100%;
    position: relative;
    background: url("../image/bg-mobile.png") no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
  }

  .mobile-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 50px;
    position: relative;
    min-height: 100vh;
  }

  .mobile-section-1 {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    margin-top: 5px;
  }

  .mobile-title-img {
    width: 100%;
    max-width: 250px;
    height: auto;
  }

  .mobile-section-2 {
    display: none;
  }

  .mobile-section-3 {
    width: 100%;
    text-align: center;
    margin-bottom: -40px;
    z-index: 1;
  }

  .mobile-game-banner {
    width: 40%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin-top: -40px;
    padding-bottom: 10px;
  }

  .mobile-section-4 {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
  }

  .container-mobile {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
    margin-top: -280px;
    margin-left: 0;
    box-sizing: border-box;
  }

  .link-button-mobile {
    margin-left: -65px;
    margin-top: -50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 16px;
    background: linear-gradient(to right, #fffef8 0%, #ffef7b 90%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: bold;
    color: #6b3d2e;
    text-decoration: none;
    width: 100%;
    max-width: 110px;
    height: 22px;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
  }

  .link-button-mobile:hover {
    background: #fde68a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  }

  .link-icon-mobile {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .link-icon-mobile img {
    width: 20px;
    height: 20px;
  }

  .mobile-character-img {
    display: none;
  }

  .mobile-section-5 {
    width: 100%;
    margin-top: 15px;
    max-width: 600px;
    position: relative;
  }

  .frame-download {
    width: 100%;
    height: auto;
  }

  .frame-item {
    position: absolute;
  }

  .item-1 {
    position: absolute;
    width: 100px;
    height: auto;
    top: -45px;
    left: 80px;
  }

  .item-2 {
    position: absolute;
    width: 100px;
    height: auto;
    top: -45px;
    left: 200px;
  }

  .mobile-section-6 {
    width: 100%;
    padding: 0 20px;
    margin-bottom: 20px;
    box-sizing: border-box;
  }

  .mobile-social-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
  }

  .mobile-social-btn {
    display: block;
    transition: transform 0.3s ease;
  }

  .mobile-social-btn img {
    width: 100%;
    height: auto;
    display: block;
  }

  .mobile-social-btn:hover {
    transform: scale(1.05);
  }

  .mobile-social-btn:active {
    transform: scale(0.95);
  }
}

@media (min-width: 1024px) and (max-width: 1024px) and (max-height: 600px) {
  .desktop {
    display: flex !important;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    background: url("../image/bg-pc.png") no-repeat center center;
    background-size: cover;
    background-color: #161920;
    position: absolute;
    overflow: hidden;
  }

  .mobile {
    display: none !important;
  }

  .menu-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 1.5vh 2vw;
    padding-bottom: 15px;
  }

  .title-group {
    width: 100%;
    text-align: center;
    margin-top: 1vh;
    margin-bottom: -50px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0vh;
  }

  .title-img {
    width: 30%;
    height: auto;
    margin-bottom: 0.5vh;
  }

  .subtitle-img {
    width: 33%;
    height: auto;
    margin-top: 15px;
  }

  .linkbox-section {
    position: absolute;
    z-index: 1;
    width: 70%;
    max-width: 1000px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    top: 260px;
    left: 50%;
    transform: translateX(-50%);
  }

  .linkbox-image {
    width: 100%;
    border-radius: 18px;
    height: 212px;
    max-height: 500px;
  }

  .container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: flex-start;
    position: absolute;
    top: 53px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    max-width: 950px;
  }

  .link-button {
    position: relative;
    margin-top: -38px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    font-weight: bold;
    color: #1b2e88;
    text-decoration: none;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    white-space: nowrap;
  }

  .link-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .link-icon img {
    width: auto;
    height: 20px;
  }

  .footer-section {
    /* position: absolute; */
    /* z-index: 1; */
    /* width: 70%; */
    max-width: 950px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-frame-image {
    width: 100%;
    height: auto;
  }

  .footer-items {
    position: absolute;
  }

  .footer-item-1 {
    position: absolute;
    width: 282px;
    top: -68px;
    left: 11px;
  }

  .footer-item-2 {
    position: absolute;
    width: 90px;
    top: -59px;
    left: 300px;
  }

  .footer-item-3 {
    position: absolute;
    width: 90px;
    top: -59px;
    left: 395px;
  }

  .footer-item-4 {
    position: absolute;
    width: 150px;
    top: -89px;
    left: 541px;
  }

  .social-icons {
    position: fixed;
    right: 2vw;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: -3.5vh;
    z-index: 100;
  }

  .social-icon {
    width: clamp(50px, 4vw, 65px);
    height: clamp(50px, 4vw, 65px);
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .social-icon:hover {
    transform: scale(1.1);
  }

  .social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .main-content {
    flex: 1;
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3vw;
    margin: 0 auto;
    padding: 0 2vw;
  }

  .image-section {
    display: flex;
    gap: 2vw;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    margin-top: -80px;
  }

  .image-container {
    flex: 1;
    max-width: 500px;
    position: relative;
    margin-right: 80px;
  }
}

@media (min-width: 540px) and (max-width: 540px) and (max-height: 720px) and (orientation: portrait) {
  .desktop {
    display: none !important;
  }

  .mobile {
    display: block !important;
    width: 100%;
    position: relative;
    background: url("../image/bg-mobile.png") no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
  }

  .mobile-character-img {
    margin-top: -90px;
    width: 100%;
    max-width: 400px;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
  }

  .container-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    width: 100%;
    padding: 0px 35px;
    margin-top: -380px;
  }

  .mobile-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 50px;
    position: relative;
    min-height: 100vh;
  }

  .mobile-section-1 {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    margin-top: 5px;
  }

  .mobile-title-img {
    width: 100%;
    max-width: 250px;
    height: auto;
  }

  .card-item-img-mobile {
    height: 157px;
    width: 157px;
  }

  .signal-bar-mobile {
    position: absolute;
    margin: auto;
    top: 95px;
    height: 8px;
    width: 60%;
    border-radius: 4px;
    border: 1px solid #ffef7b;
    overflow: hidden;
  }

  .mobile-section-3 {
    width: 202%;
    text-align: center;
    margin-bottom: -42px;
    position: relative;
    z-index: 1;
    top: -50px;
  }

  .mobile-game-banner {
    width: 40%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin-top: -40px;
    padding-bottom: 10px;
  }

  .mobile-section-4 {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
    padding-bottom: 40px;
    margin-top: -50px;
  }

  .link-icon-mobile {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .link-icon-mobile img {
    width: 20px;
    height: 20px;
  }

  .mobile-character-img {
    top: 30px;
  }

  .mobile-section-5 {
    width: 90%;
    max-width: 600px;
    position: relative;
  }

  .frame-download {
    width: 100%;
    height: auto;
  }

  .frame-item {
    position: absolute;
  }

  .mobile-section-6 {
    width: 100%;
    padding: 0 20px;
    margin-bottom: 20px;
    box-sizing: border-box;
  }

  .mobile-social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
  }

  .mobile-social-btn {
    display: block;
    transition: transform 0.3s ease;
  }

  .mobile-social-btn img {
    width: 100%;
    height: auto;
    display: block;
  }

  .mobile-social-btn:hover {
    transform: scale(1.05);
  }

  .mobile-social-btn:active {
    transform: scale(0.95);
  }
}

@media (min-width: 720px) and (max-width: 720px) and (max-height: 540px) and (orientation: landscape) {
  .desktop {
    display: none !important;
  }

  .mobile {
    display: block !important;
    width: 100%;
    position: relative;
    background: url("../image/bg-mobile.png") no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
  }

  .mobile-character-img {
    margin-top: -90px;
    width: 100%;
    max-width: 400px;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
  }

  .container-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    width: 100%;
    padding: 0px 35px;
    margin-top: -380px;
  }

  .mobile-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 50px;
    position: relative;
    min-height: 100vh;
  }

  .mobile-section-1 {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    margin-top: 5px;
  }

  .mobile-title-img {
    width: 100%;
    max-width: 250px;
    height: auto;
  }

  .card-item-img-mobile {
    height: 157px;
    width: 157px;
  }

  .signal-bar-mobile {
    position: absolute;
    margin: auto;
    top: 95px;
    height: 8px;
    width: 60%;
    border-radius: 4px;
    border: 1px solid #ffef7b;
    overflow: hidden;
  }

  .mobile-section-3 {
    width: 202%;
    text-align: center;
    margin-bottom: -42px;
    position: relative;
    z-index: 1;
    top: -50px;
  }

  .mobile-game-banner {
    width: 40%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin-top: -40px;
    padding-bottom: 10px;
  }

  .mobile-section-4 {
    width: 70%;
    text-align: center;
    position: relative;
    z-index: 2;
    padding-bottom: 40px;
    margin-top: -50px;
  }

  .link-icon-mobile {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .link-icon-mobile img {
    width: 20px;
    height: 20px;
  }

  .mobile-character-img {
    top: 30px;
    width: 100%;
    height: auto;
  }

  .mobile-section-5 {
    width: 90%;
    max-width: 600px;
    position: relative;
  }

  .frame-download {
    width: 71%;
    height: auto;
    margin: auto 80px;
  }

  .frame-item {
    position: absolute;
  }

  .mobile-section-6 {
    width: 70%;
    padding: 0 20px;
    margin-bottom: 20px;
    box-sizing: border-box;
  }

  .item-1 {
    position: absolute;
    width: 120px;
    height: auto;
    top: -61px;
    left: 94px;
  }

  .item-2 {
    position: absolute;
    width: 120px;
    height: auto;
    top: -61px;
    left: 212px;
  }

  .mobile-social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
  }

  .mobile-social-btn {
    display: block;
    transition: transform 0.3s ease;
  }

  .mobile-social-btn img {
    width: 100%;
    height: auto;
    display: block;
  }

  .mobile-social-btn:hover {
    transform: scale(1.05);
  }

  .mobile-social-btn:active {
    transform: scale(0.95);
  }
}

@media (min-width: 820px) and (max-width: 820px) and (max-height: 1180px) and (orientation: portrait) {
  .linkbox-section {
    width: 95vw;
    top: 453px;
  }

  .footer-section {
    top: 700px;
  }

  .footer-item-4 {
    position: absolute;
    width: 170px;
    top: -100px;
    left: 600px;
  }
}

@media (min-width: 853px) and (max-width: 853px) and (max-height: 1280px) and (orientation: portrait) {
  .footer-section {
    top: 700px;
  }

  .footer-item-4 {
    position: absolute;
    width: 150px;
    top: -93px;
    left: 600px;
  }

  .linkbox-section {
    width: 95vw;
    top: 470px;
  }
}

@media (min-width: 1280px) and (max-width: 1280px) and (max-height: 800px) and (orientation: portrait) {
  .linkbox-section {
    width: 95vw;
    top: 453px;
  }
}

@media (min-width: 1024px) and (max-width: 1024px) and (max-height: 1366px) and (orientation: portrait) {
  .linkbox-section {
    width: 95vw;
    top: 550px;
  }

  .footer-item-1 {
    position: absolute;
    width: 320px;
    top: -78px;
    left: 10px;
  }
  .footer-item-2 {
    position: absolute;
    width: 120px;
    top: -79px;
    left: 400px;
  }

  .footer-item-3 {
    position: absolute;
    width: 120px;
    top: -79px;
    left: 520px;
  }
  .footer-item-4 {
    position: absolute;
    width: 203px;
    top: -119px;
    left: 715px;
  }
}

@media (min-width: 912px) and (max-width: 912px) and (max-height: 1368px) and (orientation: portrait) {
  .footer-item-4 {
    position: absolute;
    width: 203px;
    top: -119px;
    left: 645px;
  }
}

@media (min-width: 344px) and (max-width: 344px) and (max-height: 882px) and (orientation: portrait) {
  .container-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    padding: 0px 4px;
    margin-top: -290px;
    margin-left: 0px;
  }

  .link-button {
    font-size: 18px;
    padding-top: 11px;
  }

  .mobile-character-img {
    margin-top: -84px;
    width: 100%;
    max-width: 400px;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
  }

  .card-item-img-mobile {
    height: 125px;
    width: 125px;
  }

  .signal-bar-mobile {
    position: absolute;
    margin: auto;
    top: 75px;
    height: 8px;
    width: 60%;
    border-radius: 4px;
    border: 1px solid #ffef7b;
    overflow: hidden;
  }
}

@media (min-width: 390px) and (max-width: 390px) and (max-height: 844px) {
  .item-1 {
    position: absolute;
    width: 100px;
    height: auto;
    top: -45px;
    left: 35px;
  }
  .item-2 {
    position: absolute;
    width: 100px;
    height: auto;
    top: -45px;
    left: 130px;
  }
  .container-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 14px;
    width: 100%;
    padding: 0px 35px;
    margin-top: -345px;
    margin-left: -4px;
  }
  .card-ỉtem-mobile {
    margin: auto;
  }

  .card-item-img-mobile {
    height: 154px;
    width: 143px;
  }

  .signal-bar-mobile {
    position: absolute;
    margin: auto;
    top: 95px;
    height: 8px;
    width: 80%;
    border-radius: 4px;
    border: 1px solid #ffef7b;
    overflow: hidden;
  }
}

@media (min-width: 360px) and (max-width: 360px) and (max-height: 740px) {
  .container-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* gap: 7px 14px; */
    width: 100%;
    /* padding: 0px 35px; */
    margin-top: -305px;
    /* margin-left: -21px; */
  }
  .card-ỉtem-mobile {
    margin: auto;
  }

  .card-item-img-mobile {
    height: 136px;
    width: 136px;
  }

  .signal-bar-mobile {
    position: absolute;
    margin: auto;
    top: 82px;
    height: 8px;
    width: 80%;
    border-radius: 4px;
    border: 1px solid #ffef7b;
    overflow: hidden;
  }
}

@media (min-width: 360px) and (max-width: 394px) and (min-height: 780px) and (max-height: 852px) {
  .container-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    padding: 0px 15px;
    margin-top: -365px;
    margin-left: 1px;
  }
  .card-ỉtem-mobile {
    margin: auto;
  }

  .card-item-img-mobile {
    height: 150px;
    width: 150px;
  }

  .signal-bar-mobile {
    position: absolute;
    margin: auto;
    top: 95px;
    height: 8px;
    width: 80%;
    border-radius: 4px;
    border: 1px solid #ffef7b;
    overflow: hidden;
  }

  .mobile-section-4 {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
    padding-bottom: 50px;
  }
}
.desktop .linkbox-section {
  all: initial;
  position: relative;
  z-index: 1;
  height: 300px;
  max-width: 1200px;
  margin: auto;
}
.desktop .title-group .subtitle-img {
  all: initial;
  width: 100%;
  max-width: 1200px;
}

.desktop .linkbox-section .container {
  all: initial;
  display: flex;
  align-items: center;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  justify-content: space-around;
}
@media (min-width: 1025px) {
  .desktop .linkbox-section .container {
    top: 10px;
  }
  .card-item-img {
    height: 185px;
    width: auto;
  }
}
.desktop .footer-section {
  all: initial;
  max-width: 1200px;
  margin: auto;
  position: relative;
  height: 170px;
}

.desktop .footer-section .footer-items {
  all: initial;
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  display: flex;
  /* align-items: end; */
  justify-content: space-between;
  height: 130px;
}
.desktop .footer-section .footer-frame-image {
  height: 100%;
}
.desktop .footer-section .footer-item-4 {
  all: initial;
}
.desktop .footer-section .footer-item-4 img {
  all: initial;
  margin-top: -42px;
  width: 300px;
  height: 170px;
  display: block;
}
.desktop .footer-section .footer-items-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.desktop .footer-section .footer-item-1 {
  all: initial;
  max-width: 488px;
}
.desktop .footer-section .footer-item-2 {
  all: initial;
  width: 150px;
  cursor: pointer;
}
.desktop .footer-section .footer-item-3 {
  all: initial;
  width: 150px;
  cursor: pointer;
}

@media (min-width: 1025px) {
  .desktop .footer-section .footer-item-2 {
    margin-left: 20px;
  }
}

/* IPHONE 15 Series */
/* @media (min-width: 393px) and (max-width: 430px) and (min-height: 852px) and (max-height: 932px) {
  .container-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin-top: -360px;
    margin-left: 1px;
  }
  .card-ỉtem-mobile {
    margin: auto;
  }

  .card-item-img-mobile {
    height: 150px;
    width: 150px;
  }

  .signal-bar-mobile {
    position: absolute;
    margin: auto;
    top: 95px;
    height: 8px;
    width: 80%;
    border-radius: 4px;
    border: 1px solid #ffef7b;
    overflow: hidden;
  }

  .mobile-section-4 {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
    padding-bottom: 50px;
  }
} */

/* IPHONE 17 Series */
@media (min-width: 393px) and (max-width: 441px) and (min-height: 873px) and (max-height: 957px) {
  .container-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    padding: 0px 15px;
    margin-top: -365px;
    margin-left: 1px;
  }
  .card-ỉtem-mobile {
    margin: auto;
  }

  .card-item-img-mobile {
    height: 150px;
    width: 150px;
  }

  .signal-bar-mobile {
    position: absolute;
    margin: auto;
    top: 95px;
    height: 8px;
    width: 80%;
    border-radius: 4px;
    border: 1px solid #ffef7b;
    overflow: hidden;
  }

  .mobile-section-4 {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
    padding-bottom: 50px;
  }
}
