* {
  margin: 0;
  padding: 0;
}

body {
  background: #121212;
  user-select: none;

  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-style: normal;
  opacity: 0;
  transition: 0.4s ease-in-out;
}

/* =========================| |========================== */

/* Alert Container */
#alert-container {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000; /* Ensure it is on top of other content */
  width: 100%; /* Make sure the container takes the full width */
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  pointer-events: none; /* Prevent interaction with container itself */
}

/* Alert Dialog */
.alert-dialog {
  display: none; /* Hidden by default */
  min-width: 300px;
  max-width: 300px;
  padding: 15px 20px;
  margin-bottom: 10px;
  color: #333;
  border-radius: 50px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: 18px;
  text-align: center;
  animation: slideIn 0.5s forwards;
  pointer-events: all;
  position: relative; /* Position relative to contain the progress bar */
  overflow: hidden;
}

/* Success Alert */
.alert-success {
  background-color: #177e5c; /* Green */
  color: white;
}

/* Error Alert */
.alert-error {
  background-color: #cf3328; /* Red */
  color: white;
}

/* Slide In Animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Progress Bar */
.alert-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.8);
  width: 100%;
  transition: width 2.8s ease-in; /* Smooth transition with defined duration and easing */
}

.bold {
  color: #092329a9;
  font-weight: 600;
  margin-right: 5px;
  background: #00ff00;
  border-radius: 50px;
  padding: 5px;
}

/*  */

.navbar {
  height: 70px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.navbar > a {}

.navbar > a > h3 {
  color: #f1f1f1;
  font-family: "Leckerli One", cursive;
  font-size: 20px;
}

@media (max-width: 600px) {
  .navbar {
    height: 50px;
    padding: 0 10px;
  }

  .navbar > a > h3 {
    font-size: 17px;
  }
}

.wallet {
  position: relative;
}

.wallet_menu {
  width: 350px;
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translate(-50%);
  padding: 20px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  grid-gap: 20px;
  background: rgba(41, 41, 41, 0.69);
  backdrop-filter: blur(25px);
  opacity: 0;
  pointer-events: none;
  margin-top: -20px;
  transition: 0.3s ease-in-out;
}

.wallet_menu.show {
  opacity: 1;
  pointer-events: visible;
  margin-top: 0;
}

.wallet_menu > div {
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-gap: 20px;
}

@media (max-width: 450px) {
  .wallet {
    position: static;
  }

  .wallet_menu {
    width: 80%;
    top: 50px;
  }
}

.wallet_menu > div > .fund_wallet {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wallet_menu > div > .fund_wallet > div {
  width: 100%;
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
  /* grid-gap: 20px; */
  /* background: rgba(215, 236, 225, 0.75); */
  background: rgba(217, 217, 217, 75%);
  padding: 20px;
  /* border-radius: 50px; */

  font-size: 20px;
  color: rgba(0, 0, 0, 0.904);
  cursor: pointer;
}

.wallet_menu > div > .fund_wallet > div:first-child {
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  background: linear-gradient(to top right, #00ff9546, #ee00ff73);
  display: flex;
  flex-direction: column;
  /* grid-gap: 20px; */
  /* background: red; */
}

.wallet_menu > div > .fund_wallet > div:first-child > .total_assets {
  font-size: 25px;
  color: #FFFFFF;
  padding-bottom: 10px;
}

.wallet_menu > div > .fund_wallet > div:first-child > .usdt {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid #d3d3d328;
  /* border-bottom: 1px solid #d3d3d369; */
}

.wallet_menu > div > .fund_wallet > div:first-child > .usdt small {
  /* background: violet; */
  color: #ffffff79;
}

.wallet_menu > div > .fund_wallet > div:first-child > .usdt > div:first-child {
  display: flex;
  align-items: center;
  grid-gap: 10px;
}

.wallet_menu > div > .fund_wallet > div:first-child > .usdt > div:first-child > img {
  width: 40px;
}

.wallet_menu > div > .fund_wallet > div:first-child > .usdt > div:first-child > div {
  display: flex;
  flex-direction: column;
}

.wallet_menu > div > .fund_wallet > div:first-child > .usdt > div:first-child > div > div,
.wallet_menu > div > .fund_wallet > div:first-child > .usdt > div:last-child > div {
  color: #FFFFFF;
}


.wallet_menu > div > .fund_wallet > div:first-child > .usdt > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.wallet_menu > div > .fund_wallet > div:last-child {
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  background: linear-gradient(to top left, #ee00ff73, #00ff9546);
  color: #eeeeee;
}

.wallet_menu > div > .fund_wallet > div > div {
  display: flex;
  align-items: center;
  grid-gap: 20px;
}

.wallet_menu > div > .menu_item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  grid-gap: 20px;
  background: linear-gradient(to top left, #ee00ff28, #00ff951f);
  padding: 20px;
  border-radius: 50px;
  font-size: 20px;
  color: #c5c5c5e7;
  cursor: pointer;
}

@media (max-width: 400px) {
  .wallet_menu > div {
    grid-gap: 10px;
  }

  .wallet_menu > div > .menu_item {
    font-size: 17px;
    padding: 15px;
  }

  .wallet_menu > div > .fund_wallet > div {
    font-size: 17px;
    padding: 15px;
  }

  .wallet_menu > div > .fund_wallet > div:first-child {
    padding-bottom: 5px;
    padding-top: 5px;
  }
}

.wallet_menu > div > .menu_item > div {
  display: flex;
  align-items: center;
  grid-gap: 20px;
}

.menu_item:hover {
  /* background: rgba(215, 236, 225, 0.75); */
  background: red;
}

.wallet_balance {
  color: #f1f1f1;
  font-weight: 600;
  font-size: 20px;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 50px;
}

@media (max-width: 600px) {
  .wallet {
    margin-left: -30px;
  }

  .wallet_balance {
    font-size: 15px;
  }
}

.wallet_balance:hover {
  background: rgba(217, 217, 217, 0.137);
}

.navbar > div {
}

.user-profile {
  position: relative;
}

.user-profile > div > img {
  width: 30px;
  height: 30px;
  border-radius: 50px;
  object-fit: cover;
}

.user-profile > div {
  display: flex;
  align-items: center;
  grid-gap: 10px;
  border-radius: 50px;
  padding: 5px;

  background: #353535;
  color: #f1f1f1;
  cursor: pointer;
}

@media (max-width: 600px) {
  .user-profile > div {
    padding: 0;
  }

  .user-profile > div > div {
    display: none;
  }
}

.user-profile > div > span {
  font-size: 17px;
  color: #d9d9d9;
  padding-right: 10px;
}

@media (max-width: 370px) {
  .user-profile > div {
    padding: 5px;
    border: none;
    padding: 0;
  }

  .user-profile > div > span {
    display: none;
  }
}

.user-profile > main {
  position: absolute;
  top: 50px;
  right: 0;
  background: #1e1e1e;
  border-radius: 20px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  grid-gap: 10px;
  border: 1px solid #d9d9d9aa;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.user-profile > main.active {
  opacity: 1;
  pointer-events: visible;
}

.user-profile > main > a {
  padding: 10px;
  background: #ffffff20;
  display: flex;
  grid-gap: 10px;
  align-items: center;
  border-radius: 50px;
  color: #d9d9d9;
  text-decoration: none;
}

.user-profile > main > a:hover {
  background: #ffffff50;
}

/* =========================| |========================== */

/* Design container styling */
.design {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 2.5s ease-in-out;
}

@media (max-width: 600px) {
  .design {
    display: none;
  }
}

/* Shared styling for all shapes */
.design div {
  position: absolute; /* Positioning relative to the container */
}

/* Circle styling */
.circle {
  width: 150px;
  height: 150px;
  background-color: #f000ff; /* Color for all shapes */
  border-radius: 50%;
  animation: floatAndRotateCircle 12s infinite linear;
  transform: translate(-70px, -30px); /* Offset position to upper left */
}

/* Triangle styling */
.triangle {
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 150px solid #59ecff;
  animation: floatAndRotateTriangle 10s infinite linear;
  transform: translate(0, 20px); /* Slight downward offset */
}

/* Cube styling */
.cube {
  width: 150px;
  height: 150px;
  animation: floatAndRotateCube 14s infinite linear;
  background: #29e622;
  transform: translate(70px, -30px); /* Offset position to upper right */
}

/* Keyframes for floating and rotating animations */
@keyframes floatAndRotateCircle {
  0% {
    transform: translate(-170px, -20px) rotate(0deg);
  }
  50% {
    transform: translate(-170px, -130px) rotate(180deg); /* Move up and rotate halfway */
  }
  100% {
    transform: translate(-170px, -20px) rotate(360deg); /* Move down and complete rotation */
  }
}

@keyframes floatAndRotateTriangle {
  0% {
    transform: translate(0, 220px) rotate(0deg);
  }
  50% {
    transform: translate(0, -110px) rotate(-180deg); /* Move up and rotate halfway */
  }
  100% {
    transform: translate(0, 220px) rotate(-360deg); /* Move down and complete rotation */
  }
}

@keyframes floatAndRotateCube {
  0% {
    transform: translate(70px, -120px) rotate(0deg);
  }
  50% {
    transform: translate(170px, -40px) rotate(180deg); /* Move up and rotate halfway */
  }
  100% {
    transform: translate(70px, -120px) rotate(360deg); /* Move down and complete rotation */
  }
}

/* Responsive design */
@media (max-width: 600px) {
  .circle {
    width: 30px;
    height: 30px;
    transform: translate(
      -50px,
      -20px
    ); /* Adjust position for smaller screens */
  }

  .triangle {
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 30px solid #f000ff;
    transform: translate(0, 15px); /* Adjust position for smaller screens */
  }

  .cube {
    width: 30px;
    height: 30px;
    transform: translate(50px, -20px); /* Adjust position for smaller screens */
  }
}

/* =========================| |========================== */

#container {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
}

.history {
  display: flex;
  grid-gap: 5px;
  overflow: auto;
  align-items: center;
  min-height: 32px;
}

.history::-webkit-scrollbar {
  display: none;
}

.history > div {
  display: block;
  font-weight: 700;
  color: #f1f1f1;
  background: #111111;
  padding: 5px 10px;
  border-radius: 50px;
  /* font-size: 20px; */
}

@media (max-width: 600px) {
  .history > div {
    font-size: 13px;
    /* background: #222222; */
    padding: 0 5px;
    background: transparent;
  }
}

.history > div.over_1 {
  color: #f34fff;
}

.history > div.over_2 {
  color: #38ffee;
}

.history > div.over_3 {
  color: #97e07a;
}

.history > div.over_4 {
  color: #61ffa8;
}

.history > div.over_5 {
  color: #4fb9ff;
}

.history > div.over_6 {
  color: #ff6655;
}

.history > div.over_7 {
  color: #49ff95;
}

.history > div.over_8 {
  color: #ffd942;
}

.history > div.over_9 {
  color: #56ffdd;
}

.history > div.over_10 {
  color: #cd4dff;
}

.history > div.over_11 {
  color: #5aadff;
}

.history > div.over_12 {
  color: #ffbf59;
}

.history > div.over_13 {
  color: #4dff97;
}

.history > div.over_14 {
  color: #ff9c59;
}

.history > div.over_15 {
  color: #50b9ff;
}

.history > div.over_16 {
  color: #c0392b;
}

.history > div.over_17 {
  color: #16a085;
}

.history > div.over_18 {
  color: #7d3c98;
}

.history > div.over_19 {
  color: #f5b041;
}

.history > div.over_20 {
  color: #d4ac0d;
}

.history > div.over_21 {
  color: #f1948a;
}

.history > div.over_22 {
  color: #7fb3d5;
}

.history > div.over_23 {
  color: #52be80;
}

.history > div.over_24 {
  color: #45b39d;
}

.history > div.over_25 {
  color: #ec7063;
}

.history > div.over_26 {
  color: #af7ac5;
}

.history > div.over_27 {
  color: #5dade2;
}

.history > div.over_28 {
  color: #f4d03f;
}

.history > div.over_29 {
  color: #e67e22;
}

.history > div.over_30 {
  color: #6691bb;
}

.history > div.over_31 {
  color: #7aa7d8;
}

.history > div.over_32 {
  color: #ff00ff;
}

.history > div.over_33 {
  color: #00ff00;
}

.history > div.over_34 {
  color: #ffff00;
}

.history > div.over_35 {
  color: #ffa500;
}

.history > div.over_36 {
  color: #ff6347;
}

.history > div.over_37 {
  color: #00ced1;
}

.history > div.over_38 {
  color: #ffd700;
}

.history > div.over_39 {
  color: #ff4500;
}

.history > div.over_40 {
  color: #6a5acd;
}

.history > div.over_41 {
  color: #d2691e;
}

.history > div.over_42 {
  color: #dc143c;
}

.history > div.over_43 {
  color: #483d8b;
}

.history > div.over_44 {
  color: #538888;
}

.history > div.over_45 {
  color: #ff1493;
}

.history > div.over_46 {
  color: #7fff00;
}

.history > div.over_47 {
  color: #ff00ff;
}

.history > div.over_48 {
  color: #4b0082;
}

.history > div.over_49 {
  color: #00ffff;
}

.history > div.over_50 {
  color: #9400d3;
}

.input {
  display: flex;
  flex-direction: row;
  grid-gap: 30px;
}

.input > .bet_input_container {
  position: relative;
}

.bet_input {
  position: relative;
  padding: 0 10px;
  max-width: 50%;
  outline: none;
  overflow: auto;
  white-space: nowrap;
  z-index: 1;
}

.bet_input::-webkit-scrollbar {
  display: none;
}

.input > .bet_input_container > .input_button {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  display: flex;
  justify-content: space-between;
}

.input > .bet_input_container > .input_button > div {
  width: 30%;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input > .bet_input_container > .input_button > div > span {
  min-height: 40px;
  min-width: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ce8aff42;
  cursor: pointer;
}

.input > .bet_input_container,
.input > .bet_btn {
  flex: 1;
  border: 2px solid white;
  padding: 20px;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
  border-radius: 30px;
  display: flex;
  justify-content: center;
}

@media (max-width: 600px) {
  .input {
    display: flex;
    flex-direction: row;
    grid-gap: 10px;
  }

  .input > .bet_input_container,
  .input > .bet_btn {
    border: 1px solid white;
    padding: 10px;
  }
}

@media (max-width: 400px) {
  .input > .bet_input_container > .input_button > div > span {
    min-height: 30px;
    min-width: 30px;
  }
}

.input > .bet_input_container {
  padding: 20px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #f1f1f1;
}

.input > .bet_btn {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-gap: 10px;
  background: #00853d6b;
  color: #fff;
  font-size: 23px;
}

.bet_preview {
  max-width: 80%;
  overflow: auto;
  white-space: nowrap;
}

.bet_preview::-webkit-scrollbar {
  display: none;
}

#container > div {
  margin-top: 100px;
  position: relative;
  min-width: 570px;
  max-width: 570px;
  max-height: 80vh;
  background: rgba(30, 30, 30, 0.562);
  padding: 20px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  grid-gap: 20px;
  backdrop-filter: blur(55px);
  z-index: 1;
}

@media (max-width: 680px) {
  #container > div {
    background: transparent;
    margin-top: 70px;
    padding: 0 10px;
    min-width: calc(100% - 20px);
    min-height: calc(100vh - 70px);
  }

  .input > .bet_input_container,
  .input > .bet_btn,
  .bet_preview {
    font-size: 17px;
  }
}

@media (max-width: 400px) {
  #container > div {
    margin-top: 50px;
    min-height: calc(100vh - 50px);
  }

  .input > .bet_btn {
    grid-gap: 5px;
  }
}

.counter {
  position: relative;
  min-height: 250px;
  overflow: hidden;
}

@media (max-width: 520px) {
  .counter {
    min-height: 200px;
  }
}

@media (max-width: 400px) {
  .counter {
    min-height: 120px;
  }
}

.background_image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 1px;
}

.background_image > img {
  width: 2300px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.background_image > img.reading {
  animation: rotateImage 9s infinite linear; /* Add rotation animation */
}

/* Keyframe for rotating the image clockwise */
@keyframes rotateImage {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.jet_image {
  position: absolute;
  bottom: -5px;
  left: -100%; /* Start off-screen to the left */
  width: 1px;
  height: 1px;
  background: #ff00005d;
  animation: rotateDown 4s infinite ease-in-out; /* Apply the downward rotation animation */
  transition: left 0.3s ease; /* Default smooth transition for 'left' property */
}

.jet_image.fly-in {
  left: 0; /* Fly in from the left to this position */
  transition: left 1.4s ease; /* Transition for flying in */
}

.jet_image.fly {
  left: 100%; /* Move to the right edge of the container */
}

.jet_image > img {
  position: absolute;
  left: 0;
  bottom: 0;
}

@media (max-width: 600px) {
  .jet_image > img {
    width: 500px;
  }
}

@media (max-width: 580px) {
  .jet_image > img {
    width: 450px;
  }
}

@media (max-width: 520px) {
  .jet_image > img {
    width: 350px;
  }
}

@media (max-width: 400px) {
  .jet_image > img {
    width: 300px;
  }
}

/* Keyframes for rotating the div down and back to its original position */
@keyframes rotateDown {
  0%,
  100% {
    transform: rotate(10deg); /* Start and end with no rotation */
  }
  50% {
    transform: rotate(0deg); /* Rotate down by 15 degrees */
  }
}

.reading_el_container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 2.3em;
  text-align: center;
}

.reading_el_container > span {
  color: #e63428;
  font-size: 18px;
  font-weight: 600;
}

.reading_el_container > h4 {
  font-size: 60px;
  font-weight: 600;
  color: #f1f1f1;
}

@media (max-width: 400px) {
  .reading_el_container > h4 {
    font-size: 40px;
  }

  .reading_el_container > span {
    font-size: 13px;
    white-space: nowrap;
  }
}

.reading_el_container > h4.reading {
  animation: glow 6s infinite alternate; /* Apply the glowing animation */
}

/* Keyframes for the glowing effect */
@keyframes glow {
  0% {
    text-shadow: 0 0 40px #ee00ff50, /* Violet */ 0 0 60px #f000ff50,
      0 0 80px #f000ff50, 0 0 100px #f000ff50, 0 0 120px #f000ff50;
  }
  25% {
    text-shadow: 0 0 40px #00ff0050, /* Light Green */ 0 0 60px #00ff0050,
      0 0 80px #00ff0050, 0 0 100px #00ff0050, 0 0 120px #00ff0050;
  }
  50% {
    text-shadow: 0 0 40px #0000ff50, /* Blue */ 0 0 60px #0000ff50,
      0 0 80px #0000ff50, 0 0 100px #0000ff50, 0 0 120px #0000ff50;
  }
  75% {
    text-shadow: 0 0 40px #ff00ff50, /* Magenta */ 0 0 60px #ff00ff50,
      0 0 80px #ff00ff50, 0 0 100px #ff00ff50, 0 0 120px #ff00ff50;
  }
  100% {
    text-shadow: 0 0 40px #ffff00, /* Yellow */ 0 0 60px #ffff00,
      0 0 80px #ffff00, 0 0 100px #ffff00, 0 0 120px #ffff00;
  }
}

.investors_header {
  display: flex;
  grid-gap: 20px;
}

.investors_header > div {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.investors_header > div > span {
  display: flex;
  align-items: center;
  grid-gap: 10px;
  color: #f1f1f1;
}

.investors_header > div > span > img {
  object-fit: cover;
  border-radius: 50%;
}

.investors_header > div > span > .bot_lable {
  font-family: "Montserrat", sans-serif;
}


.details {
  background: rgba(28, 60, 97, 0.507);
  padding: 7px 10px;
  border-radius: 50px;
}

.autobet, 
.bot_switch {
  color: #ff8b55;
  display: flex;
  align-items: center;
  grid-gap: 5px;
}

.autobet > div,
.bot_switch > div {
  width: 23px;
  height: 15px;
  border-radius: 50px;
  background: #ffffffd5;
  padding: 0 2px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.autobet > div.checked,
.bot_switch > div.checked {
  justify-content: right;
  background: #52be80;
}

.autobet > div > div,
.bot_switch > div > div {
  width: 13px;
  height: 13px;
  border-radius: 50px;
  background: #000000d5;
}

.investor.cashout {
  background: rgba(0, 133, 61, 42%);
}

.investor {
  background: #111111;
  padding: 10px;
  border-radius: 10px;
}

.investor > div:first-child > span:first-child {
  display: flex;
  align-items: center;
  grid-gap: 10px;
}

.investor > div:first-child > span:first-child > img {
  width: 30px;
}

.investors {
  display: flex;
  flex-direction: column;
  grid-gap: 5px;
  overflow-y: auto;
  max-height: 100%;
}

@media (max-width: 400px) {
  .investors_header {
    font-size: 14px;
  }

  .investor {
    padding: 8px;
  }

  .investor > div:first-child > span:first-child > img {
    width: 20px;
  }
}

/* Style for the scrollbar track */

.investors::-webkit-scrollbar {
  display: none;
}

.loading_investors {
  text-align: center;
  color: #ffffff;
  padding: 10px;
  background: #111111;
  margin-right: 5px;
}

/* popup dialog  */

.popup_dialog {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.664);
  backdrop-filter: blur(15px);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease-in-out;
  z-index: 3;
}

.popup_dialog.show {
  opacity: 1;
  pointer-events: visible;
}

.popup_dialog > div {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translate(-50%, -100px);
  min-width: 600px;
  max-width: 600px;
  max-height: 80vh;
  padding: 20px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  grid-gap: 20px;
  background: rgba(30, 30, 30, 0.562);
  box-shadow: 2px 2px 17px rgba(0, 0, 0, 0.747);
  backdrop-filter: blur(50px);
  transition: 0.5s cubic-bezier(0.33, 0.9, 0.84, 1.5);
  overflow: auto;
  opacity: 0;
  z-index: 3;
}

@media (max-width: 700px) {
  .popup_dialog > div {
    top: 10px;
    padding: 10px;
    min-height: calc(100% - 40px);
    min-width: calc(100% - 35px);
  }
}

.popup_dialog > div::-webkit-scrollbar {
  display: none;
}

.popup_dialog > div.display {
  transform: translate(-50%);
  opacity: 1;
}

.popup_dialog > div > div {
  display: flex;
  flex-direction: column;
  grid-gap: 30px;
}

.popup_dialog > div > div > div:first-child {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  color: #ff8b55;
}

.popup_dialog > div > div > div:first-child > span {
  height: 30px;
  width: 30px;
  display: grid;
  place-items: center;
  border-radius: 50px;
  background: rgba(76, 0, 130, 0.5);
  cursor: pointer;
}

.popup_dialog > div > div > h3 {
  color: #ff8b55;
}

.bet_history > div {
  display: flex;
  flex-direction: column;
  grid-gap: 10px;
}

.bet_history > div:last-child > div:last-child {
  display: flex;
  flex-direction: column;
  grid-gap: 10px;
}

.bet_history > div:first-child > span > i {
  font-size: 20px;
}

/* POPUP DIALOG HOW TO PLAY */

.video-container {
  position: relative;
  width: 90%;
  max-width: 800px;
  margin: auto;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #000;
}

video {
  display: block;
  width: 100%;
  border-radius: 30px;
  outline: none;
}

.controls {
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: flex;
  gap: 10px;
}

button {
  padding: 10px;
  font-size: 18px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

button i {
  pointer-events: none;
}

.bet_steps {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  grid-gap: 20px;
  color: #f1f1f1;
  font-size: 20px;
}

.bet_steps > p > strong {
  color: #dc143c;
}

.bot_container {
  display: none;
}