* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  align-items: center;
  overflow: hidden;
}

body {
  background-color: #000;
  position: relative;
  min-height: 100vh;
}

.full-background {
  position: fixed;
  width: 30%; /* Match the 30% container width */
  height: 100%;
  background-image: url('./asset/Asset/Background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  left: 50%;
  transform: translateX(-50%); /* Center the background */
  min-width: 300px; /* Match container min-width */
}

.title{
  margin-bottom: 20px;
  background-color: #000;
   bottom: 10%;
   position: relative;
}
.title img {
  margin-bottom: 60px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  top:0;
 
  max-width: 250px;
}

.main-container {
  position: relative;
  width: 30%;
  height: 100vh;
  max-height: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  margin: 0 auto;
  min-width: 300px;
}

/* Rest of your existing CSS remains the same */
.game-area {
  position: relative;
  width: 100%;
  height: 70%;
  display: flex;
  justify-content: center;
}

.game-area img {
  height: auto;
  width: 100%;
  max-width: 380px;
  z-index: -1;
}

 #plinkoCanvas {
  position: absolute;
  width: 100%;
  max-width: 400px;
  height: 40%;
  top: 26%;
  right: 18%;
  z-index: 1;
} 

/* ... (all other existing CSS rules remain exactly the same) ... */

/* Updated responsive adjustments for background */
@media (max-width: 768px) {
  .main-container {
    width: 100%;
  }
  .full-background {
    width: 100%; /* Match container width */
  }

}

@media (max-width: 480px) {
  .main-container {
    width: 70%;
    max-width: 100%;
    padding: 10px;
  }
  #create_account{
    width: 100%;
  }
   #win_100{
    width: 100%;
  }
  .full-background {
    width: 100%; /* Match container width */
  }
  #try-count{
    color: aliceblue;
  }
   #plinkoCanvas{
  width: 90%;
   position: absolute;
   left: 3%;
   z-index: -1;
  }
 
}

@media (max-width: 440px) {
  .main-container {
    width: 60%;
  }
  .full-background {
    width: 100%; /* Match container width */
  }
  .title{
    margin-top: 20%;
  }
  #win_100{
    width: 100%;
  }
    #plinkoCanvas{
  width: 100%;
  overflow: hidden;

  }
}
@media (max-width: 379px) {
  .main-container {
    width: 100%;

  }
 
  .full-background {
    width: 100%; /* Match container width */
  }
    #plinkoCanvas{
   width: 100%;
   position: absolute;
   z-index: -1;
 
  }
  .reward-options{
    width: 60%;
    
    
  }
  #try-count{
    color: rgb(225, 204, 204);
    
  }
  .btn_last{
    width: 500px;
  

  }
}