* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: sans-serif;
  line-height: 1.5;
}
p {
  margin-bottom: 0;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

body {
  background: url("images/bg-home.jpg") no-repeat;
  font-family: "Inter", sans-serif;
  /*background: #111b27;*/
}
.logo {
  width: 200px;
  cursor: pointer;
}
.title {
  font-weight: 700;
  font-size: 30px;
  background: linear-gradient(0deg, #e0af42 0%, #fdf597 66.67%, #eec94d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.web-info {
  border: 2px solid rgba(224, 175, 66, 1);
  border-radius: 5px;
  height: 80px;
  width: 100%;
}
.web-info .ping img {
  width: 30px;
}
.web-info .ping p {
  font-weight: 400;
  font-size: 15px;
  color: rgba(255, 184, 3, 1);
}
.web-info .website-address {
  color: white;
  font-size: 15px;
  font-weight: 400;
}
.web-info .btn-play-now {
  background: linear-gradient(0deg, #e0af42 0%, #fdf597 66.67%, #eec94d 100%);
  border: 2px solid rgba(224, 175, 66, 1);
  color: rgba(17, 27, 39, 1);
  font-weight: 600;
  font-size: 13px;
  border-radius: 5px;
  height: 39px;
  width: 92px;
  line-height: 1rem;
}
.btn-refresh {
  background: linear-gradient(0deg, #e0af42 0%, #fdf597 66.67%, #eec94d 100%);
  border: 2px solid rgba(224, 175, 66, 1);
  color: rgba(17, 27, 39, 1);
  font-weight: 600;
  font-size: 24px;
  border-radius: 5px;
  height: 50px;
  width: 197px;
}
.video {
  border: 3px solid rgba(224, 175, 66, 1);
  border-radius: 20px;
}
.game-content {
  background: linear-gradient(
    88.46deg,
    #e0af42 0.22%,
    #fdf597 66.59%,
    #eec94d 99.78%
  );
  height: 75px;
  width: 100%;
  border-radius: 10px;
}
.game-info img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
}
.game-info p {
  color: rgba(17, 27, 39, 1);
  font-weight: 700;
}
.game-info .game-customer {
  font-size: 14px;
}
.game-info .game-name {
  font-size: 16px;
}
.game-amount {
  color: rgba(17, 27, 39, 1);
  font-weight: 700;
  font-size: 16px;
}

.list-game {
  height: 250px;
  overflow: hidden;
  position: relative;
}
@media (min-width: 1204px) {
  .list-game {
    height: 180px;
    overflow: hidden;
    position: relative;
  }
}
.list-game .row {
  display: flex;
  /*flex-direction: column;*/
  animation: scrollUp 5s linear infinite; /* thời gian 1 vòng loop */
}
/* Khi hover thì dừng cuộn */
.list-game:hover .row {
  animation-play-state: paused;
}

/* Hiệu ứng cuộn mượt lên trên */
@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}
footer {
  background: rgba(21, 30, 39, 1);
  height: 70px;
}
footer .footer-item {
  width: 400px;
  height: 100%;
  cursor: pointer;
  position: relative;
}
footer .footer-item img {
  width: 50px;
}
footer .footer-item p {
  font-weight: 500;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
}
footer .footer-item:after {
  content: "";
  background: hsla(0, 0%, 100%, 0.2);
  width: 1px;
  height: 33px;
  position: absolute;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  pointer-events: none;
}
@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1200px;
  }
}
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  left: 0;
  margin-bottom: 0 !important;
}

@media only screen and (max-width: 980px) {
  .title {
    font-size: 5vw;
  }
  .web-info .website-address {
    font-size: 3.2vw;
  }
  .web-info .ping p {
    font-size: 3.2vw;
  }
  body {
    background: url(images/bg-home.jpg) repeat;
    background-size: cover;
    background-position: center;
  }
  .content-left {
    margin-bottom: 1rem;
  }
  .list-game .row {
    animation: scrollUp 9s linear infinite;
  }
  footer .footer-item p {
    font-size: 3.2vw;
  }
  footer .footer-item img {
    width: 30px;
  }
  footer .footer-item {
    flex-flow: column;
    gap: 0.3rem !important;
  }
  footer .footer-item:last-child:after {
    display: none;
  }

  main {
    padding-bottom: 80px;
  }

  .content-left > div.web-info:nth-of-type(n + 4) {
    display: none !important;
  }

  .content-left > button.btn-refresh {
    display: none !important;
  }
}
