@font-face {
  font-family: PeydaWebFaNum;
  font-style: normal;
  font-weight: 900;
  src: url("./fonts/woff2/PeydaWebFaNum-Black.woff2") format("woff2"),
    /* FF39+,Chrome36+, Opera24+*/ url("./fonts/woff/PeydaWebFaNum-Black.woff")
      format("woff"); /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
}
@font-face {
  font-family: PeydaWebFaNum;
  font-style: normal;
  font-weight: bold;
  src: url("./fonts/woff2/PeydaWebFaNum-Bold.woff2") format("woff2"),
    /* FF39+,Chrome36+, Opera24+*/ url("./fonts/woff/PeydaWebFaNum-Bold.woff")
      format("woff"); /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
}
@font-face {
  font-family: PeydaWebFaNum;
  font-style: normal;
  font-weight: normal;
  src: url("./fonts/woff2/PeydaWebFaNum-Regular.woff2") format("woff2"),
    /* FF39+,Chrome36+, Opera24+*/
      url("./fonts/woff/PeydaWebFaNum-Regular.woff") format("woff"); /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
}

* {
  box-sizing: border-box;
  max-width: 100vw;
  direction: rtl;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

h1,
h2,
h3,
span,
p,
button {
  font-family: "PeydaWebFaNum";
}

body {
  font-family: "PeydaWebFaNum";
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #8a05b3, #290135);
  text-align: center;
  color: #fff;
}

.landing {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100vh;
  background: #290135 url("./images/bg.png") no-repeat top center;
  background-size: cover;
  overflow: hidden;
}

.thumnail {
  max-width: 45vh;
  margin: 3vh auto;
  width: 72%;
}

.landing h1 {
  font-size: 3.5em;
  font-weight: 900;
  margin: 1.5vh auto 0;
  word-spacing: 3px;
}

.landing p {
  font-size: 24px;
  font-weight: bold;
  margin: 0 auto 9px;
  text-align: right;
  color: #fbb614;
}

.landing ul {
  padding: 0;
  margin: 0;
  max-width: 90%;
  list-style: disc; /* Use a single consistent list style */
  padding-right: 20px; /* Ensure space for bullets */
}

.landing li {
  font-size: 18px;
  font-weight: bold;
  line-height: 2.2;
  text-align: right; /* Align text to the right */
  direction: rtl; /* Ensure bullets align correctly with text on the right */
}

.gold {
  color: #ffcf00 !important;
}

.coming {
  margin-top: 3vh;
  align-self: center;
}

.logo {
  width: 450px;
  max-width: 63%;
  margin: 0 auto;
}

.logoGame {
  width: 512px;
  position: absolute;
  z-index: 99;
  top: 9vh;
  left: 50%;
  transform: translateX(-50%);
  max-width: 81%;
}
.game-container {
  position: relative;
  #background: url("./images/bg2.png") no-repeat top center;
  display: none;
  height: 100vh;
  min-height: 150vw;
  cursor: url("./images/mouse.png"), auto;
  overflow-x: hidden;
  background-size: contain;
}
.game {
  position: absolute;
  width: 100vw;
  height: 100vw;
  bottom: 0;
}
.btmBG {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.rock {
  position: absolute;
  left: 0;
  bottom: 55.5%;
  width: 100vw;
  height: 100vw;
  background-image: url("./images/rock1.png");
  background-size: contain;
  transition: background-image 0.9s;
  z-index: 2;
  opacity: 1;
  transition: opacity 3s ease-in-out;
}

.pickaxe {
  position: absolute;
  left: 50%;
  #top: 50%;
  width: 50vw;
  height: 50vw;
  background-image: url("./images/axe.png");
  background-size: contain;
  display: none;
  z-index: 3;
}

.congratulations {
  display: none;
  position: absolute;
  #top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  #margin-top: -90px;
  z-index: 4;
  max-width: 72%;
  min-width: 360px;
}
.start {
  font-size: 2vw;
  font-weight: 900;
  top: 36vh;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  width: 100%;
  z-index: 99;
}

.congratulationsMsg {
  color: #fff;
  background-color: #290135;
  padding: 15px 21px;
  border-radius: 9px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 3vw;
  font-weight: 900;
}

.register {
  color: #fff;
  background-color: #8a05b3;
  padding: 15px 21px;
  border-radius: 9px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 1.5em;
  font-weight: bold;
  text-decoration: none;
  display: table;
  margin: 21px auto;
  cursor: pointer;
}

button {
  padding: 9px 54px 9px 18px;
  /* font-size: 27px; */
  background-color: #ffca3a;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  align-self: center;
  transition: transform 0.2s ease;
  position: relative;
  color: #290135;
}

button:hover {
  background-color: #e0b80b;
  transform: scale(1.05);
}

#loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: #f3f3f3;
  z-index: 9999;
}

#loading-progress {
  height: 100%;
  width: 0;
  background-color: #ffcf00;
  transition: width 0.1s ease-out;
}

@media (max-width: 768px) {
  .thumnail,
  .landing h1,
  button {
    margin-top: 3vh;
    margin-bottom: 3vh;
  }
  .game-container {
    min-height: 100vh;
  }

  .landing {
    height: 100vh;
  }
  .landing h1 {
    font-size: 4.5vh;
  }

  .landing p {
    font-size: 24px;
  }

  .landing li {
    font-size: 16px;
  }
  .start {
    font-size: 27px;
    top: 27vh;
  }

  .congratulationsMsg {
    padding: 15px 18px 9px;
    font-size: 27px;
    word-spacing: 6px;
  }

  .register {
    font-size: 24px;
  }
  #.coming {
    position: absolute;
    bottom: 18px;
    margin: 0;
  }
  .box {
    padding: 0 32px 16px 32px;
  }
}

.container {
  width: 100%; /* تمام‌عرض در حالت موبایل */
  padding-right: var(--bs-gutter-x, 15px);
  margin-right: auto;
  margin-left: auto;
  justify-content: right;
}

.icon {
  width: 36px;
  height: 36px;
  animation: shake 1.5s infinite ease-in-out;
  position: absolute;
  top: 9px;
  right: 9px;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px; /* عرض ثابت برای موبایل‌های بزرگ‌تر */
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px; /* عرض ثابت برای تبلت */
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px; /* عرض ثابت برای لپ‌تاپ کوچک */
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px; /* عرض ثابت برای لپ‌تاپ و دسکتاپ */
  }
}

@keyframes shake {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(10deg);
  }
  75% {
    transform: rotate(-10deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* edit */
.edit-landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100vh;
  min-height: 800px;
  padding: 24px 0;
}
.edit-logo {
  width: 220px;
}
.edit-gold {
  margin: 0 !important;
  font-size: 32px !important;
}
.edit-thumnail {
  margin: 0 auto !important;
  width: 100% !important;
}
.edit-start-button {
  font-size: 22px !important;
  font-weight: 600;
  margin: 0 !important;
}
.edit-box {
  padding-bottom: 0 !important;
}
.edit-coming {
  margin: 0 !important;
}
.edit-container {
  padding-right: 0 !important;
}
.edit-btm-page {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}
.rules-title-edit {
  margin-bottom: 8 !important;
}
.messages-box-edit {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.edit-logo-game{
  margin: 0 auto;
  position: initial;
  transform: initial !important;
}
.game-top-page-edit{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: 28px;
  
}
.game-start-edit{
  position: initial;
  transform: initial;
  font-weight: 600 !important;
}