@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
@import url("https://xiex.my.id/css/font.css");

* {
  scroll-behavior: smooth;
}

.bg-emas {
  background: linear-gradient(135deg, rgba(77, 12, 12, 0.747), rgb(245, 29, 29));
}

.nav-start {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}



.navbar-kontak {
    display: flex;
    padding: 10px 15px;
    gap: 15px;
}

.navbar-kontak > *:not(:last-child)::after {
    content: '|';
    margin-left: 15px;
    color: #666;
}

.navbar-list-game {
    display: flex;
    padding: 10px 15px;
    gap: 7.5vw;
}

.color-anjay { 
    color: #ffacbd;
}

.navbar-icon-on-a-href {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    /* width: 1.5em; */
    /* height: 1em; */
}

.navbar-icon-on-a-href-icon {
    /* display: none; */
    position: relative;
    bottom: 0;
    margin-bottom: -2px;
}

.navbar-icon-on-a-href-text-dibawah-icon {
    /* display: none; */
    font-family: "digital_sans_ef_medium";
    font-size: 10px;
    margin-top: 0;
    padding-top: 0;
}

.navbar-icon-on-a-href-text-dibawah-icon-mobile {
    font-family: "digital_sans_ef_medium";
    font-size: 7.5px;
    margin-top: 0;
    padding-top: 0;
}

.anim-popup1s {
    animation: popUpEffect 1s infinite;
}

.anim-popup2s {
    animation: popUpEffect 2s infinite;
}

.anim-popup3s {
    animation: popUpEffect 3s infinite;
}

.anim-popup4s {
    animation: popUpEffect 4s infinite;
}

.anim-popup5s {
    animation: popUpEffect 5s infinite;
}

.anim-popup6s {
    animation: popUpEffect 6s infinite;
}

.anim-popup7s {
    animation: popUpEffect 7s infinite;
}

.anim-popup8s {
    animation: popUpEffect 8s infinite;
}

.anim-popup9s {
    animation: popUpEffect 9s infinite;
}

.anim-popup10s {
    animation: popUpEffect 10s infinite;
}

@keyframes popUpEffect {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        color: var(--color-primary);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.nav-end-login-anim {
    animation: nav-end-login-anim-frame 1s infinite;
}

@keyframes nav-end-login-anim-frame {
    0% {
        box-shadow: 0 0 0px currentColor,
              0 0 0 rgb(255, 0, 0),
              0 0 0 rgb(255, 0, 0),
              0 0 0 rgb(245, 29, 29);
    }
    50% {
        box-shadow: 0 0 2.5px currentColor,
              0 0 5px rgb(245, 29, 29),
              0 0 10px rgb(245, 29, 29),
              0 0 20px rgb(245, 29, 29);
    }
    100% {
        box-shadow: 0 0 0 currentColor,
              0 0 0 rgb(245, 29, 29),
              0 0 0 rgb(245, 29, 29),
              0 0 0 rgb(245, 29, 29);
    }
}

.nav-end-padding {
    padding: 10px;
}

.games-list-mobile {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: normal;
    align-content: space-around;
}
.flex-ditengah {
    height: 60px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    align-content: space-around;
}

.scroll-samping {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: scroll;
}
                                 
.game-list-mark {
  display: flex;
  position: absolute;
  gap: 10px;
  background-color: rgb(192, 0, 0);
  color: var(--color-primary);
  font-weight: bold;
  padding: 8px 15px;
}

.game-list-mark::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 0;
  width: 20px;
  height: 100%;
  background-color: rgb(138, 1, 1);
  transform: skewX(20deg);
}



/* Untuk handphone */
@media only screen and (max-width: 768px) {
  .game-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: start;
    align-items: center;
    align-content: space-around;
    background-color: #02071b;
    height: 220px;
    border: 2px solid rgb(192, 0, 0);
    padding: 10px 15px;
    gap: 15px;
    position: relative;
    overflow-x: scroll;
  }
}
/* Untuk desktop */
@media only screen and (min-width: 769px) {
  .game-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    align-content: space-around;
    background-color: #02071b;
    height: 220px;
    border: 2px solid rgb(192, 0, 0);
    padding: 10px 15px;
    gap: 15px;
    position: relative;
  }
}
.game-list-game {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: center;
  align-content: space-around;
  background-color: rgb(8, 38, 146);
  color: var(--color-primary);
  border: 3px solid rgb(192, 0, 0);
  border-radius: var(--radius-field);
  height: 180px;
  min-width: 150px;
  width: 150px;
}

.game-list-game-image {
  width: 150px;
}

.game-list-game-title {
  padding: 3px 8px;
  font-family: "digital_sans_ef_medium";
}

.icon-putih {
  filter: grayscale(1) brightness(10);
}



.footer-box-mulus {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  align-content: space-around;
  border: 2px solid var(--color-base-300);
  gap: 10px;
  padding: 15px 25px;
}

.footer-box-mulus-title {
  background-color: var(--color-base-100);
  max-width: fit-content;
  z-index: 2;
  transform: translateX(15px) translateY(10px);
  color: color-mix(in srgb, var(--color-primary) 100%, #000 100%)
}

.footer-box-mulus-provider {
  opacity: 50%;
}


.navbar-footer-mobile {
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.navbar-footer-mobile-box {
  background-color: var(--color-base-300);
  height: 60px;
  width: 90%;
  border-top: 2px solid var(--color-base-200);
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 10px 15px;
  border-radius: 1.25em 1.25em 0 0;
  box-shadow: 0 0 10px var(--color-base-200);
}

.navbar-footer-mobile-content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: center;
  align-content: center;
  height: 100%;
  width: 100%;
  padding: 10px 15px;
}
/*
.navbar-footer-mobile-content-awal {
}
*/
.navbar-footer-mobile-content-tengah {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  background-color: rgb(2, 7, 27);
  color: var(--color-primary);
  border: 3px solid rgb(192, 0, 0);
  border-radius: 100%;
  height: 60px;
  min-width: 60px;
}
.navbar-footer-mobile-content-tengah:hover {
  background-color: rgb(2, 19, 82);
  box-shadow: 0 0 10px var(--color-base-200);
}
.navbar-footer-mobile-content-tengah > .icon {
  font-size: 2em;
}

/*
.navbar-footer-mobile-content-akhir {

}
*/

.loader {
    display: flex;
    position: relative;
    justify-items: center;
    align-items: center;
    /* gap: 1rem; */
    height: 55px;
    width: 200px;
    overflow: hidden;
  }
  
  .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 200px;
    position: relative;
    align-items: center;
  }
  
  .carousel {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    position: absolute;
    width: 100%;
    transform-origin: center;
    animation-delay: 2s;
  }
  
  

  .loader .container:nth-child(3) {
    justify-content: flex-start;
    justify-items: flex-start;
    animation: scroll-up 4s infinite ease-in-out;
    animation-delay: 3s;
  }
  
  .loader .container:nth-child(2) {
    justify-content: flex-end;
    justify-items: flex-end;
    animation: scroll-down 4s infinite ease-in-out;
    animation-delay: 3s;
  }
  
  .loader .container:nth-child(1) {
    justify-content: flex-end;
    justify-items: flex-end;
    animation: scroll-down 3s infinite ease-in-out;
    animation-delay: 3s;
  }
  
  .love {
    background: red;
    display: flex;
    width: 30px;
    height: 30px;
    position: relative;
    align-items: center;
    justify-content: center;
    left: 8px;
    margin: 0.8rem 4px;
    transform: rotate(45deg);
    animation-delay: 2s;
  }
  
  .love::before, .love::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: red;
  }
  
  .love::before {
    left: -16px;
  }
  
  .love::after {
    top: -16px;
  }
  
  .death {
    display: flex;
    width: 100%;
    height: 55px;
    position: relative;
    align-items: center;
    justify-content: center;
    animation: rotation 3s infinite ease-in-out;
    animation-delay: 1s;
  }
  
  .death:after {
    content: '';
    height: 63px;
    position: absolute;
    border-left: 12px solid red;
    transform: rotate(45deg);
    border-radius: 8px;
    top: -4px;
  }
  
  .death:before {
    content: '';
    height: 60px;
    position: absolute;
    border-left: 12px solid red;
    transform: rotate(-45deg);
  }
  
  .loader:hover {
    animation: none;
  }
  
  .robots {
    display: flex;
    width: 100%;
    height: 55px;
    justify-content: space-between;
    background-color: #ff0000;
    border-radius: 0 8px 8px;
    padding: 8px;
    animation-delay: 5s;
  }
  
  .robots::after {
    content: '';
    width: 12px;
    height: 12px;
    top: 0;
    left: 0;
    background-color: #ffffff;
    border-radius: 50%;
    animation-delay: 2s;
    animation: blink 0.5s 2 forwards;
  }
  
  .robots::before {
    content: '';
    width: 12px;
    height: 12px;
    top: 0;
    left: 0;
    background-color: #ffffff;
    border-radius: 50%;
    animation-delay: 2s;
    animation: blink 0.5s 2 forwards;
  }
  
  @keyframes scroll-up {
    0% {
      transform: translateY(0);
      filter: blur(0);
    }
  
    30% {
      transform: translateY(-150%);
      filter: blur(10px);
    }
  
    60% {
      transform: translateY(0);
      filter: blur(0px);
    }
  }
  
  @keyframes scroll-down {
    0% {
      transform: translateY(0);
      filter: blur(0);
    }
  
    30% {
      transform: translateY(150%);
      filter: blur(10px);
    }
  
    60% {
      transform: translateY(0);
      filter: blur(0px);
    }
  }
  
  @keyframes rotation {
    20%, 100% {
      transform: rotate(180deg);
    }
  }
  
  @keyframes blink {
    0% {
      height: 0;
    }
  
    20% {
      height: 12px;
    }
  
    100% {
      height: 12px;
    }
}