
.chart-area {
  position: relative;
  height: 410px; 
  background: radial-gradient(circle at bottom, #0b2a1a, #020805);
  overflow: hidden;
  border-bottom: 1px solid #123b28;
}

.chart-area::before, .chart-area::after {
  content: "";
  position: absolute;
  background: rgba(0, 255, 120, 0.35);
  z-index: 3;
}

.chart-area::before {
  width: 2px;
  height: 100%;
  left: 40px;
  bottom: 0;
}

.chart-area::after {
  height: 2px;
  width: 100%;
  left: 0;
  bottom: 40px;
}

.multiplier {
  position: relative;
  color: gold;
  right: 15px;
  top: 40px;
  font-size: 30px;
  font-weight: bold;
  z-index: 5;
}

.curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 45%,
    rgba(245,197,66,0.35) 46%,
    rgba(245,197,66,0.35) 48%,
    transparent 49%
  );
}

.plane {
  position: absolute;
  width: 80px;
  left: 40px;
  bottom: 40px;
  transform-origin: center;
  filter: drop-shadow(0 0 12px #f5c542);
  z-index: 5;
}

.flight-line {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.flight-line path {
  stroke: #00ff66;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flight-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.betting-vertical {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  background: transparent;
}

.bet-box-horizontal {
  display: flex;
  background: #002900;
  border-radius: 6px;
  overflow: hidden;
}

/* LEFT SIDE */
.bet-left {
  width: 65%;
  background: #002700;
}

/* RIGHT SIDE */
.bet-right {
  width: 35%;
  display: flex;
  flex-direction: column;
}

/* INPUT */
.bet-input {
  display: flex;
  background: #001400;
}

.bet-input input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  padding: 10px;
  font-size: 15px;
  outline: none;
}

/* NUMBER BUTTONS */
.bet-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px;
}

.bet-buttons button {
  background: #000000;
  border: none;
  color: #ff8c00;
  padding: 7px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}

/* PLACE BET */
.place-bet {
  flex: 1;
  background: #ff8c00;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

.place-bet small {
  display: block;
  font-size: 11px;
  font-weight: normal;
}

/* STATS BAR */
.stats-bar {
  display: flex;
  justify-content: space-around;
  background: #002500;
  padding: 10px;
  color: #fff;
  font-size: 12px;
}

.stats-bar strong {
  display: block;
  font-size: 13px;
}

.autoplay-row {
  display: flex;
  height: 50%;
}

/* INPUT */
.autoplay-input {
  width: 45%;
  background: #001400;
  border: 1px solid #016101;
  color: #fff;
  padding: 8px;
  font-size: 14px;
  outline: none;
  text-align: center;
}

/* BUTTON */
.autoplay {
  width: 55%;
  background: #016101;
  border: 1px solid #016101;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}








/* ===== POPUP ===== */
.popup {
  position: fixed;
  width: 500px;
  top: 150px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #c79202;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
  border-left: 4px solid #1ea803;
}

.popup.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.popup.hidden {
  pointer-events: none;
}
