body {
  margin: 0;
  font-family: Arial;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
}

.screen {
  width: 1200px;
  height: 670px;
  background: url("bgfinale.png") no-repeat center/cover;
  position: relative;
  color: white;
  overflow: hidden;
}

.prize {
  position: absolute;
  top: 150px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28px;
  font-weight: bold;
  color: #f1c40f;
}

.numberBox {
  position: absolute;
  top: 210px;
  left: 50%;
  transform: translateX(-50%);
  background: #e7b74f;
  padding: 20px 40px;
  border-radius: 20px;
}

.digits {
  display: flex;
  gap: 14px;
}

.digit-wrapper {
  width: 80px;
  height: 100px;
  overflow: hidden;
  border-radius: 12px;
  background: #0d2f5a;
  box-shadow:
    0 0 0 2px #7ce6ff,
    0 0 18px rgba(124, 230, 255, 0.4);
  position: relative;
}

.digit-reel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.digit {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 76px;
  font-weight: 300;
  font-family: 'Comfortaa', sans-serif;
  letter-spacing: 1px;
  color: transparent;
  -webkit-text-stroke: 1.8px #b8e8ff;
  text-shadow:
    0 0 6px #7ce6ff,
    0 0 18px #7ce6ff,
    0 0 35px #00d4ff,
    0 0 60px #0099cc;
}

.winner {
  position: absolute;
  top: 390px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28px;
  width: 400px;
  text-align: center;
  font-weight: 700;
}

.draw-container {
  position: absolute;
  top: 210px;
  right: 70px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.btn-draw {
  font-size: 24px;
  padding: 20px 30px !important;
  background: linear-gradient(135deg, #f1c40f 0%, #d4ac0d 100%) !important;
  color: #0d2f5a !important;
  border: 1px solid #fff !important;
  box-shadow: 0 0 20px rgba(241, 196, 15, 0.4);
  transition: all 0.3s ease;
  letter-spacing: 2px;
  border-radius: 10px;
  cursor: pointer;
}

.btn-draw:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(241, 196, 15, 0.6);
  background: linear-gradient(135deg, #f39c12 0%, #f1c40f 100%) !important;
}

.btn-draw:active {
  transform: scale(0.95);
}

.btn {
  background: #f1c40f;
  border: none;
  padding: 12px 30px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
}

.management-wrapper {
  position: absolute;
  bottom: 80px;
  right: 60px;
  border: 1px solid #ffffff;
  padding: 10px;
  border-radius: 20px;
  background: none;
}

.control-box {
  background: rgba(13, 47, 90, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 280px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #fff;
}

.bottomButtons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn-save, .btn-next {
  flex: 1;
  padding: 15px !important;
  font-size: 16px;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #f1c40f 0%, #d4ac0d 100%) !important;
  color: #0d2f5a !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.btn-save:hover, .btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(241, 196, 15, 0.4);
  background: linear-gradient(135deg, #f39c12 0%, #f1c40f 100%) !important;
}

.btn-save:active, .btn-next:active {
  transform: translateY(1px);
}

.time {
  position: absolute;
  bottom: 25px;
  right: 80px;
  font-size: 20px;
  font-weight: bold;
  color: #ffcc00;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}