.crash-section {
  background-color: #29283c;
  padding: 25px;
  border-radius: 16px;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  border: 1px solid #3e3e5a;
}

#gameContainer {
  position: relative;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #444;
}

#game {
  width: 100%;
  height: auto;
  background-color: #1e1e2f;
  display: block;
}

#currentMultiplier {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  font-weight: 700;
  color: #00ffc3;
  text-shadow: 0 0 10px #00ffc3;
}

#infoContainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #3e3e5a;
  margin-bottom: 15px;
}

#balance {
  color: #76ff03;
  font-weight: bold;
}

#crashedAt {
  color: #ff6f61;
  font-weight: 500;
}

#betContainer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

#betAmount {
  width: 60px;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #555;
  background-color: #2f2f44;
  color: #fff;
  font-size: 16px;
}

#buttonContainer {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

#submitBet,
#takeProfits {
  flex-grow: 1;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
  background-color: #00c853;
  color: #fff;
}

#submitBet:hover,
#takeProfits:hover {
  background-color: #00b248;
}

#lastCrashesContainer {
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid #3e3e5a;
}

#lastCrashesContainer p {
  font-weight: bold;
  margin-bottom: 8px;
  color: #ccc;
}

#lastCrashes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

.crash-entry {
  display: flex;
  justify-content: space-between;
  background: #1e1e2f;
  padding: 6px 8px;
  border-radius: 6px;
  font-weight: bold;
}

#lastCrashes span {
  background-color: #444;
  padding: 6px 10px;
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.how-to-play {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  background-color: #29283c;
  color: white;
  border-radius: 8px;
  padding: 15px;
  max-width: 400px;
  margin: 20px auto 0 auto;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}
.how-to-play h2 {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 18px;
}
