* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  background: #000;
  width: 100%;
  height: 100%;
}
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  padding-top: env(safe-area-inset-top);
  /* padding-bottom: env(safe-area-inset-bottom); */
}
.container {
  padding-left: 150px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
}
/*Small Screen*/
@media (min-width: 768px) {
  .container {
    max-width: 750px;
    height: 100%;
  }
  .game-img {
    width: 100px;
    height: 104px;
    border-radius: 12px;
  }
  .progress-width {
    top: 2px;
    left: 6px;
    height: 23px;
  }
}
@media (min-width: 379px) {
  .header img {
    width: 70px;
  }

  .header h1 {
    font-size: 20px;
  }

  .header p {
    font-size: 12px;
  }

  .game-img {
    width: 92px;
    height: 99px;
  }

  .game-title {
    font-size: 22px;
  }

  .sponsor-line {
    font-size: 12px;
  }
  .sponsor-logo {
    margin-left: 5px;
    width: 25px;
    height: auto;
  }
}
.progress-value {
  font-size: 14px;
}
.progress-fill {
  width: 186px;
}
.progress-width {
  top: 2px;
  left: 6px;
  height: 23px;
}
.start-btn {
  transform: scale(0.85);
  left: 0;
}

.start-btn.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.game-box {
  grid-template-columns: 25% 50% 25%;
}

@media (max-width: 378px) {
  .header img {
    width: 60px;
  }

  .header h1 {
    font-size: 18px;
  }

  .header p {
    font-size: 10px;
  }

  .game-img {
    width: 87px;
    height: 96px;
  }

  .game-title {
    font-size: 20px;
  }

  .sponsor-line {
    font-size: 10px;
  }
  .sponsor-logo {
    margin-left: 5px;
    width: 18px;
    height: auto;
  }
  .progress-value {
    font-size: 11px;
  }
  .progress-fill {
    width: 140px;
  }
  .start-btn {
    transform: scale(0.85);
    left: 0;
  }

  .game-box {
    grid-template-columns: 28% 46% 26%;
  }
  .progress-width {
    top: 2px;
    left: 5px;
    height: 16px;
  }
}
@media (max-width: 320px) {
  .header img {
    width: 65px;
  }
  .game-box {
    grid-template-columns: 23% 50% 25%;
    gap: 12px;
  }
  .game-title {
    font-size: 18px;
  }
  .game-img {
    width: 75px;
    height: 90px;
  }
  .progress-fill {
    width: 140px;
  }
  .progress-width {
    top: 1px;
    height: 21px;
    left: 5px;
  }
  .sponsor-logo {
    margin-left: 5px;
    width: 18px;
    height: auto;
  }
}

.head-container{
  color: white;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.mobile-frame {
  width: 100%;
  max-width: 430px;
  margin: 0;
  /* min-height: 100vh; */
  min-height: 100dvh;
  background: #0c0928;
  position: relative;
}
.header {
  margin: 0;
  width: 100%;
  position: sticky;
  top: 0;
  background: #0c0928;
  z-index: 20;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.header img {
  width: 80px;
}
.header h1 {
  color: #fdfdfe;
  margin: 0;
}
.header p {
  color: #5f5d8d;
  
  font-size: 11px;
  font-weight: 800;
  margin: 0;
}
.games-container {
  padding: 0 5px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  overflow-x: auto;
}
.game-box {
  width: 100%;
  border-bottom: 1px solid #ffffff75;
  display: grid;
  /* grid-template-columns: 1fr 2fr 1fr; */
  grid-template-rows: auto;
  gap: 10px;
  color: white;
}

.game-right {
  margin-top: 34px;
}
.game-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}
.sponsor-line {
  display: flex;
  align-items: center;
  gap: 1px;
  font-size: 12px;
}
.sponsor {
  opacity: 0.7;
}
.sponsor-logo {
  /* margin-left: 5px;
  width: 18px;
  height: auto; */
}
.fire,
.game-icon,
.time-icon {
  width: 11px;
  margin: -2px;
}
.global-text {
  font-size: 13px;
  margin: 4px 0;
  opacity: 0.7;
}

.progress-box {
  position: relative;
}
.progress {
  position: relative;
  left: -7px;
  width: fit-content;
  height: fit-content;
}
.progress-fill {
  /* width: 168px; */
  object-fit: contain;
  position: relative;
  left: 4px;
  z-index: 1;
}
.progress-width {
  position: absolute;
  width: 100%;
  z-index: 5;
}

.progress-value {
  position: absolute;
  right: 50%;
  top: 2px;
  transform: translateX(10px);
  font-size: 13px;
  z-index: 5;
}

.score-line {
  font-size: 12px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}
.score {
  font-weight: 600;
  margin-left: 4px;
}

.meta-line {
  margin: 6px 0;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.9;
}

.start-btn {
  width: fit-content;
  height: fit-content;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  width: 65px;
  font-size: 12px;
  cursor: pointer;
  position: relative;
  left: -7px;
  transition: 0.2s ease;
}
.start-btn:active {
  transform: scale(0.95);
  opacity: 0.8;
}
.btn-img {
  width: 65px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.label {
  position: absolute;
  top: 8px;
  left: 20px;
  z-index: 5;
  color: white;
  font-weight: bold;
}
