.inter-regular {
  font-family: Inter,sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal
}
.jersey-10-regular {
  font-family: "Jersey 10",sans-serif;
  font-weight: 400;
  font-style: normal
}
.tutorial-overlay {
  width: 100%;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  font-family: inter
}
.tutorial-overlay.hidden {
  display: none
}
.tutorial-content {
  background: #fff;
  padding: 50px 40px;
  max-width: 500px;
  width: 100%;
  text-align: center
}
.tutorial-content h1 {
  color: #000;
  margin-bottom: 20px;
  font-size: 30px;
  text-transform: uppercase;
  font-family: "Jersey 10",sans-serif
}
.tutorial-content p {
  font-size: 13px
}
.start-game-btn {
  background: #fce9ed;
  color: #000;
  border: none;
  padding: 15px 40px;
  font-size: 20px;
  cursor: pointer;
  margin-top: 20px;
  font-weight: 400;
  text-transform: uppercase;
  font-family: "Jersey 10",sans-serif
}
.rewards_container .rewards_title {
  font-size: 20px;
  font-family: "Jersey 10",sans-serif;
  font-weight: 400;
  text-transform: uppercase
}
.rewards {
  margin-top: 25px;
  width: 80%
}
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fadde3;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity .5s ease;
  opacity: 0
}
.loading-screen.hidden {
  opacity: 0;
  pointer-events: none
}
.loading-content {
  text-align: center
}
.loading-logo {
  font-family: "Jersey 10",sans-serif;
  width: 30%;
  color: #000;
  margin: 0 auto 40px auto;
  font-style: italic
}
.loading-eggs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px
}
.loading-egg {
  width: 60px;
  height: 60px;
  animation: bounce 1s ease-in-out infinite
}
.loading-egg:first-child {
  animation-delay: 0s
}
.loading-egg:nth-child(2) {
  animation-delay: .2s
}
.loading-egg:nth-child(3) {
  animation-delay: .4s
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0)
  }
  50% {
    transform: translateY(-20px)
  }
}
.loading-text {
  font-family: Inter,sans-serif;
  font-size: 18px;
  color: #000
}
.game-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 15px;
  gap: 15px;
  background: #fadde3
}
.game-header {
  width: 100%;
  max-width: 800px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 10px 30px;
  border-radius: 15px;
  gap: 30px;
  flex-direction: row
}
.header-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  align-self: flex-start
}
.stat-label-top {
  font-family: "Jersey 10",sans-serif;
  font-size: 18px;
  color: #000;
  margin-bottom: 5px
}
.stat-value-main {
  font-family: inter,sans-serif;
  font-size: 25px;
  color: #000;
  padding-top: 10px
}
.progress-section {
  flex: 1
}
.progress-label {
  font-family: "jersey 10",sans-serif!important;
  font-size: 18px!important;
  font-weight: 400!important;
  color: #000;
  text-align: justify
}
.progress-bar-container {
  position: relative;
  padding: 0
}
.progress-bar {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 4px;
  background: #e0e0e0;
  transform: translateY(-50%);
  z-index: 1;
  border-radius: 2px
}
.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #fadde3;
  transition: width .2s linear;
  z-index: 2;
  border-radius: 2px
}
.progress-markers {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 5px;
  position: relative;
  z-index: 2;
  width: 100%
}
.marker {
  display: grid;
  grid-template-rows: 18px 24px 14px;
  justify-items: center;
  align-items: center;
  gap: 2px;
  width: 100%
}
.marker-label {
  font-family: Inter,sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  text-align: center;
  min-width: 50px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  line-height: 1
}
.marker-check {
  width: 24px;
  height: 24px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0,0,0,.05);
  transition: all .3s ease;
  flex-shrink: 0;
  color: #fff
}
.marker-check.reached {
  background: #fadde3;
  border-color: #fadde3;
  color: #000;
  box-shadow: 0 2px 4px rgba(0,0,0,.1)
}
.marker-distance {
  font-family: Inter,sans-serif;
  font-size: 12px;
  color: #000;
  text-align: center;
  min-width: 50px
}
.canvas-wrapper {
  position: relative;
  max-width: 800px
}
#gameCanvas {
  border: 3px solid #638a59;
  display: block;
  border-radius: 15px;
  cursor: pointer;
  width: 100%;
  height: auto
}
.game-info {
  width: 100%;
  max-width: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  padding: 25px 20px;
  font-family: "Jersey 10",sans-serif;
  border-radius: 15px;
  font-size: 25px
}
.instructions {
  color: #000;
  text-align: center
}
.victory-screen {
  display: none;
  width: 100%;
  max-width: 500px;
  background: #fff;
  padding: 40px 30px;
  text-align: center;
  animation: slideIn .5s ease;
  font-family: Inter,sans-serif
}
.victory-screen.show {
  display: block
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(50px)
  }
  to {
    opacity: 1;
    transform: translateY(0)
  }
}
.victory-screen h2 {
  color: #000;
  font-size: 24px;
  margin-bottom: 15px;
  font-family: "Jersey 10";
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px
}
.victory-screen p {
  color: #000;
  font-size: 12px;
  line-height: 1.6
}
.promo-code-container {
  background: #fce9ed;
  padding: 20px;
  margin: 25px 0;
  justify-self: center;
  width: 70%
}
.promo-code-label {
  font-size: 12px;
  color: #000;
  margin-bottom: 10px
}
.promo-code {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  letter-spacing: 3px;
  margin: auto
}
.promo-code-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 70%;
  background-color: #fff;
  margin: 10px auto
}
.copy-btn {
  background: #fadde3;
  border: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
  color: #000;
  padding: 0
}
.copy-btn.copied {
  background: #00b894
}
.copy-btn svg {
  width: 18px;
  height: 18px
}
.final-stats {
  padding: 15px;
  margin: 20px auto;
  width: 70%;
  background: #fce9ed
}
.stat-line {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  color: #000
}
.stat-label {
  color: #000
}
.stat-value {
  color: #000
}
.restart-btn {
  background: #000;
  color: #fff;
  border: none;
  padding: 15px 40px;
  font-size: 18px;
  cursor: pointer;
  font-weight: 400;
  text-transform: uppercase;
  font-family: "jersey 10"
}
@media (max-width:1024px) {
  #gameCanvas {
    background-size: auto 150px
  }
}
@media (max-width:768px) {
  .tutorial-content {
    padding: 20px
  }
  .tutorial-content h1 {
    font-size: 22px
  }
  .game-header {
    padding: 15px 20px;
    gap: 0
  }
  .header-stat {
    width: 20%
  }
  .second-one {
    display: none
  }
  .progress-markers {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    position: relative;
    z-index: 2
  }
  .progress-label {
    display: none
  }
  .marker-label {
    font-size: 12px;
    height: 16px;
    min-height: 16px
  }
  .marker {
    grid-template-rows: 14px 20px 12px
  }
  .marker:first-child .marker-label {
    display: block!important;
    visibility: hidden;
    height: 16px;
    min-height: 16px
  }
  .marker-check {
    width: 20px;
    height: 20px
  }
  .stat-label-top {
    letter-spacing: .5px
  }
  .marker-distance {
    font-size: 11px
  }
  .distance-value {
    font-size: 24px
  }
  .milestone-counter {
    gap: 10px
  }
  .milestone-label {
    font-size: 10px
  }
  .milestone-dot {
    width: 18px;
    height: 18px;
    border-width: 2px
  }
  .milestone-dot.reached::after {
    font-size: 10px
  }
  .final-stats {
    padding: 15px;
    margin: 20px auto;
    width: 100%
  }
  .promo-code-container {
    background: #fce9ed;
    padding: 20px;
    margin: 25px 0;
    justify-self: center;
    width: 100%
  }
  #gameCanvas {
    background-size: auto 100px
  }
  .rewards {
    margin-top: 10px;
    width: 80%
  }
}
@media (max-width:480px) {
  .game-container {
    padding: 20px
  }
  .tutorial-overlay {
    background-position: center -50px
  }
  .start-label-top {
    font-size: 16px
  }
  .stat-value-main {
    font-size: 23px
  }
  .game-info {
    font-size: 23px
  }
  .game-header {
    gap: 10px;
    justify-content: center
  }
  .progress-markers {
    gap: 10px
  }
  .distance-container {
    width: 100%;
    text-align: center
  }
  .distance-value {
    font-size: 20px
  }
  .milestone-counter {
    gap: 8px
  }
  .milestone-label {
    font-size: 9px
  }
  .milestone-dot {
    width: 16px;
    height: 16px
  }
  .victory-screen {
    padding: 25px 20px
  }
  .victory-screen h2 {
    font-size: 24px
  }
  .promo-code {
    font-size: 22px
  }
  #gameCanvas {
    background-size: auto 80px
  }
}