/* 로또볼 기본 스타일 */
.ball-yellow { background-color: #fbbf24; }
.ball-blue { background-color: #3b82f6; }
.ball-red { background-color: #ef4444; }
.ball-gray { background-color: #6b7280; }
.ball-green { background-color: #10b981; }

/* 로또볼 컨테이너 */
.lotto-balls-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  padding: 1rem;
  flex-wrap: wrap;
}

.lotto-balls-group {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* 로또볼 공통 스타일 */
.lotto-ball {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 9999px;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s ease-in-out;
}

/* 보너스 볼 구분자 */
.bonus-divider {
  display: flex;
  align-items: center;
  padding: 0 0.25rem;
  color: #9ca3af;
  font-size: 1.2rem;
}

/* 반응형 스타일 */
@media (min-width: 768px) {
  .lotto-ball {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
  }
  
  .lotto-balls-group {
    gap: 0.75rem;
  }
  
  .lotto-balls-container {
    gap: 1rem;
  }
  
  .bonus-divider {
    padding: 0 0.5rem;
    font-size: 1.5rem;
  }
}

/* 호버 효과 */
.lotto-ball:hover {
  transform: scale(1.1);
}

.ball {
  display: inline-block;
  border-radius: 50%;
  width: 40px;  /* 기본 크기 */
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-weight: bold;
  color: white;
  margin: 0 2px;
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .ball {
    width: 32px;
    height: 32px;
    line-height: 32px;
    margin: 0 1px;
    font-size: 14px;
  }
}

/* 기존 볼 색상 스타일 유지 */
.ball1 { background-color: #fbc400; }
.ball2 { background-color: #69c8f2; }
.ball3 { background-color: #ff7272; }
.ball4 { background-color: #aaa; }
.ball5 { background-color: #b0d840; } 