/* Background container styling */
#loader_bg {
  position: fixed;
  /* Make it fixed to the viewport */
  top: 0;
  /* Align to the top of the viewport */
  left: 0;
  /* Align to the left of the viewport */
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  background-color: rgba(0, 0, 0, 0.8);
  /* Optional: Add a background color */
  display: flex;
  /* Center content inside */
  justify-content: center;
  /* Horizontally center content */
  align-items: center;
  /* Vertically center content */
  z-index: 9999;
  /* Ensure it's on top of other elements */
}

#loader_gif_img {
  position: fixed;
  /* Keep the GIF fixed to the viewport */
  left: 50%;
  /* Center horizontally */
  top: 80%;
  /* Move it further down */
  transform: translate(-50%, -50%);
  /* Adjust for proper centering */
  width: 500px;
  /* Increase the width moderately */
  height: 7px;
  /* Maintain aspect ratio */
  z-index: 9999;
  /* Ensure it stays above other elements */
}

.background-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  z-index: 8;

}

@font-face {
  font-family: "ABLACKLIVES";
  src: url("assets/fonts/ABLACKLIVES.TTF") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CALIBRI";
  src: url("assets/fonts/CALIBRIB.TTF") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Font-face definitions */
/* @font-face {
  font-family: "Roboto-Bold";
  src: url("./assets/fonts/roboto/Roboto-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RENEGADEPURSUIT-YWMR5";
  src: url("./assets/fonts/RENEGADEPURSUIT-YWMR5.TTF") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins-Medium";
  src: url("./assets/fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins-Bold";
  src: url("./assets/fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
} */

/*new one*/

/*new one*/

body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: none;
  /* Prevent conflicting background settings */
  /* z-index: 200; */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  width: 100vw;
  height: 100vh;
  background: url("assets/assets/bg/bg.webp") no-repeat center center fixed;
  background-size: cover;
  /* Ensures the image covers the entire viewport */
}

.background-container {
  position: relative;
  width: 100vw;
  height: 100vh;


}



#FortuneWheelGif {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  /* Default size for larger screens */
  height: 10px;
  margin-top: 3rem;
  z-index: 2;
  /* Above Phaser canvas */
}

#header {
  height: 40px;
  position: absolute;
  background-color: transparent;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  margin-top: 10px;
  visibility: hidden;
  z-index: 10;
}


.settingBtn {
  height: 35px;
  width: 35px;
  padding-right: 15px;
  z-index: 1;
  /* z-index should not have a unit */

  cursor: pointer;
}

.settingBtn {
  height: 25px;
  width: 25px;
  padding-right: 15px;
  z-index: 1;
  /* z-index should not have a unit */

  cursor: pointer;
}

@media (max-width: 768px) {
  .settingBtn {
    height: 28px;
    width: 28px;
  }
}

/* @media (max-width: 480px) {
  #header {
  }
} */

.settingCard {
  height: 300px;
  width: 230.5px;
  position: fixed;
  top: 2px;
  /* right: 251px; */
  /* right: 600px; */
  right: 0;

  z-index: 10;
  /* Ensure it is above the background */
  background-image: url(assets/settings_assets/settings_base_one_less.png);
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateX(250px);
  /* Initially hidden */
  transition: transform 0.3s ease-in-out;
  /* Smooth sliding animation */
  color: white;
  font-size: 16px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  font-family: sans-serif;
  /* visibility: hidden; */
}

.setingCardItems {
  height: 40px;
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.setingCardItems img {
  height: 14px;
}

#setting {
  font-size: 22px;
  position: relative;
  left: 55px;
  font-weight: 600;
}

#cross {
  height: 25px;
  cursor: pointer;
}

/* Individual image styles */
#vibrationMute {
  height: 18px;
}

#winImg {
  height: 24px;
}

#chatImg {
  height: 18px;
}

#home {
  height: 20px;
}

.userInfo {
  height: 40px;
  width: auto;
  padding-left: 13px;
  z-index: 1;
  /* z-index should not have a unit */
  top: 3.5%;
  /* Use percentage or relative units */
  left: 2%;
  /* Adjust to fit the desired position */
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-family: sans-serif;
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .userInfo {
    top: 3%;
    left: 3%;
  }
}

@media (max-width: 480px) {
  .userInfo {
    top: 3%;
    left: 6%;
    font-size: 15px;
  }
}

#backBtn {
  width: 15px;
  height: 20px;
  background-image: url(assets/images/back.webp);
  background-size: contain;
  background-repeat: no-repeat;
}

#pf {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background-image: url(assets/images/profile.webp);
  background-size: contain;
}

#pingContainer {
  width: 30px;
  height: 38px;
  text-align: center;
  position: absolute;
  z-index: 1;
  bottom: 0px;
  margin: 15px;
  padding: 2px;
  border-radius: 5px;
  background-color: #000604;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  visibility: hidden;
}

#networkBars {
  width: 20px;
  display: flex;
  justify-content: space-evenly;
  align-items: flex-end;
  gap: 1px;
  margin-bottom: 1px;
  padding: 3px 3px 2px 4px;
}

.bar {
  width: 1.5px;
  background-color: #32cd32;
  /* Neon green */
  border-radius: 2px;
  gap: 2px;
}

.bar:nth-child(1) {
  height: 3px;
}

.bar:nth-child(2) {
  height: 5px;
}

.bar:nth-child(3) {
  height: 7px;
}

.bar:nth-child(4) {
  height: 10px;
}

#pingDiv {
  font-size: 8px;
  text-align: center;
  width: 30px;
  color: white;
}

.ping-unit {
  color: #32cd32;
  /* Neon green */
  font-weight: bold;
}

.border {
  width: 25px;
  height: 3px;
  display: flex;
  gap: 1.5px;
  justify-content: center;
}

.B1,
.B2 {
  width: 9px;
  height: 1px;
  background-color: #32cd32;
  border-radius: 2px;
}

#logo {
  position: absolute;
  top: 46%;
  /* Default top position for larger screens */
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  /* Scale down the logo */
  max-width: 480px;
  /* Limit the maximum width */
  height: auto;
  /* Maintain the aspect ratio */
  z-index: 2;
  /* Above Phaser canvas */
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
  #FortuneWheelGif {
    width: 80%;
    /* Adjust width to fit smaller screens */
    height: auto;
    /* Maintain aspect ratio */
    margin-top: 2rem;
    /* Adjust margin if needed */
  }
}

/* Landscape-specific adjustments */
@media (max-width: 768px) and (orientation: landscape) {
  #FortuneWheelGif {
    width: 60%;
    /* Adjust width for landscape mode */
    height: auto;
    /* Maintain aspect ratio */
    margin-top: 1rem;
    /* Adjust margin for landscape */
  }
}

/* Landscape-specific adjustments */
@media (max-width: 768px) and (orientation: landscape) {
  #FortuneWheelGif {
    width: 60%;
    /* Adjust width for landscape mode */
    height: auto;
    /* Maintain aspect ratio */
    margin-top: 1rem;
    /* Adjust margin for landscape */
  }
}

/* Portrait mode adjustments */
@media (max-width: 768px) and (orientation: portrait) {
  #logo {
    top: 45%;
    /* Shift the logo slightly upward in portrait mode */
    width: 70%;
    /* Reduce width for smaller portrait screens */
    max-width: 300px;
    /* Limit the maximum width further */
  }
}

/* Landscape mode adjustments */
@media (max-width: 768px) and (orientation: landscape) {
  #logo {
    top: 45%;
    /* Adjust top position for landscape mode */
    width: 60%;
    /* Reduce width for smaller landscape screens */
    max-width: 150px;
    /* Limit the maximum width further */
  }
}

@media (orientation: portrait) {
  #pingDiv {
    display: none;
  }
}

.leftIcons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.trophy,
.coin {
  position: relative;
  background-color: rgb(59, 10, 10);
  height: 35px;
  width: 130px;
  /* Use percentage to make it responsive to the container */
  max-width: 300px;
  /* Optional: Set a maximum width */
  display: flex;
  align-items: center;
  left: 0;
  border: 3px solid gold;
  border-radius: 8px;

}



#winAmount {

  top: 5px;
  right: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 20px;
}

#betAmount {

  top: 5px;
  right: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 20px;
}

.i {
  height: 35px;
  width: 35px;

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.trophyicon {
  height: 35px;
  width: 35px;
  background-image: url(assets/images/trophy.webp);
  background-repeat: no-repeat;
  background-position: center;
}

.coinIcon {
  height: 35px;
  width: 35px;
  background-image: url(assets/images/cardpoint.webp);
  background-repeat: no-repeat;
  background-position: center;
}

/* Add media queries for better control on smaller screens */
@media (max-width: 768px) {

  .trophy,
  .coin {
    width: 50px;
    /* Adjust the width for smaller devices */
  }
}

@media (max-width: 480px) {

  .trophy,
  .coin {
    width: auto;
    /* Further adjustment for very small devices */
    height: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 5px;
    padding: 2px;
    font-size: 8px;
  }

  .trophyicon,
  .coinIcon {

    height: 18px;
    width: 18px;
    background-size: contain;
    padding-left: 3px;
  }

  .settingBtn {
    height: 22px;
    width: 22px;
  }

  .i {
    height: 25px;
  }

  .leftIcons {
    width: auto;
    gap: 9px;
  }

  #winAmount,
  #betAmount {
    font-size: 15px;
  }
}

.blackPatch {
  position: absolute;
  height: 100%;
  width: 100%;
  background: black;
  z-index: 1;
  opacity: 0.8;
  display: none;

}